lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1183550290.30882.8.camel@jonsy.dit.upm.es>
Date:	Wed, 04 Jul 2007 13:58:10 +0200
From:	Jonsito <jonsito@...eline.es>
To:	Chuck Ebbert <cebbert@...hat.com>
Cc:	linux-kernel@...r.kernel.org, Adrian Bunk <bunk@...sta.de>
Subject: Re: ppdev - libieee1284.so  conflicts with 2.6.21

El mar, 03-07-2007 a las 17:31 -0400, Chuck Ebbert escribió:
> On 07/03/2007 02:16 AM, Juan Antonio Martinez wrote:
[...]
> When it is working it says:
> 
> ppdev: user-space parallel port driver
> ppdev0: registered pardevice
> ppdev0: unregistered pardevice
> ppdev0: registered pardevice
> ppdev0: negotiated back to compatibility mode because user-space forgot
> ppdev0: unregistered pardevice
> ppdev0: registered pardevice
> ppdev0: unregistered pardevice
> 
> When broken:
> 
> ppdev: user-space parallel port driver
> ppdev0: registered pardevice
> ppdev0: unregistered pardevice
> 
> I give up, what causes that?

Please skip extra registered/unregistered pairs: was additional tests.

More info:

I've download vanilla libieee1284 and linux-2.6.21.5 code
libieee1284 includes kernel headers for ppdev.h and parport.h; 
they are slightly different than kernel ones, but differences 
only apply to "#ifdef __KERNEL" section. 
Not sure on collateral effects

libieee1284 fails in claim() returning E1284_SYS (System Call Error).
Failed line is "ioctl(port->fd, PPCLAIM)" from access_ppdev.c

Looking at ppdev.c seems that parport_claim_or_block() fails. 
Need further study

Juan Antonio


Download attachment "smime.p7s" of type "application/x-pkcs7-signature" (3250 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ