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

Tim Waugh twaugh@redhat.com
Wed, 10 Apr 2002 12:33:15 +0100


--AQYPrgrEUc/1pSX1
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

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.
*/

--AQYPrgrEUc/1pSX1
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8tCL6yaXy9qA00+cRAkqsAJ9rb08reUduOAjg4xstlcS1YDd8MACgu2E+
9e9w+wiZrhnDE/f/2aOSOHk=
=JWLe
-----END PGP SIGNATURE-----

--AQYPrgrEUc/1pSX1--