[CentOS] Sound card problem

Sat Mar 29 03:57:43 UTC 2008
David G. Miller <dave at davenjudy.org>

I came into an Abit AX8 motherboard and single core AMD Athlon 64 FX.  I 
did a quick install of CentOS 5.0 on it to make sure everything worked 
and then returned the hard disk and case to the original owner.  After 
getting a new case and hard disk, I downloaded the CentOS 5.1 cd images 
and installed.  For some reason the motherboard's on board sound no 
longer works (worked with CentOS 5.0).  dmesg gives me:

ACPI: PCI Interrupt Link [ALKC] enabled at IRQ 22
ACPI: PCI Interrupt 0000:00:11.5[C] -> Link [ALKC] -> GSI 22 (level, 
low) -> IRQ 90
PCI: Setting latency timer of device 0000:00:11.5 to 64
codec_read: codec 0 is not valid [0x1fc0000]
codec_read: codec 0 is not valid [0x1fe0000]
codec_ready: codec 0 is not ready [0x1000000]
codec_ready: codec 0 is not ready [0x1000000]
codec_read: codec 0 is not valid [0x1fc0000]
codec_read: codec 0 is not valid [0x1fe0000]
AC'97 0 access is not valid [0xffffffff], removing mixer.
ACPI: PCI interrupt for device 0000:00:11.5 disabled
VIA 82xx Audio: probe of 0000:00:11.5 failed with error -5

and I get the same result if I rmmod/modprobe the kernel sound module 
(snd-via82xx).

lspci -vv gives me:

00:11.5 Multimedia audio controller: VIA Technologies, Inc. 
VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
        Subsystem: ABIT Computer Corp. Unknown device 1416
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- 
ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort- >SERR- <PERR-
        Interrupt: pin C routed to IRQ 90
        Region 0: I/O ports at e800 [disabled] [size=256]
        Capabilities: [c0] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA 
PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

and my modprobe.conf (generated by kudzu) looks like:

alias eth0 r8169
alias scsi_hostadapter sata_via
alias snd-card-0 snd-via82xx
options snd-card-0 index=0
options snd-via82xx index=0
remove snd-via82xx { /usr/sbin/alsactl store 0 >/dev/null 2>&1 || : ; }; 
/sbin/modprobe -r --ignore-remove snd-via82xx

I can always stick a spare sound card in the remaining PCI slot but the 
sound card used to work with CentOS 5.0.  It seems kind of silly that it 
doesn't work now.  I've Googled for some different parts of the dmesg 
output but haven't found anything helpful.  Same with error messages 
from aplay, amixer, etc.  Any suggestions would be appreciated.

Thanks,
Dave

-- 
Politics, n. Strife of interests masquerading as a contest of principles.
-- Ambrose Bierce