cbb related panic: resource_list_release: resource entry is not busy

Sam Leffler sam at freebsd.org
Thu Apr 30 17:46:39 UTC 2009


Lars Engels wrote:
> On 7.2-RC2 when I remove an Atheros wireless pccard causes the 
> following panic:
>
> Unread portion of the kernel message buffer:
> panic: resource_list_release: resource entry is not busy
> cpuid = 1
> Uptime: 4m28s
> Physical memory: 2019 MB
> Dumping 138 MB: 123 107 91 75 59 43 (CTRL-C to abort)  (CTRL-C to 
> abort)  27 (CTRL-C to abort)  (CTRL-C to abort)  11 (CTRL-C to abort)
>
> (kgdb) bt
> #0  doadump () at pcpu.h:196
> #1  0xc07e25a7 in boot (howto=260) at 
> /usr/src/sys/kern/kern_shutdown.c:418
> #2  0xc07e2879 in panic (fmt=Variable "fmt" is not available.
> ) at /usr/src/sys/kern/kern_shutdown.c:574
> #3  0xc080b4b2 in resource_list_release (rl=0xc594a404, 
> bus=0xc5667100, child=0xc5957e80, type=3, rid=16,
>     res=0xc599fb00) at /usr/src/sys/kern/subr_bus.c:2797
> #4  0xc080b647 in bus_generic_rl_release_resource (dev=0xc5667100, 
> child=0xc5957e80, type=3, rid=16, r=0xc599fb00)
>     at /usr/src/sys/kern/subr_bus.c:3365
> #5  0xc080b157 in bus_release_resource (dev=0xc5957e80, type=3, 
> rid=16, r=0xc599fb00) at bus_if.h:347
> #6  0xc053bef2 in ath_pci_detach (dev=0xc5957e80) at 
> /usr/src/sys/dev/ath/if_ath_pci.c:222
> #7  0xc0809378 in device_detach (dev=0xc5957e80) at device_if.h:212
> #8  0xc058de4d in cardbus_detach_card (cbdev=0xc5667100) at 
> /usr/src/sys/dev/cardbus/cardbus.c:236
> #9  0xc0695bdc in cbb_event_thread (arg=0xc559d800) at card_if.h:95
> #10 0xc07bd059 in fork_exit (callout=0xc0695a30 <cbb_event_thread>, 
> arg=0xc559d800, frame=0xe57bfd38)
>     at /usr/src/sys/kern/kern_fork.c:810
> #11 0xc0ac9270 in fork_trampoline () at 
> /usr/src/sys/i386/i386/exception.s:264
>
>
> Lars
>
> P.S.: Please keep me CC'ed. I am not subscribed to this list.
>
known issue; there's a PR for it; unlikely to get fixed for 7.2 (imo)

    Sam



More information about the freebsd-stable mailing list