Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Sound refuses to work. [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
a2gentoo
n00b
n00b


Joined: 17 Nov 2004
Posts: 66
Location: Derry, NH

PostPosted: Mon Nov 14, 2005 2:04 am    Post subject: Sound refuses to work. [solved] Reply with quote

I give up. I need help. My sound just refuses to load properly

I am running 2.6.14-r2 with the Kernel ALSA drivers. But I get this message.

Unable to handle kernel NULL pointer dereference at virtual address 00000091
printing eip:
f9aef053
*pde = 00000000
Oops: 0002 [#3]
PREEMPT
Modules linked in: snd_pcm_oss snd_mixer_oss snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device 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:[<f9aef053>] Not tainted VLI
EFLAGS: 00010202 (2.6.14-gentooy)
EIP is at snd_pcm_oss_proc_free_setup_list+0x23/0x70 [snd_pcm_oss]
eax: 00000001 ebx: 00000001 ecx: 00000000 edx: 00000001
esi: 00000000 edi: f791acdc ebp: f6a97efc esp: f6a97eec
ds: 007b es: 007b ss: 0068
Process rmmod (pid: 7099, threadinfo=f6a96000 task=f6bd0520)
Stack: f9af3ed0 f791acdc 00000000 f9af3ed0 f6a97f10 f9aef618 f791acdc f791ac00
f9af6904 f6a97f28 f9aef8bc f791ac00 00000000 00000000 00000001 f6a97f50
f998fc38 f791ac00 00000000 f9af3ed0 f9af6fc0 00000000 f9af3eeb f9af6904
Call Trace:
[<f9af3ed0>] alsa_pcm_oss_exit+0x0/0x1d [snd_pcm_oss]
[<f9af3ed0>] alsa_pcm_oss_exit+0x0/0x1d [snd_pcm_oss]
[<f9aef618>] snd_pcm_oss_proc_done+0x48/0x50 [snd_pcm_oss]
[<f9aef8bc>] snd_pcm_oss_unregister_minor+0x3c/0x5e [snd_pcm_oss]
[<f998fc38>] snd_pcm_notify+0x78/0xf0 [snd_pcm]
[<f9af3ed0>] alsa_pcm_oss_exit+0x0/0x1d [snd_pcm_oss]
[<f9af3eeb>] alsa_pcm_oss_exit+0x1b/0x1d [snd_pcm_oss]
[<c013a686>] sys_delete_module+0x1a6/0x1e0
[<c0156a6d>] do_munmap+0x11d/0x180
[<c01031c5>] syscall_call+0x7/0xb
Code: c3 8d b4 26 00 00 00 00 55 31 d2 89 e5 57 56 53 83 ec 04 8b 7d 08 8b 5f 08 8b 47 10 85 db 74 19 90 8d b4 26 00 00 00 00 31 c9 42 <89> 88 90 00 00 00 8b 40 68 39 57 08 77 ef 8b 77 14 85 f6 74 23

Any Ideas????
c
_________________
BSD for my servers
Linux for my Laptop
Windows for my Spyware
-------------


Last edited by a2gentoo on Fri Dec 02, 2005 1:23 pm; edited 1 time in total
Back to top
View user's profile Send private message
TheCarNinja
Tux's lil' helper
Tux's lil' helper


Joined: 16 Sep 2003
Posts: 124
Location: New York

PostPosted: Mon Nov 14, 2005 2:14 am    Post subject: Reply with quote

What is the output of dmesg and /var/log/messages? (in terms of ALSA obviously)

At first glance of the output it looks like a module associate with alsa, specifically the oss module, is having issues. Just a guess. I would say remerge all the alsa packages and see if that fixes it. Perhaps youre using older versions of them?
Code:

media-libs/alsa-lib-1.0.9
media-libs/alsa-oss-1.0.8-r1
media-sound/alsa-headers-1.0.9b
media-sound/alsa-utils-1.0.9a
# all stable obviously


Another thing to consider is rebuilding alsa modular and then emerging the current alsa-driver package.
_________________
TheCarNinja
--
~Adopt an unanswered post today!~
Life is more fun sideways.
Back to top
View user's profile Send private message
a2gentoo
n00b
n00b


Joined: 17 Nov 2004
Posts: 66
Location: Derry, NH

PostPosted: Mon Nov 14, 2005 1:56 pm    Post subject: Reply with quote

I tried what you said. It doesnt seem to work.

I re-emerged the software and then started alsasound manually

Then, just to see. I stopped it. This is what I got.

Quote:

* Storing ALSA Mixer Levels ... [ ok ]
* Unloading ALSA ... [ ok ]
* Unloading ALSA modules ...
/etc/init.d/alsasound: line 137: 2079 Segmentation fault /sbin/rmmod ${MODULE} >&/dev/null


I also STILL have the error in dmesg.

c
_________________
BSD for my servers
Linux for my Laptop
Windows for my Spyware
-------------
Back to top
View user's profile Send private message
ftwig
n00b
n00b


Joined: 04 Nov 2005
Posts: 32

PostPosted: Mon Nov 14, 2005 2:18 pm    Post subject: Reply with quote

Are you sure you have built the kernel with the correct sound card suport. Also there is a OSS emulation module whitch you should have as some things need the OSS API. Cant remember what it is called but it is someware in the alsa tree.

The other tinkg you may wish to give a go is coldplug. This will try to automaticaly load modules at startup.

Ben
Back to top
View user's profile Send private message
TheCarNinja
Tux's lil' helper
Tux's lil' helper


Joined: 16 Sep 2003
Posts: 124
Location: New York

PostPosted: Tue Nov 15, 2005 4:26 am    Post subject: Reply with quote

ftwig: i already listed the alsa packages further up. ;)

Okay, so it segfaulted. Um... great? Eh. Did sound work when alsasound was started?

If not (and im assuming not :( ) give me the output of these:
Code:
# equery l|grep -i alsa
# dmesg |grep -i alsa
# cat /var/log/messages|grep -i alsa
# emerge info

And just for clarification, has this ever worked? Because as ftwig said you might be using the wrong sound drivers. If you're unsure, breakout a knoppix cd or something that loads the sound driver properly and check which driver is being used.
_________________
TheCarNinja
--
~Adopt an unanswered post today!~
Life is more fun sideways.
Back to top
View user's profile Send private message
a2gentoo
n00b
n00b


Joined: 17 Nov 2004
Posts: 66
Location: Derry, NH

PostPosted: Wed Nov 16, 2005 12:03 am    Post subject: ok here is the details Reply with quote

CarNinja. it has worked with Gentoo in the past. I recently did a complete rebuild of the system from 2004 to 2005.1 (seemed like a good idea at the time). I also wanted to strip Kaffene from my system and succeded in that.

I wanted to use Gnome. (wont go back to that personal reasons).

As for what is going on here is the output.
Quote:

equerry l|grep alsa
media-libs/alsa-lib-1.0.10_rc3
media-libs/alsa-oss-1.0.10_rc3
media-plugins/gst-plugins-alsa-0.8.11
media-plugins/xmms-alsa-1.2.10-r3
media-sound/alsa-headers-1.0.10_rc3
media-sound/alsa-utils-1.0.10_rc3
media-sound/gnome-alsamixer-0.9.6


Quote:

dmesg |grep -i alsa
** nothing **


Quote:

cat /var/log/messages|grep -i alsa
Nov 14 03:53:15 D600 ivman: New Device: /org/freedesktop/Hal/devices/computer_alsa_sequencer
Nov 14 03:53:15 D600 ivman: /org/freedesktop/Hal/devices/computer_alsa_sequencer wasn't mounted, by us or by others...
Nov 14 03:53:22 D600 [<f9ba0ed0>] alsa_pcm_oss_exit+0x0/0x1d [snd_pcm_oss]
Nov 14 03:53:22 D600 [<f9ba0ed0>] alsa_pcm_oss_exit+0x0/0x1d [snd_pcm_oss]
Nov 14 03:53:22 D600 [<f9ba0ed0>] alsa_pcm_oss_exit+0x0/0x1d [snd_pcm_oss]
Nov 14 03:53:22 D600 [<f9ba0eeb>] alsa_pcm_oss_exit+0x1b/0x1d [snd_pcm_oss]
Nov 14 03:53:22 D600 ivman: Device removed: /org/freedesktop/Hal/devices/computer_alsa_sequencer
Nov 14 03:58:09 D600 rc-scripts: WARNING: "alsasound" has already been started.
Nov 14 03:58:14 D600 rc-scripts: WARNING: "alsasound" has already been started.


Quote:

emerge info
Portage 2.0.53_rc7 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r3, 2.6.14-gentooy i686)
=================================================================
System uname: 2.6.14-gentooy i686 Intel(R) Pentium(R) M processor 2.00GHz
Gentoo Base System version 1.12.0_pre10
dev-lang/python: 2.3.5, 2.4.2
sys-apps/sandbox: 1.2.13
sys-devel/autoconf: 2.13, 2.59-r7
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils: 2.16.1
sys-devel/libtool: 1.5.20-r1
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium-m -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirrors.tds.net/gentoo http://mirror.tucdemonic.org/gentoo/ http://gentoo.mirrors.pair.com/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acpi aim alsa apm audiofile avi berkdb bitmap-fonts bonobo bzip2 cdr crypt cups curl directfb divx4linux dvd dvdr dvdread eds emboss encode esd ethereal evo exif expat fam fbcon ffmpeg flac foomaticdb fortran gdbm gif glut gnome gpm gstreamer gtk gtk2 ha1 hal howl i8x0 icq idn imlib ipv6 java jikes jpeg lcms libg++ libwww mikmod mmx mng motif mozilla mp3 mpeg msn ncurses nls nsl offensive ogg oggvorbis opengl oscar oss pam pcmcia pcre pdflib perl png pnp python qt quicktime radeon readline samba sdl slp spell ssl svga svgalib tcpd tiff truetype truetype-fonts type1-fonts udev usb vorbis win32codecs xine xml2 xmms xosd xprint xv xvid yahoo zlib userland_GNU kernel_linux elibc_glibc"
Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY


hope this helps
c
_________________
BSD for my servers
Linux for my Laptop
Windows for my Spyware
-------------
Back to top
View user's profile Send private message
a2gentoo
n00b
n00b


Joined: 17 Nov 2004
Posts: 66
Location: Derry, NH

PostPosted: Fri Dec 02, 2005 1:22 pm    Post subject: solved Reply with quote

The answer was to turn off the Kernel ALSA drivers and use those in portage.

I pulled ALSA out of the Kernel. Re-compiled. Re-booted. The emerged alsa-drivers

BAM !! It worked fine.

thanks to all
_________________
BSD for my servers
Linux for my Laptop
Windows for my Spyware
-------------
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum