From: Douglas Gilbert <dougg@torque.net>
To: linux-kernel@vger.kernel.org, david@2gen.com
Subject: Re: Problems with SCSI on 2.4.X
Date: Wed, 14 Mar 2001 15:08:33 -0500 [thread overview]
Message-ID: <3AAFCFC1.B51C00D@torque.net> (raw)
david@2gen.com wrote:
> I'm having some problems using SCSI-generic (sg loaded as module) to
> access my scanner on linux 2.4 (using SANE).
>
> [snip output showing timeouts]
This is most likely caused by a bug in SANE 1.0.3 and
1.0.4 which sets timeouts on commands to 10 seconds
rather than 10 minutes. The SANE code detects the new
sg driver in lk 2.4.x and mistakenly shortens the
timeout. This has been fixed in SANE's CVS (and
RedHat's 7.1 beta (fisher)).
Fix for SANE 1.0.4 : in file
sane-backends-1.0.4/sanei/sanei_scsi.c change line 1893
from:
req->sgdata.sg3.hdr.timeout = 10000;
to
req->sgdata.sg3.hdr.timeout = 10 * 60 * 1000;
If you look at the FAQ on the sg web site
( http://www.torque.net/sg ) under the SANE entry you will
find the same information ...
Doug Gilbert
next reply other threads:[~2001-03-14 20:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-03-14 20:08 Douglas Gilbert [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-03-14 16:51 Problems with SCSI on 2.4.X David Härdeman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3AAFCFC1.B51C00D@torque.net \
--to=dougg@torque.net \
--cc=david@2gen.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox