sane-project-website/old-archive/2000-02/0294.html

137 wiersze
5.5 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: snapscan / Agfa 1236s hangs scsi/aic7xxx until rese</TITLE>
<META NAME="Author" CONTENT="Christophe Tronche (ch.tronche@computer.org)">
<META NAME="Subject" CONTENT="snapscan / Agfa 1236s hangs scsi/aic7xxx until reset and a fix">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>snapscan / Agfa 1236s hangs scsi/aic7xxx until reset and a fix</H1>
<!-- received="Tue Feb 22 14:51:19 2000" -->
<!-- isoreceived="20000222225119" -->
<!-- sent="Wed, 23 Feb 2000 01:06:50 +0100" -->
<!-- isosent="20000223000650" -->
<!-- name="Christophe Tronche" -->
<!-- email="ch.tronche@computer.org" -->
<!-- subject="snapscan / Agfa 1236s hangs scsi/aic7xxx until reset and a fix" -->
<!-- id="200002230006.BAA02835@localhost.localdomain" -->
<STRONG>From:</STRONG> Christophe Tronche (<A HREF="mailto:ch.tronche@computer.org?Subject=Re:%20snapscan%20/%20Agfa%201236s%20hangs%20scsi/aic7xxx%20until%20reset%20and%20a%20fix&In-Reply-To=&lt;200002230006.BAA02835@localhost.localdomain&gt;"><EM>ch.tronche@computer.org</EM></A>)<BR>
<STRONG>Date:</STRONG> Tue Feb 22 2000 - 16:06:50 PST
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0295.html">Petter Reinholdtsen: "Re: RPM build file"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0293.html">Ray Robinson: "Re: Solaris and Sane"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0303.html">Henrik Johansson: "Re: snapscan / Agfa 1236s hangs scsi/aic7xxx until reset and a fix"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0303.html">Henrik Johansson: "Re: snapscan / Agfa 1236s hangs scsi/aic7xxx until reset and a fix"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#294">[ date ]</A>
<A HREF="index.html#294">[ thread ]</A>
<A HREF="subject.html#294">[ subject ]</A>
<A HREF="author.html#294">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Hello.
<BR>
<P>I'm using an Agfa 1236S with the snapscan backend (src-1.0.tar.gz).
<BR>
Scanimage (for example) doesn't work and left the computer in a funny
<BR>
state. Actually, the driver hangs, and since I've only SCSI disks,
<BR>
everything slowly blocks as disks are solicited. The kernel log shows
<BR>
that requests to disks (on the same scsi card) timeout.
<BR>
<P>The problem can be traced back to the piece of code requesting scanner
<BR>
self-test. I just commented out that portion (diff -u included at the
<BR>
end of this message) and everything works fine. I believe the problem
<BR>
to be actually in the generic SCSI driver (that shouldn't crash so
<BR>
badly whatever trash may be sent to it), however this is a workaround.
<BR>
<P>Regards,
<BR>
<P>- --
<BR>
Christophe Tronche <A HREF="mailto:ch.tronche@computer.org?Subject=Re:%20snapscan%20/%20Agfa%201236s%20hangs%20scsi/aic7xxx%20until%20reset%20and%20a%20fix&In-Reply-To=&lt;200002230006.BAA02835@localhost.localdomain&gt;">ch.tronche@computer.org</A>
<BR>
USWeb/CKS France <A HREF="http://tronche.com/">http://tronche.com/</A>
<BR>
<P>- --- old/snapscan.c Thu Sep 9 18:22:46 1999
<BR>
+++ /sane-1.0.1/backend/snapscan.c Sun Feb 6 22:27:38 2000
<BR>
@@ -1125,6 +1125,7 @@
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return status;
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
<BR>
+/*
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;DBG (DL_MINOR_INFO, &quot;%s: performing scanner self test.\n&quot;, me);
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;status = send_diagnostic (pss);
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if (status != SANE_STATUS_GOOD)
<BR>
@@ -1135,6 +1136,7 @@
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return status;
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;DBG (DL_MINOR_INFO, &quot;%s: self test passed.\n&quot;, me);
<BR>
+*/
<BR>
&nbsp;
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/* option initialization depends on getting the hardware configuration
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;byte */
<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:%20snapscan%20/%20Agfa%201236s%20hangs%20scsi/aic7xxx%20until%20reset%20and%20a%20fix&In-Reply-To=&lt;200002230006.BAA02835@localhost.localdomain&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0295.html">Petter Reinholdtsen: "Re: RPM build file"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0293.html">Ray Robinson: "Re: Solaris and Sane"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0303.html">Henrik Johansson: "Re: snapscan / Agfa 1236s hangs scsi/aic7xxx until reset and a fix"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0303.html">Henrik Johansson: "Re: snapscan / Agfa 1236s hangs scsi/aic7xxx until reset and a fix"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#294">[ date ]</A>
<A HREF="index.html#294">[ thread ]</A>
<A HREF="subject.html#294">[ subject ]</A>
<A HREF="author.html#294">[ 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>Tue Feb 22 2000 - 14:53:04 PST</EM>
</EM>
</SMALL>
</BODY>
</HTML>