[sane-devel] 'read more data than announced by backend'

Tim Waugh twaugh at redhat.com
Wed Apr 10 12:33:15 BST 2002


I received this bug report:

<https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=62763>

"I have a Microtek ScanMaker E6.  I have sane-backends-1.0.7-6 and
 related versions installed.  I am running kernel 2.4.18-ac3.

 Every time I scan a LineArt image with scanimage, I get this message
 at the end:

 scanimage: WARNING: read more data than announced by backend
 (4203960/4198236)

 Then, the next time I attempt to use scanimage, the scanner clicks a
 couple of times and does nothing, and then scanimage reports:

 scanimage: sane_start: Error during device I/O

 While this is happening, these messages show up in my dmesg output:

 scsi0:0:4:0: Attempting to queue a TARGET RESET message
 scsi0:0:4:0: Command not found
 aic7xxx_dev_reset returns 0x2002
 scsi: device set offline - not ready or command retry failed after bus
 reset: host 0 channel 0 id 4 lun 0

 The only way I've found to get the scanner working again at this
 point is to use "echo scsi remove-single-device ... >
 /proc/scsi/scsi" and then "echo scsi add-single-device ... >
 /proc/scsi/scsi".

 Note: I don't know if the "read more data" problem is related to the
 other problem, but I'm mentioning it just in case it is.

 Note 2: The data read by the scanimage, when it's working, seems just
 fine.

 Note 3: This happens whether I pass "--calib_once no" or
 "--calib_once yes" to scanimage."

I don't really know where to start with this.  Does it sound like a
SANE problem or a kernel one?

Thanks,
Tim.
*/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/sane-devel/attachments/20020410/d5854f09/attachment.sig>


More information about the sane-devel mailing list