[tulip] Tulip and ANA6911A/TX

tsombakos, mark tsombakos_mark@emc.com
Thu Dec 6 10:58:01 2001


Hello!

I'm having problems with the tulip driver included in
RedHat 7.2.  My first issue is, I can't tell what version
is the "latest" tulip driver.  0.92-pre3(?) was 7.2's,
we bumped up to 0.92-pre6 (dated Nov 3) with a new kernel.
But on Sourceforge, it's up to 1.1.8, dated June 16, 2001...

The problem I'm seeing - when I power cycle my pc and
Linux loads, I don't get a link light.  If I stop networking,
rmmod the tulip driver, modprobe tulip, and restart networking,
it's fine.  In fact, after I power cycle, the driver says it
can't find an MII transceiver.  After I reload the driver,
it finds it fine.

Any idea?  Here's the output of tulip-diag -aa -ee -mm before
and after reloading the driver.  What's more peculiar - I see
that sometimes it finds the MII transceiver at a different address.
When it does, the network also does not work.

I suspect something with the hardware, but I haven't seen this
problem with 2.2 versions of the kernel.

Mark

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: f9a08000 ffffffff ffffffff 1f376000 1f376200 f0200100 b2420200
f3fe0000
 0x40: e0000000 fff483ff ffffffff 00000000 000020c7 ffff0001 fffbffff
8ffdc008
 Port selection is 10mpbs-serial, full-duplex.
 Transmit stopped, Receive stopped, full-duplex.
  The Rx process state is 'Stopped'.
  The Tx process state is 'Waiting for Tx to finish'.
  The transmit threshold is 72.
  The NWay status register is 000020c7.
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).
   No MII transceivers found!
  Internal autonegotiation state is 'Ability detect'.

-------------------------
after:
-------------------------
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: f9a08000 ffffffff ffffffff 1f6ab000 1f6ab200 f4000102 b20e0000
f3fe0000
 0x40: e0000000 fff583ff ffffffff 00000000 000000c6 ffff0000 fff80000
8ff4c000
 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 0x7869.
 MII PHY #1 transceiver registers:
   1000 786d 2000 5c01 01e1 0021 0000 0000
   0000 0000 0000 0000 0000 0000 0000 0000
   0000 0000 0000 0000 0000 0000 0001 8060
   8020 0c41 0000 3000 a3b9 0080 8005 001b.
 Basic mode control register 0x1000: 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'.

---------------------------
MII at a different address:
---------------------------
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: f9a08000 ffffffff ffffffff 1f376000 1f376200 f0000102 b20e0000
f3fe0000
 0x40: e0000000 fff583ff ffffffff 00000000 000000c6 ffff0000 fff80000
8ff4c000
 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 17, status 0x7869.
 MII PHY #17 transceiver registers:
   1000 786d 2000 5c01 01e1 0021 0000 0000
   0000 0000 0000 0000 0000 0000 0000 0000
   0000 0000 0000 0000 0000 0000 0001 8060
   8020 0c51 0000 3000 a3b9 0080 8005 001b.
 Basic mode control register 0x1000: 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'.