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

180 wiersze
6.3 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: always Segmentation Fault</TITLE>
<META NAME="Author" CONTENT="Christoph H. (ch@basis.dhs.org)">
<META NAME="Subject" CONTENT="Re: always Segmentation Fault">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: always Segmentation Fault</H1>
<!-- received="Sun Feb 25 15:15:01 2001" -->
<!-- isoreceived="20010225231501" -->
<!-- sent="Mon, 26 Feb 2001 00:27:20 +0100" -->
<!-- isosent="20010225232720" -->
<!-- name="Christoph H." -->
<!-- email="ch@basis.dhs.org" -->
<!-- subject="Re: always Segmentation Fault" -->
<!-- id="01022600272002.06590@gen" -->
<!-- inreplyto="3A9971D3.A737050B@gmx.net" -->
<STRONG>From:</STRONG> Christoph H. (<A HREF="mailto:ch@basis.dhs.org?Subject=Re:%20always%20Segmentation%20Fault&In-Reply-To=&lt;01022600272002.06590@gen&gt;"><EM>ch@basis.dhs.org</EM></A>)<BR>
<STRONG>Date:</STRONG> Sun Feb 25 2001 - 15:27:20 PST
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0222.html">Adam Warner: "Re: HP 5100C and SANE"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0220.html">Clark Case: "Re: usb-scsi driver problem with SET_WINDOW?"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0219.html">abel deuring: "Re: always Segmentation Fault"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#221">[ date ]</A>
<A HREF="index.html#221">[ thread ]</A>
<A HREF="subject.html#221">[ subject ]</A>
<A HREF="author.html#221">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Hi!
<BR>
<P><EM>&gt; You should also make sure, that the header files sg.h and scsi.h in
</EM><BR>
<EM>&gt; /usr/include/scsi/ and /usr/src/linux/include/scsi/ are identical.
</EM><BR>
<P>Yes, they were not identical. So delete the /usr/include/scsi and made
<BR>
a link to the kernel subdirectory and recompiled everything -&gt; nothing changed.
<BR>
<P><EM>&gt; Well, I was most puzzled by the fact that Sane does not see a newer SG
</EM><BR>
<EM>&gt; driver for kernel 2.2.17. So it could also help, if you have a look,
</EM><BR>
<EM>&gt; which SG driver is installed for the 2.2.17 kernel. If necessary, you
</EM><BR>
<EM>&gt; can download a recent version from <A HREF="http://www.torque.net/sg">http://www.torque.net/sg</A> .
</EM><BR>
<P>I've download the newest SG driver for Kernel 2.2 from torque.net (sg3017.tgz) and
<BR>
recompiled the kernel and the sane-backend -&gt; nothing changed -&gt; still Segmentation Fault.
<BR>
<P>I saw, that sane is compiled with a bigger scsi buffer than 32k, so recompiled sane
<BR>
with the appropriate configure-parameter to achieve, that it uses also 32k -&gt; nothing changed.
<BR>
<P>That's the current debug-output of scanimage. I think nothing changed (detects old SG version!?) ... :-((((
<BR>
<P># scanimage
<BR>
[sanei_debug] Setting debug level of mustek to 255.
<BR>
[mustek] SANE Mustek backend version 1.0 build 102 (SANE 1.0.4)
<BR>
[mustek] sane_init: authorize != null
<BR>
[mustek] sane_init: using sanei_scsi_open_extended
<BR>
[mustek] sane_init: reading config file `mustek.conf'
<BR>
[mustek] sane_init: config file line 1: ignoring comment line
<BR>
[mustek] sane_init: config file line 2: ignoring empty line
<BR>
[mustek] sane_init: config file line 3: ignoring comment line
<BR>
[mustek] sane_init: config file line 4: strip-height set to 1 inches
<BR>
[mustek] sane_init: freed
<BR>
[mustek] sane_init: config file line 5: ignoring comment line
<BR>
[mustek] sane_init: config file line 6: ignoring comment line
<BR>
[mustek] sane_init: config file line 7: ignoring comment line
<BR>
[mustek] sane_init: config file line 8: ignoring empty line
<BR>
[mustek] sane_init: config file line 9: ignoring comment line
<BR>
[mustek] sane_init: config file line 10: ignoring comment line
<BR>
[mustek] sane_init: config file line 11: ignoring comment line
<BR>
[mustek] sane_init: config file line 12: ignoring comment line
<BR>
[mustek] sane_init: config file line 13: ignoring comment line
<BR>
[mustek] sane_init: config file line 14: ignoring comment line
<BR>
[mustek] sane_init: config file line 15: ignoring empty line
<BR>
[mustek] sane_init: config file line 16: trying to attach `scsi SCANNER'
<BR>
[sanei_debug] Setting debug level of sanei_scsi to 255.
<BR>
[sanei_scsi] searched device is /dev/sg2
<BR>
[mustek] attach: trying device /dev/sg2
<BR>
[mustek] dev_open /dev/sg2
<BR>
[sanei_debug] Setting debug level of sanei_scsi to 255.
<BR>
[sanei_scsi] sanei_scsi_open: sanei_scsi_max_request_size=32768 bytes
<BR>
[sanei_scsi] sanei_scsi_open: using old SG driver logic
<BR>
[mustek] dev_open: /dev/sg2 is a SCSI device
<BR>
[mustek] dev_open: wanted 8 kbytes, got 8 kbytes buffer
<BR>
[mustek] attach: sending INQUIRY
<BR>
[sanei_scsi] scsi_req_enter: entered 0x80506d8
<BR>
[sanei_scsi] sanei_scsi.issue: 0x80506d8
<BR>
[sanei_scsi] scsi_req_enter: queue_used: 1, queue_max: 1
<BR>
[sanei_scsi] sanei_scsi_req_wait: waiting for 0x80506d8
<BR>
[sanei_scsi] sanei_scsi.issue: 0x80506d8
<BR>
[sanei_scsi] sanei_scsi_req_wait: read 0 bytes
<BR>
Segmentation fault
<BR>
<P>Regards, Christoph.
<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:%20always%20Segmentation%20Fault&In-Reply-To=&lt;01022600272002.06590@gen&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0222.html">Adam Warner: "Re: HP 5100C and SANE"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0220.html">Clark Case: "Re: usb-scsi driver problem with SET_WINDOW?"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0219.html">abel deuring: "Re: always Segmentation Fault"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#221">[ date ]</A>
<A HREF="index.html#221">[ thread ]</A>
<A HREF="subject.html#221">[ subject ]</A>
<A HREF="author.html#221">[ 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>Sun Feb 25 2001 - 15:15:58 PST</EM>
</EM>
</SMALL>
</BODY>
</HTML>