[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SANE on recent kernels?



On Tue, 15 May 2001 13:57:53 -0400 (EDT)
Adam Tauno Williams <adam@morrison-ind.com> wrote:

>Has anyone had problems with SANE being unable to scan (I/O error) on recent
>2.4.x kernels?  I have SANE dead on two machines where NO hardware has changed, 
>but the kernel was updated.  One is using fdomain controller and the other
>aic7xxx/aic7xxx_old.

I fixed it!  Some grousing about with my favorite toys (strace, etc...) and consulting The One True User's Guide (the source code) and I found a time out value in sanei_scsi.c...

req->sgdata.sg3.hdr.timeout = 10000;

change that to

req->sgdata.sg3.hdr.timeout = 60000;

made it all work.