Re: current panics when Netgear WG511T ejected (and other NICs too)

From: Tom Uffner <tom_at_uffner.com>
Date: Mon, 26 Mar 2007 21:59:43 -0400
Bruce M. Simpson wrote:

> I believe this new patch should fix your panic. Because the hardware is 
> being ejected, the netinet part of the stack won't see the detach first, 
> but net will, and this is where the panic is happening.

thank you very much.

that appears to have fixed it for the Netgear card, and presumably any
other well-behaved cardbus NIC that had the same problem.

my Linksys Etherfast card which previously had the same panic, no longer
panics on eject, but it still does some weird stuff when inserted &
ejected:

pccard0: CIS version PCCARD 2.0 or 2.1
pccard0: CIS info: Linksys, EtherFast 10/100 PC Card (PCMPC100),
pccard0: Manufacturer code 0x149, product 0xc1ab
pccard0: function 0: network adapter, ccr addr 400 mask 1
pccard0: function 0, config table entry 16: I/O card; irq mask befc; iomask 5, 
iospace 0-1f; mwait_required io16 irqlevel
pccard0: function 0, config table entry 1: I/O card; irq mask befc; iomask a, 
iospace 300-31f; mwait_required io16 irqlevel
pccard0: function 0, config table entry 2: I/O card; irq mask befc; iomask a, 
iospace 320-33f; mwait_required io16 irqlevel
pccard0: function 0, config table entry 3: I/O card; irq mask befc; iomask a, 
iospace 340-35f; mwait_required io16 irqlevel
pccard0: function 0, config table entry 4: I/O card; irq mask befc; iomask a, 
iospace 380-39f; mwait_required io16 irqlevel
pccard0: function 0, config table entry 5: I/O card; irq mask befc; iomask a, 
iospace 200-21f; mwait_required io16 irqlevel
pccard0: function 0, config table entry 6: I/O card; irq mask befc; iomask a, 
iospace 220-23f; mwait_required io16 irqlevel
pccard0: function 0, config table entry 7: I/O card; irq mask befc; iomask a, 
iospace 240-25f; mwait_required io16 irqlevel
ed0: <Linksys EtherFast 10/100 PC Card (PCMPC100)> at port 0x100-0x11f irq 9 
function 0 config 16 on pccard0
ed0: Trying DL100xx probing
ed0: CIR is 5
ed0: [MPSAFE]
ed0: [ITHREAD]
ed0: using obsoleted if_watchdog interface
ed0: bpf attached
ed0: Ethernet address: 00:e0:98:70:10:ee
ed0: type DL10019 (16 bit)
pccard0: Card already inserted.
pccard0: CIS version PCCARD 2.0 or 2.1
pccard0: CIS info: Linksys, EtherFast 10/100 PC Card (PCMPC100),
pccard0: Manufacturer code 0x149, product 0xc1ab
pccard0: function 0: network adapter, ccr addr 400 mask 1
pccard0: function 0, config table entry 16: I/O card; irq mask befc; iomask 5, 
iospace 0-1f; mwait_required io16 irqlevel
pccard0: function 0, config table entry 1: I/O card; irq mask befc; iomask a, 
iospace 300-31f; mwait_required io16 irqlevel
pccard0: function 0, config table entry 2: I/O card; irq mask befc; iomask a, 
iospace 320-33f; mwait_required io16 irqlevel
pccard0: function 0, config table entry 3: I/O card; irq mask befc; iomask a, 
iospace 340-35f; mwait_required io16 irqlevel
pccard0: function 0, config table entry 4: I/O card; irq mask befc; iomask a, 
iospace 380-39f; mwait_required io16 irqlevel
pccard0: function 0, config table entry 5: I/O card; irq mask befc; iomask a, 
iospace 200-21f; mwait_required io16 irqlevel
pccard0: function 0, config table entry 6: I/O card; irq mask befc; iomask a, 
iospace 220-23f; mwait_required io16 irqlevel
pccard0: function 0, config table entry 7: I/O card; irq mask befc; iomask a, 
iospace 240-25f; mwait_required io16 irqlevel
ed1: <Linksys EtherFast 10/100 PC Card (PCMPC100)> at port 0x120-0x13f irq 9 
function 0 config 16 on pccard0
ed1: Trying DL100xx probing
ed1: CIR is 5
ed1: [MPSAFE]
ed1: [ITHREAD]
ed1: using obsoleted if_watchdog interface
ed1: bpf attached
ed1: Ethernet address: 00:e0:98:70:10:ee
ed1: type DL10019 (16 bit)
ed0: device timeout
ed0: device timeout
ed1: detached
cbb0: Danger Will Robinson: Resource left allocated!  This is a bug... (rid=0, 
type=3, addr=88000000)
cbb0: Danger Will Robinson: Resource left allocated!  This is a bug... (rid=0, 
type=1, addr=9)
cbb0: Danger Will Robinson: Resource left allocated!  This is a bug... (rid=0, 
type=4, addr=100)
ed0: device timeout
ed0: device timeout
ed0: device timeout
ed0: device timeout
ed0: device timeout
Received on Mon Mar 26 2007 - 23:59:46 UTC

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