[tulip] XYNX 346Q and tulip 1.1.8 (kernel 2.4) still broken.

Ben Greear greearb@candelatech.com
Sat, 16 Jun 2001 14:45:31 -0700


I just tried updating to the latest 1.1.8 tulip driver from
sourceforge, and it still does not work with the ZYNX 346Q card.

The symptoms remain the same:
It says it's in auto-negotiate mode, and running 100bt-FD, but
it gets collisions.

It cannot be set to any fixed speed via the mii-diag calls.

The switch it is connected to sees it has 100bt-FD, btw.

Some data can pass, but there are massive amounts of collisions and
carrier errors.

Driver loading info, tulip-diag output, mii-diag output (and failed
attempt to set the speed to fixed) is found below here.

Thanks,
Ben

Kernel Version:

Linux version 2.4.6-pre3 (greear@grok.yi.org) (gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-81)) #1 Sat Jun 16 13:26:21 MST 2001

Driver loading information:

Jun 16 14:24:09 lf1 kernel: Linux Tulip driver version 1.1.8 (June 16, 2001)
Jun 16 14:24:09 lf1 kernel: tulip0:  EEPROM default media type Autosense.
Jun 16 14:24:09 lf1 kernel: tulip0:  Index #0 - Media 10baseT (#0) described by a 21142 Serial PHY (2) block.
Jun 16 14:24:09 lf1 kernel: tulip0:  Index #1 - Media 10baseT-FDX (#4) described by a 21142 Serial PHY (2) block.
Jun 16 14:24:09 lf1 kernel: tulip0:  Index #2 - Media 100baseTx (#3) described by a 21143 SYM PHY (4) block.
Jun 16 14:24:09 lf1 kernel: tulip0:  Index #3 - Media 100baseTx-FDX (#5) described by a 21143 SYM PHY (4) block.
Jun 16 14:24:09 lf1 kernel: eth3: Digital DS21143 Tulip rev 65 at 0xc883a000, 00:C0:95:E2:4C:0C, IRQ 10.
Jun 16 14:24:09 lf1 kernel: tulip1:  EEPROM default media type Autosense.
Jun 16 14:24:09 lf1 kernel: tulip1:  Index #0 - Media 10baseT (#0) described by a 21142 Serial PHY (2) block.
Jun 16 14:24:09 lf1 kernel: tulip1:  Index #1 - Media 10baseT-FDX (#4) described by a 21142 Serial PHY (2) block.
Jun 16 14:24:09 lf1 kernel: tulip1:  Index #2 - Media 100baseTx (#3) described by a 21143 SYM PHY (4) block.
Jun 16 14:24:09 lf1 kernel: tulip1:  Index #3 - Media 100baseTx-FDX (#5) described by a 21143 SYM PHY (4) block.
Jun 16 14:24:09 lf1 kernel: eth4: Digital DS21143 Tulip rev 65 at 0xc883c000, 00:C0:95:E2:4C:0D, IRQ 9.
Jun 16 14:24:09 lf1 kernel: tulip2:  EEPROM default media type Autosense.
Jun 16 14:24:09 lf1 kernel: tulip2:  Index #0 - Media 10baseT (#0) described by a 21142 Serial PHY (2) block.
Jun 16 14:24:09 lf1 kernel: tulip2:  Index #1 - Media 10baseT-FDX (#4) described by a 21142 Serial PHY (2) block.
Jun 16 14:24:09 lf1 kernel: tulip2:  Index #2 - Media 100baseTx (#3) described by a 21143 SYM PHY (4) block.
Jun 16 14:24:09 lf1 kernel: tulip2:  Index #3 - Media 100baseTx-FDX (#5) described by a 21143 SYM PHY (4) block.
Jun 16 14:24:09 lf1 kernel: eth5: Digital DS21143 Tulip rev 65 at 0xc883e000, 00:C0:95:E2:4C:0E, IRQ 11.
Jun 16 14:24:09 lf1 kernel: tulip3:  EEPROM default media type Autosense.
Jun 16 14:24:09 lf1 kernel: tulip3:  Index #0 - Media 10baseT (#0) described by a 21142 Serial PHY (2) block.
Jun 16 14:24:09 lf1 kernel: tulip3:  Index #1 - Media 10baseT-FDX (#4) described by a 21142 Serial PHY (2) block.
Jun 16 14:24:09 lf1 kernel: tulip3:  Index #2 - Media 100baseTx (#3) described by a 21143 SYM PHY (4) block.
Jun 16 14:24:09 lf1 kernel: tulip3:  Index #3 - Media 100baseTx-FDX (#5) described by a 21143 SYM PHY (4) block.
Jun 16 14:24:09 lf1 kernel: eth6: Digital DS21143 Tulip rev 65 at 0xc8851000, 00:C0:95:E2:4C:0F, IRQ 5.
Jun 16 14:24:10 lf1 /etc/hotplug/net.agent: register event not handled
Jun 16 14:24:10 lf1 last message repeated 3 times


Tulip-Diag information:

[root@lf1 /root]# tulip-diag -aa -ee -mm -f
tulip-diag.c:v2.07 3/31/2001 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a Digital DS21143 Tulip adapter at 0xd000.
Digital DS21143 Tulip chip registers at 0xd000:
 0x00: f9a08000 ffffffff ffffffff 05cca000 05cca200 f0660000 b386e202 fbfffbff
 0x40: e0000000 fff583ff ffffffff 00000000 000050c5 ffff0001 fffbffff 8fffc008
 Port selection is 100mbps-SYM/PCS 100baseTx scrambler, full-duplex.
 Transmit started, Receive started, full-duplex.
  The Rx process state is 'Waiting for packets'.
  The Tx process state is 'Idle'.
  The transmit threshold is 1024.
  The NWay status register is 000050c5.
EEPROM 64 words, 6 address bits.
PCI Subsystem IDs, vendor 110d, device 0013.
CardBus Information Structure at offset 00000000.
Ethernet MAC Station Address 00:C0:95:E2:4C:0C.
This table is for a multiport card with 4 controllers.
EEPROM transceiver/media description table.
Leaf node at offset 39, 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).
 The Magic Packet address is 00:00:00:00:00:00.
EEPROM contents (64 words):
0x00:  110d 0013 0000 0000 0000 0000 0000 0000
0x08:  0047 0404 c000 e295 0c4c 2704 0500 0027
0x10:  2706 0700 0027 0000 0408 0286 af00 a508
0x18:  8600 0402 08af 00a5 0488 af03 a508 6100
0x20:  8880 0504 08af 00a5 8061 0000 0000 0000
0x28:  0000 0000 0000 0000 0000 0000 0000 0000
0x30:  0000 0000 0000 0000 0000 0000 0000 0000
0x38:  0000 524a 0001 1300 0001 061f 0072 12d0
 ID block CRC 0x47 (vs. 0x47).
  Full contents CRC 0x12d0 (read as 0x12d0).
   No MII transceivers found!
  Internal autonegotiation state is 'Negotiation complete'.
Index #2: Found a Digital DS21143 Tulip adapter at 0xd400.
Digital DS21143 Tulip chip registers at 0xd400:
 0x00: f9a08000 ffffffff ffffffff 05c9f000 05c9f200 f0660000 b3862202 fbfffbff
 0x40: e0000000 fff583ff ffffffff 00000000 000050c5 ffff0001 fffbffff 8ffdc008
 Port selection is 100mbps-SYM/PCS 100baseTx scrambler, full-duplex.
 Transmit started, Receive started, full-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 000050c5.
EEPROM 64 words, 6 address bits.
PCI Subsystem IDs, vendor 110d, device 0013.
CardBus Information Structure at offset 00000000.
Ethernet MAC Station Address 00:C0:95:E2:4C:0D.
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:  110d 0013 0000 0000 0000 0000 0000 0000
0x08:  0047 0104 c000 e295 0d4c 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 524a 0001 1300 0001 061f 0072 9f51
 ID block CRC 0x47 (vs. 0x47).
  Full contents CRC 0x9f51 (read as 0x9f51).
   No MII transceivers found!
  Internal autonegotiation state is 'Negotiation complete'.
Index #3: Found a Digital DS21143 Tulip adapter at 0xd800.
Digital DS21143 Tulip chip registers at 0xd800:
 0x00: f9a08000 ffffffff ffffffff 05c96000 05c96200 f0660000 b3862202 fbfffbff
 0x40: e0000000 fff583ff ffffffff 00000000 000050c5 ffff0001 fffbffff 8ffdc008
 Port selection is 100mbps-SYM/PCS 100baseTx scrambler, full-duplex.
 Transmit started, Receive started, full-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 000050c5.
EEPROM 64 words, 6 address bits.
PCI Subsystem IDs, vendor 110d, device 0013.
CardBus Information Structure at offset 00000000.
Ethernet MAC Station Address 00:C0:95:E2:4C:0E.
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:  110d 0013 0000 0000 0000 0000 0000 0000
0x08:  0047 0104 c000 e295 0e4c 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 524a 0001 1300 0001 061f 0072 0951
 ID block CRC 0x47 (vs. 0x47).
  Full contents CRC 0x0951 (read as 0x0951).
   No MII transceivers found!
  Internal autonegotiation state is 'Negotiation complete'.
Index #4: Found a Digital DS21143 Tulip adapter at 0xdc00.
Digital DS21143 Tulip chip registers at 0xdc00:
 0x00: f9a08000 ffffffff ffffffff 05c1f000 05c1f200 f0660000 b3862202 fbfffbff
 0x40: e0000000 fff583ff ffffffff 00000000 000050c5 ffff0001 fffbffff 8ffdc008
 Port selection is 100mbps-SYM/PCS 100baseTx scrambler, full-duplex.
 Transmit started, Receive started, full-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 000050c5.
EEPROM 64 words, 6 address bits.
PCI Subsystem IDs, vendor 110d, device 0013.
CardBus Information Structure at offset 00000000.
Ethernet MAC Station Address 00:C0:95:E2:4C:0F.
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:  110d 0013 0000 0000 0000 0000 0000 0000
0x08:  0047 0104 c000 e295 0f4c 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 524a 0001 1300 0001 061f 0072 796e
 ID block CRC 0x47 (vs. 0x47).
  Full contents CRC 0x796e (read as 0x796e).
   No MII transceivers found!
  Internal autonegotiation state is 'Negotiation complete'.
[root@lf1 /root]# 


mii-diag information (details of failed attempt to set to fixed speed below too)

[root@lf1 /root]# mii-diag -v eth3
mii-diag.c:v2.00 4/19/2000  Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
 MII PHY #32 transceiver registers:
   1000 786c 0000 0000 01e1 41e1 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.
 You have link beat, and everything is working OK.
   This transceiver is capable of  100baseTx-FD 100baseTx 10baseT-FD 10baseT.
   Able to perform Auto-negotiation, negotiation complete.
 Your link partner advertised 41e1: 100baseTx-FD 100baseTx 10baseT-FD 10baseT.
 MII PHY #32 transceiver registers:
   1000 786c 0000 0000 01e1 41e1 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 0x786c ... 786c.
   Link status: established.
   Capable of  100baseTx-FD 100baseTx 10baseT-FD 10baseT.
   Able to perform Auto-negotiation, negotiation 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 41e1: 100baseTx-FD 100baseTx 10baseT-FD 10baseT.
   Negotiation  completed.
[root@lf1 /root]# 


[root@lf1 /root]# mii-diag -F 10baseT eth3
Setting the speed to "fixed", Control register 0100.
Basic registers of MII PHY #32:  1000 786c 0000 0000 01e1 41e1 0000 0000.
 Basic mode control register 0x1000: Auto-negotiation enabled.
 You have link beat, and everything is working OK.
 Your link partner advertised 41e1: 100baseTx-FD 100baseTx 10baseT-FD 10baseT.


[root@lf1 /root]# mii-diag -v eth3
mii-diag.c:v2.00 4/19/2000  Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
 MII PHY #32 transceiver registers:
   1000 786c 0000 0000 01e1 41e1 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.
 You have link beat, and everything is working OK.
   This transceiver is capable of  100baseTx-FD 100baseTx 10baseT-FD 10baseT.
   Able to perform Auto-negotiation, negotiation complete.
 Your link partner advertised 41e1: 100baseTx-FD 100baseTx 10baseT-FD 10baseT.
 MII PHY #32 transceiver registers:
   1000 786c 0000 0000 01e1 41e1 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 0x786c ... 786c.
   Link status: established.
   Capable of  100baseTx-FD 100baseTx 10baseT-FD 10baseT.
   Able to perform Auto-negotiation, negotiation 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 41e1: 100baseTx-FD 100baseTx 10baseT-FD 10baseT.
   Negotiation  completed.
[root@lf1 /root]# 


-- 
Ben Greear <greearb@candelatech.com>          <Ben_Greear@excite.com>
President of Candela Technologies Inc      http://www.candelatech.com
ScryMUD:  http://scry.wanfear.com     http://scry.wanfear.com/~greear