Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Nov 2002 21:57:23 +0100 (CET)
From:      Michal Mertl <mime@traveller.cz>
To:        current@freebsd.org
Subject:   WITNESS complaints
Message-ID:  <Pine.BSF.4.41.0211192152130.22130-100000@prg.traveller.cz>

next in thread | raw e-mail | index | archive | help
I keep getting lots of

 /usr/src/sys/kern/kern_sysctl.c:1002: could sleep
 with "drm memory" locked from @/dev/drm/drm_memory.h:217

and

/usr/src/sys/vm/uma_core.c:1330: could sleep with "pcm0" locked from
/usr/src/sys/dev/sound/pcm/sound.c:134
/usr/src/sys/vm/uma_core.c:1330: could sleep with "pcm0:fake" locked from
/usr/src/sys/dev/sound/pcm/channel.c:677
/usr/src/sys/vm/uma_core.c:1330: could sleep with "pcm0:play:0" locked
from /usr/src/sys/dev/sound/pcm/channel.c:677
/usr/src/sys/vm/uma_core.c:1330: could sleep with "pcm0:record:0" locked
from /usr/src/sys/dev/sound/pcm/channel.c:677


for long time. I don't know, how serious these are and how much work is
required to fix it. Otherwise it's proabably just a slight nuisance
hidden for most users (once GENERIC is without WITNESS). I use both as
modules but I'm pretty sure I had the same problem with both compiled into
the kernel.

In case it matters sound device is detected as:

pcm0: <VIA VT82C686A> port 0xe400-0xe403,0xe000-0xe003,0xdc00-0xdcff irq
12 at device 7.5 on pci0
pcm0: ac97 codec id 0x49434511 (ICEnsemble ICE1232)
pcm0: ac97 codec features headphone, 18 bit DAC, 18 bit ADC, 5 bit master
volume, Reserved 27
pcm0: ac97 primary codec extended features variable rate PCM, AMAP

and video is

drm0: <3dfx Voodoo3 3000> port 0xc000-0xc0ff mem
0xd8000000-0xd9ffffff,0xd4000000-0xd5ffffff irq 10 at device 0.0 on pci1
info: [drm] Initialized tdfx 1.0.0 20010216 on minor 0


The complaints about "drm memory" are shown in groups of about 25 same
messages on each invocation of 'sysctl hw.dri' (or -a) but otherwise they
seem to be quiet. The complaints about pcm happen only on boot (about 30).

I'm ready to send more detail if required but I suppose it's going to be
general problem - I've seen it mentioned (at least the pcm one) several
times.

Thanks.

-- 
Michal Mertl
mime@traveller.cz




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?Pine.BSF.4.41.0211192152130.22130-100000>