[linux-audio-dev] ALSA OSS emulation in 2.6 kernel

Benjamin Flaming lad at solobanjo.com
Tue Nov 11 12:53:59 UTC 2003


I'm not entirely sure whether this is the right place to be posting this or 
not.  I've been having some strange issues with the OSS emulation in the 2.6 
kernel.  With each new kernel release, programs which use OSS have taken 
progressively longer to start up.  Audacity now take about 20 seconds.  There 
is also a 5-10 second delay from the time I hit "play" in Audacity to the 
time when the playback actually starts.  Hydrogen takes a similarly long time 
to start up if I use OSS output.  Finally, if I try to use the OSS MIDI 
driver for ZynAddSubFX, the entire system locks up - no Ctrl-Alt-Backspace, 
no Ctrl-Alt-Del, no Magic SysRq.

I'm running the 2.6.0-test9 kernel on top of a Slackware 9.0 installation with 
an M-Audio Audiophile 2496 card.  I have everything built into the kernel.  
The machine is an Athlon XP 1800+ with 256m memory.

The output of dmesg after running an OSS application consists of repeated 
entries which all begin as follows:

Debug: sleeping function called from invalid context at 
include/asm/semaphore.h: 119
in_atomic():1, irqs_disabled():0
Call Trace:
 [<c011ad4b>] __might_sleep+0xab/0xe0
 [<c03727eb>] ap_cs8427_sendbytes+0x3b/0xd0
 [<c0367952>] snd_i2c_sendbytes+0x22/0x30
 [<c03667b6>] snd_cs8427_reg_write+0x36/0x80
 [<c0366e26>] snd_cs8427_reset+0x56/0x240
 [<c036763a>] snd_cs8427_iec958_pcm+0xea/0x170
 [<c0370b23>] snd_ice1712_playback_pro_hw_params+0x73/0x80
 [<c0343507>] snd_pcm_hw_params+0x267/0x2a0
 [<c03435d8>] snd_pcm_hw_params_user+0x98/0x100
(followed by various functions, most of which begin with "snd_")

I've posted the complete output of dmesg at:

http://www.comevisit.com/NorthernSunrise/oss26/dmesg

My kernel .config is at:

http://www.comevisit.com/NorthernSunrise/oss26/config

If there's anything I can do to help track this down, or if there is a better 
list for me to post this on, please let me know.

|)
|)enji




More information about the Linux-audio-dev mailing list