[tulip] RE: Tulip and ANA6911A/TX

tsombakos, mark tsombakos_mark@emc.com
Wed Dec 19 17:30:01 2001


I answered my own question and replaced the RH tulip driver
with Donald's.  Sadly, I have exactly the same problem.
Power cycle the box, no link light.  Unload/reload module,
link light lights.

After power cycle:

/var/log/messages:
Dec 19 17:44:23 lnl0117 kernel: tulip.c:v0.93 11/7/2001  Written by Donald
Becker <becker@scyld.com>
Dec 19 17:44:23 lnl0117 kernel:   http://www.scyld.com/network/tulip.html
Dec 19 17:44:23 lnl0117 kernel: eth0: Digital DS21143-xD Tulip rev 65 at
0xe08b9000, 00:00:D1:1E:E1:9D, IRQ 9.
Dec 19 17:44:23 lnl0117 kernel: eth0:  EEPROM default media type Autosense.
Dec 19 17:44:23 lnl0117 kernel: eth0:  Index #0 - Media MII (#11) described
by a 21142 MII PHY (3) block.
Dec 19 17:44:23 lnl0117 kernel: eth0: ***WARNING***: No MII transceiver
found!

tulip-diag:
tulip-diag.c:v2.07 3/31/2001 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a Digital DS21143 Tulip adapter at 0x1400.
Digital DS21143 Tulip chip registers at 0x1400:
 0x00: f8a08000 ffffffff ffffffff 1e4f7000 1e4f7200 f4000102 b2420000
f3fe0000
 0x40: e0000000 fff583ff ffffffff 00000000 000020c6 ffff0001 fff8ffbf
8ff4c008
 Port selection is 10mpbs-serial, half-duplex.
 Transmit stopped, Receive stopped, half-duplex.
  The Rx process state is 'Stopped'.
  The Tx process state is 'Stopped'.
  The transmit threshold is 72.
  The NWay status register is 000020c6.
EEPROM 64 words, 6 address bits.
PCI Subsystem IDs, vendor 1109, device 2a00.
CardBus Information Structure at offset 00000000.
Ethernet MAC Station Address 00:00:D1:1E:E1:9D.
EEPROM transceiver/media description table.
Leaf node at offset 40, default media type 0800 (Autosense).
 1 transceiver description blocks:
  Media MII, block type 3, length 23.
   MII interface PHY 0 (media type 11).
   21143 MII initialization sequence is 2 words: 0821 0000.
   21143 MII reset sequence is 3 words: 0821 0001 0000.
    Media capabilities are 7800, advertising 01e1.
    Full-duplex map 5000, Threshold map 1800.
    No MII interrupt.
EEPROM contents (64 words):
0x00:  1109 2a00 0000 0000 0000 0000 0000 0000
0x08:  0001 0103 0000 1ed1 9de1 2800 0000 0000
0x10:  0000 0000 0000 0000 0800 9701 0003 2102
0x18:  0008 0300 0821 0001 0000 7800 01e0 5000
0x20:  1800 8c00 4102 0009 0705 0006 0821 0005
0x28:  0000 0000 0000 0000 0000 0000 0000 0000
0x30:  0000 0000 0000 0000 0000 0000 0000 0000
0x38:  0000 0000 0000 0000 0000 0000 042a 6f35
 ID block CRC 0x01 (vs. 0x01).
  Full contents CRC 0x6f35 (read as 0x6f35).
 MII PHY found at address 17, status 0x7849.
 MII PHY #17 transceiver registers:
   3100 7849 2000 5c01 0101 0000 0000 0000
   0000 0000 0000 0000 0000 0000 0000 0000
   0000 0000 0000 0000 0000 0000 0001 8060
   8020 0c71 0000 3000 a3b9 0080 8005 001b.
 Basic mode control register 0x3100: 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.
 Vendor ID is 08:00:17:--:--:--, model 0 rev. 1.
   Vendor/Part: National Semiconductor 83840A.
 I'm advertising 0101: 100baseTx-FD
   Advertising no additional info pages.
   IEEE 802.3 CSMA/CD protocol.
 Link partner capability is 0000:.
   Negotiation did not complete.
  Internal autonegotiation state is 'Ability detect'.

--------------------------------------------------------------

After driver reload:

Dec 19 17:58:39 lnl0117 kernel: tulip.c:v0.93 11/7/2001  Written by Donald
Becker <becker@scyld.com>
Dec 19 17:58:39 lnl0117 kernel:   http://www.scyld.com/network/tulip.html
Dec 19 17:58:39 lnl0117 kernel: eth0: Digital DS21143-xD Tulip rev 65 at
0xe08b9000, 00:00:D1:1E:E1:9D, IRQ 9.
Dec 19 17:58:39 lnl0117 kernel: eth0:  EEPROM default media type Autosense.
Dec 19 17:58:39 lnl0117 kernel: eth0:  Index #0 - Media MII (#11) described
by a 21142 MII PHY (3) block.
Dec 19 17:58:39 lnl0117 kernel: eth0:  MII transceiver #1 config 3100 status
7849 advertising 0101.
tulip-diag.c:v2.07 3/31/2001 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a Digital DS21143 Tulip adapter at 0x1400.
Digital DS21143 Tulip chip registers at 0x1400:
 0x00: f8a08000 ffffffff ffffffff 1f27c800 1f27ca00 f0000102 b20e0000
f3fe0000
 0x40: e0000000 fff583ff ffffffff 00000000 000000c6 ffff0000 fff80000
8ff6c000
 Port selection is MII, half-duplex.
 Transmit stopped, Receive stopped, half-duplex.
  The Rx process state is 'Stopped'.
  The Tx process state is 'Stopped'.
  The transmit threshold is 128.
  The NWay status register is 000000c6.
EEPROM 64 words, 6 address bits.
PCI Subsystem IDs, vendor 1109, device 2a00.
CardBus Information Structure at offset 00000000.
Ethernet MAC Station Address 00:00:D1:1E:E1:9D.
EEPROM transceiver/media description table.
Leaf node at offset 40, default media type 0800 (Autosense).
 1 transceiver description blocks:
  Media MII, block type 3, length 23.
   MII interface PHY 0 (media type 11).
   21143 MII initialization sequence is 2 words: 0821 0000.
   21143 MII reset sequence is 3 words: 0821 0001 0000.
    Media capabilities are 7800, advertising 01e1.
    Full-duplex map 5000, Threshold map 1800.
    No MII interrupt.
EEPROM contents (64 words):
0x00:  1109 2a00 0000 0000 0000 0000 0000 0000
0x08:  0001 0103 0000 1ed1 9de1 2800 0000 0000
0x10:  0000 0000 0000 0000 0800 9701 0003 2102
0x18:  0008 0300 0821 0001 0000 7800 01e0 5000
0x20:  1800 8c00 4102 0009 0705 0006 0821 0005
0x28:  0000 0000 0000 0000 0000 0000 0000 0000
0x30:  0000 0000 0000 0000 0000 0000 0000 0000
0x38:  0000 0000 0000 0000 0000 0000 042a 6f35
 ID block CRC 0x01 (vs. 0x01).
  Full contents CRC 0x6f35 (read as 0x6f35).
 MII PHY found at address 1, status 0x786d.
 MII PHY #1 transceiver registers:
   3100 786d 2000 5c01 01e1 0021 0000 0000
   0000 0000 0000 0000 0000 0000 0000 0000
   0000 0000 0000 0000 0000 0000 0001 8060
   8020 0c61 0000 3000 a3b9 0080 8505 001b.
 Basic mode control register 0x3100: Auto-negotiation enabled.
 Basic mode status register 0x786d ... 786d.
   Link status: established.
   Capable of  100baseTx-FD 100baseTx 10baseT-FD 10baseT.
   Able to perform Auto-negotiation, negotiation complete.
 Vendor ID is 08:00:17:--:--:--, model 0 rev. 1.
   Vendor/Part: National Semiconductor 83840A.
 I'm advertising 01e1: 100baseTx-FD 100baseTx 10baseT-FD 10baseT
   Advertising no additional info pages.
   IEEE 802.3 CSMA/CD protocol.
 Link partner capability is 0021: 10baseT.
   Negotiation did not complete.
  Internal autonegotiation state is 'Autonegotiation disabled'.

Mark