kern/89926: if_iwi : sleeping thread owns a non-sleepable lock

Evgeny Zislis kesor at
Sun Dec 4 10:30:17 GMT 2005

>Number:         89926
>Category:       kern
>Synopsis:       if_iwi : sleeping thread owns a non-sleepable lock
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 04 10:30:04 GMT 2005
>Originator:     Evgeny Zislis
>Release:        FreeBSD 6.0-STABLE i386
System: FreeBSD 6.0-STABLE FreeBSD 6.0-STABLE #: Sun Dec 4 05:09:00 IST 2005 root at i386

Lenovo ThinkPad R50e with Intel 2200BG wifi card
	For unknown apparent reasons, expecially when running X and Gnome,
	the kernel panics. (attached backtrace that leads to if_iwi)
	While using kismet with the iwi driver, and X, the system will crash
	with no apparent reason.
	Kernel backtrace :

(kgdb) backtrace
#0  doadump () at pcpu.h:165
During symbol reading, Incomplete CFI data; unspecified registers at 0xc05ae853.

#1  0xc05aede2 in boot (howto=0x104) at /usr/src/sys/kern/kern_shutdown.c:399
#2  0xc05af158 in panic (fmt=0xc07cae7e "sleeping thread (tid %d) owns a non-sleepable lock") at /usr/src/sys/kern/kern_shutdown.c:555
#3  0xc05d786f in propagate_priority (td=0xc3873000) at /usr/src/sys/kern/subr_turnstile.c:189
#4  0xc05d8612 in turnstile_wait (lock=0xc3a42b6c, owner=0xc3873000) at /usr/src/sys/kern/subr_turnstile.c:628
#5  0xc05a40e7 in _mtx_lock_sleep (m=0xc3a42b6c, tid=0xc3229300, opts=0x0, file=0x0, line=0x0) at /usr/src/sys/kern/kern_mutex.c:555
#6  0xc05a3c9b in _mtx_lock_flags (m=0x0, opts=0x0, file=0xc3d8a29f "/usr/src/sys/modules/iwi/../../dev/iwi/if_iwi.c", line=0x578) at /usr/src/sys/kern/kern_mutex.c:276
#7  0xc3d890e1 in iwi_ioctl (ifp=0xc3a42000, cmd=0xc361bb80, data=0x217 <Address 0x217 out of bounds>) at /usr/src/sys/modules/iwi/../../dev/iwi/if_iwi.c:2115
#8  0xc0594666 in ithread_loop (arg=0xc3221700) at /usr/src/sys/kern/kern_intr.c:547
#9  0xc0593224 in fork_exit (callout=0xc05943f0 <ithread_loop>, arg=0x0, frame=0x0) at /usr/src/sys/kern/kern_fork.c:789
#10 0xc07610dc in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:208

More information about the freebsd-bugs mailing list