My system refuses to make a sound under Gentoo, though it's fine with SuSE 9.1 and Windows XP. When I had CONFIG_SND_VIA82XX=m, alsa couldn't find the sound card at boot time (yes, I did have snd-via82xx in /etc/modules.autoload.d/kernel-2.6 and had run modules-update). Setting CONFIG_SND_VIA82XX=y enabled alsa to find the card ok, but KDE sound test gives only silence. At the time I had verbose printk and debug kernel options set, as recommended in /usr/src/linux/Documentation/sound/alsa/ALSA-Configuration.txt. This gave only one extra clue, which was a wrong-pointer error shown by dmesg: "ALSA sound/pci/via82xx.c:737: invalid via82xx_cur_ptr, using last valid pointer" This came up 8 times after pressing the Test button once in the KDE sound configuration panel. I'm mystified. Reproducible: Always Steps to Reproduce: 1. Open KDE sound system configuration panel. 2. Press the Test button. 3. Listen for output. Actual Results: Silence. Expected Results: A sound. Any sound! $ grep SND /usr/src/linux/.config | grep -v "#" CONFIG_SND=y CONFIG_SND_TIMER=y CONFIG_SND_PCM=y CONFIG_SND_HWDEP=y CONFIG_SND_RAWMIDI=y CONFIG_SND_SEQUENCER=y CONFIG_SND_OSSEMUL=y CONFIG_SND_MIXER_OSS=y CONFIG_SND_PCM_OSS=y CONFIG_SND_SEQUENCER_OSS=y CONFIG_SND_BIT32_EMUL=y CONFIG_SND_RTCTIMER=y CONFIG_SND_VERBOSE_PRINTK=y CONFIG_SND_MPU401_UART=y CONFIG_SND_DUMMY=m CONFIG_SND_VIRMIDI=m CONFIG_SND_AC97_CODEC=y CONFIG_SND_VIA82XX=y CONFIG_SND_USB_AUDIO=m $ emerge info Portage 2.0.50-r10 (default-amd64-2004.2, gcc-3.3.4, glibc-2.3.4.20040605-r0,2.3.4.20040619-r1, 2.6.7-gentoo-r14) ================================================================= System uname: 2.6.7-gentoo-r14 x86_64 AMD Opteron(tm) Processor 246 Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="no" CFLAGS="-O3 -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/fonts /etc/gconf /etc/rc.d /etc/rsync /etc/terminfo /etc/wget /etc/env.d" CXXFLAGS="-O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox userpriv usersandbox" GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/ http://www.gigaload.org/gentoo.org/ http://mir.zyrianes.net/gentoo/ ftp://212.54.48.26/gentoo/" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X alsa amd64 apm arts avi berkdb cdr crypt cups dvd encode foomaticdb gdbm gif gnome gpm gtk gtk2 imap imlib java jpeg kde libg++ libwww mikmod motif mpeg ncurses nls nogcj oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl tcpd truetype xml2 xmms xv zlib" System has two Opteron 240 CPUs on MSI K8T Master2-FAR motherboard, which has built-in AC97 sound.
Ok, so I needed alsamixer installed. Apologies to all concerned. I'm considering reopening this as a documentation fault.