I'm running 5.0-CURRENT from about 15 minutes ago. I'm running with
snd_emu10k1.ko and snd_pcm.ko loaded from loader.conf. When I attempt to do
anything with audio, I get "counld sleep" messages.

edgemaster# head -1 /dev/audio
^C
edgemaster# dmesg|tail -1
/usr/src/sys/vm/uma_core.c:1311: could sleep with "pcm0:record:0" locked from 
/usr/src/sys/dev/sound/pcm/sound.c:191

edgemaster# echo "hello" >/dev/audio
edgemaster# dmesg | tail -1
/usr/src/sys/vm/uma_core.c:1311: could sleep with "pcm0:play:1" locked from 
/usr/src/sys/dev/sound/pcm/sound.c:191


sys/dev/sound/pcm/sound.c:
188:    /* scan for a free channel */
189:    SLIST_FOREACH(sce, &d->channels, link) {
190:            c = sce->channel;
191:            CHN_LOCK(c);

sys/dev/sound/pcm/channel.h:
#ifdef  USING_MUTEX
...
#define CHN_LOCK(c) mtx_lock((struct mtx *)((c)->lock))
...
#else
#define CHN_LOCK(c)
...
#endif

I'd suggest a fix, but I'm only pretending to know what I'm doing so far.

-- 
Sean Kelly         | PGP KeyID: 77042C7B
[EMAIL PROTECTED] | http://www.zombie.org

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to