[tulip] DFE-570-TX carrier and frame errors

Lars Olsson lars@netit.se
Sun Feb 2 13:46:02 2003


Hello,

I have problem with carrier and frame errors
on an quad-port D-Link TFE-570-TX card 
the #2 nic seems to have the most problem i think it's duplex related.
But when i check with mii-diag and tulip-diag i have problem
understanding the output of mii-diag vs. tulip-diag.
For me it look's like mii-diag says 100Mb Full Duplex
and tulip-diag say's Half duplex. Please correct me if i'm wrong.

Kernel is 2.2.19 
module is
tulip.c:v0.91g-ppc 7/16/99 becker@cesdis.gsfc.nasa.gov

Router:# ifconfig eth2
Link encap:Ethernet  HWaddr 00:80:C8:CA:50:AA  
inet addr:xxx.xxx.xxx.xxx  Bcast:xxx.xxx.xxx.xxx  Mask:255.255.255.252
UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
RX packets:1159510213 errors:28137397 dropped:1 overruns:0 frame:28137398
TX packets:595603970 errors:632149734 dropped:0 overruns:0 
carrier:632149734
   collisions:0 txqueuelen:100 
   Interrupt:9 Base address:0xa800 


Router:# ./tulip-diag -aef#2
tulip-diag.c:v2.16 12/17/2002 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #2: Found a Digital DS21143 Tulip adapter at 0xa800.
Digital DS21143 Tulip chip registers at 0xa800:
 0x00: f8a08000 ffffffff ffffffff 00229010 00229210 f0660000 b20e2002 
fbfffbff
 0x40: e0000000 fffd83ff ffffffff 00000000 000000c6 ffff0000 fff80000 
8ff10000
 Port selection is MII, half-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 1186, device 1112.
CardBus Information Structure at offset 00000000.
Ethernet MAC Station Address 00:80:C8:CA:50:AA.
EEPROM transceiver/media description table.
Leaf node at offset 30, default media type 0800 (Autosense).
 1 transceiver description blocks:
  Media MII, block type 3, length 13.
   MII interface PHY 0 (media type 11).
   21143 MII initialization sequence is 0 words:.
   21143 MII reset sequence is 0 words:.
    Media capabilities are 7800, advertising 01e1.
    Full-duplex map 5000, Threshold map 1800.
    No MII interrupt.
 MII PHY found at address 1, status 0x786d.
 MII PHY #1 transceiver registers:
   3100 786d 2000 5c10 01e1 4101 0005 2801
   0000 0000 0000 0000 0000 0000 0000 0000
   0a25 0000 0000 0000 0000 0000 0020 0000
   0080 0001 00a3 0100 0006 0f00 0000 0000.
  Internal autonegotiation state is 'Autonegotiation disabled'.


Router:# ./mii-diag eth2
Basic registers of MII PHY #1:  3100 786d 2000 5c10 01e1 4101 0005 2801.
 The autonegotiated capability is 0100.
The autonegotiated media type is 100baseTx-FD.
 Basic mode control register 0x3100: Auto-negotiation enabled.
 You have link beat, and everything is working OK.
 Your link partner advertised 4101: 100baseTx-FD.
   End of basic transceiver information.



Thanks.
/Lars