[tulip] No MII transceivers found, Linux 2.6; works in Linux 2.2

Stephen R. van den Berg srb at cuci.nl
Wed Sep 22 06:45:57 PDT 2004


Under Linux 2.2.26, the 2 cards work just fine.
Under Linux 2.6.8.1, the 2 cards can't find the MII transceivers.

See the dump below, first the correct one:

tulip-diag.c:v2.17 5/6/2003 Donald Becker (becker at scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a Digital DS21143 Tulip adapter at 0xa400.
Digital DS21143 Tulip chip registers at 0xa400:
 0x00: f8a08000 ffffffff ffffffff 0009d810 0009da10 f0660000 b20e22c2
fbfffbff
 0x40: e0000000 fff583ff ffffffff 00000000 000000c6 ffff0000 fff80000
8ff3c003
 Port selection is MII, full-duplex.
 Transmit started, Receive started.
  The Rx process state is 'Waiting for packets'.
  The Tx process state is 'Idle'.
  The transmit threshold is 128.
  The NWay status register is 000000c6.
EEPROM 64 words, 6 address bits.
PCI Subsystem IDs, vendor 1109, device 2b00.
CardBus Information Structure at offset 00000000.
Ethernet MAC Station Address 00:E0:7D:B1:7B:47.
EEPROM transceiver/media description table.
Leaf node at offset 40, default media type 0800 (Autosense).
 2 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 0001.
   21143 MII reset sequence is 3 words: 0821 0001 0001.
    Media capabilities are 7800, advertising 01e1.
    Full-duplex map 5000, Threshold map 1800.
    No MII interrupt.
  Media 10base2, block type 2, length 12.
   Serial transceiver for 10base2 (media type 65).
    CSR13 0009  CSR14 0705  CSR15 0003.
    GP pin direction 0821  GP pin data 0005.
EEPROM contents (64 words):
0x00:  1109 2b00 0000 0000 0000 0000 0000 0000  ___+____________
0x08:  00b4 0103 e000 b17d 477b 2800 0000 0000  ______}_{G_(____
0x10:  0000 0000 0000 0000 0800 9702 0003 2102  _______________!
0x18:  0108 0300 0821 0001 0001 7800 01e0 5000  ____!______x___P
0x20:  1800 8c00 4102 0009 0705 0003 0821 0005  _____A______!___
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 042b e94e  ____________+_N_
 ID block CRC 0xb4 (vs. 0xb4).
  Full contents CRC 0xe94e (read as 0xe94e).
 MII PHY found at address 1, status 0x782d.
  Internal autonegotiation state is 'Autonegotiation disabled'.
Index #2: Found a Digital DS21143 Tulip adapter at 0xa000.
Digital DS21143 Tulip chip registers at 0xa000:
 0x00: f8a08000 ffffffff ffffffff 0009d010 0009d210 f0660000 b20e2202
fbfffbff
 0x40: e0000000 fff583ff ffffffff 00000000 000000c6 ffff0000 fff80000
8ff1c003
 Port selection is MII, full-duplex.
 Transmit started, Receive started.
  The Rx process state is 'Waiting for packets'.
  The Tx process state is 'Idle'.
  The transmit threshold is 128.
  The NWay status register is 000000c6.
EEPROM 64 words, 6 address bits.
PCI Subsystem IDs, vendor 1109, device 2b00.
CardBus Information Structure at offset 00000000.
Ethernet MAC Station Address 00:E0:7D:B1:75:74.
EEPROM transceiver/media description table.
Leaf node at offset 40, default media type 0800 (Autosense).
 2 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 0001.
   21143 MII reset sequence is 3 words: 0821 0001 0001.
    Media capabilities are 7800, advertising 01e1.
    Full-duplex map 5000, Threshold map 1800.
    No MII interrupt.
  Media 10base2, block type 2, length 12.
   Serial transceiver for 10base2 (media type 65).
    CSR13 0009  CSR14 0705  CSR15 0003.
    GP pin direction 0821  GP pin data 0005.
EEPROM contents (64 words):
0x00:  1109 2b00 0000 0000 0000 0000 0000 0000  ___+____________
0x08:  00b4 0103 e000 b17d 7475 2800 0000 0000  ______}_ut_(____
0x10:  0000 0000 0000 0000 0800 9702 0003 2102  _______________!
0x18:  0108 0300 0821 0001 0001 7800 01e0 5000  ____!______x___P
0x20:  1800 8c00 4102 0009 0705 0003 0821 0005  _____A______!___
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 042b 724b  ____________+_Kr
 ID block CRC 0xb4 (vs. 0xb4).
  Full contents CRC 0x724b (read as 0x724b).
 MII PHY found at address 1, status 0x782d.
  Internal autonegotiation state is 'Autonegotiation disabled'.




And now the faulty one:

tulip-diag.c:v2.17 5/6/2003 Donald Becker (becker at scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a Digital DS21143 Tulip adapter at 0xa400.
Digital DS21143 Tulip chip registers at 0xa400:
 0x00: f8a05000 ffffffff ffffffff 01365000 01365800 f0260000 b3862002
fbfffbff
 0x40: e0000000 fff483ff ffffffff 00000000 000000c6 ffff0001 fffbff7f
8ff2c008
 Port selection is 100mbps-SYM/PCS 100baseTx scrambler, half-duplex.
 Transmit started, Receive started.
  The Rx process state is 'Waiting for packets'.
  The Tx process state is 'Waiting for Tx to finish'.
  The transmit threshold is 128.
  The NWay status register is 000000c6.
EEPROM 64 words, 6 address bits.
PCI Subsystem IDs, vendor 1109, device 2b00.
CardBus Information Structure at offset 00000000.
Ethernet MAC Station Address 00:E0:7D:B1:7B:47.
EEPROM transceiver/media description table.
Leaf node at offset 40, default media type 0800 (Autosense).
 2 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 0001.
   21143 MII reset sequence is 3 words: 0821 0001 0001.
    Media capabilities are 7800, advertising 01e1.
    Full-duplex map 5000, Threshold map 1800.
    No MII interrupt.
  Media 10base2, block type 2, length 12.
   Serial transceiver for 10base2 (media type 65).
    CSR13 0009  CSR14 0705  CSR15 0003.
    GP pin direction 0821  GP pin data 0005.
EEPROM contents (64 words):
0x00:  1109 2b00 0000 0000 0000 0000 0000 0000  ___+____________
0x08:  00b4 0103 e000 b17d 477b 2800 0000 0000  ______}_{G_(____
0x10:  0000 0000 0000 0000 0800 9702 0003 2102  _______________!
0x18:  0108 0300 0821 0001 0001 7800 01e0 5000  ____!______x___P
0x20:  1800 8c00 4102 0009 0705 0003 0821 0005  _____A______!___
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 042b e94e  ____________+_N_
 ID block CRC 0xb4 (vs. 0xb4).
  Full contents CRC 0xe94e (read as 0xe94e).
   No MII transceivers found!
  Internal autonegotiation state is 'Autonegotiation disabled'.
Index #2: Found a Digital DS21143 Tulip adapter at 0xa000.
Digital DS21143 Tulip chip registers at 0xa000:
 0x00: f8000000 ffffffff ffffffff 0009d010 0009d210 f0000000 b2420200
f3fe0000
 0x40: e0000000 fff583ff ffffffff 00000000 000020c6 ffff0001 fffbffff
8ff0c008
 Port selection is 10mpbs-serial, full-duplex.
 Transmit stopped, Receive stopped.
  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 2b00.
CardBus Information Structure at offset 00000000.
Ethernet MAC Station Address 00:E0:7D:B1:75:74.
EEPROM transceiver/media description table.
Leaf node at offset 40, default media type 0800 (Autosense).
 2 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 0001.
   21143 MII reset sequence is 3 words: 0821 0001 0001.
    Media capabilities are 7800, advertising 01e1.
    Full-duplex map 5000, Threshold map 1800.
    No MII interrupt.
  Media 10base2, block type 2, length 12.
   Serial transceiver for 10base2 (media type 65).
    CSR13 0009  CSR14 0705  CSR15 0003.
    GP pin direction 0821  GP pin data 0005.
EEPROM contents (64 words):
0x00:  1109 2b00 0000 0000 0000 0000 0000 0000  ___+____________
0x08:  00b4 0103 e000 b17d 7475 2800 0000 0000  ______}_ut_(____
0x10:  0000 0000 0000 0000 0800 9702 0003 2102  _______________!
0x18:  0108 0300 0821 0001 0001 7800 01e0 5000  ____!______x___P
0x20:  1800 8c00 4102 0009 0705 0003 0821 0005  _____A______!___
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 042b 724b  ____________+_Kr
 ID block CRC 0xb4 (vs. 0xb4).
  Full contents CRC 0x724b (read as 0x724b).
   No MII transceivers found!
  Internal autonegotiation state is 'Ability detect'.

-- 
Sincerely,                                                          srb at cuci.nl
           Stephen R. van den Berg (AKA BuGless).

A truly wise man never plays leapfrog with a unicorn.


More information about the tulip mailing list