[3c509] 3c509b stopped working

Allan Wind allanwind@attbi.com
Mon Aug 12 22:20:00 2002


I have a pair of 3c509b installed in my box, however today, eth1
suddently stopped working (packets appears to be going to /dev/null, no
link light on hub).  Cold rebooted the box brought back the card for an
hour or so before it failed the same way.

Then I took both interfaces down (`ifdown eth0 eth1`), removed the
module (`rmmod 3c59x`) and the link light came on again till I inserted
the driver again (`insmod 3c59x`)?

The only fundamental change has been a recent upgrade from 2.4.17 to
2.4.18 (16+ days ago), both drivers have identical 3x59x.c (DRV_VERSION
LK1.1.16).

pawan:/home/awind# vortex-diag -a
vortex-diag.c:v2.05 5/15/2001 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a 3c905B Cyclone 100baseTx adapter at 0xa000.
The Vortex chip may be active, so FIFO registers will not be read.
To see all register values use the '-f' flag.
Initial window 7, registers values by window:
  Window 0: 0000 0000 0000 0000 f5f5 00bf 0000 0000.
  Window 1: FIFO FIFO 0000 0000 0000 0000 0000 2000.
  Window 2: 0000 3d86 699f 0000 0000 0000 000a 4000.
  Window 3: 0000 0180 05ea 0000 000a 0800 0800 6000.
  Window 4: 0000 0000 0000 0cd8 0001 8880 0000 8000.
  Window 5: 1ffc 0000 0000 0600 0807 06ce 06c6 a000.
  Window 6: 0000 0000 0000 0500 0000 012c 0000 c000.
  Window 7: 0000 0000 0000 0000 0000 0000 0000 e000.
Vortex chip registers at 0xa000
  0xA010: **FIFO** 00000000 00000016 *STATUS*
  0xA020: 00000020 00000000 00080000 00000004
  0xA030: 00000000 9c81637f 21f42040 00080004
 Indication enable is 06c6, interrupt enable is 06ce.
 No interrupt sources are pending.
 Transceiver/media interfaces available:  100baseTx 10baseT.
Transceiver type in use:  Autonegotiate.
 MAC settings: half-duplex.
 Station address set to 00:00:86:3d:9f:69.
 Configuration options 000a.
Index #2: Found a 3c905B Cyclone 100baseTx adapter at 0x9800.
The Vortex chip may be active, so FIFO registers will not be read.
To see all register values use the '-f' flag.
Initial window 7, registers values by window:
  Window 0: 0000 0000 0000 0000 f5f5 00bf 0000 0000.
  Window 1: FIFO FIFO 0000 0000 0000 0000 0000 2000.
  Window 2: 1000 074b ffd9 0000 0000 0000 000a 4000.
  Window 3: 0000 0180 05ea 0020 000a 0800 0800 6000.
  Window 4: 0000 0000 0000 0cd2 0003 8080 0000 8000.
  Window 5: 1ffc 0000 0000 0600 0807 06ce 06c6 a000.
  Window 6: 0000 0000 0000 0000 0000 0000 003c c000.
  Window 7: 0000 0000 0000 0000 0000 0000 0000 e000.
Vortex chip registers at 0x9800
  0x9810: **FIFO** 00000000 0000000a *STATUS*
  0x9820: 00000020 00000000 00080000 00000004
  0x9830: 00000000 75118aef 1ff54000 00080004
 Indication enable is 06c6, interrupt enable is 06ce.
 No interrupt sources are pending.
 Transceiver/media interfaces available:  100baseTx 10baseT.
Transceiver type in use:  Autonegotiate.
 MAC settings: full-duplex.
 Station address set to 00:10:4b:07:d9:ff.

pawan:/home/awind# vortex-diag -ee
vortex-diag.c:v2.05 5/15/2001 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a 3c905B Cyclone 100baseTx adapter at 0xa000.
EEPROM contents (64 words, offset 0):
 0x000: 0050 da61 8fac 9055 c743 0036 4258 6d50
 0x008: 2971 0000 0050 da61 8fac 0010 0000 0022
 0x010: 32a2 0000 0000 0180 0000 0000 0000 10b7
 0x018: 9055 000a 0000 0000 0000 0000 0000 0000
 0x020: 0043 0000 0000 0000 0000 0000 0000 0000
 0x028: 0000 0000 0000 0000 0000 0000 0000 0000
 0x030: 0000 0000 0000 0000 0000 0000 0000 0000
 0x038: 0000 0000 0000 0000 0000 0000 0000 0000
 The word-wide EEPROM checksum is 0xdb4e.
Saved EEPROM settings of a 3Com Vortex/Boomerang:
 3Com Node Address 00:50:DA:61:8F:AC (used as a unique ID only).
 OEM Station address 00:50:DA:61:8F:AC (used as the ethernet address).
 Manufacture date (MM/DD/YYYY) 10/3/1999, division 6, product XB.
 Options: negotiated duplex, link beat required.
  Vortex format checksum is incorrect (002b vs. 10b7).
  Cyclone format checksum is correct (0x43 vs. 0x43).
  Hurricane format checksum is correct (0x43 vs. 0x43).
Index #2: Found a 3c905B Cyclone 100baseTx adapter at 0x9800.
EEPROM contents (64 words, offset 0):
 0x000: 0010 4b07 d9ff 9055 c482 0036 4b4e 6d50
 0x008: 2971 0000 0010 4b07 d9ff 8010 0000 002a
 0x010: 32a6 0000 0000 0080 0000 0005 0000 10b7
 0x018: 9055 000a 0000 0000 0000 0000 0000 0000
 0x020: 0016 0000 0000 0000 0000 0000 0000 0000
 0x028: 0000 0000 0000 0000 0000 0000 0000 0000
 0x030: 0000 0000 0000 0000 0000 0000 0000 0000
 0x038: 0000 0000 0000 0000 0000 0000 0000 0000
 The word-wide EEPROM checksum is 0xd5d9.
Saved EEPROM settings of a 3Com Vortex/Boomerang:
 3Com Node Address 00:10:4B:07:D9:FF (used as a unique ID only).
 OEM Station address 00:10:4B:07:D9:FF (used as the ethernet address).
 Manufacture date (MM/DD/YYYY) 4/2/1998, division 6, product NK.
 Options: force full duplex, link beat required.
  Vortex format checksum is incorrect (007e vs. 10b7).
  Cyclone format checksum is correct (0x16 vs. 0x16).
  Hurricane format checksum is correct (0x16 vs. 0x16).

pawan:/home/awind# vortex-diag -mm
vortex-diag.c:v2.05 5/15/2001 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a 3c905B Cyclone 100baseTx adapter at 0xa000.
 MII PHY found at address 1, status 0020.
 MII PHY found at address 2, status 0020.
 MII PHY found at address 3, status 0020.
 MII PHY found at address 4, status 0020.
 MII PHY 0 at #1 transceiver registers:
   0020 0020 0020 0020 0020 0020 0020 0020
   0020 0020 0020 0020 0020 0020 0020 0020
   0020 0020 0020 0020 0020 0020 0020 0020
   0020 0020 0020 0020 0020 0020 0020 0020.
 MII PHY 1 at #2 transceiver registers:
   0020 0020 0020 0020 0020 0020 0020 0020
   0020 0020 0020 0020 0020 0020 0020 0020
   0020 0020 0020 0020 0020 0020 0020 0020
   0020 0020 0020 0020 0020 0020 0020 0020.
 MII PHY 2 at #3 transceiver registers:
   0020 0020 0020 0020 0020 0020 0020 0020
   0020 0020 0020 0020 0020 0020 0020 0020
   0020 0020 0020 0020 0020 0020 0020 0020
   0020 0020 0020 0020 0020 0020 0020 0020.
 MII PHY 3 at #4 transceiver registers:
   0020 0020 0020 0020 0020 0020 0020 0020
   0020 0020 0020 0020 0020 0020 0020 0020
   0020 0020 0020 0020 0020 0020 0020 0020
   0020 0020 0020 0020 0020 0020 0020 0020.
 MII PHY #1 transceiver registers:
   0020 0020 0020 0020 0020 0020 0020 0020
   0020 0020 0020 0020 0020 0020 0020 0020
   0020 0020 0020 0020 0020 0020 0020 0020
   0020 0020 0020 0020 0020 0020 0020 0020.
 Basic mode control register 0x0020: Auto-negotiation disabled!
   Speed fixed at 10 mbps, half-duplex.
 Basic mode status register 0x0020 ... 0020.
   Link status: not established.
   Capable of <Warning! No media capabilities>.
   Unable to perform Auto-negotiation, negotiation complete.
 This transceiver has no vendor identification.
 I'm advertising 0020: 10baseT
   Advertising no additional info pages.
   Using an unknown (non 802.3) encapsulation.
 Link partner capability is 0020: 10baseT.
   Negotiation did not complete.
Index #2: Found a 3c905B Cyclone 100baseTx adapter at 0x9800.
 MII PHY found at address 24, status 7849.
 MII PHY found at address 0, status 7849.
 MII PHY 0 at #24 transceiver registers:
   3000 7849 0000 0000 0141 40a1 0007 2801
   0000 0000 0000 0000 0000 0000 0000 0000
   0000 0a73 f5ff 0000 0000 0005 2001 0000
   0000 2000 07cf 1c11 0010 1000 0000 0000.
 MII PHY 1 at #0 transceiver registers:
   3000 7849 0000 0000 0141 40a1 0005 2801
   0000 0000 0000 0000 0000 0000 0000 0000
   0000 0040 0090 0000 0000 0005 2001 0000
   0000 2000 07cf 1c11 0010 1000 0000 0000.
 MII PHY #24 transceiver registers:
   3000 7849 0000 0000 0141 40a1 0005 2801
   0000 0000 0000 0000 0000 0000 0000 0000
   0000 0040 0090 0000 0000 0005 2001 0000
   0000 2000 07cf 1c11 0010 1000 0000 0000.
 Basic mode control register 0x3000: Auto-negotiation enabled.
 Basic mode status register 0x7849 ... 7849.
   Link status: not established.
   Capable of  100baseTx-FD 100baseTx 10baseT-FD 10baseT.
   Able to perform Auto-negotiation, negotiation not complete.
 This transceiver has no vendor identification.
 I'm advertising 0141: 100baseTx-FD 10baseT-FD
   Advertising no additional info pages.
   IEEE 802.3 CSMA/CD protocol.
 Link partner capability is 40a1: 100baseTx 10baseT.

I browsed 6+ months of the 509 and votex archives and noticed a couple
1of similar problems, however I am not using RH, not getting "Too much
work in interrupt".

Any ideas?


/Allan
-- 
Allan Wind
P.O. Box 2022
Woburn, MA 01888-0022
USA