kern/120282: panic: resource_list_release: resource entry is not busy in FreeBSD-7.0

Ganbold ganbold at micom.mng.net
Mon Feb 4 20:30:02 PST 2008


>Number:         120282
>Category:       kern
>Synopsis:       panic: resource_list_release: resource entry is not busy in	FreeBSD-7.0
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 05 04:30:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Ganbold
>Release:        FreeBSD 7.0-PRERELEASE Tue Feb  5 10:29:24 ULAT 2008
>Organization:
>Environment:
devil# uname -an
FreeBSD devil.micom.mng.net 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #3: Tue Feb  5 10:29:24 ULAT 2008     tsgan at devil.micom.mng.net:/usr/obj/usr/src/sys/DEVIL  i386

>Description:
I'm having trouble using Orinoco Silver a/b/g combo pcmcia card on Dell Latitude D620.

It happens in following order:
1. First I reboot FreeBSD-7.0 laptop with Orinoco combo card plugged in.
2. Then when I try to unplug the card it panics.

However after rebooting (without plugged in card)
when I try to plug in and unplug the card everything is fine, no crash.

System I have:

devil# uname -an
FreeBSD devil.micom.mng.net 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #3: Tue Feb  5 10:29:24 ULAT 2008     tsgan at devil.micom.mng.net:/usr/obj/usr/src/sys/DEVIL  i386

When panics, on the serial console it shows:

.
ath0: <Atheros 5212> mem 0x88000000-0x8800ffff irq 18 at device 0.0 on cardbus0
ath0: [ITHREAD]
ath0: using obsoleted if_watchdog interface
ath0: Ethernet address: 00:20:a6:4f:bf:7d
ath0: mac 5.6 phy 4.1 5ghz radio 1.7 2ghz radio 2.3
.
Tue Feb  5 11:52:45 ULAT 2008
.
panic: resource_list_release: resource entry is not busy
cpuid = 0
KDB: stack backtrace:
db_trace_self_wrapper(c08c8051,e40bebb8,c064f78f,c08ec063,0,...) at db_trace_self_wrapper+0x26
kdb_backtrace(c08ec063,0,c08c7b57,e40bebc4,0,...) at kdb_backtrace+0x29
panic(c08c7b57,3,10,0,c3c6ce40,...) at panic+0x10f
resource_list_release(c3c96204,c3c46100,c3c92e00,3,10,...) at resource_list_release+0xc2
bus_generic_rl_release_resource(c3c46100,c3c92e00,3,10,c3c6ce00) at bus_generic_rl_release_resource+0x77
bus_release_resource(c3c92e00,3,10,c3c6ce00,c3c92e00,...) at bus_release_resource+0x67
ath_pci_detach(c3c92e00,c3b41050,c095ba2c,970,4,...) at ath_pci_detach+0xb2
device_detach(c3c92e00,e40becac,e40becb0,c09aacf0,0,...) at device_detach+0x8c
cardbus_detach_card(c3c46100,c3b9c8b4,c091b07c,1df,c09ad260,...) at cardbus_detach_card+0xcd
cbb_event_thread(c3bb1000,e40bed38,c08c1ad7,305,c3c40ab0,...) at cbb_event_thread+0x15a
fork_exit(c0556c60,c3bb1000,e40bed38) at fork_exit+0xb8
fork_trampoline() at fork_trampoline+0x8
--- trap 0, eip = 0, esp = 0xe40bed70, ebp = 0 ---
KDB: enter: panic
[thread pid 36 tid 100035 ]
Stopped at      kdb_enter+0x32: leave
db> bt
Tracing pid 36 tid 100035 td 0xc3c2a210
kdb_enter(c08c5554,0,c08c7b57,e40bebc4,0,...) at kdb_enter+0x32
panic(c08c7b57,3,10,0,c3c6ce40,...) at panic+0x124
resource_list_release(c3c96204,c3c46100,c3c92e00,3,10,...) at resource_list_release+0xc2
bus_generic_rl_release_resource(c3c46100,c3c92e00,3,10,c3c6ce00) at bus_generic_rl_release_resource+0x77
bus_release_resource(c3c92e00,3,10,c3c6ce00,c3c92e00,...) at bus_release_resource+0x67
ath_pci_detach(c3c92e00,c3b41050,c095ba2c,970,4,...) at ath_pci_detach+0xb2
device_detach(c3c92e00,e40becac,e40becb0,c09aacf0,0,...) at device_detach+0x8c
cardbus_detach_card(c3c46100,c3b9c8b4,c091b07c,1df,c09ad260,...) at cardbus_detach_card+0xcd
cbb_event_thread(c3bb1000,e40bed38,c08c1ad7,305,c3c40ab0,...) at cbb_event_thread+0x15a
fork_exit(c0556c60,c3bb1000,e40bed38) at fork_exit+0xb8
fork_trampoline() at fork_trampoline+0x8
--- trap 0, eip = 0, esp = 0xe40bed70, ebp = 0 ---
db> tr
Tracing pid 36 tid 100035 td 0xc3c2a210
kdb_enter(c08c5554,0,c08c7b57,e40bebc4,0,...) at kdb_enter+0x32
panic(c08c7b57,3,10,0,c3c6ce40,...) at panic+0x124
resource_list_release(c3c96204,c3c46100,c3c92e00,3,10,...) at resource_list_release+0xc2
bus_generic_rl_release_resource(c3c46100,c3c92e00,3,10,c3c6ce00) at bus_generic_rl_release_resource+0x77
bus_release_resource(c3c92e00,3,10,c3c6ce00,c3c92e00,...) at bus_release_resource+0x67
ath_pci_detach(c3c92e00,c3b41050,c095ba2c,970,4,...) at ath_pci_detach+0xb2
device_detach(c3c92e00,e40becac,e40becb0,c09aacf0,0,...) at device_detach+0x8c
cardbus_detach_card(c3c46100,c3b9c8b4,c091b07c,1df,c09ad260,...) at cardbus_detach_card+0xcd
cbb_event_thread(c3bb1000,e40bed38,c08c1ad7,305,c3c40ab0,...) at cbb_event_thread+0x15a
fork_exit(c0556c60,c3bb1000,e40bed38) at fork_exit+0xb8
fork_trampoline() at fork_trampoline+0x8
--- trap 0, eip = 0, esp = 0xe40bed70, ebp = 0 ---
db> 
>How-To-Repeat:
It happens in following order:
1. First I reboot FreeBSD-7.0 laptop with Orinoco combo card plugged in.
2. Then when I try to unplug the card it panics.
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list