I had a problem with ALSA drivers: An updated kernel did not recognize sound devices. However it turned out to be udev not registering device nodes... The bug with ALSA is at http://bugs.gentoo.org/show_bug.cgi?id=114834 Summary: ======= - Upgraded the kernel to 2.6.14-gentoo-r2 - Had to use the install cd, since I made a grub configuration error - Reinstalled grub, and run genkernel in LIVE-CD - Rebooted the system - ALSA did not work Some diagnostics ================ - mount | grep udev udev on /dev type tmpfs (rw,nosuid) - cat /proc/asound/devices 25: [0- 1]: digital audio capture 16: [0- 0]: digital audio playback 24: [0- 0]: digital audio capture 0: [0- 0]: ctl 1: : sequencer 33: : timer - AFTER RUNNING UDEVSTART MANUALLY: # udevstart # udevmonitor udevmonitor prints the received event from the kernel [UEVENT] and the event which udev sends out after rule processing [UDEV] UEVENT[1134212496.957608] remove@/module/snd_seq_dummy UEVENT[1134212496.960319] remove@/class/sound/sequencer2 UEVENT[1134212496.963843] remove@/class/sound/sequencer UEVENT[1134212496.963889] remove@/module/snd_seq_oss UEVENT[1134212496.969448] remove@/module/snd_seq_midi_event UEVENT[1134212496.976914] remove@/class/sound/seq UEVENT[1134212496.981354] remove@/module/snd_seq UEVENT[1134212496.987260] remove@/module/snd_seq_device UEVENT[1134212496.995032] remove@/class/sound/dsp UEVENT[1134212497.000746] remove@/class/sound/audio UEVENT[1134212497.011315] remove@/class/sound/adsp UEVENT[1134212497.012619] remove@/module/snd_pcm_oss UEVENT[1134212497.017107] remove@/class/sound/mixer UEVENT[1134212497.018712] remove@/module/snd_mixer_oss UEVENT[1134212497.025057] remove@/class/sound/controlC0 UEVENT[1134212497.026774] remove@/class/sound/pcmC0D1c UEVENT[1134212497.027894] remove@/class/sound/pcmC0D0p UEVENT[1134212497.028915] remove@/class/sound/pcmC0D0c UEVENT[1134212497.032289] remove@/devices/pci0000:00/0000:00:02.7/card0-0 UEVENT[1134212497.033791] remove@/bus/pci/drivers/Intel ICH UEVENT[1134212497.035132] remove@/module/snd_intel8x0 UEVENT[1134212497.041006] remove@/module/snd_ac97_codec UEVENT[1134212497.044698] remove@/bus/ac97/drivers UEVENT[1134212497.046047] remove@/bus/ac97/devices UEVENT[1134212497.047167] remove@/bus/ac97 UEVENT[1134212497.048330] remove@/module/snd_ac97_bus UEVENT[1134212497.051572] remove@/module/snd_pcm UEVENT[1134212497.068369] remove@/class/sound/timer UEVENT[1134212497.072607] remove@/module/snd_timer UEVENT[1134212497.088183] remove@/bus/platform/drivers/snd_generic UEVENT[1134212497.092468] remove@/module/snd UEVENT[1134212497.108124] remove@/module/snd_page_alloc UEVENT[1134212498.256959] add@/module/snd_page_alloc UEVENT[1134212498.259781] add@/module/snd UEVENT[1134212498.261063] add@/bus/platform/drivers/snd_generic UEVENT[1134212498.263431] add@/module/snd_timer UEVENT[1134212498.267255] add@/class/sound/timer UEVENT[1134212498.274085] add@/module/snd_pcm UEVENT[1134212498.279690] add@/module/snd_ac97_bus UEVENT[1134212498.286014] add@/module/snd_ac97_codec UEVENT[1134212498.293117] add@/module/snd_intel8x0 UEVENT[1134212498.300064] add@/bus/pci/drivers/Intel ICH UEVENT[1134212498.615124] add@/class/sound/pcmC0D1c UEVENT[1134212498.616133] add@/class/sound/pcmC0D0p UEVENT[1134212498.620240] add@/class/sound/pcmC0D0c UEVENT[1134212498.620293] add@/devices/pci0000:00/0000:00:02.7/card0-0 UEVENT[1134212498.620310] add@/class/sound/controlC0 UEVENT[1134212498.657622] add@/module/snd_mixer_oss UEVENT[1134212498.659139] add@/class/sound/mixer UEVENT[1134212498.666721] add@/module/snd_pcm_oss UEVENT[1134212498.668370] add@/class/sound/dsp UEVENT[1134212498.669620] add@/class/sound/audio UEVENT[1134212498.670736] add@/class/sound/adsp UEVENT[1134212498.729668] add@/module/snd_seq_device UEVENT[1134212498.733020] add@/module/snd_seq UEVENT[1134212498.734202] add@/class/sound/seq UEVENT[1134212498.735819] add@/module/snd_seq_midi_event UEVENT[1134212498.742841] add@/module/snd_seq_oss UEVENT[1134212498.742899] add@/class/sound/sequencer UEVENT[1134212498.762841] add@/class/sound/sequencer2 UEVENT[1134212498.767297] add@/module/snd_seq_dummy Somehow udev does not run at startup. File versions: # emerge -tv udev baselayout [ebuild R ] sys-apps/baselayout-1.11.13-r1 -bootstrap -build -static +unicode 0 kB [ebuild R ] sys-fs/udev-077-r2 (-selinux) 0 kB File contents: # cat /boot/grub/grub.conf timeout 10 default 0 title Gentoo Linux 2.6.14 root (hd0,0) kernel /kernel-genkernel-x86-2.6.14-gentoo-r2 root=/dev/ram0 dolvm2 real_root=/dev/Gentoo/Root pci=routeirq initrd /initramfs-genkernel-x86-2.6.14-gentoo-r2 # cat //etc/genkernel.conf # Genkernel Configuration File # ===========GENKERNEL BASIC CONFIGURATION============= # Run 'make menuconfig' before compiling this kernel? MENUCONFIG="yes" # Run 'make clean' before compilation? # If set to NO, implies MRPROPER WILL NOT be run # Also, if clean is NO, it won't copy over any configuration # file, it will use what's there. CLEAN="yes" # Run 'make mrproper' before configuration/compilation? MRPROPER="yes" # Copy bootsplash into the initrd image? BOOTSPLASH="yes" # Override the arch detection? # ARCH_OVERRIDE="x86" # Mount /boot automatically if it isn't mounted? MOUNTBOOT="yes" # Save the new configuration in /etc/kernels upon # successfull compilation SAVE_CONFIG="yes" # Use Color output in Genkernel? USECOLOR="yes" # Add new kernel to grub? # BOOTLOADER="grub" # Clear initramfs cpio cache dir # CLEAR_CPIO_CACHE="yes" # Clear build cache dir # CLEAR_CACHE_DIR="yes" # =========GENKERNEL LOCATION CONFIGURATION============ # Variables: # %%ARCH%% - Final determined architecture # %%CACHE%% - Final determined cache location # Default share directory location GK_SHARE="/usr/share/genkernel" # Location of helper-scripts #GK_BIN="${GK_SHARE}/bin" GK_BIN="${GK_SHARE}" # Location of the default cache CACHE_DIR="${GK_SHARE}/pkg/%%ARCH%%" # Log output file DEBUGFILE="/var/log/genkernel.log" # Debug Level DEBUGLEVEL=1 # Default location of kernel source DEFAULT_KERNEL_SOURCE="/usr/src/linux" # Default kernel config (only use to override using %%ARCH%%/kernel-config-${VER}.${PAT} !) # DEFAULT_KERNEL_CONFIG="${GK_SHARE}/%%ARCH%%/kernel-config" # Configuration file for busybox BUSYBOX_CONFIG="${GK_SHARE}/%%ARCH%%/busy-config" # BusyBox Version BUSYBOX_VER="1.00-rt-mdstart.plasmaroo" # Busybox bin-cache location, to store pre-compiled busybox # binary is just a bzip2 busybox executable BUSYBOX_BINCACHE="%%CACHE%%/busybox-${BUSYBOX_VER}-%%ARCH%%.bz2" # Location of BusyBox source tarball BUSYBOX_SRCTAR="${GK_SHARE}/pkg/busybox-${BUSYBOX_VER}.tar.bz2" # Directory created after busybox tarball is extracted BUSYBOX_DIR="busybox-${BUSYBOX_VER}" MODULE_INIT_TOOLS_VER="0.9.15-pre4" MODULE_INIT_TOOLS_SRCTAR="${GK_SHARE}/pkg/module-init-tools-${MODULE_INIT_TOOLS_VER}.tar.bz2" MODULE_INIT_TOOLS_DIR="module-init-tools-${MODULE_INIT_TOOLS_VER}" MODULE_INIT_TOOLS_BINCACHE="%%CACHE%%/insmod-%%ARCH%%-static-2.6.bz2" MODUTILS_VER="2.4.26" MODUTILS_SRCTAR="${GK_SHARE}/pkg/modutils-${MODUTILS_VER}.tar.bz2" MODUTILS_DIR="modutils-${MODUTILS_VER}" MODUTILS_BINCACHE="%%CACHE%%/insmod-%%ARCH%%-static-2.4.bz2" DIETLIBC_VER="0.27" DIETLIBC_SRCTAR="${GK_SHARE}/pkg/dietlibc-${DIETLIBC_VER}.tar.bz2" DIETLIBC_DIR="dietlibc-${DIETLIBC_VER}" DIETLIBC_BINCACHE="%%CACHE%%/dietlibc-${DIETLIBC_VER}-%%ARCH%%.tar.bz2" DIETLIBC_BINCACHE_TEMP="%%CACHE%%/dietlibc-${DIETLIBC_VER}-%%ARCH%%-tempdir" DEVFSD_VER="1.3.25-dietlibc-kernel25" DEVFSD_SRCTAR="${GK_SHARE}/pkg/devfsd-${DEVFSD_VER}.tar.bz2" DEVFSD_DIR="devfsd" DEVFSD_BINCACHE="%%CACHE%%/devfsd-${DEVFSD_VER}-%%ARCH%%.bz2" DEVFSD_CONF_BINCACHE="%%CACHE%%/devfsd-conf-${DIETLIBC_VER}-%%ARCH%%.bz2" UDEV_VER="054" UDEV_DIR="udev-${UDEV_VER}" UDEV_SRCTAR="${GK_SHARE}/pkg/udev-${UDEV_VER}.tar.bz2" UDEV_BINCACHE="%%CACHE%%/udev-${UDEV_VER}-%%ARCH%%.tar.bz2" DEVICE_MAPPER_VER="1.00.17" DEVICE_MAPPER_DIR="device-mapper.${DEVICE_MAPPER_VER}" DEVICE_MAPPER_SRCTAR="${GK_SHARE}/pkg/device-mapper.${DEVICE_MAPPER_VER}.tgz" DEVICE_MAPPER_BINCACHE="%%CACHE%%/device-mapper-${DEVICE_MAPPER_VER}-%%ARCH%%.tar.bz2" LVM2_VER="2.00.25" LVM2_DIR="LVM2.${LVM2_VER}" LVM2_SRCTAR="${GK_SHARE}/pkg/LVM2.${LVM2_VER}.tgz" LVM2_BINCACHE="%%CACHE%%/LVM2.${LVM2_VER}-%%ARCH%%.tar.bz2" DMRAID_VER="1.0.0.rc8" DMRAID_DIR="dmraid/${DMRAID_VER}" DMRAID_SRCTAR="${GK_SHARE}/pkg/dmraid-${DMRAID_VER}.tar.bz2" DMRAID_BINCACHE="%%CACHE%%/dmraid-${DMRAID_VER}-%%ARCH%%.tar.bz2" UNIONFS_VER="1.0.12a" UNIONFS_DIR="unionfs-${UNIONFS_VER}" UNIONFS_SRCTAR="${GK_SHARE}/pkg/unionfs-${UNIONFS_VER}.tar.gz" UNIONFS_BINCACHE="%%CACHE%%/unionfs-${UNIONFS_VER}-tools-%%ARCH%%.tar.bz2" UNIONFS_MODULES_BINCACHE="%%CACHE%%/unionfs-${UNIONFS_VER}-modules-%%KV%%-%%ARCH%%.tar.bz2" E2FSPROGS_VER="1.38" E2FSPROGS_DIR="e2fsprogs-${E2FSPROGS_VER}" E2FSPROGS_SRCTAR="${GK_SHARE}/pkg/e2fsprogs-${E2FSPROGS_VER}.tar.gz" BLKID_BINCACHE="%%CACHE%%/blkid-${E2FSPROGS_VER}-%%ARCH%%.bz2" It seems like initrd uses another udev version. Could this be the cause of all the trouble? Reproducible: Always Steps to Reproduce: 1. 2. 3.
fixed in udev-077-r3 (requires newer baselayout). *** This bug has been marked as a duplicate of 115033 ***