sane-project-website/old-archive/2001-05/0429.html

160 wiersze
6.2 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: SANE CVS snapshot (2001-05-27) available</TITLE>
<META NAME="Author" CONTENT="Henning Meier-Geinitz (henning@meier-geinitz.de)">
<META NAME="Subject" CONTENT="Re: SANE CVS snapshot (2001-05-27) available">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: SANE CVS snapshot (2001-05-27) available</H1>
<!-- received="Tue May 29 15:48:05 2001" -->
<!-- isoreceived="20010529224805" -->
<!-- sent="Wed, 30 May 2001 00:46:28 +0200" -->
<!-- isosent="20010529224628" -->
<!-- name="Henning Meier-Geinitz" -->
<!-- email="henning@meier-geinitz.de" -->
<!-- subject="Re: SANE CVS snapshot (2001-05-27) available" -->
<!-- id="20010530004628.A626@vortex.swb.de" -->
<!-- inreplyto="20010528220722.A11231@wanadoo.fr" -->
<STRONG>From:</STRONG> Henning Meier-Geinitz (<A HREF="mailto:henning@meier-geinitz.de?Subject=Re:%20SANE%20CVS%20snapshot%20(2001-05-27)%20available&In-Reply-To=&lt;20010530004628.A626@vortex.swb.de&gt;"><EM>henning@meier-geinitz.de</EM></A>)<BR>
<STRONG>Date:</STRONG> Tue May 29 2001 - 15:46:28 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0430.html">Oliver Rauch: "Re: umax 2200 hi res scan"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0428.html">Henning Meier-Geinitz: "Re: usb Mustek scanner on 2.2.16"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0403.html">stef: "Re: SANE CVS snapshot (2001-05-27) available"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0433.html">stef: "Re: SANE CVS snapshot (2001-05-27) available"</A>
<LI><STRONG>Next in thread:</STRONG> <A HREF="0409.html">Henning Meier-Geinitz: "Re: SANE CVS snapshot (2001-05-27) available"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0433.html">stef: "Re: SANE CVS snapshot (2001-05-27) available"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#429">[ date ]</A>
<A HREF="index.html#429">[ thread ]</A>
<A HREF="subject.html#429">[ subject ]</A>
<A HREF="author.html#429">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Hi,
<BR>
<P>On Mon, May 28, 2001 at 10:07:22PM +0200, stef wrote:
<BR>
<EM>&gt; On Mon, May 28, 2001 at 09:07:04PM +0200, Henning Meier-Geinitz wrote:
</EM><BR>
<EM>&gt; &gt; Hi,
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt; &gt; (2) Running scanimage results in bus error. gdb reveals: umax_pp_low.c line 80,
</EM><BR>
<EM>&gt; &gt; &gt; Inb (port: 890).
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt; Fixed. Or more exactly: Disabled umax_pp for FreeBSD. It looks like
</EM><BR>
<EM>&gt; &gt; FreeBSD dumps core because inb is used without prior ioperm. However,
</EM><BR>
<EM>&gt; &gt; HAVE_IOPERM is not defined, so the ioperm part wasn't compiled in. I
</EM><BR>
<EM>&gt; &gt; have added a &amp;&amp; defined HAVE_IOPERM before using the inb etc.
</EM><BR>
<EM>&gt; &gt; assembler statements. If anyone knows enough about programming ioports
</EM><BR>
<EM>&gt; &gt; under FreeBSD please have a look at this and fix it correctly.
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<P><EM>&gt; I'm pretty puzzled with that, 'Inb (port: 890)' means access to
</EM><BR>
<EM>&gt; CONTROL port. If the failure was due to lack of permission to do
</EM><BR>
<EM>&gt; direct I/O, the umax_pp should have failed with the very first access
</EM><BR>
<EM>&gt; to parport which is Inb (0x378).
</EM><BR>
<P>Yes, I saw this, too, and don't know why.
<BR>
<P><EM>&gt; Inb(0x37A) is only the third I/O. So I find it strange. A larger part
</EM><BR>
<EM>&gt; of the gdb backtrace would be helpful.
</EM><BR>
<P>Starting program: /usr/local/bin/scanimage -L
<BR>
Program received signal SIGBUS, Bus error.
<BR>
Inb (port=890) at umax_pp_low.c:81
<BR>
81 return value;
<BR>
(gdb) bt
<BR>
#0 Inb (port=890) at umax_pp_low.c:81
<BR>
#1 0x80eef1a in sanei_umax_pp_ProbeScanner (recover=0) at umax_pp_low.c:3957
<BR>
#2 0x80f9da2 in sanei_umax_pp_attach (port=888) at umax_pp_mid.c:160
<BR>
#3 0x80da83d in attach (devname=0xbfbff479 &quot;0x378&quot;) at umax_pp.c:186
<BR>
#4 0x80dbb95 in sane_umax_pp_init (version_code=0xbfbff6b0,
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;authorize=0x804a168 &lt;auth_callback&gt;) at umax_pp.c:849
<BR>
#5 0x804ec50 in init (be=0x8150f9c) at dll.c:400
<BR>
#6 0x804f142 in sane_dll_get_devices (device_list=0xbfbff78c, local_only=0)
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;at dll.c:661
<BR>
#7 0x804ddd4 in sane_get_devices (dl=0xbfbff78c, local=0) at dll-s.c:15
<BR>
#8 0x804c60d in main (argc=2, argv=0xbfbffbe8) at scanimage.c:1418
<BR>
#9 0x804a101 in _start ()
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<BR>
Bye,
<BR>
&nbsp;&nbsp;Henning
<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:%20SANE%20CVS%20snapshot%20(2001-05-27)%20available&In-Reply-To=&lt;20010530004628.A626@vortex.swb.de&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0430.html">Oliver Rauch: "Re: umax 2200 hi res scan"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0428.html">Henning Meier-Geinitz: "Re: usb Mustek scanner on 2.2.16"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0403.html">stef: "Re: SANE CVS snapshot (2001-05-27) available"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0433.html">stef: "Re: SANE CVS snapshot (2001-05-27) available"</A>
<LI><STRONG>Next in thread:</STRONG> <A HREF="0409.html">Henning Meier-Geinitz: "Re: SANE CVS snapshot (2001-05-27) available"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0433.html">stef: "Re: SANE CVS snapshot (2001-05-27) available"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#429">[ date ]</A>
<A HREF="index.html#429">[ thread ]</A>
<A HREF="subject.html#429">[ subject ]</A>
<A HREF="author.html#429">[ 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 May 29 2001 - 15:49:45 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>