Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Dec 2009 10:12:38 -0500
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-current@freebsd.org
Cc:        Thierry Herbelot <thierry.herbelot@free.fr>, "Wojciech A. Koszek" <wkoszek@freebsd.org>, current@freebsd.org
Subject:   Re: Panic in a recent kernel (cardbus/pci related ?)
Message-ID:  <200912181012.38529.jhb@freebsd.org>
In-Reply-To: <20091217012555.GM78318@FreeBSD.org>
References:  <200912110615.28030.thierry.herbelot@free.fr> <20091217012555.GM78318@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912181012.38529.jhb>