Re: pcm & exclusive sleep mutex with Oct19 CURRENT

From: Kris Kennaway <kris_at_obsecurity.org>
Date: Mon, 20 Oct 2003 10:37:00 -0700
On Mon, Oct 20, 2003 at 07:15:19PM +0200, Paolo Pisati wrote:
> 
> from my dmesg:
> [snip]
> pcm0: <ESS Technology Allegro-1> port 0xb800-0xb8ff irq 5 at device 1.0 on pci2
> pcm0: failed to enable memory mapping!
> pcm0: <ESS Technology ES1988 AC97 Codec>
> malloc() of "64" with the following non-sleepable locks held:
> exclusive sleep mutex pcm0:mixer (pcm mixer) r = 0 (0xc2d34540) locked _at_ /usr/src/sys/dev/sound/pcm/mixer.c:322

Unfortunately none of the sound developers have been interested in
looking at the locking problems in the code.

> acquiring duplicate lock of same type: "pcm channel"
>  1st pcm0:record:0 _at_ /usr/src/sys/dev/sound/pcm/sound.c:195
>  2nd pcm0:play:0 _at_ /usr/src/sys/dev/sound/pcm/sound.c:195
> Stack backtrace:
> 
> with no backtrace at all.

FWIW, the backtrace would have been reported on the system console.

Kris

Received on Mon Oct 20 2003 - 08:37:15 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:26 UTC