Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jun 2004 08:36:31 -0400 (EDT)
From:      Andre Guibert de Bruet <andy@siliconlandmark.com>
To:        anholt@freebsd.org
Cc:        current@freebsd.org
Subject:   Sleeping on "itrmh" with the following non-sleepable locks held:
Message-ID:  <20040630082046.F809@alpha.siliconlandmark.com>

index | next in thread | raw e-mail

[-- Attachment #1 --]
Hello,

I managed to get the following printed on a serial console while shutting 
down XFree86 today:

Sleeping on "itrmh" with the following non-sleepable locks held:
exclusive sleep mutex drm device r = 0 (0x6505f464) locked @ 
dev/drm/drm_irq.h:192
Stack backtrace:
backtrace(607dd224,b00c894c,1,6599e6e0,65945d20) at 0x60564407
witness_warn(5,64faf380,60735d8f,60732f57,15a) at 0x605893f3
msleep(65777b40,64faf380,a0,60732f57,0) at 0x6056b98a
ithread_remove_handler(65777b40,b00c89bc,606e4ad1,65777b40,b00c89e4) at 
0x6054d695

I had DRM_DEBUG turned on and a console actively logging at the time, so I 
was able to produce a full trace with the DRM_DEBUG messages before and 
after. I have attached the file to this email.

My kernel is fairly stock, with amr, nge, smp and DRM_DEBUG enabled. I can 
make my config file available as well as the full hardware specifications 
for the machine that this was found on. Google turned up something similar 
from last December, involving the same line of code, but it was a LOR. 
That report can be found here: 
http://lists.freebsd.org/pipermail/freebsd-current/2003-December/015540.html

Any ideas?
Andy

> Andre Guibert de Bruet | Enterprise Software Consultant >
> Silicon Landmark, LLC. | http://siliconlandmark.com/    >
[-- Attachment #2 --]
[drm:pid1409:radeon_ioctl] pid=1409, cmd=0x80086442, nr=0x42, dev 0x6505d000, auth=1
[drm:pid1409:radeon_cp_stop]
[drm:pid1409:radeon_do_cp_flush]
[drm:pid1409:radeon_do_cp_idle]
[drm:pid1409:radeon_do_cp_stop]
[drm:pid1409:radeon_do_engine_reset]
[drm:pid1409:radeon_do_cp_reset]
[drm:pid1409:radeon_ioctl] pid=1409, cmd=0x80086414, nr=0x14, dev 0x6505d000, auth=1
[drm:pid1409:radeon_irq_uninstall] radeon_irq_uninstall: irq=16
Sleeping on "itrmh" with the following non-sleepable locks held:
exclusive sleep mutex drm device r = 0 (0x6505f464) locked @ dev/drm/drm_irq.h:192
Stack backtrace:
backtrace(607dd224,b00c894c,1,6599e6e0,65945d20) at 0x60564407
witness_warn(5,64faf380,60735d8f,60732f57,15a) at 0x605893f3
msleep(65777b40,64faf380,a0,60732f57,0) at 0x6056b98a
ithread_remove_handler(65777b40,b00c89bc,606e4ad1,65777b40,b00c89e4) at 0x6054d695
intr_remove_handler(65777b40,b00c89e4,6057b300,65042a00,6505d000) at 0x606da901
nexus_teardown_intr(65042a00,6505d000,6a55fc00,65777b40,6505d000) at 0x606e4ad1
bus_generic_teardown_intr(65042880,6505d000,6a55fc00,65777b40,6505d000) at 0x6057b300
bus_generic_teardown_intr(64fafc00,6505d000,6a55fc00,65777b40,6505d000) at 0x6057b300
bus_generic_teardown_intr(6505c880,6505d000,6a55fc00,65777b40,6505d000) at 0x6057b300
bus_generic_teardown_intr(6505c680,6505d000,6a55fc00,65777b40,6505d000) at 0x6057b300
bus_generic_teardown_intr(6505d080,6505d000,6a55fc00,65777b40,6505d000) at 0x6057b300
bus_teardown_intr(6505d000,6a55fc00,65777b40,6071d3fc,10) at 0x6057bd84
radeon_irq_uninstall(6505f400,0,6071d3a6,c0,6075ddb0) at 0x604774d7
radeon_control(607afb2c,80086414,b00c8c58,43,65945d20,581,6505d000,1,14) at 0x60477595
radeon_ioctl(607afb2c,80086414,b00c8c58,43,65945d20) at 0x60476348
spec_ioctl(b00c8b80,b00c8c2c,605cce6c,b00c8b80,3246) at 0x60527d1e
spec_vnoperate(b00c8b80,3246,65945d98,b00c8b98,607a5460) at 0x60527318
vn_ioctl(659fbd04,80086414,b00c8c58,6a548980,65945d20) at 0x605cce6c
ioctl(65945d20,b00c8d14,c,434,3) at 0x6058b7fe
syscall(2f,2f,2f,891ee00,8730000) at 0x606eaee2
Xint0x80_syscall() at 0x606d673f
--- syscall (54), eip = 0x4825b1ef, esp = 0x5fbfeaac, ebp = 0x5fbfeac8 ---
[drm:pid1409:radeon_ioctl] pid=1409, cmd=0x80546440, nr=0x40, dev 0x6505d000, auth=1
[drm:pid1409:radeon_do_cleanup_cp]
[drm:pid1409:radeon_ioctl] pid=1409, cmd=0x8004667e, nr=0x7e, dev 0x6505d000, auth=1
[drm:pid1409:radeon_ioctl] pid=1409, cmd=0x8004667d, nr=0x7d, dev 0x6505d000, auth=1
[drm:pid1409:radeon_ioctl] pid=1409, cmd=0xc0086421, nr=0x21, dev 0x6505d000, auth=1
[drm:pid1409:radeon_rmctx] 1
[drm:pid1409:radeon_ioctl] pid=1409, cmd=0xc0086426, nr=0x26, dev 0x6505d000, auth=1
[drm:pid1409:radeon_ioctl] pid=1409, cmd=0xc0086426, nr=0x26, dev 0x6505d000, auth=1
[drm:pid1409:radeon_ioctl] pid=1409, cmd=0x8008642b, nr=0x2b, dev 0x6505d000, auth=1
[drm:pid1409:radeon_close] open_count = 1
[drm:pid1409:radeon_close] pid = 1409, device = 0x6505d000, open_count = 1
[drm:pid1409:radeon_takedown]
[drm:pid1409:radeon_takedown] mtrr_del = 0
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040630082046.F809>