Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 38800 - sys-kernel/gentoo-sources-2.4.22-r5 some devices not available
Summary: sys-kernel/gentoo-sources-2.4.22-r5 some devices not available
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Brian Jackson (RETIRED)
Depends on:
Reported: 2004-01-20 02:43 UTC by Miroslav Šulc
Modified: 2004-02-06 09:26 UTC (History)
1 user (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Miroslav Šulc gentoo-dev 2004-01-20 02:43:09 UTC
I have installed above mentioned kernel using genkernel-3.0.1_beta6. I have used my old config file from /etc/kernels/ - it was from kernel version 2.4.20-gentoo and I have updated it with 'make oldconfig' and copied to /usr/share/genkernel/x86/kernel-config-2.4 so I suppose merely all things that I have configured for 2.4.20 kernel will be available in this new kernel. The problem is that I have found that parallel ports and tape devices are not accessible. May be some other devices are not accessible but I don't use them so I didn't find the problem there. Here is the list of ports:
# lpinfo -v
network socket
network http
network ipp
network lpd
direct parallel:/dev/unknown-parallel0
direct parallel:/dev/unknown-parallel1
direct parallel:/dev/unknown-parallel2
direct scsi
direct usb:/dev/usblp0
direct usb:/dev/usblp1
direct usb:/dev/usblp2
direct usb:/dev/usblp3
direct usb:/dev/usblp4
direct usb:/dev/usblp5
direct usb:/dev/usblp6
direct usb:/dev/usblp7
direct usb:/dev/usblp8
direct usb:/dev/usblp9
direct usb:/dev/usblp10
direct usb:/dev/usblp11
direct usb:/dev/usblp12
direct usb:/dev/usblp13
direct usb:/dev/usblp14
direct usb:/dev/usblp15
network smb
What is strange (for me) is the 'unknown-parallel?'. Devices for my tape device (/dev/st0, /dev/nst0 and /dev/sg0) are not accessible too - they doesn't exist though they existed in 2.4.20 kernel.

Reproducible: Always
Steps to Reproduce:
1. Copy config file from kernel 2.4.20 to 2.4.22 kernel over .config file
2. Run 'make oldconfig', update configuration and copy .config over /usr/share/genkernel/x86/kernel-config-2.4
3. Run 'genkernel --install all'
4. Update lilo and reboot
Actual Results:  
Parallel port and tape device are not accessible

Expected Results:  
It should be possible to print to the parallel port and write and read from tape

# emerge info
Portage 2.0.49-r21 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r9, 2.4.22-gentoo-r5)
System uname: 2.4.22-gentoo-r5 i686 Intel(R) Celeron(R) CPU 2.00GHz
Gentoo Base System version
CFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe"
FEATURES="autoaddcvs ccache sandbox"
USE="X509 acl apache2 apm arts avi berkdb crypt cups curl encode flash
foomaticdb freetds gd gdbm gif gpm gtk2 imap imlib informix innodb java jpeg
justify kerberos ldap libg++ libwww mad mcal mikmod motif mpeg mysql ncurses nls
oav oci8 odbc oggvorbis opengl oss pam pdflib perl png postgres ppds python
quicktime readline samba sdl skey slang slp snmp spell ssl svga tcpd tiff
truetype x86 xml2 xmms xv zlib"
Comment 1 Tim Yamin (RETIRED) gentoo-dev 2004-01-20 08:25:50 UTC
Can you please attach your .config?
Comment 2 Brian Jackson (RETIRED) gentoo-dev 2004-02-06 09:01:44 UTC
We'll need more info, specifically as plasmaroo asked could you attach your config please.
Comment 3 Miroslav Šulc gentoo-dev 2004-02-06 09:26:28 UTC
Sorry, I missed the previous info mail. I haven't had time to investigate the error yet but now I think the error might be related to the new issue of genkernel (not handling the .config file as I expected). I will close this bug and eventually reopen it if the problem is not in the genkernel.

Thank you for your help.