[tulip-bug] NetGear FA511 problems

Jeremiah Savage jeremiahsavage@hotmail.com
Tue Dec 3 03:02:01 2002


Hello,


I recently purchased an IBM ThinkPad 600x and got a NetGear FA511 for 
ethernet (a 10/100 cardbus card). It worked fine under win98, so I wiped 
that OS and attempted several current linux installations (Debian & Redhat), 
before deciding there were driver problems with this card.

The symptom is that the card will work sometimes and not work on other 
reboots. I've narrowed it down to running this script multiple times to 
avoid long reboots (I have a static ip address):

# ifdown eth0
# cardctl eject
# sleep 1.5
# cardctl insert
# sleep 1
# ifup eth0
# ping [gateway]

It usually takes less than 5 cycles through this to get ping results, and 
then things work fine.

I'm running linux-2.4.20 on Debian/Sid. Boot messages correctly identify the 
card:

Dec  1 16:30:23 debian kernel: NET4: Unix domain sockets 1.0/SMP for Linux 
NET4.0.
Dec  1 16:30:23 debian kernel: Yenta IRQ list 06b8, PCI irq11
Dec  1 16:30:23 debian kernel: Socket status: 30000020
Dec  1 16:30:23 debian kernel: Yenta IRQ list 06b8, PCI irq11
Dec  1 16:30:23 debian kernel: Socket status: 30000006
Dec  1 16:30:23 debian kernel: cs: cb_alloc(bus 2): vendor 0x1317, device 
0x1985
Dec  1 16:30:23 debian kernel: PCI: Enabling device 02:00.0 (0000 -> 0003)
Dec  1 16:30:23 debian kernel: Linux Tulip driver version 0.9.15-pre12 (Aug 
9, 2002)
Dec  1 16:30:23 debian kernel: PCI: Setting latency timer of device 02:00.0 
to 64
Dec  1 16:30:23 debian kernel: eth0: ADMtek Comet rev 17 at 0x4000, EEPROM 
not present, 00:4C:69:6E:75:79, IRQ 11.
Dec  1 16:30:23 debian kernel: VFS: Mounted root (ext2 filesystem) readonly.


and lspci -vvxxx gives more info:

------

02:00.0 Ethernet controller: Linksys Fast Ethernet 10/100 (rev 11)
        Subsystem: Netgear: Unknown device 511a
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 64 (63750ns min, 63750ns max)
        Interrupt: pin A routed to IRQ 11
        Region 0: I/O ports at 4000 [size=256]
        Region 1: Memory at 14400000 (32-bit, non-prefetchable) [size=1K]
        Expansion ROM at 14000000 [size=128K]
00: 17 13 85 19 07 00 80 02 11 00 00 02 00 40 00 00
10: 01 40 00 00 00 00 40 14 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 02 02 00 00 85 13 1a 51
30: 01 00 00 14 c0 00 00 00 00 00 00 00 0b 01 ff ff
40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 17 13 81 09 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

------

... and even more info from tulip-diag:


# ./tulip-diag -aaemmf
tulip-diag.c:v2.15 9/23/2002 Donald Becker (becker@scyld.com)
http://www.scyld.com/diag/index.html
Index #1: Found a ADMtek AL985 Centaur-C adapter at 0x4000.
ADMtek AL985 Centaur-C chip registers at 0x4000:
0x00: fff98000 ffffffff ffffffff 002b3000 002b3200 fc664010 ff972113 
ffffffff
0x40: fffe0000 fffd97f8 00000000 fffe0000 00000000 00000200 00000000 
00000008
Extended registers:
0x80: 2066c010 03fe7fff 00000005 ffffffff 00000000 002b32a0 002b30e0 
ffe0f000
0xa0: f0000000 6e694c00 ffff7a75 00000000 40000000 00000000 00000000 
00000000
0xc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 
00000000
0xe0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 
38000027
Comet duplex is reported in the MII status registers.
Transmit started, Receive started.
  The Rx process state is 'Waiting for packets'.
  The Tx process state is 'Idle'.
  The transmit threshold is 128.
  Comet MAC address registers 6e694c00 ffff7a75
  Comet multicast filter 0000000040000000.
EEPROM 256 words, 8 address bits.
WARNING: The EEPROM is missing or erased!
  Ethernet MAC Station Address ff:ff:ff:ff:ff:ff.
  Default connection type 'Default'.
  PCI IDs Vendor ffff Device ffff  Subsystem ffff ffff
  PCI min_grant 255 max_latency 255.
  CSR18 power-up setting 0xffff****.
MII PHY found at address 1, status 0x786d.
MII PHY #1 transceiver registers:
   3100 786d 001d 2411 05e1 0021 0004 2001
   0000 0000 0000 0000 0000 0000 0000 0000
   1001 0000 2022 205f 0000 000f 7490 0000
   8111 6946 2c58 1326 8911 0444 0230 0000.



...and in case this email wasn't long enough, relevant sections of my 
.config file:

------
# CONFIG_MODULES is not set
CONFIG_HOTPLUG=y
#
# PCMCIA/CardBus support
#
CONFIG_PCMCIA=y
CONFIG_CARDBUS=y
# CONFIG_TCIC is not set
# CONFIG_I82092 is not set
# CONFIG_I82365 is not set
#
# PCI Hotplug Support
#
CONFIG_HOTPLUG_PCI=y
#
# Ethernet (10 or 100Mbit)
#
CONFIG_NET_ETHERNET=y
CONFIG_NET_PCI=y
# CONFIG_PCNET32 is not set
# CONFIG_ADAPTEC_STARFIRE is not set
# CONFIG_APRICOT is not set
# CONFIG_CS89x0 is not set
CONFIG_TULIP=y
#
# PCMCIA network device support
#
# CONFIG_NET_PCMCIA is not set

_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail