Bug #43111 was marked as resolved but it never really was for me. Even with udev 023-r1 I will get an error on boot from alsactl. The mixer settings don't get properly restored. I had to put a sleep 3 in the alsasound script before it tries restoring the mixer. This isn't really an ideal fix.. Reproducible: Always Steps to Reproduce: 1. 2. 3. Portage 2.0.50-r1 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.4-gentoo-r1) ================================================================= System uname: 2.6.4-gentoo-r1 i686 AMD Athlon(TM) XP 2600+ Gentoo Base System version 1.4.3.13p1 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O3 -pipe" 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.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://mirror.iawnet.sandia.gov/pub/gentoo/ http://www.ibiblio.org/pub/Linux/distributions/gentoo http://gentoo.oregonstate.edu" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X aalib acpi alsa apache2 apm arts avi berkdb bindist cdr crypt cups encode esd fam flac foomaticdb gd gd-external gdbm gif gimpprint gnome gpm gtk gtk2 imlib java jpeg libg++ libwww mad mikmod mmx motif mozilla moznocompose moznoirc mpeg mysql ncurses nls nptl oggvorbis opengl oss pam pdflib perl png python quicktime readline samba sdl slang spell sse ssl svga tcltk tcpd tiff truetype x86 xine xml2 xmms xv zlib"
I just installed the separate alsa-driver package instead of using version of alsa that comes with the kernel. It works fine now. I guess the one in the kernel is old and the newer version fixed whatever was causing this.
Ok I rebooted again and the problem showed up again... This is really annoying.
The alsa scripts need to wait until the /dev nodes show up. A generic "sleep 3" might not catch them all of the times. This is not a udev bug. It is an alsa bug, sorry.