From owner-freebsd-bugs@FreeBSD.ORG Sun Dec 4 10:30:17 2005 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 38FAE16A41F for ; Sun, 4 Dec 2005 10:30:17 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 57A2443D7B for ; Sun, 4 Dec 2005 10:30:08 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id jB4AU5hd011174 for ; Sun, 4 Dec 2005 10:30:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id jB4AU48Z011169; Sun, 4 Dec 2005 10:30:05 GMT (envelope-from gnats) Resent-Date: Sun, 4 Dec 2005 10:30:05 GMT Resent-Message-Id: <200512041030.jB4AU48Z011169@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Evgeny Zislis Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 81BC116A41F for ; 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 ; 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 ; 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 ; 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 ; 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 ; 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 ; 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 To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: kern/89926: if_iwi : sleeping thread owns a non-sleepable lock X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Evgeny Zislis List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Dec 2005 10:30:17 -0000 >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 >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Dec 04 10:30:04 GMT 2005 >Closed-Date: >Last-Modified: >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
) 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 , 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: >Unformatted: