[tulip] No Full Duplex on DS21143-xD rev 65 (Micronet SP2500KW)

B+O Seyfarth GdbR gdbr@seyfarth.de
Wed, 31 Jan 2001 21:52:41 +0100


I am new on this list. I cannot establish a full duplex connection with
my Micronet SP2500KW (Intel/21143) NIC. (works fine with W2K) There is a
Linux 2.0 driver on the Micronet web site http://www.micronet.com.tw for
the SP2500K (w/o Wake-on-LAN). I tried to compile it but im not that deep
into Linux system programming (yet). At the end it compiled (having
modified lots of it) and it established 100baseTx-FD connection but could
not send or receive packets ... so I left it alone.

With the tulip and the de4x5 driver module, autonegotiated connections to
my 10/100-BaseTX Hub, my 100Base-TX Hub and my 10/100BaseTX switching Hub
result in 100MBit/s Half Duplex connections. As autonegotiation did not
get my NICs into Full Duplex mode, I tried to force the adapter to use a
specific mode. Forcing 100baseTx-FD results in 100baseTx-HD working fine,
forcing 10baseT-FD results in 10baseT-HD not even working.
As 100baseTx is working fine, I didn't try to find out about 10baseT-FD.

Next I tried the 0.92t driver which was supposed to fix my problem, but it
does not, see logs below. Now, I'm contacting the list hoping Don or any
other folks want to suggest what to try next.

My box is a IBM 6x86MX/233 running SuSE 7.0 / SuSE patched 2.2.16 Kernel.
   /etc/modules.conf:
     alias eth0             tulip
     options tulip          debug=6

syslog entries when starting up the network:
   tulip.c:v0.92t 1/15/2001  Written by Donald Becker <becker@scyld.com>
   Digital DS21143-xD Tulip rev 65 at 0xc4a78000, 00:C0:CA:20:35:6F, IRQ 9.
    EEPROM default media type Autosense.
    Index #0 - Media 10baseT (#0) described by a 21142 Serial PHY (2) block.
    Index #1 - Media 10baseT-FDX (#4) described by a 21142 Serial PHY (2) block.
    Index #2 - Media 100baseTx (#3) described by a 21143 SYM PHY (4) block.
    Index #3 - Media 100baseTx-FDX (#5) described by a 21143 SYM PHY (4) block.
   Restarting internal NWay autonegotiation, 0003ffff.
   tulip_open() irq 9.
   Restarting internal NWay autonegotiation, 0003ffff.
   Done tulip_open(), CSR0 f8a08000, CSR5 f0360000 CSR6 b2422202.
   interrupt  csr5=0xf0670004 new csr5=0xf0660000.
   exiting interrupt, csr5=0xf0660000.
     [last 2 messages repeated 8 times]
   N-Way autonegotiation status 000020c6, 10baseT.
   21143 negotiation failed, status 000020c6.
   Testing new 21143 media 100baseTx.
   interrupt  csr5=0xf0670004 new csr5=0xf0660000.
   Transmit error, Tx status 7fffb885.
   Transmit error, Tx status 7fffbc84.
       [last message repeated 2 times]
   exiting interrupt, csr5=0xf0660000.
   interrupt  csr5=0xf0670004 new csr5=0xf0660000.
   Transmit error, Tx status 7fffbc84.
   exiting interrupt, csr5=0xf0660000.
   interrupt  csr5=0xf8668000 new csr5=0xf8668000.
   21143 link status interrupt 000000c5, CSR5 f8668000, fffbff7f.
   21143 100baseTx link beat good.
   exiting interrupt, csr5=0xf0660000.
   interrupt  csr5=0xf0670004 new csr5=0xf0660000.
   Transmit error, Tx status 7fffb080.
   exiting interrupt, csr5=0xf0660000.
   N-Way autonegotiation status 000000c5, 100baseTx.
   interrupt  csr5=0xf0670004 new csr5=0xf0660000.
   exiting interrupt, csr5=0xf0660000.
       [last 2 messages repeated 5 times]
   N-Way autonegotiation status 000000c5, 100baseTx.
   interrupt  csr5=0xf0670004 new csr5=0xf0660000.
   exiting interrupt, csr5=0xf0660000.

tulip-diag -aeef, network up and running:
   tulip-diag.c:v2.06 1/8/2001 Donald Becker (becker@scyld.com)
   Index #1: Found a Digital DS21143 Tulip adapter at 0xe000.
   Digital DS21143 Tulip chip registers at 0xe000:
    0x00: f8a08000 ffffffff ffffffff 0306d000 0306d200 f0660000 b3862002 fbfffbff
    0x40: e0000000 fff483ff ffffffff 00000000 000000c5 ffff0001 fffbff7f 8ff8c008
    Port selection is 100mbps-SYM/PCS 100baseTx scrambler, half-duplex.
    Transmit started, Receive started, half-duplex.
     The Rx process state is 'Waiting for packets'.
     The Tx process state is 'Idle'.
     The transmit threshold is 128.
     The NWay status register is 000000c5.
   EEPROM 64 words, 6 address bits.
   PCI Subsystem IDs, vendor 1113, device 1207.
   CardBus Information Structure at offset 00000000.
   Ethernet MAC Station Address 00:C0:CA:20:35:6F.
   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.
       No media detection indication (command 80 61).
   EEPROM contents (64 words):
   0x00:  1113 1207 0000 0000 0000 0000 0000 0000
   0x08:  0090 0104 c000 20ca 6f35 1e00 0000 0800
   0x10:  8604 0002 08af 00a5 0286 af04 a508 8800
   0x18:  0304 08af 00a5 8061 0488 af05 a508 6100
   0x20:  0080 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 ec53
    ID block CRC 0x90 (vs. 0x90).
     Full contents CRC 0xec53 (read as 0xec53).
     Internal autonegotiation state is 'Autonegotiation disabled'.

syslog entries after shutting down the network:
   Shutting down ethercard, status was f0660000.
   tulip.c:v0.92t 1/15/2001  Written by Donald Becker <becker@scyld.com>
   Digital DS21143-xD Tulip rev 65 at 0xc4a78000, 00:C0:CA:20:35:6F, IRQ 9.
    EEPROM default media type Autosense.
    Index #0 - Media 10baseT (#0) described by a 21142 Serial PHY (2) block.
    Index #1 - Media 10baseT-FDX (#4) described by a 21142 Serial PHY (2) block.
    Index #2 - Media 100baseTx (#3) described by a 21143 SYM PHY (4) block.
    Index #3 - Media 100baseTx-FDX (#5) described by a 21143 SYM PHY (4) block.
   Restarting internal NWay autonegotiation, 0003ffff.

tulip-diag -aeef, network shut down:
        [lines same as above]
    0x00: f8a08000 ffffffff ffffffff 0306d000 0306d200 f8000102 b2420200 f3fe0000
    0x40: e0000000 fff583ff ffffffff 00000000 000020c7 ffff0001 fffbffff 8ff5c008
    Port selection is 10mpbs-serial, full-duplex.
    Transmit stopped, Receive stopped, full-duplex.
     The Rx process state is 'Stopped'.
     The Tx process state is 'Stopped'.
     The transmit threshold is 72.
     The NWay status register is 000020c7.
         [lines same as above]
     Internal autonegotiation state is 'Ability detect'.

mii-diag -vw, from before network start to after network shutdown:
  mii-diag.c:v2.00 4/19/2000  Donald Becker (becker@scyld.com)
  Using the default interface 'eth0'.
   MII PHY #32 transceiver registers:
     1000 7848 0000 0000 01e1 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.
   Basic mode control register 0x1000: Auto-negotiation enabled.
   Basic mode status register 0x7848 ... 7848.
     Link status: not established.
     This transceiver is capable of  100baseTx-FD 100baseTx 10baseT-FD 10baseT.
     Able to perform Auto-negotiation, negotiation not complete.
   MII PHY #32 transceiver registers:
     1000 7848 0000 0000 01e1 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.
   Basic mode control register 0x1000: Auto-negotiation enabled.
   Basic mode status register 0x7848 ... 7848.
     Link status: not established.
     Capable of  100baseTx-FD 100baseTx 10baseT-FD 10baseT.
     Able to perform Auto-negotiation, negotiation not complete.
   This transceiver has no vendor identification.
   I'm advertising 01e1: 100baseTx-FD 100baseTx 10baseT-FD 10baseT
     Advertising no additional info pages.
     IEEE 802.3 CSMA/CD protocol.
   Link partner capability is 0000:.
     Negotiation did not complete.
  15:36:27.000  Baseline value of MII BMSR (basic mode status register) is 7848.
  15:36:42.000  MII BMSR now 784c: Good link, NWay busy, No Jabber (0000).
  15:38:26.000  MII BMSR now 7848:   no link, NWay busy, No Jabber (0000).

Is there missing any helpful debugging information?

Thank you for any help!

Olav

P.S.: 10(0)baseT(x)=10(0)MBit/s over TwistedPair, HD=HalfDuplex, FD=FullDuplex.
       OK. What is 100baseFx and 100baseT4?
--
B+O Seyfarth GdbR, Werthmannstraße 6, 76131 Karlsruhe, Germany