SCSI-Tomeout since Linux Kernel 2.2

Rainer Krienke (krienke@uni-koblenz.de)
Mon, 01 Mar 1999 09:20:15 +0100

Hello,

since quite a long time I am successfully using sane to work with my
mustek scanner connected to my one one and only ADAPTEC 2940 controller.
Until now I ran kernel 2.0.36 on my machine. In order to avoid to much
backtracking I used a static buffer for the sg scsi devices of a size of
about 1MByte by patching the sg.c and sg.h files in the kernel sources.
This way scanning used to work fine without (SCSI) problems.

Lately I "upgraded" my kernel to release 2.2.2. I changed the files sg.c
and sg.h in order to support a larger SG_BIG_BUFFER like I had done in
Version 2.0.36 before (the patch was actually a little different from
that for kernel 2.0.36).
Basically it works just fine. However since the new kernel, without any
other change neither to the system nor to the sane software, I sometimes
experience SCSI timeouts when scanning. I know that I could avoid this
by setting the strip-height parameter to a small value, but that again
would lead to to much undesired backtracking.

Since the SCSI resets occur only since kernel 2.2 and nothing else has
changed, I guess that there must be a timeout parameter in the kernel
(driver) sources that has changed. I searched a little around in the
driver (aic7xxx) for my controller but did not find any obvious
parameter that could help. Does anyone else know if such a parameter
exists or what else I might do to avoid those timeouts without
increasing backtacking? Did anyone else observe a similar behaviour when
changing from an older kernel to the 2.2 release?

Thank you very much
Rainer Krienke

-- 
---------------------------------------------------------------------
Rainer Krienke                     krienke@uni-koblenz.de
Universitaet Koblenz, 		   http://www.uni-koblenz.de/~krienke
Rechenzentrum,                     Voice: +49 261 287 - 1312
Rheinau 1, 56075 Koblenz, Germany  Fax:   +49 261 287 - 1355
---------------------------------------------------------------------

--
Source code, list archive, and docs: http://www.mostang.com/sane/
To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com