From nobody@FreeBSD.org  Thu Jun  2 05:35:39 2005
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 5C50A16A41C
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  2 Jun 2005 05:35:39 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 3565F43D49
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  2 Jun 2005 05:35:39 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j525ZcTB054078
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 2 Jun 2005 05:35:38 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id j525Zcap054077;
	Thu, 2 Jun 2005 05:35:38 GMT
	(envelope-from nobody)
Message-Id: <200506020535.j525Zcap054077@www.freebsd.org>
Date: Thu, 2 Jun 2005 05:35:38 GMT
From: mike jakubik <mikej@rogers.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: exclusive sleep mutex xl0 (network driver) r = 0 (0xc16542fc) locked @ /usr/src/sys/pci/if_xl.c:2789
X-Send-Pr-Version: www-2.3

>Number:         81792
>Category:       kern
>Synopsis:       exclusive sleep mutex xl0 (network driver) r = 0 (0xc16542fc) locked @ /usr/src/sys/pci/if_xl.c:2789
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    glebius
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 02 05:40:01 GMT 2005
>Closed-Date:    Thu Aug 18 19:29:28 GMT 2005
>Last-Modified:  Thu Aug 18 19:29:28 GMT 2005
>Originator:     mike jakubik
>Release:        6.0-CURRENT
>Organization:
>Environment:
FreeBSD fbsd.wettoast.net 6.0-CURRENT FreeBSD 6.0-CURRENT #0: Tue May 31 20:04:24 EDT 2005     root@fbsd.wettoast.net:/usr/obj/usr/src/sys/DP  i386
>Description:
I get the following notice when booting my system. Network card is xl0: <3Com 3c905C-TX Fast Etherlink XL>.

---
taskqueue_drain with the following non-sleepable locks held:
exclusive sleep mutex xl0 (network driver) r = 0 (0xc16542fc) locked @ /usr/src/sys/pci/if_xl.c:3146
KDB: stack backtrace:
kdb_backtrace(c06e6ff4,d54ccb6c,1,1,1) at kdb_backtrace+0x2e
witness_warn(5,0,c064dde1,c1609078,c051a21b) at witness_warn+0x1b3
taskqueue_drain(c1555c80,c1654320,c0657a59,cc0,c1652000) at taskqueue_drain+0x2b
xl_stop(c1652000,1,c0657a59,af2,0) at xl_stop+0x58
xl_init_locked(c1652000,0,c0657a59,c4a,0) at xl_init_locked+0x43
xl_ioctl(c1652000,80206910,c1904660,1,c064a2eb) at xl_ioctl+0x1c1
ifhwioctl(80206910,c1652000,c1904660,c1609000,c069bd20) at ifhwioctl+0x368
ifioctl(c1869530,80206910,c1904660,c1609000,1) at ifioctl+0xe6
soo_ioctl(c17e3990,80206910,c1904660,c1554c80,c1609000) at soo_ioctl+0x3bf
ioctl(c1609000,d54ccd04,c,418,3) at ioctl+0x462
syscall(3b,3b,3b,4,1) at syscall+0x272
Xint0x80_syscall() at Xint0x80_syscall+0x1f
--- syscall (54, FreeBSD ELF32, ioctl), eip = 0x280cb8bf, esp = 0xbfbfe57c, ebp = 0xbfbfe5c8 ---
taskqueue_drain with the following non-sleepable locks held:
exclusive sleep mutex xl0 (network driver) r = 0 (0xc16542fc) locked @ /usr/src/sys/pci/if_xl.c:2789
KDB: stack backtrace:
kdb_backtrace(c06e6ff4,d54ccaf0,1,1,1) at kdb_backtrace+0x2e
witness_warn(5,0,c064dde1,c1609078,c051a21b) at witness_warn+0x1b3
taskqueue_drain(c1555c80,c1654320,c0657a59,cc0,c1652000) at taskqueue_drain+0x2b
xl_stop(c1652000,1,c0657a59,af2,0) at xl_stop+0x58
xl_init_locked(c1652000,0,c0657a59,ae5,c1652000) at xl_init_locked+0x43
xl_init(c1652000,c064a2eb,18a,8020690c,c17cd500) at xl_init+0x3d
ether_ioctl(c1652000,8020690c,c17cd500,c0676344,0) at ether_ioctl+0x69
xl_ioctl(c1652000,8020690c,c17cd500,1,c04e69b4) at xl_ioctl+0x363
in_ifinit(c1652000,c17cd500,c17aa8d0,0,1) at in_ifinit+0x1b5
in_control(c1869530,8040691a,c17aa8c0,c1652000,c1609000) at in_control+0x905
ifioctl(c1869530,8040691a,c17aa8c0,c1609000,2) at ifioctl+0x1e1
soo_ioctl(c17e3990,8040691a,c17aa8c0,c1554c80,c1609000) at soo_ioctl+0x3bf
ioctl(c1609000,d54ccd04,c,418,3) at ioctl+0x462
syscall(3b,3b,3b,80563a0,0) at syscall+0x272
Xint0x80_syscall() at Xint0x80_syscall+0x1f
--- syscall (54, FreeBSD ELF32, ioctl), eip = 0x280cb8bf, esp = 0xbfbfe5cc, ebp = 0xbfbfee38 ---
taskqueue_drain with the following non-sleepable locks held:
exclusive sleep mutex xl0 (network driver) r = 0 (0xc16542fc) locked @ /usr/src/sys/pci/if_xl.c:2789
KDB: stack backtrace:
kdb_backtrace(c06e6ff4,d54c6af0,1,1,1) at kdb_backtrace+0x2e
witness_warn(5,0,c064dde1,c159fc78,c051a21b) at witness_warn+0x1b3
taskqueue_drain(c1555c80,c1654320,c0657a59,cc0,c1652000) at taskqueue_drain+0x2b
xl_stop(c1652000,1,c0657a59,af2,0) at xl_stop+0x58
xl_init_locked(c1652000,0,c0657a59,ae5,c1652000) at xl_init_locked+0x43
xl_init(c1652000,c064a2eb,18a,8020690c,c17cd700) at xl_init+0x3d
ether_ioctl(c1652000,8020690c,c17cd700,c0676344,0) at ether_ioctl+0x69
xl_ioctl(c1652000,8020690c,c17cd700,1,c04e69b4) at xl_ioctl+0x363
in_ifinit(c1652000,c17cd700,c17be2d0,0,1) at in_ifinit+0x1b5
in_control(c1869298,8040691a,c17be2c0,c1652000,c159fc00) at in_control+0x905
ifioctl(c1869298,8040691a,c17be2c0,c159fc00,2) at ifioctl+0x1e1
soo_ioctl(c17e31b0,8040691a,c17be2c0,c1554c80,c159fc00) at soo_ioctl+0x3bf
ioctl(c159fc00,d54c6d04,c,418,3) at ioctl+0x462
syscall(3b,3b,3b,80563a0,bfbfebaf) at syscall+0x272
Xint0x80_syscall() at Xint0x80_syscall+0x1f
--- syscall (54, FreeBSD ELF32, ioctl), eip = 0x280cb8bf, esp = 0xbfbfe1bc, ebp = 0xbfbfea28 ---

>How-To-Repeat:
      
>Fix:
      
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->glebius 
Responsible-Changed-By: glebius 
Responsible-Changed-When: Tue Jun 14 11:58:07 GMT 2005 
Responsible-Changed-Why:  
My fault. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=81792 
State-Changed-From-To: open->closed 
State-Changed-By: glebius 
State-Changed-When: Thu Aug 18 19:28:47 GMT 2005 
State-Changed-Why:  
The problem is now tracked under kern/84014. 

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