Alpha, 0.89H, link change - the next one..

Gerhard Schneider gs@ilfb.tuwien.ac.at
Mon Jul 13 07:58:36 1998


Hardware: Alpha Ruffian - 164UX w/ 4MB L3-Cache
          21143PC chip on board
tulip.o: 0.89H

Today my 164UX board w/ 2 MB L3-Cache and onboard 21143 has been replaced
with a 164UX board w/ 4 MB L3-Cache and onboard 21143..

After that 100MBit negotiation doesn't work (the next one..).

With the old board I was able to connect 100TX-FD to the switch (so I assume
hardware ok). With the new board only 10T-HD is working..

cat /proc/pci:

  Bus  0, device  15, function  0:
    Ethernet controller: DEC DC21142 (rev 48).
      Medium devsel.  Fast back-to-back capable.  IRQ 44.  Master Capable.  
      Latency=32.  Min Gnt=20.Max Lat=40.
      I/O at 0x2100.
      Non-prefetchable 32 bit memory at 0x8150000.

After inserting the tulip module:

tulip.c:v0.89H 5/23/98 becker@cesdis.gsfc.nasa.gov
eth0: Digital DS21142/3 Tulip at 0x2100, 00 00 f0 51 0f 26, IRQ 44.
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.

When connecting to the 100TX switch the new board produces messages like:
Jul 13 14:17:49 localhost kernel: eth0: 21142 100baseTx sensed media.
Jul 13 14:17:49 localhost kernel: eth0: 21142 100baseTx link beat good.

When trying to load the driver with 100TX-FD selection (-option 5) I get:
eth0: 21142 link change, CSR5 = f8668000.
eth0: 21142 link status interrupt 000000c4, CSR5 f8668000.
eth0: interrupt  csr5=0xf0660000 new csr5=0xf0660000.
eth0: exiting interrupt, csr5=0xf0660000.
eth0: interrupt  csr5=0xf8668000 new csr5=0xf8668000.
eth0: 21142 link change, CSR5 = f8668000.
eth0: 21142 link status interrupt 000000c6, CSR5 f8668000.
eth0: interrupt  csr5=0xf0660000 new csr5=0xf0660000.
eth0: exiting interrupt, csr5=0xf0660000.
eth0: interrupt  csr5=0xf8668000 new csr5=0xf8668000.


Any ideas?

                                        Gerhard Schneider

P.S.:
I'm not able to compile a working tulip_diag, it fails:

./tulip-diag
tulip-diag.c:v1.03 5/20/98 Donald Becker (becker@cesdis.gsfc.nasa.gov)
Chip Index #1: Found a DC21142 Tulip card at PCI bus 0, device 15 I/O 0x2100.
Segmentation fault

tulip-diag: memory violation at pc=15555701970 rp=120001274 (bad address = 00000030)


-- 
Gerhard Schneider                               e-Mail: gs@ilfb.tuwien.ac.at 
Institute of Light Weight Structures (E317)     Tel.:   +43 1 58801 3711     
Technical University of Vienna / Austria        Fax:    +43 1 505 44 68
A-1040 Wien, Gusshausstrasse 27-29              http://ilfb.tuwien.ac.at/~gs/