21143 running with 220kB/sec

Kurt Huwig kurt@huwig.de
Tue Dec 14 09:38:16 1999


Dies ist eine mehrteilige Nachricht im MIME-Format.
--------------A0953642CF4944B065C207CE
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hello!

I have problems with a 21143 card running full duplex connected to a
switch:

> cat /proc/pci

Bus  0, device  18, function  0:
    Ethernet controller: DEC DC21142 (rev 65).
      Medium devsel.  Fast back-to-back capable.  IRQ 11.  Master
Capable.  Latency=64.  Min Gnt=20.Max Lat=40.
      I/O at 0xdc80 [0xdc81].
      Non-prefetchable 32 bit memory at 0xdffffc00 [0xdffffc00].

Machines are PII-350 and K6-III-400; output from 'tulip-diag' is
attached.

I do a 'ttcp'-test and get about 220kB/sec. When I disconnect and
reconnect the machine from the switch, the full-duplex-lamp on the
switch goes off and I get about 8000kB/sec.

I tested this with 2.2.10 and 2.2.13. The most recent driver was:

tulip.c:v0.91e 5/27/99 becker@cesdis.gsfc.nasa.gov
eth0: Digital DS21143 Tulip rev 65 at 0xdc80, 00:C0:CA:16:11:4B, 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.

Then I tried a RTL8139 card in the same machine and it has 8000kB/sec
with FD on. I tried several cards and several switches without any
differences.

I don't have this problems with a 21140. This card keeps the FD even
when disconnected/reconnected from the switch.

Any clues?

Kurt
-- 
----------------------------------------------------------
Personally, I'm thinking I should've taken the blue pill.
--------------A0953642CF4944B065C207CE
Content-Type: text/plain; charset=us-ascii;
 name="tulip-diag.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="tulip-diag.txt"

tulip-diag.c:v1.19 10/2/99 Donald Becker (becker@cesdis.gsfc.nasa.gov)
Index #1: Found a Digital DS21143 Tulip adapter at 0xdc80.
Digital DS21143 Tulip chip registers at 0xdc80:
  f8a08000 ffffffff ffffffff 004fe010 004fe210 f0000102 b3860200 f3fe0000
  e0000000 fff583ff ffffffff 00000000 41e1d2cc ffff0001 fffbffff 8ffdc008
 Port selection is 100mbps-SYM/PCS 100baseTx scrambler, full-duplex.
 Transmit stopped, Receive stopped, full-duplex.
  The Rx process state is 'Stopped'.
  The Tx process state is 'Stopped'.
  The transmit threshold is 128.
  The NWay status register is 41e1d2cc.
EEPROM size is 6.
PCI Subsystem IDs, vendor 1113, device 1207.
CardBus Information Structure at offset 00000000.
Ethernet MAC Station Address 00:C0:CA:16:11:4B.
EEPROM transceiver/media description for the Digital DS21143 Tulip chip.
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.
    No media detection indication (command 80 61).
   No MII transceivers found!
  Internal autonegotiation state is 'Negotiation complete'.


--------------A0953642CF4944B065C207CE--