[tulip] EtherExpress Mobile fails to negotiate 100Mbps

Adrian deLisser adriand@tampabay.rr.com
Tue Nov 26 13:17:03 2002


Donald,

> 
> How old is this card?  
> Did you update the media table using the tulip-diag program, or does it
> have the original configuration EEPROM contents?

Media table was updated. Card is manufactured 08/21/1998 according to
DOS based utility that came with the card.

> 
> What is the message from the kernel when the card is inserted?
> 
> .. [[ initial state ]]
> >   The NWay status register is 45e192c7.
> 
> Good: the link partner is advertising 45e1:
>   It is a 10/100-HD/FD switch with flow control.
> 

Insertion messages are (from dmesg):

cs: cb_alloc(bus 1): vendor 0x1011, device 0x0019
PCI: Enabling device 01:00.0 (0000 -> 0003)
Linux Tulip driver version 0.9.14 (February 20, 2001)
divert: allocating divert_blk for eth0
PCI: Setting latency timer of device 01:00.0 to 64
eth0: Digital DS21143 Tulip rev 48 at 0x4000, 00:A0:C9:BB:00:A4, IRQ 11.
eth0:  EEPROM default media type Autosense.
eth0:  Index #0 - Media 10baseT (#0) described by a 21142 Serial PHY (2)
block.
eth0:  Index #1 - Media 10baseT-FD (#4) described by a 21142 Serial PHY
(2) block.
eth0:  Index #2 - Media 100baseTx (#3) described by a 21143 SYM PHY (4)
block.
eth0:  Index #3 - Media 100baseTx-FD (#5) described by a 21143 SYM PHY
(4) block.


> > 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.
> 
> Good port selection.
> 
> >  Transmit stopped, Receive stopped.
> >   The Rx process state is 'Stopped'.
> >   The Tx process state is 'Stopped'.
> 
> You haven't started the interface.
> 
> >   The transmit threshold is 128.
> >   The NWay status register is 000020c7.
> > 
> > Because of the way the 21143 works, we have lost the link partner
> > ability word.  But we have a report of good link beat.
> 
> Errrr, let me correct this: the status is actually 100Mbps link beat
> not detected.  The chip switched to 100baseTx mode, but the SYM
> transceiver
> is not working correctly.
> 

Below is the latest dump from 'tulip-diag -eee', again when the card is
connected to 100Mbps full duplex capable switch (Netgear FVS318). Also,
I just realised that the WinNT drivers are not working at 100Mbps
either.

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 0x4000.
 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 256.
  The NWay status register is 000000c7.
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 'Autonegotiation disabled'.

Happy Thanksgiving.

-Adrian