primax: Thread: pxscan-0.4 bugs


[<<] [<] Page 1 of 1 [>] [>>]
Subject: pxscan-0.4 bugs
From: Gustaf Kroling ####@####.####
Date: 7 Feb 2001 23:46:33 -0000
Message-Id: <3A81DF54.C7045CE2@swipnet.se>

Hi all,

Had a look at the driver and found that the warning
about 'ioperm' and 'iopl' have nothing to do with
the segmentation fault.

-  The warnings some get are due to that the header file

'io.h'

has moved from a subdirectory called 'asm' to a subdirectory
called 'sys'. (At least here.) Try changing the first lines
in portio.c to suit your needs if you don't like the
warnings.
But it seems as if the compiler finds everything it needs
anyway.


- The segmentation fault is due to a double call to
'epp_off()'
before exiting. The second time it gets called it tries to
access the hardware and that is not allowed due to the first
call.
Fix:

Comment out lines 1676 and 1684 that read
       epp_off();

Hope this helps...


Gustaf


[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.