From owner-freebsd-current@FreeBSD.ORG Mon Dec 21 13:36:00 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 705151065694; Mon, 21 Dec 2009 13:36:00 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 427FD8FC1F; Mon, 21 Dec 2009 13:36:00 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id EBAF746B0D; Mon, 21 Dec 2009 08:35:59 -0500 (EST) Received: from jhbbsd.localnet (unknown [209.249.190.9]) by bigwig.baldwin.cx (Postfix) with ESMTPA id 07EEC8A020; Mon, 21 Dec 2009 08:35:59 -0500 (EST) From: John Baldwin To: freebsd-current@freebsd.org Date: Fri, 18 Dec 2009 10:12:38 -0500 User-Agent: KMail/1.12.1 (FreeBSD/7.2-CBSD-20091103; KDE/4.3.1; amd64; ; ) References: <200912110615.28030.thierry.herbelot@free.fr> <20091217012555.GM78318@FreeBSD.org> In-Reply-To: <20091217012555.GM78318@FreeBSD.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-2" Content-Transfer-Encoding: 7bit Message-Id: <200912181012.38529.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Mon, 21 Dec 2009 08:35:59 -0500 (EST) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=4.2 tests=AWL,BAYES_00,RDNS_NONE autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: Thierry Herbelot , "Wojciech A. Koszek" , current@freebsd.org Subject: Re: Panic in a recent kernel (cardbus/pci related ?) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Dec 2009 13:36:00 -0000 On Wednesday 16 December 2009 8:25:55 pm Wojciech A. Koszek wrote: > On Fri, Dec 11, 2009 at 06:15:27AM +0100, Thierry Herbelot wrote: > > Hello, > > > > I'm seeing a panic in my latest -Current kernel (config file == GENERIC minus > > INVARIANTS, WITNESS and SMP). The machine is an older notebook, with a PCMCIA > > network card. > > I think I experienced the same problem as well: > > cardbus0: CIS pointer is 0x5001 > cardbus0: CIS in BAR 0x10 > cardbus0: CIS Mapped to 0x88000000 > cardbus0: CIS offset is 0x5000 > cardbus0: CIS pointer is 0x5001 > cardbus0: CIS in BAR 0x10 > cardbus0: CIS Mapped to 0x88000000 > cardbus0: CIS offset is 0x5000 > TUPLE: LINKTARGET [3]: 43 49 53 > Manufacturer ID: 71021200 > TUPLE: Unknown(0x04) [6]: 03 01 00 00 00 00 > TUPLE: Unknown(0x05) [14]: 41 b1 39 b5 1e 2d 4e 56 30 ff ff 02 e9 00 > Product version: 7.1 > Product name: Atheros Communications, Inc. | AR5001-0000-0000 | Wireless LAN Reference Card | 00 | > Functions: Network Adaptor, Memory > Function Extension: 02808d5b00 > Function Extension: 0240548900 > Function Extension: 02001bb700 > Function Extension: 0280a81201 > Function Extension: 0200366e01 > Function Extension: 0200512502 > Function Extension: 02006cdc02 > Function Extension: 0280f93703 > Function Extension: 0200a24a04 > Function Extension: 0308 > Function Extension: 040600032f555555 > Function Extension: 0501 > CIS reading done > panic: resource_list_add: resource entry is busy > cpuid = 0 > KDB: enter: panic > > Plugging WiFi CardBus-based card. Yes, I haven't forgotten about this I just haven't had time to figure out the right set of debug printfs to figure out why it is breaking. I think cardbus.c needs changes to catch up with the resource_list_reserve() changes to the PCI bus driver, but I don't see anything obvious looking at cardbus.c. -- John Baldwin