View previous topic :: View next topic |
Author |
Message |
a2gentoo n00b
Joined: 17 Nov 2004 Posts: 66 Location: Derry, NH
|
Posted: Fri Nov 18, 2005 12:28 am Post subject: no sound in alsa !!! no /dev/dsp [solved] |
|
|
Not sure what is going on here. But I get no sound.
I have tried manually linking /dev/dsp to /dev/sound/dsp. but when I did "cat /dev/urandom > /dev/dsp" I get a seg fault.
I am running 2.6.14-r2 with alsa-drivers on an intel snd card loaded as a module.
It should work but it does this instead.
Quote: |
Unable to handle kernel NULL pointer dereference at virtual address 00000005
printing eip:
c0135253
*pde = 00000000
Oops: 0002 [#6]
PREEMPT
Modules linked in: snd_pcm_oss snd_mixer_oss ipw2200 ieee80211 ieee80211_crypt radeon drm ati_agp intel_agp agpgart videodev ac thermal fan button battery speedstep_centrino processor snd_intel8x0 snd_ac97_codec snd_ac97_bus snd_pcm snd_timer snd snd_page_alloc
CPU: 0
EIP: 0060:[<c0135253>] Not tainted VLI
EFLAGS: 00210002 (2.6.14-gentooy)
EIP is at add_wait_queue+0x23/0x60
eax: f70cdd38 ebx: efa95eb4 ecx: efa94000 edx: efa95ea8
esi: 00000001 edi: 00200246 ebp: 00000010 esp: efa95e80
ds: 007b es: 007b ss: 0068
Process esd (pid: 18351, threadinfo=efa94000 task=f00c4070)
Stack: efa94000 f70cdc00 00000001 f9993e4d f7024000 f26aaec0 f26aa2c0 f7ca10c0
f70cdd38 f7ca10d8 00000000 f00c4070 c011c210 f767dc80 00000000 efa94000
c016dc8f f7ca10c0 f701f880 f885cbc0 f26aaec0 00000001 f885123e f76003e0
Call Trace:
[<f9993e4d>] snd_pcm_open+0xdd/0x220 [snd_pcm]
[<c011c210>] default_wake_function+0x0/0x20
[<c016dc8f>] exact_lock+0xf/0x20
[<f885123e>] snd_open+0x12e/0x270 [snd]
[<f8851110>] snd_open+0x0/0x270 [snd]
[<c016db10>] chrdev_open+0x160/0x200
[<c0162751>] __dentry_open+0x1b1/0x250
[<c0162884>] filp_open+0x94/0xb0
[<c0414aa9>] do_page_fault+0x1b9/0x61d
[<c016290c>] get_unused_fd+0x2c/0xd0
[<c0162a89>] do_sys_open+0x49/0x90
[<c01031c5>] syscall_call+0x7/0xb
Code: 90 90 90 90 90 90 90 90 83 ec 0c 89 1c 24 89 74 24 04 89 7c 24 08 83 22 fe 9c 5f fa b9 00 e0 ff ff 21 e1 ff 41 14 8b 30 8d 5a 0c <89> 5e 04 89 72 0c 89 43 04 89 18 57 9d ff 49 14 8b 41 08 a8 08
<6>note: esd[18351] exited with preempt_count 1
|
_________________ BSD for my servers
Linux for my Laptop
Windows for my Spyware
-------------
Last edited by a2gentoo on Fri Dec 02, 2005 1:20 pm; edited 2 times in total |
|
Back to top |
|
|
cynric Guru
Joined: 08 Oct 2004 Posts: 439
|
Posted: Fri Nov 18, 2005 12:46 am Post subject: |
|
|
I assume it's because you meant "cat /dev/urandom > /dev/dsp"? |
|
Back to top |
|
|
a2gentoo n00b
Joined: 17 Nov 2004 Posts: 66 Location: Derry, NH
|
Posted: Fri Nov 18, 2005 1:15 am Post subject: yup |
|
|
I fixed it in the post.
I have been fighting this for weeks. I just dont get it.
I tried running "/etc/init.d/esound start" manually. On boot I got no error. But when I used esound. Bad things. Same as with ALSA.
c _________________ BSD for my servers
Linux for my Laptop
Windows for my Spyware
------------- |
|
Back to top |
|
|
cynric Guru
Joined: 08 Oct 2004 Posts: 439
|
Posted: Fri Nov 18, 2005 11:41 pm Post subject: |
|
|
Well, I have no idea. I can toss some things out to check; although I wish I understood the error output. Is alsa compiled into the kernel or built as a module? Whatever the case, try the other way. I remember not having a /dev/dsp when just installing alsa; had to install alsa with the oss flag and (maybe? going from memory) alsa-oss. Of course, if it's compiled into the kernel, I guess that's just a matter of adding oss support through the menuconfig. Did you compile alsa after you did your kernel? If not, you need to do that.
Like I said, no idea, but tossing some stuff out in case you missed something simple. Good luck. |
|
Back to top |
|
|
davidgurvich Veteran
Joined: 23 Apr 2004 Posts: 1063
|
Posted: Fri Nov 18, 2005 11:52 pm Post subject: |
|
|
Have you tried using 2.6.13 kernel?
I've been seeing quite a few people having problem with alsa and 2.6.14. |
|
Back to top |
|
|
acevery n00b
Joined: 03 Nov 2005 Posts: 53 Location: Amoy, China
|
Posted: Sat Nov 19, 2005 8:56 am Post subject: |
|
|
I also contact this problem as well, but I fix it under the help of the Gentoo Linux ALSA Guide (http://www.gentoo.org/doc/en/alsa-guide.xml) .
I give up the in-kernel alsa driver, and rebuild the kernel to use the ALSA Driver package, and it works!
may be you can try it to get it work, as my on-board AC97 soundcarc. |
|
Back to top |
|
|
a2gentoo n00b
Joined: 17 Nov 2004 Posts: 66 Location: Derry, NH
|
Posted: Fri Dec 02, 2005 1:18 pm Post subject: finally fixed |
|
|
I finally got it running.
The solution....
Quote: |
abandon the Kernel ALSA drivers and use the ALSA-drivers in portage.
|
Not sure why one works over the other but it does.
Thanks to all _________________ BSD for my servers
Linux for my Laptop
Windows for my Spyware
------------- |
|
Back to top |
|
|
|