LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   ALSA stopped working after kernel panic (http://www.linuxquestions.org/questions/linux-software-2/alsa-stopped-working-after-kernel-panic-341367/)

RemusX2 07-08-2005 03:19 PM

ALSA stopped working after kernel panic
 
I am using Gentoo 2005.0 and when compiling Ghostscript the system had a Kernel panic (known AMD_64 problem) and then upon rebooting ALSA Does not work. Typing alsaconfig does nothing and OSS Drivers do work but for some reason I have to chmod /dev/dsp in order to get them to work. I get an error in XMMS is

Code:

failed to open audio output: ALSA 1.2.10 output plugin
I have tried re-emerging the alsa files with no luck.

Is it possible that during the kernel panic the module got corrupt?

It seems that the problem is with permissions. If I issue a chmod -R 666 /dev/snd then ALSA works fine. Although after every reboot I have to issue this again. Also, the gnome mixer applet still is not working. Any ideas?

foo_bar_foo 07-08-2005 04:53 PM

hmmmmmmmmm
after you boot up the alsa modules are loaded ??
check lsmod
and what does
ls -l /dev/snd
say after you boot up and before you do the chmod ?

that's a weird one but there has to be an answer
i can't imagine the modules got corrupted
just no proper shutdown is all

RemusX2 07-09-2005 01:10 AM

Yes, upon booting up the ALSA Modules do load. I can log in as root and without doing a thing I can get sound output using ALSA drivers.

lsmod returns
snd_intel8x0 35584 0
snd_ac97_codec 82512 1 snd_intel8x0


Code:

localhost remus # ls -l /dev/snd
total 0
crw-rw----  1 root root 116,  0 Dec 31  1969 controlC0
crw-rw----  1 root root 116, 24 Dec 31  1969 pcmC0D0c
crw-rw----  1 root root 116, 16 Dec 31  1969 pcmC0D0p
crw-rw----  1 root root 116, 25 Dec 31  1969 pcmC0D1c
crw-rw----  1 root root 116, 18 Dec 31  1969 pcmC0D2p
crw-rw-rw-  1 root root 116,  1 Dec 31  1969 seq
crw-rw-rw-  1 root root 116, 33 Dec 31  1969 timer
localhost remus #



All times are GMT -5. The time now is 01:36 AM.