From owner-freebsd-stable@FreeBSD.ORG Thu Apr 30 17:46:39 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8EAA1106564A for ; Thu, 30 Apr 2009 17:46:39 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id 5F0708FC24 for ; Thu, 30 Apr 2009 17:46:39 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from trouble.errno.com (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id n3UH8JYB012291 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 30 Apr 2009 10:08:19 -0700 (PDT) (envelope-from sam@freebsd.org) Message-ID: <49F9DB02.3010405@freebsd.org> Date: Thu, 30 Apr 2009 10:08:18 -0700 From: Sam Leffler Organization: FreeBSD Project User-Agent: Thunderbird 2.0.0.18 (X11/20081209) MIME-Version: 1.0 To: Lars Engels References: <20090430093818.mt1r5q7v48gkwswo@0x20.net> In-Reply-To: <20090430093818.mt1r5q7v48gkwswo@0x20.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DCC-x.dcc-servers-Metrics: ebb.errno.com; whitelist Cc: freebsd-stable@freebsd.org Subject: Re: cbb related panic: resource_list_release: resource entry is not busy X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Apr 2009 17:46:39 -0000 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 , > 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