[tulip-bug] BUG: Digital DS21143-xD Tulip rev 65 -- autoneg. takes 3 minutes

Till Immanuel Patzschke tip@internetwork-ag.de
Mon, 02 Jul 2001 20:55:10 +0200


Hi all,

still having problems w/ my IntraServer Quad-Ethernet board (tulip based). Using
driver version 0.92t I still see wierd behaviour: the autonegotiation takes very
long (3 minutes) [looks kind of arbitrary].
Linux: 2.2.18-4GB-SMP, MB: ASUS CUR-DLS (ServerWorks SE chipset), IntraServer
ITI-5232E (Quad-Ethernet)
Tulip driver: 0.92t
It seems to work better (at least on port 0) if the link type is set to fixed
100BT-FDX (only one autoneg every 60 seconds...)

Please help!!!

Thanks in advance,

Immanuel

P.S. Please put me on CC...

Please find enclosed some dumps:

Driver shows up...

Jul  2 21:35:05 ipat01 kernel: tulip.c:v0.92t 1/15/2001  Written by Donald
Becker <becker@scyld.com>
Jul  2 21:35:05 ipat01 kernel:   http://www.scyld.com/network/tulip.html
Jul  2 21:35:05 ipat01 kernel: eth4: Digital DS21143-xD Tulip rev 65 at
0xfc96f000, 00:06:2B:01:A7:D3, IRQ 19.
Jul  2 21:35:05 ipat01 kernel: eth4:  EEPROM default media type Autosense.
Jul  2 21:35:05 ipat01 kernel: eth4:  Index #0 - Media 10baseT (#0) described by
a 21142 Serial PHY (2) block.
Jul  2 21:35:05 ipat01 kernel: eth4:  Index #1 - Media 10baseT-FDX (#4)
described by a 21142 Serial PHY (2) block.
Jul  2 21:35:05 ipat01 kernel: eth4:  Index #2 - Media 100baseTx (#3) described
by a 21143 SYM PHY (4) block.
Jul  2 21:35:05 ipat01 kernel: eth4:  Index #3 - Media 100baseTx-FDX (#5)
described by a 21143 SYM PHY (4) block.
Jul  2 21:35:05 ipat01 kernel: eth4: Restarting internal NWay autonegotiation,
0003ffff.
Jul  2 21:35:05 ipat01 kernel: eth5: Digital DS21143-xD Tulip rev 65 at
0xfc971000, 00:06:2B:01:A7:D4, IRQ 29.
Jul  2 21:35:05 ipat01 kernel: eth5:  EEPROM default media type Autosense.
Jul  2 21:35:05 ipat01 kernel: eth5:  Index #0 - Media 10baseT (#0) described by
a 21142 Serial PHY (2) block.
Jul  2 21:35:05 ipat01 kernel: eth5:  Index #1 - Media 10baseT-FDX (#4)
described by a 21142 Serial PHY (2) block.
Jul  2 21:35:05 ipat01 kernel: eth5:  Index #2 - Media 100baseTx (#3) described
by a 21143 SYM PHY (4) block.
Jul  2 21:35:05 ipat01 kernel: eth5:  Index #3 - Media 100baseTx-FDX (#5)
described by a 21143 SYM PHY (4) block.
Jul  2 21:35:05 ipat01 kernel: eth5: Restarting internal NWay autonegotiation,
0003ffff.
Jul  2 21:35:05 ipat01 kernel: eth6: Digital DS21143-xD Tulip rev 65 at
0xfc973000, 00:06:2B:01:A7:D5, IRQ 30.
Jul  2 21:35:05 ipat01 kernel: eth6:  EEPROM default media type Autosense.
Jul  2 21:35:05 ipat01 kernel: eth6:  Index #0 - Media 10baseT (#0) described by
a 21142 Serial PHY (2) block.
Jul  2 21:35:05 ipat01 kernel: eth6:  Index #1 - Media 10baseT-FDX (#4)
described by a 21142 Serial PHY (2) block.
Jul  2 21:35:05 ipat01 kernel: eth6:  Index #2 - Media 100baseTx (#3) described
by a 21143 SYM PHY (4) block.
Jul  2 21:35:05 ipat01 kernel: eth6:  Index #3 - Media 100baseTx-FDX (#5)
described by a 21143 SYM PHY (4) block.
Jul  2 21:35:05 ipat01 kernel: eth6: Restarting internal NWay autonegotiation,
0003ffff.
Jul  2 21:35:05 ipat01 kernel: eth7: Digital DS21143-xD Tulip rev 65 at
0xfc975000, 00:06:2B:01:A7:D6, IRQ 31.
Jul  2 21:35:05 ipat01 kernel: eth7:  EEPROM default media type Autosense.
Jul  2 21:35:05 ipat01 kernel: eth7:  Index #0 - Media 10baseT (#0) described by
a 21142 Serial PHY (2) block.
Jul  2 21:35:05 ipat01 kernel: eth7:  Index #1 - Media 10baseT-FDX (#4)
described by a 21142 Serial PHY (2) block.
Jul  2 21:35:05 ipat01 kernel: eth7:  Index #2 - Media 100baseTx (#3) described
by a 21143 SYM PHY (4) block.
Jul  2 21:35:05 ipat01 kernel: eth7:  Index #3 - Media 100baseTx-FDX (#5)
described by a 21143 SYM PHY (4) block.
Jul  2 21:35:05 ipat01 kernel: eth7: Restarting internal NWay autonegotiation,
0003ffff.
Jul  2 21:35:05 ipat01 kernel: eth8: Digital DS21143-xD Tulip rev 65 at
0xfc977000, 00:06:2B:01:A8:A3, IRQ 23.
Jul  2 21:35:05 ipat01 kernel: eth8:  EEPROM default media type Autosense.
Jul  2 21:35:05 ipat01 kernel: eth8:  Index #0 - Media 10baseT (#0) described by
a 21142 Serial PHY (2) block.
Jul  2 21:35:05 ipat01 kernel: eth8:  Index #1 - Media 10baseT-FDX (#4)
described by a 21142 Serial PHY (2) block.
Jul  2 21:35:05 ipat01 kernel: eth8:  Index #2 - Media 100baseTx (#3) described
by a 21143 SYM PHY (4) block.
Jul  2 21:35:05 ipat01 kernel: eth8:  Index #3 - Media 100baseTx-FDX (#5)
described by a 21143 SYM PHY (4) block.
Jul  2 21:35:05 ipat01 kernel: eth8: Restarting internal NWay autonegotiation,
0003ffff.
Jul  2 21:35:05 ipat01 kernel: eth9: Digital DS21143-xD Tulip rev 65 at
0xfc979000, 00:06:2B:01:A8:A4, IRQ 29.
Jul  2 21:35:05 ipat01 kernel: eth9:  EEPROM default media type Autosense.
Jul  2 21:35:05 ipat01 kernel: eth9:  Index #0 - Media 10baseT (#0) described by
a 21142 Serial PHY (2) block.
Jul  2 21:35:05 ipat01 kernel: eth9:  Index #1 - Media 10baseT-FDX (#4)
described by a 21142 Serial PHY (2) block.
Jul  2 21:35:05 ipat01 kernel: eth9:  Index #2 - Media 100baseTx (#3) described
by a 21143 SYM PHY (4) block.
Jul  2 21:35:05 ipat01 kernel: eth9:  Index #3 - Media 100baseTx-FDX (#5)
described by a 21143 SYM PHY (4) block.
Jul  2 21:35:05 ipat01 kernel: eth9: Restarting internal NWay autonegotiation,
0003ffff.
Jul  2 21:35:05 ipat01 kernel: eth10: Digital DS21143-xD Tulip rev 65 at
0xfc97b000, 00:06:2B:01:A8:A5, IRQ 30.
Jul  2 21:35:05 ipat01 kernel: eth10:  EEPROM default media type Autosense.
Jul  2 21:35:05 ipat01 kernel: eth10:  Index #0 - Media 10baseT (#0) described
by a 21142 Serial PHY (2) block.
Jul  2 21:35:05 ipat01 kernel: eth10:  Index #1 - Media 10baseT-FDX (#4)
described by a 21142 Serial PHY (2) block.
Jul  2 21:35:05 ipat01 kernel: eth10:  Index #2 - Media 100baseTx (#3) described
by a 21143 SYM PHY (4) block.
Jul  2 21:35:05 ipat01 kernel: eth10:  Index #3 - Media 100baseTx-FDX (#5)
described by a 21143 SYM PHY (4) block.
Jul  2 21:35:05 ipat01 kernel: eth10: Restarting internal NWay autonegotiation,
0003ffff.
Jul  2 21:35:05 ipat01 kernel: eth11: Digital DS21143-xD Tulip rev 65 at
0xfc97d000, 00:06:2B:01:A8:A6, IRQ 31.
Jul  2 21:35:05 ipat01 kernel: eth11:  EEPROM default media type Autosense.
Jul  2 21:35:05 ipat01 kernel: eth11:  Index #0 - Media 10baseT (#0) described
by a 21142 Serial PHY (2) block.
Jul  2 21:35:05 ipat01 kernel: eth11:  Index #1 - Media 10baseT-FDX (#4)
described by a 21142 Serial PHY (2) block.
Jul  2 21:35:05 ipat01 kernel: eth11:  Index #2 - Media 100baseTx (#3) described
by a 21143 SYM PHY (4) block.
Jul  2 21:35:05 ipat01 kernel: eth11:  Index #3 - Media 100baseTx-FDX (#5)
described by a 21143 SYM PHY (4) block.
Jul  2 21:35:05 ipat01 kernel: eth11: Restarting internal NWay autonegotiation,
0003ffff.

Setting interface eth4 up (ifconfig eth4 172.16.254.2 up)
Jul  2 21:35:14 ipat01 kernel: eth4: tulip_open() irq 19.
Jul  2 21:35:14 ipat01 kernel: eth4: Restarting internal NWay autonegotiation,
0003ffff.
Jul  2 21:35:14 ipat01 kernel: eth4: Done tulip_open(), CSR0 f8a08000, CSR5
f0320000 CSR6 b2422202.
Jul  2 21:35:14 ipat01 kernel: eth4: interrupt  csr5=0xf0170004 new
csr5=0xf0660000.
Jul  2 21:35:14 ipat01 kernel: eth4: exiting interrupt, csr5=0xf0660000.
Jul  2 21:35:14 ipat01 kernel: eth4: interrupt  csr5=0xf0670004 new
csr5=0xf0660000.
Jul  2 21:35:14 ipat01 kernel: eth4: exiting interrupt, csr5=0xf0660000.
Jul  2 21:35:14 ipat01 kernel: eth4: interrupt  csr5=0xf0670004 new
csr5=0xf0660000.
Jul  2 21:35:14 ipat01 kernel: eth4: exiting interrupt, csr5=0xf0660000.
Jul  2 21:35:15 ipat01 kernel: eth4: interrupt  csr5=0xf0668010 new
csr5=0xf0660000.
Jul  2 21:35:15 ipat01 kernel: eth4: 21143 link status interrupt 45e1d0ce, CSR5
f0668010, fffbffff.
Jul  2 21:35:15 ipat01 kernel: eth4: Switching to 100baseTx-FDX based on link
negotiation 01e0 & 45e1 = 01e0.
Jul  2 21:35:15 ipat01 kernel: eth4:  Media table type 4.
Jul  2 21:35:15 ipat01 kernel: eth4: 21143 non-MII 100baseTx-FDX transceiver
control 08af/0005.
Jul  2 21:35:15 ipat01 kernel: eth4:  Setting CSR15 to 08af0008/00050008.
Jul  2 21:35:15 ipat01 kernel: eth4: Using media type 100baseTx-FDX, CSR12 is
ce.
Jul  2 21:35:15 ipat01 kernel: eth4:  Setting CSR6 838e0200/b38e2202 CSR12
000000ce.
Jul  2 21:35:15 ipat01 kernel: eth4: exiting interrupt, csr5=0xf0660000.
Jul  2 21:35:15 ipat01 kernel: eth4: interrupt  csr5=0xf0668010 new
csr5=0xf0660000.
Jul  2 21:35:15 ipat01 kernel: eth4: 21143 link status interrupt 0000020a, CSR5
f0668010, fffbff7f.
Jul  2 21:35:15 ipat01 kernel: eth4: 21143 100baseTx-FDX link beat failed.
Jul  2 21:35:15 ipat01 kernel: eth4: Restarting internal NWay autonegotiation,
0003ffff.
Jul  2 21:35:15 ipat01 kernel: eth4: exiting interrupt, csr5=0xf0000000.
Jul  2 21:35:17 ipat01 kernel: eth4: interrupt  csr5=0xf0008010 new
csr5=0xf0000000.
Jul  2 21:35:17 ipat01 kernel: eth4: 21143 link status interrupt 45e1d2ce, CSR5
f0008010, fffbffff.
Jul  2 21:35:17 ipat01 kernel: eth4: Switching to 100baseTx-FDX based on link
negotiation 01e0 & 45e1 = 01e0.
Jul  2 21:35:17 ipat01 kernel: eth4:  Media table type 4.
Jul  2 21:35:17 ipat01 kernel: eth4: 21143 non-MII 100baseTx-FDX transceiver
control 08af/0005.
Jul  2 21:35:17 ipat01 kernel: eth4:  Setting CSR15 to 08af0008/00050008.
Jul  2 21:35:17 ipat01 kernel: eth4: Using media type 100baseTx-FDX, CSR12 is
ce.
Jul  2 21:35:17 ipat01 kernel: eth4:  Setting CSR6 838e0200/b38e2202 CSR12
000002ce.
Jul  2 21:35:17 ipat01 kernel: eth4: interrupt  csr5=0xf0670004 new
csr5=0xf0660000.
Jul  2 21:35:17 ipat01 kernel: eth4: exiting interrupt, csr5=0xf0660000.
Jul  2 21:35:17 ipat01 kernel: eth4: interrupt  csr5=0xf0668010 new
csr5=0xf0660000.
Jul  2 21:35:17 ipat01 kernel: eth4: 21143 link status interrupt 000002c2, CSR5
f0668010, fffbff7f.
Jul  2 21:35:17 ipat01 kernel: eth4: 21143 100baseTx-FDX link beat failed.
Jul  2 21:35:17 ipat01 kernel: eth4: Restarting internal NWay autonegotiation,
0003ffff.
Jul  2 21:35:17 ipat01 kernel: eth4: exiting interrupt, csr5=0xf0000000.



snip,snip----more-of-the-same-stuff----------snip,snip

After some time we finally succeed... (somehow)

Jul  2 21:37:20 ipat01 kernel: eth4: interrupt  csr5=0xf0008010 new
csr5=0xf0000000.
Jul  2 21:37:20 ipat01 kernel: eth4: 21143 link status interrupt 45e1d2ce, CSR5
f0008010, fffbffff.
Jul  2 21:37:20 ipat01 kernel: eth4: Switching to 100baseTx-FDX based on link
negotiation 01e0 & 45e1 = 01e0.
Jul  2 21:37:20 ipat01 kernel: eth4:  Media table type 4.
Jul  2 21:37:20 ipat01 kernel: eth4: 21143 non-MII 100baseTx-FDX transceiver
control 08af/0005.
Jul  2 21:37:20 ipat01 kernel: eth4:  Setting CSR15 to 08af0008/00050008.
Jul  2 21:37:20 ipat01 kernel: eth4: Using media type 100baseTx-FDX, CSR12 is
ce.
Jul  2 21:37:20 ipat01 kernel: eth4:  Setting CSR6 838e0200/b38e2202 CSR12
000002ce.
Jul  2 21:37:20 ipat01 kernel: eth4: interrupt  csr5=0xf0670004 new
csr5=0xf0660000.
Jul  2 21:37:20 ipat01 kernel: eth4: exiting interrupt, csr5=0xf0660000.
Jul  2 21:37:20 ipat01 kernel: eth4: interrupt  csr5=0xf0668010 new
csr5=0xf0660000.
Jul  2 21:37:20 ipat01 kernel: eth4: 21143 link status interrupt 0000024a, CSR5
f0668010, fffbff7f.
Jul  2 21:37:20 ipat01 kernel: eth4: 21143 100baseTx-FDX link beat failed.
Jul  2 21:37:20 ipat01 kernel: eth4: Restarting internal NWay autonegotiation,
0003ffff.
Jul  2 21:37:20 ipat01 kernel: eth4: exiting interrupt, csr5=0xf0000000.
Jul  2 21:37:22 ipat01 kernel: eth4: interrupt  csr5=0xf0008010 new
csr5=0xf0000000.
Jul  2 21:37:22 ipat01 kernel: eth4: 21143 link status interrupt 45e1d2ce, CSR5
f0008010, fffbffff.
Jul  2 21:37:22 ipat01 kernel: eth4: Switching to 100baseTx-FDX based on link
negotiation 01e0 & 45e1 = 01e0.
Jul  2 21:37:22 ipat01 kernel: eth4:  Media table type 4.
Jul  2 21:37:22 ipat01 kernel: eth4: 21143 non-MII 100baseTx-FDX transceiver
control 08af/0005.
Jul  2 21:37:22 ipat01 kernel: eth4:  Setting CSR15 to 08af0008/00050008.
Jul  2 21:37:22 ipat01 kernel: eth4: Using media type 100baseTx-FDX, CSR12 is
ce.
Jul  2 21:37:22 ipat01 kernel: eth4:  Setting CSR6 838e0200/b38e2202 CSR12
000002ce.
Jul  2 21:37:22 ipat01 kernel: eth4: interrupt  csr5=0xf0670004 new
csr5=0xf0660000.
Jul  2 21:37:22 ipat01 kernel: eth4: exiting interrupt, csr5=0xf0660000.
Jul  2 21:37:22 ipat01 kernel: eth4: interrupt  csr5=0xf8668000 new
csr5=0xf8668000.
Jul  2 21:37:22 ipat01 kernel: eth4: 21143 link status interrupt 000002c8, CSR5
f8668000, fffbff7f.
Jul  2 21:37:22 ipat01 kernel: eth4: 21143 100baseTx-FDX link beat good.
Jul  2 21:37:22 ipat01 kernel: eth4: exiting interrupt, csr5=0xf0660000.
Jul  2 21:37:23 ipat01 kernel: eth4: N-Way autonegotiation status 00000208,
100baseTx-FDX.
Jul  2 21:37:23 ipat01 kernel: eth4: Using NWay-set 100baseTx-FDX media, csr12
00000208.
Jul  2 21:38:15 ipat01 kernel: eth4: interrupt  csr5=0xf0670040 new
csr5=0xf0660000.



--
Till Immanuel Patzschke                 mailto: tip@internetwork-ag.de
interNetwork AG                         Phone:  +49-(0)611-1731-121
Bierstadter Str. 7                      Fax:    +49-(0)611-1731-31
D-65189 Wiesbaden                       Web:    http://www.internetwork-ag.de