[sane-devel] Mandrake 9.1 and ServeRAID 5i

Henning Meier-Geinitz henning@meier-geinitz.de
Tue, 16 Sep 2003 15:32:19 +0200


Hi,

On Mon, Sep 15, 2003 at 03:32:50PM +0200, abel deuring wrote:
> > Can you confirm that all that sane-find-scanner does is query the card,
> > with only requests that must be safe according to the SCSI standard?
> 
> "grep sanei_scsi_cmd sane-find-scanner.c" shows that sanei_scsi_cmd is
> called only two times; in both cases an INQUIRY command is sent to the
> device.

If only sane-find-scanner is used (not scanimage) there are only these
two commands sent to each existing SCSI device (/dev/sg*). If both
/dev/sga and /dev/sg0 exits, the device may be querried twice but not
more. I would be sirprised if that's really the cause of the problem.

If you (the original author) used a very old version of SANE it might
be possible that a bad link destroys data, e.g. "/dev/scanner ->
/dev/sda". I have never actually tried if that really "works". But
checking if there is a link /dev/scanner shouldn't harm.

I have never heard of anyone else having problems with sane-find-scanner
and hard discs or disc arrays.

Bye,
  Henning