Re: Panic in a recent kernel (cardbus/pci related ?)

From: John Baldwin <jhb_at_freebsd.org>
Date: Fri, 18 Dec 2009 10:12:38 -0500
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
Received on Mon Dec 21 2009 - 12:36:00 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:59 UTC