Jake Griesbach wrote: > > Hi, > > I use an HP SCSI scanner along with an AIC-7880 (Adaptec) motherboard SCSI > interface. Using the sg driver and the 2.2.18 kernel, I was able to scan > images just fine. When scanning, I notice a delay as the scanner > initializes before it begins to send data. > > However, after upgrading to the new 2.4.0 kernel, I receive a SCSI timeout > error when trying to scan. It seems as though the new kernel does not > wait as long as the 2.2.18 kernel before declaring a SCSI timeout. > > Since scanning works with 2.2.18, I don't think I have a termination or > cabling problem. > > Is there a way I can fix this problem by increasing the timeout > delay? Any other ideas? Jake, Yes, this is a known bug in SANE 1.0.4 , 1.0.3 and perhaps 1.0.2 as well. Here is a post from Abel Deuring to the SANE list: AD> If you compiled Sane using the SG header files from the 2.4.0 kernel, AD> you problem may be related to a bug in sanei/sanei_scsi.c: AD> AD> Near line 1900 in this file you'll find: AD> AD> req->sgdata.sg3.hdr.timeout = 10000; AD> AD> This should be changed to: AD> AD> req->sgdata.sg3.hdr.timeout = 1000 * 60 * 10; AD> AD> Without this patch, a SCSI command must be finished within 10 seconds; AD> the patch increases the time to 10 minutes, the same value as used by AD> Sane for older versions of the Linux kernel. Just downloaded RedHat's 7.1 beta version of sane (based on SANE 1.0.3) and it has this patch in it. I built the source rpm on my RH 7.0 system and it loaded ok. Doug Gilbert - To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [EMAIL PROTECTED]

