From owner-freebsd-current Fri Oct 25 2:31:36 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C42A137B401 for ; Fri, 25 Oct 2002 02:31:34 -0700 (PDT) Received: from edgemaster.zombie.org (edgemaster.creighton.edu [147.134.112.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 52F0643E4A for ; Fri, 25 Oct 2002 02:31:34 -0700 (PDT) (envelope-from smkelly@zombie.org) Received: by edgemaster.zombie.org (Postfix, from userid 1001) id 8853E41474; Fri, 25 Oct 2002 04:31:33 -0500 (CDT) Date: Fri, 25 Oct 2002 04:31:33 -0500 From: Sean Kelly To: current@freebsd.org Subject: could sleep with "pcm0:play:1" locked Message-ID: <20021025093133.GA711@edgemaster.zombie.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.1i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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