Lars Engels
2009-Apr-30 07:38 UTC
cbb related panic: resource_list_release: resource entry is not busy
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. -- Lars Engels E-Mail: lars.engels@0x20.net -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: PGP Digital Signature Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20090430/9216bcc2/attachment.pgp
Lars Engels
2009-Apr-30 17:21 UTC
cbb related panic: resource_list_release: resource entry is not busy
On Thu, Apr 30, 2009 at 10:08:18AM -0700, Sam Leffler wrote:> 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)Oh, too bad... -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20090430/06f8e20c/attachment.pgp
Sam Leffler
2009-Apr-30 17:46 UTC
cbb related panic: resource_list_release: resource entry is not busy
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