sane-project-website/old-archive/2001-02/0263.html

144 wiersze
5.0 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<TITLE>sane-devel: Re: xsane - kernel 2.4.2 - sym53c860</TITLE>
<META NAME="Author" CONTENT="abel deuring (adeuring@gmx.net)">
<META NAME="Subject" CONTENT="Re: xsane - kernel 2.4.2 - sym53c860">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: xsane - kernel 2.4.2 - sym53c860</H1>
<!-- received="Wed Feb 28 15:39:38 2001" -->
<!-- isoreceived="20010228233938" -->
<!-- sent="Thu, 01 Mar 2001 01:05:00 +0100" -->
<!-- isosent="20010301000500" -->
<!-- name="abel deuring" -->
<!-- email="adeuring@gmx.net" -->
<!-- subject="Re: xsane - kernel 2.4.2 - sym53c860" -->
<!-- id="3A9D922C.1A8EB3E5@gmx.net" -->
<!-- inreplyto="20010228233148.A24171@fender.fakenet" -->
<STRONG>From:</STRONG> abel deuring (<A HREF="mailto:adeuring@gmx.net?Subject=Re:%20xsane%20-%20kernel%202.4.2%20-%20sym53c860&In-Reply-To=&lt;3A9D922C.1A8EB3E5@gmx.net&gt;"><EM>adeuring@gmx.net</EM></A>)<BR>
<STRONG>Date:</STRONG> Wed Feb 28 2001 - 16:05:00 PST
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0264.html">Tom Martone: "Re: Writing Fujitsu M3091 backend"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0262.html">Mick Barry: "Re: Writing Fujitsu M3091 backend"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0261.html">Olivier Sessink: "xsane - kernel 2.4.2 - sym53c860"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#263">[ date ]</A>
<A HREF="index.html#263">[ thread ]</A>
<A HREF="subject.html#263">[ subject ]</A>
<A HREF="author.html#263">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Olivier Sessink wrote:
<BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Hi all,
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; did anyone found problems when switching to 2.4 kernels?
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; I have a HP scanner on a sym53c860 scsi card:
</EM><BR>
<EM>&gt; scsi0 : sym53c8xx - version 1.6b
</EM><BR>
<EM>&gt; Vendor: HP Model: C5110A Rev: 3701
</EM><BR>
<EM>&gt; Type: Processor ANSI SCSI revision: 02
</EM><BR>
<EM>&gt; Detected scsi generic sg0 at scsi0, channel 0, id 6, lun 0, type 3
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; When running, I get this error (both 2.2 and 2.4 kernels):
</EM><BR>
<EM>&gt; sym53c860-0-&lt;6,*&gt;: target did not report SYNC.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; however, on 2.2 kernels xsane just continues scanning, but on 2.4 kernels
</EM><BR>
<EM>&gt; (tested 2.4.2) it is followed by this error (and xsane aborts):
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; scsi : aborting command due to timeout : pid 0, scsi0, channel 0, id 6, lun
</EM><BR>
<EM>&gt; 0 Read (6) 00 00 80 00 00
</EM><BR>
<EM>&gt; sym53c8xx_abort: pid=0 serial_number=965 serial_number_at_timeout=965
</EM><BR>
<EM>&gt; scsi : aborting command due to timeout : pid 0, scsi0, channel 0, id 6, lun
</EM><BR>
<EM>&gt; 0 Read (6) 00 00 80 00 00
</EM><BR>
<EM>&gt; sym53c8xx_abort: pid=0 serial_number=966 serial_number_at_timeout=966
</EM><BR>
<EM>&gt; sym53c860-0: restart (scsi reset).
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Other scsi devices work without any problem (tested: CD reader and writer)
</EM><BR>
<EM>&gt; with kernel 2.4.2, only the scanner doesn't.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Does anyone have a good idea? What changed in 2.4?
</EM><BR>
<P>The SG driver changed. But the guilty one is me; I used a too short
<BR>
timeout value for the new SG driver. In sanei/sanei_scsi.c, look for a
<BR>
line like
<BR>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;req-&gt;sgdata.sg3.hdr.timeout = 10000;
<BR>
<P>(line 1892 for Sane 1.0.4), and change it to
<BR>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;req-&gt;sgdata.sg3.hdr.timeout = 1000 * 10 * 60;
<BR>
<P>Abel
<BR>
<P><PRE>
--
Source code, list archive, and docs: <A HREF="http://www.mostang.com/sane/">http://www.mostang.com/sane/</A>
To unsubscribe: echo unsubscribe sane-devel | mail <A HREF="mailto:majordomo@mostang.com?Subject=Re:%20xsane%20-%20kernel%202.4.2%20-%20sym53c860&In-Reply-To=&lt;3A9D922C.1A8EB3E5@gmx.net&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0264.html">Tom Martone: "Re: Writing Fujitsu M3091 backend"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0262.html">Mick Barry: "Re: Writing Fujitsu M3091 backend"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0261.html">Olivier Sessink: "xsane - kernel 2.4.2 - sym53c860"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#263">[ date ]</A>
<A HREF="index.html#263">[ thread ]</A>
<A HREF="subject.html#263">[ subject ]</A>
<A HREF="author.html#263">[ author ]</A>
</UL>
<!-- trailer="footer" -->
<HR NOSHADE>
<P>
<SMALL>
<EM>
This archive was generated by <A HREF="http://www.hypermail.org/">hypermail 2b29</A>
: <EM>Wed Feb 28 2001 - 15:40:57 PST</EM>
</EM>
</SMALL>
</BODY>
</HTML>