[tulip] EtherExpress Mobile fails to negotiate 100Mbps

Adrian deLisser adriand@tampabay.rr.com
Fri Nov 22 16:23:03 2002


I have an EtherExpress PRO/100 Mobile Adapter 32-bit CardBus card that
I'm using with RH 8.0. The card and tulip driver (tulip.c:v0.95
6/21/2002) work when connected to a 10Mbps HDX network, but not at
100Mbps FDX (one network is a 10Mbps hub, the other a 100Mbps switch).

The driver in RH 8.0 did not work at all, so I downloaded and compiled
pci-scan, tulip and tulip-diag from scyld. Below I've included the
output from 'tulip-diag -eee' after installing the tulip module, and
after initializing the network.

With the card connected to a 10/100 autosensing port, I invoke 'modprobe
tulip', then tulip-diag reports:

---------------------------------------------------------------------
tulip-diag.c:v2.13b 9/14/2002 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a Digital DS21143 Tulip adapter at 0x4800.
 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 45e192c7.
EEPROM 64 words, 6 address bits.
PCI Subsystem IDs, vendor 8086, device 0001.
CardBus Information Structure at offset 00000087.
Ethernet MAC Station Address 00:A0:C9:BB:00:A4.
EEPROM transceiver/media description table.
Leaf node at offset 30, default media type 0800 (Autosense).
 4 transceiver description blocks:
  Media 10baseT, block type 2, length 6.
   Serial transceiver for 10baseT (media type 0).
    GP pin direction 08af  GP pin data 00a5.
  Media 10baseT-Full Duplex, block type 2, length 6.
   Serial transceiver for 10baseT-Full Duplex (media type 4).
    GP pin direction 08af  GP pin data 00a5.
  Media 100baseTx, block type 4, length 8.
   SYM transceiver for 100baseTx (media type 3).
    GP pin direction 08af  GP pin data 00a5.
    No media detection indication (command 80 61).
  Media 100baseTx Full Duplex, block type 4, length 8.
   SYM transceiver for 100baseTx Full Duplex (media type 5).
    GP pin direction 08af  GP pin data 00a5.
    Media detection by looking for a 1 on general purpose pin 0.
EEPROM contents (64 words):
0x00:  8086 0001 0087 0000 0000 0000 0000 0000  ________________
0x08:  00c4 0103 a000 bbc9 a400 1e00 0000 0800  ________________
0x10:  8604 0002 08af 00a5 0286 af04 a508 8800  ________________
0x18:  0304 08af 00a5 8061 0488 af05 a508 6100  ______a________a
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 2c7f  _______________,
 ID block CRC 0xc4 (vs. 0xc4).
  Full contents CRC 0x2c7f (read as 0x2c7f).
The station address is 00:a0:c9:bb:00:a4
New EEPROM contents would be:
  8086 0001 0087 0000 0000 0000 0000 0000
  00c4 0103 a000 bbc9 a400 1e00 0000 0800
  8604 0002 08af 00a5 0286 af04 a508 8800
  0304 08af 00a5 8061 0488 af05 a508 6100
  0000 0000 0000 0000 0000 0000 0000 0000
  0000 0000 0000 0000 0000 0000 0000 0000
  0000 0000 0000 0000 0000 0000 0000 0000
  0000 0000 0000 0000 0000 0000 0000 2c7f
 ID CRC 0xc4 (vs. 0xc4), complete CRC 2c7f.
  Internal autonegotiation state is 'Transmit disabled'.
-------------------------------------------------------------------------

After, initializing the network (/etc/init.d/network start), tulip-diag
reports:

-------------------------------------------------------------------------
tulip-diag.c:v2.13b 9/14/2002 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a Digital DS21143 Tulip adapter at 0x4800.
 Port selection is 100mbps-SYM/PCS 100baseTx scrambler, full-duplex.
 Transmit stopped, Receive stopped.
  The Rx process state is 'Stopped'.
  The Tx process state is 'Stopped'.
  The transmit threshold is 128.
  The NWay status register is 000020c7.
EEPROM 64 words, 6 address bits.
PCI Subsystem IDs, vendor 8086, device 0001.
CardBus Information Structure at offset 00000087.
Ethernet MAC Station Address 00:A0:C9:BB:00:A4.
EEPROM transceiver/media description table.
Leaf node at offset 30, default media type 0800 (Autosense).
 4 transceiver description blocks:
  Media 10baseT, block type 2, length 6.
   Serial transceiver for 10baseT (media type 0).
    GP pin direction 08af  GP pin data 00a5.
  Media 10baseT-Full Duplex, block type 2, length 6.
   Serial transceiver for 10baseT-Full Duplex (media type 4).
    GP pin direction 08af  GP pin data 00a5.
  Media 100baseTx, block type 4, length 8.
   SYM transceiver for 100baseTx (media type 3).
    GP pin direction 08af  GP pin data 00a5.
    No media detection indication (command 80 61).
  Media 100baseTx Full Duplex, block type 4, length 8.
   SYM transceiver for 100baseTx Full Duplex (media type 5).
    GP pin direction 08af  GP pin data 00a5.
    Media detection by looking for a 1 on general purpose pin 0.
EEPROM contents (64 words):
0x00:  8086 0001 0087 0000 0000 0000 0000 0000  ________________
0x08:  00c4 0103 a000 bbc9 a400 1e00 0000 0800  ________________
0x10:  8604 0002 08af 00a5 0286 af04 a508 8800  ________________
0x18:  0304 08af 00a5 8061 0488 af05 a508 6100  ______a________a
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 2c7f  _______________,
 ID block CRC 0xc4 (vs. 0xc4).
  Full contents CRC 0x2c7f (read as 0x2c7f).
The station address is 00:a0:c9:bb:00:a4
New EEPROM contents would be:
  8086 0001 0087 0000 0000 0000 0000 0000
  00c4 0103 a000 bbc9 a400 1e00 0000 0800
  8604 0002 08af 00a5 0286 af04 a508 8800
  0304 08af 00a5 8061 0488 af05 a508 6100
  0000 0000 0000 0000 0000 0000 0000 0000
  0000 0000 0000 0000 0000 0000 0000 0000
  0000 0000 0000 0000 0000 0000 0000 0000
  0000 0000 0000 0000 0000 0000 0000 2c7f
 ID CRC 0xc4 (vs. 0xc4), complete CRC 2c7f.
  Internal autonegotiation state is 'Ability detect'.
-------------------------------------------------------------------

The difference between these files is :

-------------------------------------------------------------------
4c4
<  Port selection is 10mpbs-serial, full-duplex.
---
>  Port selection is 100mbps-SYM/PCS 100baseTx scrambler, full-duplex.
8,9c8,9
<   The transmit threshold is 72.
<   The NWay status register is 45e192c7.
---
>   The transmit threshold is 128.
>   The NWay status register is 000020c7.
53c53
<   Internal autonegotiation state is 'Transmit disabled'.
---
>   Internal autonegotiation state is 'Ability detect'.
------------------------------------------------------------------

How can I get this working?

Thanks,
Adrian.