sane-project-website/old-archive/1999-06/0007.html

145 wiersze
6.7 KiB
HTML

<!-- received="Wed Jun 2 13:18:26 1999 PDT" -->
<!-- sent="Wed, 2 Jun 1999 16:19:20 -0400 (EDT)" -->
<!-- name="Britt Bolen" -->
<!-- email="bolen@eecs.harvard.edu" -->
<!-- subject="Re: problems with HP SJ 4C and Linux" -->
<!-- id="" -->
<!-- inreplyto="3752F8DB.2EB0170D@kirchgessner.net" -->
<title>sane-devel: Re: problems with HP SJ 4C and Linux</title>
<h1>Re: problems with HP SJ 4C and Linux</h1>
<b>Britt Bolen</b> (<a href="mailto:bolen@eecs.harvard.edu"><i>bolen@eecs.harvard.edu</i></a>)<br>
<i>Wed, 2 Jun 1999 16:19:20 -0400 (EDT)</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#7">[ date ]</a><a href="index.html#7">[ thread ]</a><a href="subject.html#7">[ subject ]</a><a href="author.html#7">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0008.html">Danilo Godec: "Success - Primax 4800 Direct"</a>
<li> <b>Previous message:</b> <a href="0006.html">Ron Burton: "ARTEC 6000C Plus Problems"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>
<!-- body="start" -->
Well the extra debugging levels didn't get me anywhere, but when I attempt<br>
to do a simple scan, I get these message in my system logs...<br>
<p>
Jun 2 16:16:30 schubert kernel: scsi0 channel 0 : resetting for second<br>
half of retries. <br>
Jun 2 16:16:30 schubert kernel: SCSI bus is being reset for host 0<br>
channel 0. <br>
Jun 2 16:16:30 schubert kernel: ncr53c8xx_reset: pid=29311 reset_flags=1<br>
serial_number=0 serial_number_at_timeout=0 <br>
Jun 2 16:16:30 schubert kernel: scsi0: device driver called scsi_done()<br>
for a syncronous reset. <br>
Jun 2 16:16:30 schubert kernel: ncr53c825-0: restart (scsi reset). <br>
Jun 2 16:16:30 schubert kernel: ncr53c825-0-&lt;4,*&gt;: device did not report<br>
SYNC. <br>
Jun 2 16:16:31 schubert kernel: ncr53c825-0-&lt;0,*&gt;: FAST-10 SCSI 10.0 MB/s<br>
(100 ns, offset 8) <br>
<p>
Termination is correct. (this used to work with xvscan under BSD/OS)<br>
<p>
Any other clues?<br>
<p>
thanks,<br>
<p>
Britt<br>
<p>
On Mon, 31 May 1999, Peter Kirchgessner wrote:<br>
<p>
<i>&gt; </i><br>
<i>&gt; Britt Bolen wrote:</i><br>
<i>&gt; &gt; </i><br>
<i>&gt; &gt; I've got a stock RedHat 6.0 Linux machine running on a P166 with an</i><br>
<i>&gt; &gt; ncr53c825 scsi controller.</i><br>
<i>&gt; &gt; </i><br>
<i>&gt; &gt; My machine sees the scanner as</i><br>
<i>&gt; &gt; </i><br>
<i>&gt; &gt; Vendor: HP Model: C2520A Rev: 3503</i><br>
<i>&gt; &gt; Type: Processor ANSI SCSI revision: 02</i><br>
<i>&gt; &gt; </i><br>
<i>&gt; &gt; scanimage gives me this info....</i><br>
<i>&gt; &gt; </i><br>
<i>&gt; &gt; device `hp:/dev/scanner' is a Hewlett-Packard C2520A flatbed scanner</i><br>
<i>&gt; &gt; </i><br>
<i>&gt; &gt; When i set SANE_DEBUG_HP to 1 and try and grab an image, i get this</i><br>
<i>&gt; &gt; output... (abridged)</i><br>
<i>&gt; &gt; </i><br>
<i>&gt; &gt; [hp] sanei_hp_device_new: /dev/scanner: found HP ScanJet model C2520A</i><br>
<i>&gt; &gt; [hp] start: No request to mirror image vertically</i><br>
<i>&gt; &gt; [hp] start: No request to mirror image vertically</i><br>
<i>&gt; &gt; [hp] start: 2550 pixels per line, 319 bytes, 4199 lines high</i><br>
<i>&gt; </i><br>
<i>&gt; Hi Britt,</i><br>
<i>&gt; </i><br>
<i>&gt; up to here the SCSI communication was ok. Now the large amounts of data</i><br>
<i>&gt; will be transfered. Several possibilities for failure:</i><br>
<i>&gt; </i><br>
<i>&gt; Termination ok ?</i><br>
<i>&gt; hp-backend in SANE V1.0 has some problems in it. If possible try</i><br>
<i>&gt; upgrading to SANE 1.01 ?</i><br>
<i>&gt; </i><br>
<i>&gt; To localize the problem, you also can increase the value of</i><br>
<i>&gt; SANE_DEBUG_HP and SANE_DEBUG_SANEI_SCSI.</i><br>
<i>&gt; </i><br>
<i>&gt; --Peter</i><br>
<i>&gt; </i><br>
<i>&gt; &gt; [hp] sanei_hp_scl_startScan: Start scan</i><br>
<i>&gt; &gt; [hp] start_reader: reader proces 14468 started</i><br>
<i>&gt; &gt; [hp] do_read: Start reading data from scanner</i><br>
<i>&gt; &gt; [hp] do_read: Error from scsi_req_wait: Error during device I/O</i><br>
<i>&gt; &gt; [hp] do_read: cleaning up leftover requests</i><br>
<i>&gt; &gt; [hp] read: EOF from pipe</i><br>
<i>&gt; &gt; [hp] do_cancel: child exited, status = 9</i><br>
<i>&gt; &gt; scanimage: sane_read: Error during device I/O</i><br>
<i>&gt; &gt; </i><br>
<i>&gt; &gt; and it dies...</i><br>
<i>&gt; &gt; </i><br>
<i>&gt; &gt; I have stock 2.2.5 kernel with the generic scsi module loaded.</i><br>
<i>&gt; &gt; </i><br>
<i>&gt; &gt; Any ideas on why this is dieing?</i><br>
<i>&gt; &gt; </i><br>
<i>&gt; &gt; thanks a lot,</i><br>
<i>&gt; &gt; </i><br>
<i>&gt; &gt; Britt</i><br>
<i>&gt; &gt; </i><br>
<i>&gt; &gt; ------------------------------------------------------------------------</i><br>
<i>&gt; &gt; Britt Bolen EECS Computer Support Office</i><br>
<i>&gt; &gt; Division of Engineering and Applied Sciences email: bolen@eecs</i><br>
<i>&gt; &gt; Harvard University voice: 617 495-UNIX</i><br>
<i>&gt; &gt; ESL 112, 40 Oxford St., Cambridge, MA, 02138 fax: 617-496-1066</i><br>
<i>&gt; &gt; ------------------------------------------------------------------------</i><br>
<i>&gt; &gt; </i><br>
<i>&gt; &gt; --</i><br>
<i>&gt; &gt; Source code, list archive, and docs: <a href="http://www.mostang.com/sane/">http://www.mostang.com/sane/</a></i><br>
<i>&gt; &gt; To unsubscribe: echo unsubscribe sane-devel | mail <a href="mailto:majordomo@mostang.com">majordomo@mostang.com</a></i><br>
<i>&gt; </i><br>
<i>&gt; -- </i><br>
<i>&gt; Peter Kirchgessner</i><br>
<i>&gt; WWW: <a href="http://www.kirchgessner.net">http://www.kirchgessner.net</a></i><br>
<i>&gt; e-mail: <a href="mailto:peter@kirchgessner.net">peter@kirchgessner.net</a></i><br>
<i>&gt; </i><br>
<p>
------------------------------------------------------------------------<br>
Britt Bolen EECS Computer Support Office<br>
Division of Engineering and Applied Sciences email: bolen@eecs<br>
Harvard University voice: 617 495-UNIX<br>
ESL 112, 40 Oxford St., Cambridge, MA, 02138 fax: 617-496-1066<br>
------------------------------------------------------------------------<br>
<p>
<p>
<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">majordomo@mostang.com</a>
</pre>
<!-- body="end" -->
<p>
<ul>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0008.html">Danilo Godec: "Success - Primax 4800 Direct"</a>
<li> <b>Previous message:</b> <a href="0006.html">Ron Burton: "ARTEC 6000C Plus Problems"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>