[vortex] 3c905C Tornado probs

Henrik Gram henrik.gram@teletopia.no
Thu Jul 11 12:08:02 2002


I have two different linux boxes and a number of 3c905C Tornado's - a few
are made in ireland but most come from singapore and has a different chip on
it.  I mention this because only the ones that says made in ireland works
100%.  I've switched pci slots, cables and switches/hunbs around endlessly,
and here's what I've come up with:  (they are now both connected from the
same machine and to the same switch, a 3com 'OfficeConnect - dual speed
switch').

henrik@gonzo:~> mii-diag -v eth0
mii-diag.c:v2.04 5/9/2002 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Using the default interface 'eth0'.
  Using the new SIOCGMIIPHY value on PHY 24 (BMCR 0x3000).
 The autonegotiated capability is 01e0.
The autonegotiated media type is 100baseTx-FD.
 Basic mode control register 0x3000: Auto-negotiation enabled.
 You have link beat, and everything is working OK.
   This transceiver is capable of  100baseTx-FD 100baseTx 10baseT-FD
10baseT.
   Able to perform Auto-negotiation, negotiation complete.
 Your link partner advertised 45e1: Flow-control 100baseTx-FD 100baseTx
10baseT-FD 10baseT, w/ 802.3X flow control.
   End of basic transceiver information.

 MII PHY #24 transceiver registers:
   3000 782d 0040 6176 05e1 45e1 0003 0000
   0000 0000 0000 0000 0000 0000 0000 0000
   1000 0301 0000 0000 0000 02c8 0100 0000
   003f fd3e 0f00 ff40 002f 0000 80a0 000b.
 Basic mode control register 0x3000: Auto-negotiation enabled.
 Basic mode status register 0x782d ... 782d.
   Link status: established.
   Capable of  100baseTx-FD 100baseTx 10baseT-FD 10baseT.
   Able to perform Auto-negotiation, negotiation complete.
 Vendor ID is 00:10:18:--:--:--, model 23 rev. 6.
   No specific information is known about this transceiver type.
 I'm advertising 05e1: Flow-control 100baseTx-FD 100baseTx 10baseT-FD
10baseT
   Advertising no additional info pages.
   IEEE 802.3 CSMA/CD protocol.
 Link partner capability is 45e1: Flow-control 100baseTx-FD 100baseTx
10baseT-FD 10baseT.
   Negotiation  completed.

henrik@gonzo:~> mii-diag -v eth1
mii-diag.c:v2.04 5/9/2002 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
  Using the new SIOCGMIIPHY value on PHY 24 (BMCR 0x3000).
 The autonegotiated capability is 0140.
The autonegotiated media type is 100baseTx-FD.
 Basic mode control register 0x3000: Auto-negotiation enabled.
 You have link beat, and everything is working OK.
   This transceiver is capable of  100baseTx-FD 100baseTx 10baseT-FD
10baseT.
   Able to perform Auto-negotiation, negotiation not complete.
 Your link partner advertised 45e1: Flow-control 100baseTx-FD 100baseTx
10baseT-FD 10baseT, w/ 802.3X flow control.
   End of basic transceiver information.

 MII PHY #24 transceiver registers:
   3000 780d 0040 6174 0541 45e1 0000 0000
   0000 0000 0000 0000 0000 0000 0000 0000
   1000 0301 0000 0000 0000 0132 0100 0000
   003c 7006 0f00 ff40 052c 0000 0020 000b.
 Basic mode control register 0x3000: Auto-negotiation enabled.
 Basic mode status register 0x780d ... 780d.
   Link status: established.
   Capable of  100baseTx-FD 100baseTx 10baseT-FD 10baseT.
   Able to perform Auto-negotiation, negotiation not complete.
 Vendor ID is 00:10:18:--:--:--, model 23 rev. 4.
   No specific information is known about this transceiver type.
 I'm advertising 0541: Flow-control 100baseTx-FD 10baseT-FD
   Advertising no additional info pages.
   IEEE 802.3 CSMA/CD protocol.
 Link partner capability is 45e1: Flow-control 100baseTx-FD 100baseTx
10baseT-FD 10baseT.
   Negotiation  completed.


One thing I've noticed is that the autonegotiated capability is 0140 on the
'bad' NICs and 01e0 on the 'good' NICs and negotiation both says completed
and not completed with the 'bad' NICs.

ping flooding through the bad NICs results in a lot of RX errors and RX
frame errors (~5 %), but I've seen 10%+ when the box was doing something
useful instead of just the pings.

More info:

henrik@gonzo:~> vortex-diag -aa
vortex-diag.c:v2.06 4/18/2002 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a 3c905C Tornado 100baseTx adapter at 0xe400.
The Vortex chip may be active, so FIFO registers will not be read.
To see all register values use the '-f' flag.
Initial window 4, registers values by window:
  Window 0: 0000 0000 d93f 0000 e3e3 00bf ffff 0000.
  Window 1: FIFO FIFO 0700 0000 0000 007f 0000 2000.
  Window 2: 0400 2476 c9c9 0000 0000 0000 0052 4000.
  Window 3: 0000 0180 05ea 0020 000a 0800 0800 6000.
  Window 4: 0000 0000 0000 0cfa 0001 8880 0000 8000.
  Window 5: 1ffc 0000 0000 0600 0807 06de 06c6 a000.
  Window 6: 0000 0000 0000 0000 1000 0000 0000 c000.
  Window 7: 0000 0000 0000 0000 0000 0000 0000 e000.
Vortex chip registers at 0xe400
  0xE410: **FIFO** 00000000 00000007 *STATUS*
  0xE420: 00000020 01282a70 00080000 00001404
  0xE430: 00000000 e4121bee 012828f0 00080004
 Indication enable is 06c6, interrupt enable is 06de.
 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:04:76:24:c9:c9.
 Configuration options 0052.
Index #2: Found a 3c905C Tornado 100baseTx adapter at 0xe800.
The Vortex chip may be active, so FIFO registers will not be read.
To see all register values use the '-f' flag.
Initial window 4, registers values by window:
  Window 0: 0000 0000 d93f 0000 e3e3 00bf ffff 0000.
  Window 1: FIFO FIFO 0700 0000 0000 007f 0000 2000.
  Window 2: 1000 fd22 0c9a 0000 0000 0000 0052 4000.
  Window 3: 0000 0180 05ea 0020 000a 0800 02f0 6000.
  Window 4: 0000 0000 0000 0ef6 0001 9c20 0000 8000.
  Window 5: 1ffc 0000 0000 0600 0807 06de 06c6 a000.
  Window 6: 0000 0000 0000 ae00 1000 526b 729f c000.
  Window 7: 0000 0000 0000 0000 0000 0000 0000 e000.
Vortex chip registers at 0xe800
  0xE810: **FIFO** 00000000 00000001 *STATUS*
  0xE820: 00000020 07c68210 00080000 00001404
  0xE830: 00000000 1f11e0ef 07c680b0 00080004
 Indication enable is 06c6, interrupt enable is 06de.
 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:22:fd:9a:0c.
 Configuration options 0052.

henrik@gonzo:~> vortex-diag -mm
vortex-diag.c:v2.06 4/18/2002 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a 3c905C Tornado 100baseTx adapter at 0xe400.
 MII PHY found at address 24, status 782d.
 MII PHY 0 at #24 transceiver registers:
   3000 782d 0040 6176 05e1 45e1 0003 0000
   0000 0000 0000 0000 0000 0000 0000 0000
   1000 0300 0000 0000 0000 0f35 0500 0000
   003f 8d3e 0f00 ff40 002f 0000 80a0 000b.
 MII PHY #24 transceiver registers:
   3000 782d 0040 6176 05e1 45e1 0003 0000
   0000 0000 0000 0000 0000 0000 0000 0000
   1000 0300 0000 0000 0000 012c 0600 0000
   003f 8d3e 0f00 ff40 002f 0000 80a0 000b.
 Basic mode control register 0x3000: Auto-negotiation enabled.
 Basic mode status register 0x782d ... 782d.
   Link status: established.
   Capable of  100baseTx-FD 100baseTx 10baseT-FD 10baseT.
   Able to perform Auto-negotiation, negotiation complete.
 Vendor ID is 00:10:18:--:--:--, model 23 rev. 6.
   No specific information is known about this transceiver type.
 I'm advertising 05e1: Flow-control 100baseTx-FD 100baseTx 10baseT-FD
10baseT
   Advertising no additional info pages.
   IEEE 802.3 CSMA/CD protocol.
 Link partner capability is 45e1: Flow-control 100baseTx-FD 100baseTx
10baseT-FD 10baseT.
   Negotiation  completed.
Index #2: Found a 3c905C Tornado 100baseTx adapter at 0xe800.
 MII PHY found at address 24, status 780d.
 MII PHY 0 at #24 transceiver registers:
   3000 780d 0040 6174 0541 45e1 0000 0000
   0000 0000 0000 0000 0000 0000 0000 0000
   1000 0300 0000 0000 0000 0132 0400 0000
   003c 0006 0f00 ff40 012c 0000 0020 000b.
 MII PHY #24 transceiver registers:
   3000 780d 0040 6174 0541 45e1 0000 0000
   0000 0000 0000 0000 0000 0000 0000 0000
   1000 0300 0000 0000 0000 0132 0500 0000
   003c 0006 0f00 ff40 012c 0000 0020 000b.
 Basic mode control register 0x3000: Auto-negotiation enabled.
 Basic mode status register 0x780d ... 780d.
   Link status: established.
   Capable of  100baseTx-FD 100baseTx 10baseT-FD 10baseT.
   Able to perform Auto-negotiation, negotiation not complete.
 Vendor ID is 00:10:18:--:--:--, model 23 rev. 4.
   No specific information is known about this transceiver type.
 I'm advertising 0541: Flow-control 100baseTx-FD 10baseT-FD
   Advertising no additional info pages.
   IEEE 802.3 CSMA/CD protocol.
 Link partner capability is 45e1: Flow-control 100baseTx-FD 100baseTx
10baseT-FD 10baseT.
   Negotiation  completed.

Any ideas at all?

Regards,

Henrik Gram