LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Upgraded to 2.6.10 kernel and now sound doesn't work (https://www.linuxquestions.org/questions/slackware-14/upgraded-to-2-6-10-kernel-and-now-sound-doesnt-work-438515/)

h0mes1ck 04-24-2006 09:58 PM

Upgraded to 2.6.10 kernel and now sound doesn't work
 
I was using the default 2.4.31 kernel with Slack 10.2. Now, when I boot, I get the error "FATAL: Module via82cxxx_audio not found." When I was choosing what modules to compile, I chose the snd-via82xx modules, and never saw a via82cxxx_audio one. I have a Soyo KT600 Dragon Plus v1.0 motherboard with onboard VIA AC97 sound. When I try to play any sound, the first half second of the song plays over and over. I tried modprobing snd-via82xx, the module loads, but I still have the same problem when I try to play anything. I don't really know what to do, so any help is appreciated.

Bruce Hill 04-25-2006 01:05 AM

You don't say how you upgraded your kernel. I'm too old and tired to play 20 questions. Issue and read "man alsa" and read this Kernel Rebuild Guide and I guarantee answers are in those two documents.

This is some VIA VT82XX info:
Code:

anna@peter:~/kernel$ uname -a
Linux peter 2.6.16.9 #1 PREEMPT Sun Apr 23 21:02:26 CST 2006 i686 athlon-4 i386 GNU/Linux

Code:

anna@peter:~/kernel$ dmesg | grep -i via
PCI: Via IRQ fixup for 0000:00:11.1, from 255 to 15
VP_IDE: VIA vt8235 (rev 00) IDE UDMA133 controller on pci0000:00:11.1
via-rhine.c:v1.10-LK1.2.0-2.6 June-10-2004 Written by Donald Becker
eth0: VIA Rhine II at 0xec800000, 00:0c:6e:b3:99:0b, IRQ 11.
ALSA sound/pci/via82xx.c:579: codec_read: codec 0 is not valid [0xfe0000]
ALSA sound/pci/via82xx.c:579: codec_read: codec 0 is not valid [0xfe0000]
ALSA sound/pci/via82xx.c:579: codec_read: codec 0 is not valid [0xfe0000]
ALSA sound/pci/via82xx.c:579: codec_read: codec 0 is not valid [0xfe0000]

Code:

anna@peter:~/kernel$ /sbin/lspci
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 50)

Code:

anna@peter:~$ lsmod | grep -i snd
snd_seq_dummy          2692  0
snd_seq_oss            34176  0
snd_seq_midi_event      6080  1 snd_seq_oss
snd_seq                55440  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_pcm_oss            57888  0
snd_mixer_oss          17600  3 snd_pcm_oss
snd_mpu401              5792  1
snd_via82xx            24468  2
snd_ac97_codec        94944  1 snd_via82xx
snd_ac97_bus            1792  1 snd_ac97_codec
snd_pcm                93384  3 snd_pcm_oss,snd_via82xx,snd_ac97_codec
snd_timer              23684  2 snd_seq,snd_pcm
snd_page_alloc          8904  2 snd_via82xx,snd_pcm
snd_mpu401_uart        6592  2 snd_mpu401,snd_via82xx
snd_rawmidi            22432  1 snd_mpu401_uart
snd_seq_device          7244  4 snd_seq_dummy,snd_seq_oss,snd_seq,snd_rawmidi
snd                    53220  15 snd_seq_dummy,snd_seq_oss,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_mpu401,snd_via82xx,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore              7840  3 snd

Code:

anna@peter:~/kernel$ cat linux-2.6.16.9/.config | grep -i snd
CONFIG_SND=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_RAWMIDI=m
CONFIG_SND_SEQUENCER=m
CONFIG_SND_SEQ_DUMMY=m
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_SEQUENCER_OSS=y
# CONFIG_SND_DYNAMIC_MINORS is not set
CONFIG_SND_SUPPORT_OLD_API=y
CONFIG_SND_VERBOSE_PRINTK=y
CONFIG_SND_DEBUG=y
CONFIG_SND_DEBUG_DETECT=y
CONFIG_SND_MPU401_UART=m
CONFIG_SND_AC97_CODEC=m
CONFIG_SND_AC97_BUS=m
CONFIG_SND_DUMMY=m
CONFIG_SND_VIRMIDI=m
CONFIG_SND_MTPAV=m
CONFIG_SND_SERIAL_U16550=m
CONFIG_SND_MPU401=m
<snip>
CONFIG_SND_VIA82XX=m
<snip>

NB: That is for kernel 2.6.16.9, but yours should be the same.

Alien Bob 04-25-2006 05:29 AM

Did you try running "alsaconf" to configure ALSA anew? And then ran "alsactl store" to save those settings across a reboot?

Eric

interndan 04-25-2006 11:05 AM

After upgrading the kernel you also have to upgrade alsa as it was compiled against the old kernel. The alsa modules from testing have always worked for me when using 2.6.* kernels.


All times are GMT -5. The time now is 02:10 PM.