Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 69124 - gentoo-dev-sources-2.6.9 fails to detect parport
Summary: gentoo-dev-sources-2.6.9 fails to detect parport
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Daniel Drake (RETIRED)
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2004-10-27 05:03 UTC by Jan Sembera
Modified: 2004-10-31 13:44 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
gentoo-dev-sources-2.6.9-r1 kernel configuration (.config,33.51 KB, text/plain)
2004-10-27 05:04 UTC, Jan Sembera
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Sembera 2004-10-27 05:03:09 UTC
Since I updated kernel from gentoo-dev-sources-2.6.8-r10 to gentoo-dev-sources-2.6.9-r1, kernel fails to detect parallel port and therefore I cannot use my printer. Booting back to 2.6.8-r10 fixed the problem, so I assume this should not be my fault. Configuration of 2.6.9-r1 kernel is attached. Relevant log messages follow

2.6.9-r1 bootup: 

Oct 23 11:05:04 graybox kernel: parport: PnPBIOS parport detected.
Oct 23 11:05:04 graybox kernel: pnp: Device 00:0b disabled.
Oct 23 11:05:04 graybox kernel: lp: driver loaded but no devices found

2.6.8-r10 bootup: 

Oct 16 07:26:00 graybox kernel: parport: PnPBIOS parport detected.
Oct 16 07:26:00 graybox kernel: parport0: PC-style at 0x378 (0x778), irq 7, dma 3 [PCSPP,TRISTATE,COMPAT, EPP,ECP,DMA]
Oct 16 07:26:00 graybox kernel: lp0: using parport0 (interrupt-driven).

Reproducible: Always
Steps to Reproduce:
1. Boot gentoo-dev-sources-2.6.9-r1 kernel




Portage 2.0.51-r2 (gcc34-x86-2004.2, gcc-3.4.2, glibc-2.3.4.20041006-r0,
2.6.8-gentoo-r10 i686)
=================================================================
System uname: 2.6.8-gentoo-r10 i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-xp -fforce-addr -funroll-loops -fomit-frame-pointer
-falign-functions=4 -pipe -ftracer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -fforce-addr -funroll-loops -fomit-frame-pointer
-falign-functions=4 -pipe -ftracer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache digest distlocks sandbox userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.gentoo.mesh-solutions.com/gentoo/
http://gentoo.mirror.icd.hu/
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://gd.tuwien.ac.at/opsys/linux/gentoo/
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://mir.zyrianes.net/gentoo/
ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo
ftp://mirror.switch.ch/mirror/gentoo/ http://ftp.easynet.nl/mirror/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/portage"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X Xaw3d aalib acl acpi adns aim alsa apm audiofile avi bcmath berkdb
bitmap-fonts bzlib caps cdb cdr cpdflib crypt ctype cups curl dbx dedicated dga
directfb divx4linux doc dvd encode esd ethereal evo f77 fam fbcon flac flash
foomaticdb ftp gd gdbm ggi gif gmp gnutls gpm gtk gtk2 guile iconv icq
imagemagick imap imlib ipv6 jabber java jpeg kerberos ldap libg++ libwww mad
mbox mhash mikmod ming mmap mmx motif mozilla mpeg msn ncurses nls nptl
oggvorbis openal opengl oscar pam pcre pdflib perl pic pie png pnp posix python
qt quicktime readline recode ruby samba sasl scanner sdl sharedmem skey slang
socks5 spell sqlite sse ssl svg svga sysvipc tcltk tcpd tetex theora tiff
truetype trusted unicode usb videos wavelan wxwindows x86 xine xinerama xml xml2
xmms xosd xprint xv xvid yahoo zlib"
Comment 1 Jan Sembera 2004-10-27 05:04:56 UTC
Created attachment 42683 [details]
gentoo-dev-sources-2.6.9-r1 kernel configuration
Comment 2 Daniel Drake (RETIRED) gentoo-dev 2004-10-27 07:31:14 UTC
Could you please try development-sources-2.6.9 and 2.6.10-rc1 ? I think this is an upstream issue, would be interested to know if it is fixed.
Comment 3 Jan Sembera 2004-10-27 10:54:00 UTC
Looks like it. Vanilla 2.6.9 shows exactly the same behaviour I described, while 2.6.10-rc1 looks fixed. 
Comment 4 Daniel Drake (RETIRED) gentoo-dev 2004-10-27 15:17:34 UTC
Great, thanks for testing. Sorry to place another request on you, but could you please try applying the following patch to gentoo-dev-sources-2.6.9-r1

http://linux.bkbits.net:8080/linux-2.6/diffs/drivers/parport/parport_pc.c@1.58.1.1?nav=index.html|src/|src/drivers|src/drivers/parport|hist/drivers/parport/parport_pc.c

I think it's the one that fixes the problem, but would like confirmation before I add it to gentoo-dev-sources. Thanks :)
Comment 5 Jan Sembera 2004-10-27 16:30:57 UTC
I applied the patch and it appears that it solved the issue. Thank you for your great work on dev-sources. 
Comment 6 Daniel Drake (RETIRED) gentoo-dev 2004-10-27 17:09:38 UTC
Thanks for the speedy testing. I'll include this in the next release.
Comment 7 Daniel Drake (RETIRED) gentoo-dev 2004-10-31 13:44:46 UTC
In gentoo-dev-sources-2.6.9-r2