Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jul 2005 20:30:47 GMT
From:      Jonathan Buschmann <jonthn@agmact.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   i386/83809: Problem with mutex or lock and if_xl.
Message-ID:  <200507202030.j6KKUlC5009387@www.freebsd.org>
Resent-Message-ID: <200507202040.j6KKeKGa067948@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         83809
>Category:       i386
>Synopsis:       Problem with mutex or lock and if_xl.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-i386
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 20 20:40:19 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Jonathan Buschmann
>Release:        6.0-BETA1
>Organization:
>Environment:
FreeBSD aore.actitude.net 6.0-BETA1 FreeBSD 6.0-BETA1 #0: Tue Jul 12 18:05:55 UTC 2005     root@x64.samsco.home:/usr/obj/usr/src/sys/GENERIC  i386
     
>Description:
taskqueue_drain with the following non-sleepable locks held:
exclusive sleep mutex xl0 (network driver) r = 0 (0xc1b030a4) locked @ /usr/src/
sys/pci/if_xl.c:2796
KDB: stack backtrace:
x29
witness_warn(5,0,c0857d06,c1b01000,c1b01000) at witness_warn+0x18e
taskqueue_drain(c19f7000,c1b030c8,c1b030a4,1,c086b04c,cc7) at taskqueue_drain+0x
1a
xl_stop(c1b01000,c1b030a4,1,c086b04c,af9) at xl_stop+0x44
xl_init_locked(c1b01000,c1b030a4,0,c086b04c,aec) at xl_init_locked+0x33
xl_init(c1b01000) at xl_init+0x26
ether_ioctl(c1adbc00,8020690c,c1bf2c00,0,1) at ether_ioctl+0x64
xl_ioctl(c1adbc00,8020690c,c1bf2c00,0,c1bf2c00) at xl_ioctl+0x2be
in6_ifinit(c1adbc00,c1bf2c00,da932b1c,1,40) at in6_ifinit+0x90
in6_update_ifa(c1adbc00,da932b0c,0) at in6_update_ifa+0x456
in6_ifattach_linklocal(c1adbc00,0) at in6_ifattach_linklocal+0xe5
in6_ifattach(c1adbc00,0,c1afe000,0,0) at in6_ifattach+0xb9
in6_if_up(c1adbc00,c1adbc00,80206910,c1d745a0,0) at in6_if_up+0x13
if_route(c1adbc00,1,0,da932c4c,c069676b) at if_route+0x55
if_up(c1adbc00) at if_up+0xf
ifhwioctl(80206910,c1adbc00,c1d745a0,c1d90000,da932c80) at ifhwioctl+0x29b
ifioctl(c1d7fb20,80206910,c1d745a0,c1d90000,0) at ifioctl+0xc3
soo_ioctl(c1d09a68,80206910,c1d745a0,c19bea80,c1d90000) at soo_ioctl+0x2db
ioctl(c1d90000,da932d04,3,1,247) at ioctl+0x370
syscall(3b,3b,3b,4,1) at syscall+0x22f
Xint0x80_syscall() at Xint0x80_syscall+0x1f
--- syscall (54, FreeBSD ELF32, ioctl), eip = 0x280c6287, esp = 0xbfbfe56c, ebp
= 0xbfbfe5b8 ---
taskqueue_drain with the following non-sleepable locks held:
exclusive sleep mutex xl0 (network driver) r = 0 (0xc1b030a4) locked @ /usr/src/
sys/pci/if_xl.c:2796
KDB: stack backtrace:
kdb_backtrace(1,c1b030c8,c1b01000,c19f7000,da932b04) at kdb_backtrace+0x29
witness_warn(5,0,c0857d06,c1b01000,c1b01000) at witness_warn+0x18e
taskqueue_drain(c19f7000,c1b030c8,c1b030a4,1,c086b04c,cc7) at taskqueue_drain+0x
1a
xl_stop(c1b01000,c1b030a4,1,c086b04c,af9) at xl_stop+0x44
xl_init_locked(c1b01000,c1b030a4,0,c086b04c,aec) at xl_init_locked+0x33
xl_init(c1b01000,8020690c,c1d95500,c1b01000,da932bc0) at xl_init+0x26
ether_ioctl(c1adbc00,8020690c,c1d95500,0,c1d95500) at ether_ioctl+0x50
xl_ioctl(c1adbc00,8020690c,c1d95500,1,0) at xl_ioctl+0x2be
in_ifinit(c1adbc00,c1d95500,c1ced210,0,da932c38) at in_ifinit+0x206
in_control(c1d7fb20,8040691a,c1ced200,c1adbc00,c1d90000) at in_control+0x882
ifioctl(c1d7fb20,8040691a,c1ced200,c1d90000,0) at ifioctl+0x198
soo_ioctl(c1d09a68,8040691a,c1ced200,c19bea80,c1d90000) at soo_ioctl+0x2db
ioctl(c1d90000,da932d04,3,b,286) at ioctl+0x370
syscall(3b,3b,3b,8056880,1) at syscall+0x22f
Xint0x80_syscall() at Xint0x80_syscall+0x1f
--- syscall (54, FreeBSD ELF32, ioctl), eip = 0x280c6287, esp = 0xbfbfe5bc, ebp
= 0xbfbfee08 ---
>How-To-Repeat:
At every reboot this problem appears three or four times and after there is no more this output and it seems to work fine.
>Fix:
      
>Release-Note:
>Audit-Trail:
>Unformatted:



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