Date: Fri, 25 Oct 2002 04:31:33 -0500 From: Sean Kelly <smkelly@zombie.org> To: current@freebsd.org Subject: could sleep with "pcm0:play:1" locked Message-ID: <20021025093133.GA711@edgemaster.zombie.org>
next in thread | raw e-mail | index | archive | help
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 smkelly@zombie.org | http://www.zombie.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021025093133.GA711>