View previous topic :: View next topic |
Author |
Message |
pangloss n00b
Joined: 02 Aug 2002 Posts: 46 Location: Ithaca, NY
|
Posted: Sat Aug 24, 2002 4:34 am Post subject: amixer and alsamixer segfaults |
|
|
AAAAAARRRRRGGGGGGGGGHHHHHHHHH!
I'm having a lot of trouble figuring this one out. I think I've totalled ~4hrs trying to get ALSA working on my laptop (a Fujitsu P2110) I can get audio working with the sound driver built into the kernel, but I've since recompiled the kernel (2.4.19-gentoo-r7) with only soundcore as a module and no other sound drivers (and I removed the driver from modules.autoload).
Largely following the Desktop Guide, I emerged alsa-driver (0.9.0_rc2) and alsa-utils, editing /etc/modules.d/alsa for my system's soundcard, ran update-modules and rebooted. ALSA appears to come up fine. However, running amixer or alsamixer causes a segmentation fault.
I found the following related threads:
audigy and alsa -> amixer crashes
Alsa probs
Amixer segfault
but the problem in those cases appears to be that /dev/dsp and/or /dev/mixer were not created. I've got both files (and /dev/audio) which are links to the respective files in /dev/sound.
For reference:
/etc/modules.d/alsa
Code: |
alias char-major-116 snd
alias char-major-14 soundcore
alias snd-card-0 snd-ali5451
alias sound-slot-0 snd-card-0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss
options snd snd_cards_limit=1
|
/etc/devfsd.conf
Code: |
...
LOOKUP snd MODLOAD ACTION snd
LOOKUP dsp MODLOAD
LOOKUP mixer MODLOAD
LOOKUP midi MODLOAD
REGISTER sound/.* PERMISSIONS root.audio 660
REGISTER snd/.* PERMISSIONS root.audio 660
...
|
The strace is a little long, so I won't include it all unless someone thinks it'll help. Here are the last few lines:
Code: |
# strace amixer
...
access("/etc/asound.conf", R_OK) = -1 ENOENT (No such file or directory)
access("/root/.asoundrc", R_OK) = -1 ENOENT (No such file or directory)
open("/dev/snd/controlC0", O_RDONLY) = 3
close(3) = 0
open("/dev/snd/controlC0", O_RDWR) = 3
ioctl(3, USBDEVFS_CONTROL, 0xbffff848) = 0
fcntl64(3, F_GETFL) = 0x2 (flags O_RDWR)
fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0
ioctl(3, USBDEVFS_RELEASEINTERFACE, 0xbffffa44) = 0
brk(0x805a000) = 0x805a000
ioctl(3, USBDEVFS_RELEASEINTERFACE, 0xbffffa44) = 0
brk(0x805b000) = 0x805b000
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++
|
Any ideas? I'm so fried |
|
Back to top |
|
|
[UK]Superdude Tux's lil' helper
Joined: 22 Jul 2002 Posts: 149 Location: Adelaide, Australia
|
Posted: Sat Aug 24, 2002 5:58 am Post subject: |
|
|
The only time Ive had amixer seg fault was when I forgot to compile devfs support into the kernel. Are you sure its in there? You have to have prompt for incomplete/dev turned on as well for the option to be there, but I may be wrong.
Ne way I have a feeling it may be a kernel compile issue |
|
Back to top |
|
|
pangloss n00b
Joined: 02 Aug 2002 Posts: 46 Location: Ithaca, NY
|
Posted: Sat Aug 24, 2002 10:42 am Post subject: |
|
|
well here *was* the applicable part of my kernel config:
CONFIG_DEVFS_FS=y
#CONFIG_DEVFS_MOUNT is not set
#CONFIG_DEVFS_DEBUG is not set
so i just recompiled my kernel with
CONFIG_DEVFS_FS=y
CONFIG_DEVFS_MOUNT=y
#CONFIG_DEVFS_DEBUG is not set
unmerged and re-emerged alsa-driver and alsa-utils and i still get the same segfault
damn damn damn. |
|
Back to top |
|
|
fics n00b
Joined: 11 Aug 2002 Posts: 4
|
Posted: Sat Aug 24, 2002 1:52 pm Post subject: |
|
|
I have the same problem, alsa stuff(amixer, alsa-xmms alsa-everythiing...) segfautls , atleast I can still play with OSS/free on my xmms...
I have sis7012 (using intel8x0 module) |
|
Back to top |
|
|
|
|
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
|
|