View previous topic :: View next topic |
Author |
Message |
escitalopram n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 05 Feb 2004 Posts: 60
|
Posted: Thu Feb 03, 2005 10:00 am Post subject: Alsa crashes, takes half of kernel (2.6.10 vanilla) with it |
|
|
Hi
I've got Linux 2.6.10 vanilla and it randomly crashes on playing sound on my sblive with alsa.
After it crashed, it's not possible to play any sound any more. If any process tries to, it immediately freezes to death (can't be killed; even with killall -9).
But there's also another side effect: Certain utilities, like ps aux, netstat -nptl, fuser also crash, as well as the the initscript of lisa (when shutting down). Those processes, although they don't have anything to do with sound, still freeze to death. On the other side, things like pstree or top do not freeze (at least not immediately)
Any Idea what I could do?
Greetings,
Wolfgang |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
GungHo Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/1554794928459ed43e6bd9c.jpg)
Joined: 27 Aug 2004 Posts: 254
|
Posted: Thu Feb 03, 2005 11:24 am Post subject: |
|
|
Hi,
is it possible to remove the alsa modules with rmmod ?
Are there any related entries in /var/log/messages ?
Are there any related entires in dmesg ?
Is it always, is it reproducable ?
Is your APIC enabled/disabled ?
Have you plugged the Soundblaster card into another slot ? What then ?
Have you tried another kernel release ? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
dsd Developer
![Developer Developer](/images/ranks/rank-dev.gif)
Joined: 30 Mar 2003 Posts: 2162 Location: nr London
|
Posted: Thu Feb 03, 2005 12:09 pm Post subject: |
|
|
i had similar problems with my sb live. ended up taking it out and using my onboard sound.
a while later i put it in my sisters computer, which didnt run linux at that time, and it caused that machine to go mad too. i binned the sb live and got a new one. _________________ http://dev.gentoo.org/~dsd |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
escitalopram n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 05 Feb 2004 Posts: 60
|
Posted: Thu Feb 03, 2005 12:17 pm Post subject: |
|
|
I've alsa compiled into the kernel, i'll try to use it as modules
everything worked ok until 2.6.7, then i upgraded to 2.6.10 and now it crashes. (so I think it's unlikely to be a problem with the pci-slot?)
i've got X86_UP_APIC=Y and X86_UP_IOAPIC=Y
I haven't found a way to exactly reproduce it yet. I just keep playing sound and after some hours it freezes, today it happened even after a few minutes.
As for the logs: I'll have to wait for the next crash; unfortunately I forgot to add the kernel logger to the startup scripts. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
GungHo Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/1554794928459ed43e6bd9c.jpg)
Joined: 27 Aug 2004 Posts: 254
|
Posted: Thu Feb 03, 2005 12:37 pm Post subject: |
|
|
Is/are the APIC's really used (have a look in dmesg) ?
When it worked in 2.6.7 and stopped working with 2.6.10, have you had a look in the changelogs of 2.6.8, 2.6.9 and 2.6.10, wether there have been alsa/sound blaster related changes ?
There is a sb live in my box for 3 years or so, I have never had any issues with it, but I have not tested with a 2.6 kernel. Last time I booted 2.6.10-r?, it blew away my grub boot record, and totally corrupted / and /boot, so I had to recover my box over several hours ![Evil or Very Mad :evil:](images/smiles/icon_evil.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
escitalopram n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 05 Feb 2004 Posts: 60
|
Posted: Thu Feb 03, 2005 12:55 pm Post subject: |
|
|
escitalopram@jana escitalopram $ dmesg | grep -i APIC
Found and enabled local APIC!
mapped APIC to ffffd000 (fee00000)
<still waiting for the next crash>
looking for emu10k1 i found:
in 2.6.9-changelog:
Quote: |
<perex@suse.cz>
ALSA CVS update
PCM Midlevel,ES1968 driver,EMU10K1/EMU10K2 driver,KORG1212 driver
Trident driver
Clean up the buffer management in the PCM runtime record.
The buffer-allocation record is hold in runtime instance, so that
it can be checked more cleanly.
dma_private is removed from runtime (it's used for SG-buffers).
The macro snd_pcm_substream_sgbuf() should be used instead of direct
access to the pointer, to retrieve the sgbuf struct from the PCM
substream instance.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
<perex@suse.cz>
ALSA CVS update
EMU10K1/EMU10K2 driver
Merge EFX playback and capture streams to the single device (hw:0,2).
Signed-off-by: Takashi Iwai <tiwai@suse.de>
<vojtech@suse.cz>
input: Add Dell SB Live! PCI ID to the emu10k1-gp driver.
Reported-by: Francisco Moraes <fmoraes74@netzero.net>
Signed-off-by: Vojtech Pavlik <vojtech@suse.cz>
<James@superbug.demon.co.uk>
input: Add Audigy LS PCI ID to emu10k1-gp.c
Signed-off-by: Vojtech Pavlik <vojtech@suse.cz>
<perex@suse.cz>
ALSA CVS update
EMU10K1/EMU10K2 driver
Fix Audigy + FX8010 capture (hw:x,2)
This patch fixes capture problems from hw:x,2 on Audigy. It is same as
previous, because it can be applied cleanly against CVS (I tested
version from 23.06.2004) and hope it is still true for current CVS.
I tested 4 channel recrding and it was OK.
hw:x,2 records outputs from FX8010 (not FX buses)
Using 'EFX voices mask' you can set channels what you want record.
use alsactl store to store config
edit this config (set true for needed channel for 'EFX voices mask'
control) - I recorded channels 8,9,14,15 (front and rear output).
use alsactl restore to restore config
Looks like channel count must be power of 2 (1, 2, 4, 8, ...).
Signed-off-by: Peter Zubaj <pzad@pobox.sk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
<perex@suse.cz>
ALSA CVS update
EMU10K1/EMU10K2 driver
Audigy 2 ZS - side support
Added the support of side speakers on Audigy 2 ZS.
TODO - detection of audigy 2 zs. Now it will add side controls to
mixer for audigy 2 to. Maybe left or right slider can control volume
of back center on audigy 2 too.
Signed-off-by: Peter Zubaj <pzad@pobox.sk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
<perex@suse.cz>
ALSA CVS update
Control Midlevel,ALSA Core,PCM Midlevel,RawMidi Midlevel,Timer Midlevel
IOCTL32 emulation,ALSA<-OSS emulation,ALSA sequencer,Instrument layer
ALSA<-OSS sequencer,OPL3,EMU8000 driver,AC97 Codec Core,au88x0 driver
EMU10K1/EMU10K2 driver,ICE1712 driver,ICE1724 driver,Trident driver
Synth,Common EMU synth
Removal of snd_kcalloc()
This patch removes snd_kcalloc() from the kernel and updates callers to use
the new generic kcalloc().
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
<perex@suse.cz>
ALSA CVS update
ALS4000 driver,ATIIXP driver,AZT3328 driver,BT87x driver,CMIPCI driver
CS4281 driver,ENS1370/1+ driver,ES1938 driver,ES1968 driver
FM801 driver,Intel8x0 driver,Intel8x0-modem driver,Maestro3 driver
RME32 driver,RME96 driver,SonicVibes driver,VIA82xx driver
AC97 Codec Core,AK4531 codec,ALI5451 driver,au88x0 driver,CS46xx driver
EMU10K1/EMU10K2 driver,ICE1712 driver,ICE1724 driver,KORG1212 driver
MIXART driver,NM256 driver,RME HDSP driver,RME9652 driver
Trident driver,Digigram VX222 driver,YMFPCI driver
Removal and replacement of magic memory allocators and casts (pci part)
This patch replaces snd_magic_kmalloc(), snd_magic_kcallc() and snd_magic_kfree()
with kmalloc(), kcalloc() and kfree(), respectively.
The cast via snd_magic_cast() is replaced with the standard cast, too.
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
<perex@suse.cz>
ALSA CVS update
ALS4000 driver,ATIIXP driver,AZT3328 driver,BT87x driver,CMIPCI driver
CS4281 driver,ENS1370/1+ driver,ES1938 driver,ES1968 driver
FM801 driver,Intel8x0 driver,Intel8x0-modem driver,Maestro3 driver
RME32 driver,RME96 driver,SonicVibes driver,VIA82xx driver
AC97 Codec Core,ALI5451 driver,au88x0 driver,CS46xx driver
EMU10K1/EMU10K2 driver,ICE1712 driver,ICE1724 driver,KORG1212 driver
MIXART driver,NM256 driver,RME HDSP driver,RME9652 driver
Trident driver,Digigram VX222 driver,YMFPCI driver
Clean up of obsolete MODULE_* stuff (pci part)
Removed MODULE_CLASSES() and MODULE_SYNTAX().
Replaced MODULE_DEVICES() with MODULE_SUPPORTED_DEVICE()
Signed-off-by: Takashi Iwai <tiwai@suse.de>
<perex@suse.cz>
ALSA CVS update
CS46xx driver,EMU10K1/EMU10K2 driver,PCM Midlevel
Clean up of indirect PCM data transfer with helper functions.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
<perex@suse.cz>
ALSA CVS update
EMU10K1/EMU10K2 driver
Clean up the invalid (commented out) lines for emu10k1x.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
<perex@suse.cz>
ALSA CVS update
Documentation,AC97 Codec Core,ATIIXP driver,CS4281 driver
ENS1370/1+ driver,ES1968 driver,FM801 driver,Intel8x0 driver
Intel8x0-modem driver,Maestro3 driver,VIA82xx driver,ALI5451 driver
au88x0 driver,CS46xx driver,EMU10K1/EMU10K2 driver,ICE1712 driver
ICE1724 driver,NM256 driver,Trident driver,YMFPCI driver
move AC'97 bus callbacks into seperate ops record;
remove ac97_bus_t template requirement from snd_ac97_bus()
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
<perex@suse.cz>
ALSA CVS update
Documentation,AC97 Codec Core,ATIIXP driver,CS4281 driver
ENS1370/1+ driver,ES1968 driver,FM801 driver,Intel8x0 driver
Intel8x0-modem driver,Maestro3 driver,VIA82xx driver,ALI5451 driver
au88x0 driver,EMU10K1/EMU10K2 driver,ICE1712 driver,ICE1724 driver
NM256 driver,Trident driver,YMFPCI driver
replace ac97_t template with ac97_template_t
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
<perex@suse.cz>
ALSA CVS update
ALS4000 driver,ATIIXP driver,ATIIXP-modem driver,AZT3328 driver
BT87x driver,CMIPCI driver,CS4281 driver,ENS1370/1+ driver
ES1968 driver,FM801 driver,Intel8x0 driver,Maestro3 driver,RME32 driver
RME96 driver,SonicVibes driver,VIA82xx driver,ALI5451 driver
CS46xx driver,EMU10K1/EMU10K2 driver,ICE1712 driver,ICE1724 driver
KORG1212 driver,MIXART driver,NM256 driver,RME HDSP driver
RME9652 driver,Trident driver,YMFPCI driver,PPC PMAC driver
USB generic driver
Clean up spinlocks.
- Removed superfluous spinlocks.
- Replaced spin_lock_irqsave() with spin_lock_irq() in the obvious places.
- Make sure that prepare callback be non-atomic.
- Removed SNDRV_PCM_INFO_NONATOMIC_OPS flag (which is default now).
Signed-off-by: Takashi Iwai <tiwai@suse.de>
<perex@suse.cz>
ALSA CVS update
EMU10K1/EMU10K2 driver
Enable low latency EFX capture on emu10k1
The following patch fixes EFX capture on the emu10k1. The
capture_period_sizes table is in bytes, but the hardware constraint was
being set in frames.
Signed-off-by: Lee Revell <rlrevell@joe-job.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
<perex@suse.cz>
ALSA CVS update
EMU10K1/EMU10K2 driver
Fixed the detection of Audigy 2 ZS.
Signed-off-by: Lee Revell <rlrevell@joe-job.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
<perex@suse.cz>
ALSA CVS update
EMU10K1/EMU10K2 driver,Trident driver,ALS4000 driver,ATIIXP driver
ATIIXP-modem driver,AZT3328 driver,BT87x driver,CMIPCI driver
CS4281 driver,ENS1370/1+ driver,ES1938 driver,ES1968 driver
FM801 driver,Intel8x0 driver,Intel8x0-modem driver,Maestro3 driver
RME32 driver,RME96 driver,SonicVibes driver,VIA82xx driver
ALI5451 driver,ICE1712 driver,ICE1724 driver,KORG1212 driver
MIXART driver,RME HDSP driver,RME9652 driver,Digigram VX222 driver
Clean up the PCI resource allocation.
Replaced the manual resource allocations with request_[mem_]region()
with pci_request_regions().
Signed-off-by: Takashi Iwai <tiwai@suse.de>
<perex@suse.cz>
ALSA CVS update
Memalloc module,PCM Midlevel,CS46xx driver,EMU10K1/EMU10K2 driver
ALSA Core,YMFPCI driver,Sound Scape driver,ATIIXP driver
ATIIXP-modem driver,BT87x driver,ENS1370/1+ driver,ES1968 driver
Intel8x0 driver,Intel8x0-modem driver,VIA82xx driver,KORG1212 driver
MIXART driver,RME HDSP driver,RME9652 driver,Trident driver
Clean up DMA buffer allocation routines.
- snd_dma_alloc_pages*() take the device type and device pointer
directly as arguments. snd_dma_free_pages() takes only dma_buffer
instance.
- snd_dma_device struct is removed in each driver's instance (no longer
needed due to the change above).
- snd_malloc_pages_fallback() is removed since it's no longer used.
- The buffer reservation / preallocation in snd-page-alloc module is
performed only when the buffer id is given. Normal PCM buffers won't
be reserved any more (unless the driver specifies). The module keeps
the linked list of free-reserved buffers, instead of the whole buffers
Reservation is done via snd_dma_reserve_buf(), and retrieved via
snd_dma_get_reserved_buf()).
- Other misc clean-ups/fixes.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
<perex@suse.cz>
ALSA CVS update
EMU10K1/EMU10K2 driver,KORG1212 driver
Fixed the compile warnings on 64bit architectures.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
<James@superbug.demon.co.uk>
[PATCH] emu10k1 maintainer update
Rui Sousa has been unreachable for a long time now, so I have taken over
the emu10k1 project on sf.net.
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
<perex@suse.cz>
ALSA CVS update
EMU10K1/EMU10K2 driver
Fix Audigy + AC97 Master Volume
This patch sets AC97 Master volume to 0 (0 dB). Previous value was
0x0202 (-3 dB) (this was my misstake).
Signed-off-by: Peter Zubaj <pzad@pobox.sk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
<davej@redhat.com>
[PATCH] Remove pointless code from ALSA emu10k1 midi driver.
Spotted with the source checker from Coverity.com.
Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
in the 2.6.10 changelog:
Quote: |
<perex@suse.cz>
[ALSA] [emu10k1] Audigy DSP support
EMU10K1/EMU10K2 driver
This patch will add better support for Audigy DSP. More gpr,
instruction and tram. It will break binary compatibility for app
which use emu10k1 hwdep.
Signed-off-by: Peter Zubaj <pzad@pobox.sk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
<perex@suse.cz>
[ALSA] Support for capture of 16,32,64 channels on emu10k1 device 2
EMU10K1/EMU10K2 driver
This patch changes default constraint on 'EFX voices mask' control and
allow capture of 1, 2, 4, 8, 16, 32, 64 channels instead of 1, 2, 4, 8.
Signed-off-by: Peter Zubaj <pzad@pobox.sk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
<perex@suse.cz>
[ALSA] Fix AC3 playback on SB Live
EMU10K1/EMU10K2 driver
Fix the AC3 playback on SB Live!
(Audigy has been working fine.)
Signed-off-by: Takashi Iwai <tiwai@suse.de>
<perex@suse.cz>
[ALSA] Clean up bitmap
EMU10K1/EMU10K2 driver
Clean up the declaration of bitmap with DECLARE_BITMAP().
Signed-off-by: Takashi Iwai <tiwai@suse.de> |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
escitalopram n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 05 Feb 2004 Posts: 60
|
Posted: Thu Feb 03, 2005 2:11 pm Post subject: |
|
|
it crashed again... there's nothing about it in the kernel logs ;(((
i'm recompiling it with alsa as modules
also removing the via driver vor my onboard sound, it's not really working anyway |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
escitalopram n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 05 Feb 2004 Posts: 60
|
Posted: Thu Feb 03, 2005 2:46 pm Post subject: |
|
|
I recompiled alsa with verbose printk
now it says
Quote: |
ALSA lib pcm_hw.c:490:(snd_pcm_hw_delay) SNDRV_PCM_IOCTL_DELAY failed: Die Dateizugriffsnummer ist ein schlechter Verfassung
|
i'm not exactly sure why it says that; it showed up in a console on which i didn't run any sound related program... i guess...
i'd translate that to: "the file access number (handle?) is in a bad condition" |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
GungHo Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/1554794928459ed43e6bd9c.jpg)
Joined: 27 Aug 2004 Posts: 254
|
Posted: Thu Feb 03, 2005 2:58 pm Post subject: |
|
|
jesus ![Confused :?](images/smiles/icon_confused.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
escitalopram n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 05 Feb 2004 Posts: 60
|
Posted: Sat Feb 05, 2005 4:14 pm Post subject: |
|
|
It seems that alsa doesn't crash anymore, now that i've compiled it as modules; but now i have a quite weird problem: the alsasound-initscripts loads normally at startup, but sound doesn't work until i do an /etc/init.d/alsasound restart ?!!!! i have my alsasound in the boot-runlevel and i'm using udev |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
GungHo Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/1554794928459ed43e6bd9c.jpg)
Joined: 27 Aug 2004 Posts: 254
|
Posted: Sun Feb 06, 2005 9:17 am Post subject: |
|
|
have you had a look at the settings of the mixer after the start of your box, before the restart of alsa ? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
escitalopram n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 05 Feb 2004 Posts: 60
|
Posted: Sat Feb 12, 2005 12:55 pm Post subject: |
|
|
Ok, I give up.
Compiling alsa as modules didn't help,
Compiling alsa-driver neither did, it still crashed.
I removed the driver and now I'm running on-board sound.
Maybe it's really a hardware issue. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
GungHo Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/1554794928459ed43e6bd9c.jpg)
Joined: 27 Aug 2004 Posts: 254
|
Posted: Sat Feb 12, 2005 1:00 pm Post subject: |
|
|
you could only get as much info about this prob, and have a look into alsa's mailinglists, wether you can find anybody who can help you. Or file a bugreport in Gentoos bugzilla |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
RKleemann n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 03 Apr 2004 Posts: 23
|
Posted: Sat Feb 26, 2005 6:18 pm Post subject: |
|
|
Darn, I just found this thread and I seem to have very similar symptoms. Here's the relevant data:
# lspci | grep audio
0000:00:0b.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 06)
The computer was running various versions of redhat for 7 years. The audio worked fine on both the 2.2 and 2.4 kernels. After the fedora fiasco I decided to stop upgrading the machine at version 9. I then discovered gentoo and started installing it on newer machines. Then in January I decided to reinstall gentoo on this old machine.
I get very similar bewhavior as the original poster. Sound sometimes works. Then after a while it craps out and "/etc/init.d/alsasound restart" often fixes it. Sometimes it doesn't and I have to reboot to get the sound working. I've never had hangs but I have seen laggy behavior in some apps such as ps. I never suspected it was related to the sound card.
I'm running 2.6.10-gentoo-r6, udev, sound kernel modules as modules.
--- modules.conf excerpt ---
# ALSA portion
alias char-major-116 snd
# OSS/Free portion
alias char-major-14 soundcore
##
## IMPORTANT:
## You need to customise this section for your specific sound card(s)
## and then run `update-modules' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##
## ALSA portion
## alias snd-card-0 snd-interwave
## alias snd-card-1 snd-ens1371
## OSS/Free portion
## alias sound-slot-0 snd-card-0
## alias sound-slot-1 snd-card-1
##
alias snd-card-0 snd-emu10k1
alias snd-slot-0 snd-card-0
# OSS/Free portion - card #1
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
## OSS/Free portion - card #2
## alias sound-service-1-0 snd-mixer-oss
## alias sound-service-1-3 snd-pcm-oss
## alias sound-service-1-12 snd-pcm-oss
alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss
# Set this to the correct number of cards.
options snd cards_limit=1
--- end modules.conf ---
Any suggestions? Should I try running the release candidate 2.6.11 kernel or is that mindless busywork?
Robert. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
GungHo Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/1554794928459ed43e6bd9c.jpg)
Joined: 27 Aug 2004 Posts: 254
|
Posted: Sun Feb 27, 2005 7:41 am Post subject: |
|
|
Hi,
at a first glance your modules.conf looks fine. Here is mine:
Code: | ## IMPORTANT:
## You need to customise this section for your specific sound card(s)
## and then run `update-modules' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##
## ALSA portion
## alias snd-card-0 snd-interwave
## alias snd-card-1 snd-ens1371
## OSS/Free portion
## alias sound-slot-0 snd-card-0
## alias sound-slot-1 snd-card-1
##
# OSS/Free portion - card #1
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
## OSS/Free portion - card #2
## alias sound-service-1-0 snd-mixer-oss
## alias sound-service-1-3 snd-pcm-oss
## alias sound-service-1-12 snd-pcm-oss
alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss
# Set this to the correct number of cards.
options snd cards_limit=1
#
# alias char-major-116 snd
alias snd-card-0 snd-emu10k1
# alias char-major-14 soundcore
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
# kernel based OSS off,
alias sound off
alias midi off
alias snd-synth-midi off
alias snd-seq-client-62 off
# for using SB AWE, Live etc. builtin midi
# sfxload -V100 /etc/midi/8mbgmsfx.sf2
|
There are some old fragments of configuration mixed in, but so it works on my box. Kernel is sys-kernel/gentoo-dev-sources-2.6.10-r6
There is nearly the same soundcard in my box:
Code: |
lspci | grep audio
0000:00:0c.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 08) |
The following modules are in the moment loaded, I'm only listening CD:
Code: |
lsmod | grep snd
snd_seq_midi 6432 0
snd_emu10k1_synth 6784 0
snd_emux_synth 35456 1 snd_emu10k1_synth
snd_seq_virmidi 5824 1 snd_emux_synth
snd_seq_midi_emul 6784 1 snd_emux_synth
snd_pcm_oss 48356 0
snd_mixer_oss 17536 1 snd_pcm_oss
snd_seq_oss 31872 0
snd_seq_midi_event 6144 3 snd_seq_midi,snd_seq_virmidi,snd_seq_oss
snd_seq 49360 8 snd_seq_midi,snd_emux_synth,snd_seq_virmidi,snd_seq_midi_emul,snd_seq_oss,snd_seq_midi_event
snd_emu10k1 92868 4 snd_emu10k1_synth
snd_rawmidi 20064 3 snd_seq_midi,snd_seq_virmidi,snd_emu10k1
snd_seq_device 6924 7 snd_seq_midi,snd_emu10k1_synth,snd_emux_synth,snd_seq_oss,snd_seq,snd_emu10k1,snd_rawmidi
snd_ac97_codec 72608 1 snd_emu10k1
snd_pcm 84360 4 snd_pcm_oss,snd_emu10k1,snd_ac97_codec
snd_timer 21188 2 snd_seq,snd_pcm
snd_page_alloc 7492 2 snd_emu10k1,snd_pcm
snd_util_mem 3264 2 snd_emux_synth,snd_emu10k1
snd_hwdep 7236 2 snd_emux_synth,snd_emu10k1
snd 46308 18 snd_emux_synth,snd_seq_virmidi,snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_seq,snd_emu10k1,snd_rawmidi,snd_seq_device,snd_ac97_codec,snd_pcm,snd_timer,snd_hwdep
|
A lot of stuff, for only listening analog CD
Any errors on your box, when it breaks ?
cheers |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
bendis n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/18609267441ed4e909a463.gif)
Joined: 06 Nov 2002 Posts: 15
|
Posted: Sun Mar 20, 2005 9:16 pm Post subject: |
|
|
Hi there!
I have the same problems as described. Sometimes an application using sound hangs and cannot be killed (uninterruptible sleep). All other processes which try to open /dev/snd/pcmC0D0p fall to uninterruptible sleep too - during syscall open("/dev/snd/pcmC0D0p", O_RDWR). The problems started with kernel 2.6.10 (2.6.9 was OK), now I'm running gentoo-dev-sources-2.6.11-r4 and it still hangs. And I have no SB Live, but integrated VIA (snd_via82xx).
modules.conf:
Code: | # ALSA portion
alias char-major-116 snd
# OSS/Free portion
alias char-major-14 soundcore
##
## IMPORTANT:
## You need to customise this section for your specific sound card(s)
## and then run `update-modules' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##
## ALSA portion
alias snd-card-0 snd-via82xx
options snd-via82xx dxs_support=4
## alias snd-card-1 snd-ens1371
## OSS/Free portion
alias sound-slot-0 snd-card-0
## alias sound-slot-1 snd-card-1
##
# OSS/Free portion - card #1
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
## OSS/Free portion - card #2
## alias sound-service-1-0 snd-mixer-oss
## alias sound-service-1-3 snd-pcm-oss
## alias sound-service-1-12 snd-pcm-oss
alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss
# Set this to the correct number of cards.
options snd cards_limit=1 |
soundcard:
Code: | bendis root # lspci | grep audio
0000:00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60) |
loaded sound modules:
Code: | bendis root # lsmod | grep snd
snd_via82xx 23232 4
snd_ac97_codec 73912 1 snd_via82xx
gameport 3584 1 snd_via82xx
snd_mpu401_uart 6208 1 snd_via82xx
snd_rawmidi 20192 1 snd_mpu401_uart |
I hope this will be fixed soon or I will stick to 2.6.9.
Regards,
Bendis |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
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
|
|