Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 37746 - sys-apps/hotplug causes error on boot with kernel 2.6.1 (-mm1)
Summary: sys-apps/hotplug causes error on boot with kernel 2.6.1 (-mm1)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Greg Kroah-Hartman (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-09 15:19 UTC by Dale K Dicks
Modified: 2004-03-29 16:34 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dale K Dicks 2004-01-09 15:19:33 UTC
on boot, I get the following error with a 2.6.1(-mm1) kernel :

/etc/hotplug/usb.agent:line 216: 09: value too great for base (error token is 09)

I also get the following error on tty1 after boot :

cat /sys/devices/platform/host2/2:0:0:0/type: No such file or directory

I never got these errors with the 2.6.1-release_candidates.

I emerged the newer (masked) hotplug (20040105) and the errors went away however, my iPod doesn't work properly with hotplug-20040105; specificall, the /dev/sda1 and /dev/sda2 devices do not get created when I load the modules (ohci1394, and sbp2) for it.

Please let me know if there is any more information that you require.

Thanks.


Reproducible: Always
Steps to Reproduce:
see Details
Actual Results:  
see Details

Expected Results:  
see Details


[ ddicks@linuxbox ~ ] $ emerge info
Portage 2.0.49-r20 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.6.1-mm1)
=================================================================
System uname: 2.6.1-mm1 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz
Gentoo Base System version 1.4.3.10
distcc[5050] (dcc_set_trace_from_env) ERROR: failed to open logfile
/var/log/distcc.log: Permission denied [enabled]
ccache version 2.3 [enabled]
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer -fprefetch-loop-arrays
-funroll-loops -mmmx -msse -msse2"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer -fprefetch-loop-arrays
-funroll-loops -mmmx -msse -msse2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distcc fixpackages sandbox"
GENTOO_MIRRORS="ftp://sunsite.ualberta.ca/pub/unix/Linux/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa apm avi berkdb bonobo cdr crypt cups distcc encode esd
foomaticdb gdbm gif gnome gpm gtk gtk2 guile imap imlib java jpeg ldap libg++
libwww mad mikmod mng motif mozilla mpeg ncurses nls oggvorbis opengl oss pam
pdflib perl png python quicktime readline samba sdl slang spell ssl svga tcltk
tcpd tiff truetype x86 xft xml2 xmms xv zlib"
Comment 1 Tim Yamin (RETIRED) gentoo-dev 2004-01-09 16:31:28 UTC
Okay, change the "=" in lines 216, 217 and 218 to "=0x". Please confirm that that works and we'll commit this in.
Comment 2 Dale K Dicks 2004-01-09 16:51:38 UTC
Ok, I changed those 3 lines, and the boot up is fine now but I'm still getting the cat error on TTY1...

at /sys/devices/platform/host2/2:0:0:0/type: No such file or directory

Seems like it appears after I plug the iPod in.
Comment 3 Dale K Dicks 2004-01-10 11:20:03 UTC
confirmed, the cat error appears when the iPod is connected.  (ohci1394 gets loaded when the iPod is plugged in)

i upgraded to 2.6.1-mm2 and the error still occurs with that kernel as well.
Comment 4 Dale K Dicks 2004-01-15 07:19:03 UTC
just upgraded to 2.6.1-mm3 - same problem with the "cat" error on TTY1:

cat /sys/devices/platform/host2/2:0:0:0/type: No such file or directory
Comment 5 Dale K Dicks 2004-01-21 16:12:48 UTC
ok the origianl fix worked, and the other bugs were totally caused by the kernel.

further investigation showed that 2.6.1-vanilla did not cause the error nor does 2.6.1-mm5 but all previous 2.6.1-mm series did.

you can close this.
Comment 6 Dale K Dicks 2004-02-24 10:00:40 UTC
I am still getting errors when pluggin in the iPod and loading the sbp2/ohci1394/sd_mod modules for it.

on TTY0

cat: //sys/devices/pci0000:00/0000:00:ie.0/0000:02:0a.2/fw-host0/00a2700020a6aa0/00a2700020abaa0-0/host6/g:0:0:0/type : no such file or directory

I looked in the /sys directory and the "00a27" bits should be "000a27" - as well, none of the path that is erroring exists past the 000a2700020abaa0-0 part, i.e. "/host6:0:0:0/type" does not exist.

Comment 7 Greg Kroah-Hartman (RETIRED) gentoo-dev 2004-03-20 11:20:16 UTC
known bug in upstream package.
Comment 8 Greg Kroah-Hartman (RETIRED) gentoo-dev 2004-03-29 16:34:25 UTC
Should be fixed in the 2004_03_29 release