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



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
_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • upkhy ed driver problem
    ... pccard0: chip_socket_enable ... iomask a, iospace 300-31f; mwait_required io16 irqlevel ...
    (freebsd-current)
  • upkhy ed driver problem
    ... pccard0: chip_socket_enable ... iomask a, iospace 300-31f; mwait_required io16 irqlevel ...
    (freebsd-net)
  • Re: Thoshiba Tecra 8000 with 3com 3CXFE575CT
    ... I have no problem with the network when I run FreeBSD 5.4. ... >: watchdog timeouts. ... pccard0: ... config table entry 1: I/O card; irq mask ffff; ...
    (freebsd-current)
  • Problem with PCMCIA ATAPI device
    ... I have SanDisk CF to PCMCIA adapter with 512Mb piece of CF in it. ... pccard0: ... config 1 on pccard0 ... ad4: FAILURE - SETFEATURES ENABLE RCACHE status=51 ...
    (freebsd-current)
  • Re: pccard modem dont work]
    ... pccard0:Allocation failed for cfe 13 ... function 0 config 21 on pccard0 ... It seems sio didn't attach with error. ...
    (freebsd-current)