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 -- [EMAIL PROTECTED] / [EMAIL PROTECTED]

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

Reply via email to