From kesor@kesor.net  Sun Dec  4 10:22:13 2005
Return-Path: <kesor@kesor.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 81BC116A41F
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  4 Dec 2005 10:22:13 +0000 (GMT)
	(envelope-from kesor@kesor.net)
Received: from smtp1.actcom.co.il (smtp1.actcom.co.il [192.114.47.64])
	by mx1.FreeBSD.org (Postfix) with ESMTP id D772C43D4C
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  4 Dec 2005 10:22:11 +0000 (GMT)
	(envelope-from kesor@kesor.net)
Received: from mail.kesor.net (line133-201.adsl.actcom.co.il [192.115.133.201])
	by smtp1.actcom.co.il (8.13.3/8.13.3) with ESMTP id jB4AM4Z6010412
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 4 Dec 2005 12:22:08 +0200
Received: from localhost (localhost [127.0.0.1])
	by mail.kesor.net (Postfix) with ESMTP id 257343F0
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  4 Dec 2005 12:22:01 +0200 (IST)
Received: from mail.kesor.net ([127.0.0.1])
 by localhost (monster.kesor.net [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 48697-04 for <FreeBSD-gnats-submit@freebsd.org>;
 Sun,  4 Dec 2005 12:20:29 +0200 (IST)
Received: from thinky5e.kesor.net (thinky5e [192.168.1.45])
	by mail.kesor.net (Postfix) with ESMTP id 058D43ED
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  4 Dec 2005 12:20:25 +0200 (IST)
Received: from thinky5e.kesor.net (localhost [127.0.0.1])
	by thinky5e.kesor.net (8.13.4/8.13.4) with ESMTP id jB4AKQUW000815
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 4 Dec 2005 12:20:26 +0200 (IST)
	(envelope-from kesor@thinky5e.kesor.net)
Received: (from kesor@localhost)
	by thinky5e.kesor.net (8.13.4/8.13.4/Submit) id jB4AKQAo000814;
	Sun, 4 Dec 2005 12:20:26 +0200 (IST)
	(envelope-from kesor)
Message-Id: <200512041020.jB4AKQAo000814@thinky5e.kesor.net>
Date: Sun, 4 Dec 2005 12:20:26 +0200 (IST)
From: Evgeny Zislis <kesor@kesor.net>
Reply-To: Evgeny Zislis <kesor@kesor.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: if_iwi : sleeping thread owns a non-sleepable lock
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         89926
>Category:       kern
>Synopsis:       [iwi] [panic] if_iwi : sleeping thread owns a non-sleepable lock
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 04 10:30:04 GMT 2005
>Closed-Date:    Tue Jun 12 04:43:32 GMT 2007
>Last-Modified:  Tue Jun 12 04:43:32 GMT 2007
>Originator:     Evgeny Zislis
>Release:        FreeBSD 6.0-STABLE i386
>Organization:
None
>Environment:
System: FreeBSD thinky5e.kesor.net 6.0-STABLE FreeBSD 6.0-STABLE #: Sun Dec 4 05:09:00 IST 2005 root@thinky5e.kesor.net:/usr/obj/usr/src/sys/THINKY5E.debug i386

Lenovo ThinkPad R50e with Intel 2200BG wifi card
>Description:
	For unknown apparent reasons, expecially when running X and Gnome,
	the kernel panics. (attached backtrace that leads to if_iwi)
>How-To-Repeat:
	While using kismet with the iwi driver, and X, the system will crash
	with no apparent reason.
	
>Fix:
	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
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->damien 
Responsible-Changed-By: philip 
Responsible-Changed-When: Sun Dec 4 10:43:53 GMT 2005 
Responsible-Changed-Why:  
Assign to if_iwi maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=89926 
Responsible-Changed-From-To: damien->freebsd-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Thu Mar 30 08:34:36 UTC 2006 
Responsible-Changed-Why:  
Assignee is no longer working on FreeBSD drivers. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=89926 
State-Changed-From-To: open->feedback 
State-Changed-By: linimon 
State-Changed-When: Sun Mar 18 21:58:26 UTC 2007 
State-Changed-Why:  
Is this still a problem with recent versions of FreeBSD? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=89926 
State-Changed-From-To: feedback->closed 
State-Changed-By: linimon 
State-Changed-When: Tue Jun 12 04:42:57 UTC 2007 
State-Changed-Why:  
Feedback timeout (> 1 month). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=89926 
>Unformatted:
