Re: Stack backtrace for drm and malloc(M_WAITOK)

From: Erik Winge <erik.winge_at_gmail.com>
Date: Sun, 29 Jan 2006 22:52:06 +0100
On 1/20/06, Steve Kargl <sgk_at_troutmask.apl.washington.edu> wrote:
> With Jason's new malloc implementation, I had to install
> xorg-server-snap to get a functioning x server on a amd64
> system.  When the drm module is loaded, I'm see numerous
> backtraces in /var/log/messages.
>
[...]
> malloc(M_WAITOK) of "16", forcing M_NOWAIT with the following non-sleepable \
>    locks held:
> exclusive sleep mutex drmdma r = 0 (0xffffff02323b0130) locked _at_ \
>    /usr/src/sys/modules/drm/drm/../../../dev/drm/drm_bufs.c:846

I also get a bunch of messages almost like this one when starting X. I
am running X.Org 6.9.0 on -current from January 28 (userland from Jan
26), and X is working well despite these warnings. See the attached
/var/log/messages.

Jan 29 22:18:51 anduin kernel: malloc(M_WAITOK) of "16", forcing
M_NOWAIT with the following non-sleepable locks held:
Jan 29 22:18:51 anduin kernel: exclusive sleep mutex drm device r = 0
(0xc2edfcd4) locked _at_
/usr/src/sys/modules/drm/drm/../../../dev/drm/drm_drv.c:904

Erik

Received on Sun Jan 29 2006 - 21:17:05 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:51 UTC