[tulip] Strange Connectivity Problem with Linksys PCMPC200 v1

Savio Lau saviol@sfu.ca
Mon Sep 2 20:54:00 2002


I did some further investigation.  And I think the diagnostic programs 
identified the source of the problem but I still have no idea how to 
resolve it.

I seen old posts on various lists that has similar problems to mine but 
most of them have to do with pre 2.4.x kernels.  I am not so sure how 
the migration to the Yenta driver has affected this.  What is clear 
though is that tulip Cardbus support has been rolled back to a single 
tulip.o

 From the diagnostic programs two things are apparent
1. The Rx and Tx process of the Tulip driver is stuck at the "Reading a 
Rx/Tx Descriptor" stage.
2. No common media was auto-negotiated.

Any help of pointers to the right direction will be greatly appreciated.

Savio

Here are the additional information I got from tulip-diag and mii-diag

 From tulip-diag using options -a -a -e -e -m -m -f
tulip-diag.c:v2.13 8/6/2002 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a Digital DS21143 Tulip adapter at 0x4800.
Digital DS21143 Tulip chip registers at 0x4800:
 0x00: f8a08000 ffffffff ffffffff 00321000 00321200 f0120000 b20e2202 
fbfffbff
 0x40: e0000000 ffffcbf8 ffffffff 00000000 000000c6 ffff0000 fff80000 
8ff10000
 Port selection is MII, full-duplex.
 Transmit started, Receive started.
  The Rx process state is 'Reading a Rx descriptor'.
  The Tx process state is 'Reading a Tx descriptor'.
  The transmit threshold is 128.
  The NWay status register is 000000c6.
EEPROM 256 words, 8 address bits.
PCI Subsystem IDs, vendor 13d1, device ab01.
CardBus Information Structure at offset 00005002.
Ethernet MAC Station Address 00:E0:98:74:40:3D.
EEPROM transceiver/media description table.
Leaf node at offset 30, default media type 0800 (Autosense).
 1 transceiver description blocks:
  Media MII, block type 3, length 13.
   MII interface PHY 0 (media type 11).
   21143 MII initialization sequence is 0 words:.
   21143 MII reset sequence is 0 words:.
    Media capabilities are 7800, advertising 01e1.
    Full-duplex map 5000, Threshold map 1800.
    MII interrupt on GPIO pin -1.
EEPROM contents (256 words):
0x00:  13d1 ab01 5002 0000 0000 0000 0000 0000
0x08:  00c5 0104 e000 7498 3d40 1e00 0000 0800
0x10:  8d01 0003 0000 7800 01e0 5000 1800 006e
0x18:  0000 0000 0000 0000 0000 0000 0000 0000
0x20:  0000 0000 0000 0000 0000 0000 0000 0000
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 0000 d365
0x40:  0313 4943 2053 4904 3101 2102 0602 2201
0x48:  0102 2202 0205 9680 0098 0522 0002 f5e1
0x50:  2205 0302 1501 053d 4c00 6e69 736b 7379
0x58:  4500 6874 7265 6146 7473 3120 2f30 3031
0x60:  2030 6143 6472 7542 2073 4350 4320 7261
0x68:  2864 4350 504d 3243 3030 0029 3156 302e
0x70:  0000 00ff 0604 0103 002a 0000 0607 0011
0x78:  0080 0000 0607 0002 0080 0000 0607 0007
0x80:  0200 0000 0a05 3941 b501 021e fcb0 84fe
0x88:  84ff ffff ffff ffff ffff ffff ffff ffff
0x90:  ffff ffff ffff ffff ffff ffff ffff ffff
0x98:  ffff ffff ffff ffff ffff ffff ffff ffff
0xa0:  0047 ffff ffff ffff ffff ffff ffff ffff
0xa8:  ffff ffff ffff ffff ffff ffff ffff ffff
0xb0:  ffff ffff ffff ffff ffff ffff ffff ffff
0xb8:  ffff ffff ffff ffff ffff ffff ffff ffff
0xc0:  ffff ffff ffff ffff ffff ffff ffff ffff
0xc8:  ffff ffff ffff ffff ffff ffff ffff ffff
0xd0:  ffff ffff ffff ffff ffff ffff ffff ffff
0xd8:  ffff ffff ffff ffff ffff ffff ffff ffff
0xe0:  ffff ffff ffff ffff ffff ffff ffff ffff
0xe8:  ffff ffff ffff ffff ffff ffff ffff ffff
0xf0:  ffff ffff ffff ffff ffff ffff ffff ffff
0xf8:  ffff ffff ffff ffff ffff ffff ffff ffff
 ID block CRC 0xc5 (vs. 0xc5).
  Full contents CRC 0xd365 (read as 0xd365).
 MII PHY found at address 0, status 0x782d.
 MII PHY #0 transceiver registers:
   1000 782d 0040 6212 01e1 45e1 0003 0000
   0000 0000 0000 0000 0000 0000 0000 0000
   1000 0301 0000 0000 0000 01bd 0100 0000
   003b f53e 0f00 ff00 002b 0000 80a0 000b.
 Basic mode control register 0x1000: 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 33 rev. 2.
   No specific information is known about this transceiver type.
 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 45e1: Flow-control 100baseTx-FD 100baseTx 
10baseT-FD 10baseT.
   Negotiation  completed.
  Internal autonegotiation state is 'Autonegotiation disabled'.

mii-diag output with option -D

mii-diag.c:v2.06 8/7/2002 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
  Using the new SIOCGMIIPHY value on PHY 0 (BMCR 0x1000).
 The autonegotiated capability is 0000.
No common media type was autonegotiated!
This is extremely unusual and typically indicates a configuration error.
Perhaps the advertised capability set was intentionally limited.
 Basic mode control register 0x1000: 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 #0 transceiver registers:
   1000 782d 0040 6212 0001 45e1 0003 0000
   0000 0000 0000 0000 0000 0000 0000 0000
   1000 0300 0000 0000 0000 03e2 0300 0000
   003b 853e 0f00 ff00 002b 0000 80a0 000b.
 Basic mode control register 0x1000: 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 33 rev. 2.
   No specific information is known about this transceiver type.
 I'm advertising 0001:
   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.

-- 
Savio Lau