Date: Thu, 13 Feb 2003 09:55:54 +0200 From: John Hay <jhay@icomtek.csir.co.za> To: current@FreeBSD.ORG Subject: Re: dsp "device busy" (me too) vchans weirdness Message-ID: <20030213075554.GA26761@zibbi.icomtek.csir.co.za> In-Reply-To: <20030212183111.GA2342@zibbi.icomtek.csir.co.za> References: <1045061169.91280.17.camel@owen1492.uf.corelab.com> <20030212183111.GA2342@zibbi.icomtek.csir.co.za>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Feb 12, 2003 at 08:31:11PM +0200, John Hay wrote: > On Wed, Feb 12, 2003 at 08:46:09AM -0600, Craig Boston wrote: > > I remember a couple of posts about this problem; but don't recall (and > > am unable to find in the archives) if there was ever any resolution. > > I have experienced the same thing. I have tried vchan sound on three > -current boxes and it works on all but the Dell. The Dell also have > the ICH2 sound while the other two have different sound chips. Maybe > it has something to do with the ICH driver or else I was just lucky > with the other machines. On the Dell have tried setting vchans > directly and maxautovchans, but neither did work for me. I did see > this on the console though: > > ###### > lock order reversal > 1st 0xc87d5b00 pcm0:virtual:0 (pcm channel) @ /usr/src/sys/dev/sound/pcm/sound.c:191 > 2nd 0xc5d99a80 pcm0 (sound cdev) @ /usr/src/sys/dev/sound/pcm/sound.c:163 > ###### > > Just switching vchans off on the Dell made the sound work again. > Looks like I have to take that back. I just tried a brand new -CURRENT kernel and vchans are now working. I have only tried it by setting hw.snd.maxautovchans. It does produce a lot of "could sleep with" messages though: ################## ../../../vm/uma_core.c:1330: could sleep with "pcm0" locked from /usr/src/sys/dev/sound/pcm/sound.c:163 ../../../vm/uma_core.c:1330: could sleep with "pcm0" locked from /usr/src/sys/dev/sound/pcm/sound.c:163 ../../../vm/uma_core.c:1330: could sleep with "pcm0" locked from /usr/src/sys/dev/sound/pcm/sound.c:163 ../../../vm/uma_core.c:1330: could sleep with "pcm0" locked from /usr/src/sys/dev/sound/pcm/sound.c:378 ../../../vm/uma_core.c:1330: could sleep with "pcm0" locked from /usr/src/sys/dev/sound/pcm/sound.c:378 ../../../vm/uma_core.c:1330: could sleep with "pcm0" locked from /usr/src/sys/dev/sound/pcm/sound.c:378 ../../../vm/uma_core.c:1330: could sleep with "pcm0" locked from /usr/src/sys/dev/sound/pcm/sound.c:378 ../../../vm/uma_core.c:1330: could sleep with "pcm0" locked from /usr/src/sys/dev/sound/pcm/sound.c:378 ../../../vm/uma_core.c:1330: could sleep with "pcm0" locked from /usr/src/sys/dev/sound/pcm/sound.c:434 ../../../vm/uma_core.c:1330: could sleep with "pcm0" locked from /usr/src/sys/dev/sound/pcm/sound.c:434 ../../../vm/uma_core.c:1330: could sleep with "pcm0" locked from /usr/src/sys/dev/sound/pcm/sound.c:434 ################### John -- John Hay -- John.Hay@icomtek.csir.co.za / jhay@FreeBSD.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?20030213075554.GA26761>