Summary: | udev doesn't create device nodes for nvidia and sound | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Timo Gurr (RETIRED) <tgurr> |
Component: | [OLD] Core system | Assignee: | Greg Kroah-Hartman (RETIRED) <gregkh> |
Status: | VERIFIED TEST-REQUEST | ||
Severity: | major | CC: | base-system, stefan |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Timo Gurr (RETIRED)
2005-01-29 21:57:51 UTC
what version of udev ? what version of nvidia-kernel ? what ALSA / OSS driver are you using ? what does it say during boot ? does it say 'Configuring system to use udev' or 'Starting devfsd' ? what does `cat /proc/mounts` show ? works fine for me with 2.6.10 / nvidia-kernel-1.0.6629 / alsa Version of udev: udev-050 Version of nvidia-kernel: nvidia-kernel-1.0.6629-r3 Version of ALSA / OSS driver: the one in the current gentoo-dev-sources-2.6.10-r6 On boot it displays: Mounting /dev for udev ... Configuring system to use udev ... Populating /dev with device nodes ... `cat /proc/mounts` shows: wormhole psy # cat /proc/mounts rootfs / rootfs rw 0 0 /dev/root / xfs rw,noatime 0 0 none /proc proc rw,nodiratime 0 0 none /sys sysfs rw 0 0 none /dev tmpfs rw 0 0 none /dev/pts devpts rw 0 0 none /dev/shm tmpfs rw 0 0 none /proc/bus/usb usbfs rw 0 0 If I create the nvidia device nodes manually they are still there after reboot but once I do a "udevstart" to get my sound devices, too they are all missing after the next reboot. /sbin/udevstart is executed right after /dev is populated with device nodes: <snip> ebegin "Configuring system to use udev" if [[ ${RC_DEVICE_TARBALL} = "yes" ]] && [[ -s /lib/udev-state/devices.tar.bz2 ]] then einfo " Populating /dev with device nodes ..." try tar -jxpf /lib/udev-state/devices.tar.bz2 -C /dev fi populate_udev <snip> populate_udev() { # Make sure we do not have udevd from initramfs running killall -q udevd # Now populate /dev /sbin/udevstart <snip> if you re-emere udev/baselayout, does it fix things ? The lines in my /sbin/rc seem to be identical to the ones you posted. I already re-emerged both udev and baselayout as stated above but did it once again to be sure. It didn't want to etc-update any config files and my problem isn't solved yet, too. If I can provide further information about my system please let me know. Does udev 051 release fix this for you? I am afraid not, same behavior with udev 051 as with udev 050. Perhaps it is some kind of issue with the 2004.3 stage3 install, as soon as the 2005.0 profile becomes stable I'll reinstall and report back. ok, marking it test-request for now then. I did a bit of experiment and now it finally works if I add an extra line of "/sbin/udevstart" in /etc/init.d/alsasound like the following: for DRIVER in ${DRIVERS} do if [ ! "${DRIVER}" = off ] && [ -z `cut -d' ' -f1 /proc/modules | egrep "^${DRIVER}\$"` ] $ [ -z `cut -d' ' -f1 /proc/modules | egrep "^${DRIVER//-/_}\$$ ebegin " Loading: ${DRIVER}" /sbin/modprobe ${DRIVER} /sbin/udevstart eend $? fi done sleep 1 Just a dirty hack though, sorry. But feel free to close the report if you want since it seems that I am the only one experiencing this kind of problem. I don't have this issue anymore and the modification posted above is also not necessary on my system anymore. Please feel free to close this one. Ok, marking as closed. Nvidia problems are back, I found in bugzilla a solution for my 'suddenly' not starting X11 with the nvidia binary module, though nv worked. We are talking about: media-video/nvidia-kernel-1.0.6629-r4 sys-fs/udev-073 X.org starts again after mknod the /dev/nvidia0 and /dev/nvidiactl udev has nothing to do with the nvidia driver anymore. Please file a new bug with the nvidia package. *** Bug 116513 has been marked as a duplicate of this bug. *** |