[netdrivers] Re: Problem with sundance driver with DFE-580TX

Dalimil Gala konve at logout.cz
Tue Oct 25 05:32:22 PDT 2005


Hello,

I have very similar or identical(?) troubles with D-Link DFE-580TX 4port 
network card in Linux router(s) with Debian Woody and customized vanilla 
2.4.26 kernel, patched with FreeS/WAN (v2.05) kernel patch.

Running the 2.4.26 Linux kernel driver (1.01+LK1.09a "10-Jul-2003") 
problems begin when average traffic reaches 2 Mbit/s each direction. 
Then I can see following errors in dmesg every few minutes:

NETDEV WATCHDOG: eth6: transmit timed out
eth6: Transmit timed out, TxStatus 00 TxFrameId 1b, 
resetting...(continued at the bottom of my message)

So the port is reset successfully without manual intervention.

---

With the sundance.c (v1.11 2/4/2003) and pci-scan.c (v1.12 7/30/2003) 
from http://www.scyld.com/ethercard_drivers.html
it seems to work without resetting (I did heavy netperf TCP stream 
tests, two simultaneous streams for upload / download through the router 
using two ethernet ports on the D-Link card).

Although there is no more resetting now we have found out that the 
driver (or whatever behind the scene) ignores or filters out incoming 
multicast RIP packets from RIP neighbours. But as soon as I start 
tcpdump the RIP packets come through OK (doesn't matter if I use the -p 
switch in tcpdump or not)! When the tcpdump is stopped the RIP packets 
become ignored again and the RIP routes die off. We use zebra / quagga  
as routing daemon - quagga_0.96.5-8.backports.org.1_i386.deb with MD5 
support for BGP sessions. The router usually runs RIP and BGP.

Any help or suggestion would be appreciated

Best regards
  Dalimil Gala
 
----  
 
NETDEV WATCHDOG: eth6: transmit timed out
eth6: Transmit timed out, TxStatus 00 TxFrameId 1b, resetting...
00 1e972000 1e972010 00000001(00) 0f10f812 8000003e
01 1e972010 1e972020 00000005(01) 06f9f812 8000003e
02 1e972020 1e972030 00000009(02) 0963e012 80000036
03 1e972030 1e972040 0000000d(03) 1f2fe012 8000005a
04 1e972040 1e972050 00000011(04) 1efac812 8000003e
05 1e972050 1e972060 00000015(05) 0dbb6812 8000003e
06 1e972060 1e972070 00000019(06) 0b5fd812 8000003e
07 1e972070 1e972080 0001001d(07) 0b5fd012 8000003e
08 1e972080 1e972090 00010021(08) 0c7fb812 8000003e
09 1e972090 1e9720a0 00010025(09) 0c2a3812 8000003e
0a 1e9720a0 1e9720b0 00010029(0a) 02ece812 80000036
0b 1e9720b0 1e9720c0 0001002d(0b) 123ba012 80000042
0c 1e9720c0 1e9720d0 00010031(0c) 0ad71812 80000042
0d 1e9720d0 1e9720e0 00010035(0d) 056c0812 8000003e
0e 1e9720e0 1e9720f0 00010039(0e) 0e77a012 8000003e
0f 1e9720f0 1e972100 0001003d(0f) 1e117012 8000003e
10 1e972100 1e972110 00010041(10) 1ef79812 8000003e
11 1e972110 1e972120 00010045(11) 1d924812 8000003e
12 1e972120 1e972130 00010049(12) 0bb74812 8000003e
13 1e972130 1e972140 0001004d(13) 0a0d2012 8000005a
14 1e972140 1e972150 00010051(14) 10b91812 800005b6
15 1e972150 1e972160 00010055(15) 09897012 80000036
16 1e972160 1e972170 00010059(16) 0dbb6012 80000098
17 1e972170 1e972180 0001005d(17) 1d2d6812 800005b6
18 1e972180 1e972190 00010061(18) 1dcee812 80000036
19 1e972190 1e9721a0 00010065(19) 1428d812 8000003e
1a 1e9721a0 1e9721b0 00010069(1a) 1e152012 8000003e
1b 1e9721b0 00000000 0001806d(1b) 0d6ac012 8000003e
1c 1e9721c0 1e9721d0 00010071(1c) 00000000 00000000
1d 1e9721d0 1e9721e0 00018075(1d) 00000000 00000000
1e 1e9721e0 1e9721f0 00000079(1e) 0ac0b012 8000003e
1f 1e9721f0 1e972000 0000007d(1f) 1e025812 8000003e
TxListPtr=00000000 netif_queue_stopped=1
cur_tx=60(1c) dirty_tx=30(1e)
cur_rx=52 dirty_rx=52
cur_task=60

---

./alta-diag -m -a -e -f
(not all eth ports connected)

alta-diag.c:v2.04 2/28/2005 Donald Becker (becker at scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a Sundance Technology Alta adapter at 0xb800.
 Station address 00:05:5d:e6:21:35.
  Receive mode is 0x15: Normal unicast and hashed multicast.
  MAC mode is 0000: half duplex.
  Tx status 00, threshold 8188.
  Interrupt status is 0000: No interrupts pending.
 EEPROM address length 8, 256 words.
 EEPROM Subsystem IDs, Vendor 1186 Device 1012.
  EEPROM Station address is 00:05:5d:e6:21:35.
  Configuration 2afc, ASIC Control c063.
  Checksum 50ce
 MII PHY found at address 0, status 0x782d.
 MII PHY found at address 1, status 0x782d.
 MII PHY #0 transceiver registers:
   1000 782d 0022 1630 05e1 0020 0004 2001
   1000 782d 0022 1630 05e1 0020 0004 2001
   1000 782d 0022 1630 05e1 0020 0004 2001
   0000 0000 0000 0000 0000 0000 0000 0000.
 MII PHY #1 transceiver registers:
   1000 782d 0022 1630 05e1 0020 0004 2001
   1000 782d 0022 1630 05e1 0020 0004 2001
   1000 782d 0022 1630 05e1 0020 0004 2001
   0000 0000 0000 0000 0000 0000 0000 0000.
libmii.c:v2.11 2/28/2005  Donald Becker (becker at scyld.com)
 http://www.scyld.com/diag/index.html
 MII PHY #0 transceiver registers:
   1000 782d 0022 1630 05e1 0020 0004 2001
   1000 782d 0022 1630 05e1 0020 0004 2001
   1000 782d 0022 1630 05e1 0020 0004 2001
   0000 0000 0000 0000 0000 0000 0000 0000.
 Basic mode control register 0x1000: Auto-negotiation enabled.
 Basic mode status register 0x782d ... 782d.
   Link status: established.
   Capable of  100baseTx-FD 100baseTx 10baseT-FD 10baseT.
   Able to perform Auto-negotiation, negotiation complete.
 Vendor ID is 00:08:85:--:--:--, model 35 rev. 0.
   Vendor/Part: Alta/Kendin Sundance.
 I'm advertising 05e1: Flow-control 100baseTx-FD 100baseTx 10baseT-FD 
10baseT
   Advertising no additional info pages.
   IEEE 802.3 CSMA/CD protocol.
 Link partner capability is 0020: 10baseT.
   Negotiation did not complete.
Index #2: Found a Sundance Technology Alta adapter at 0xb400.
 Station address 00:05:5d:e6:21:36.
  Receive mode is 0x00: Uninitialized/disabled.
  MAC mode is 0000: half duplex.
  Tx status 00, threshold 8188.
  Interrupt status is 0100: Link status changed
 EEPROM address length 8, 256 words.
 EEPROM Subsystem IDs, Vendor 1186 Device 1012.
  EEPROM Station address is 00:05:5d:e6:21:36.
  Configuration 2afc, ASIC Control c063.
  Checksum a842
 MII PHY found at address 0, status 0x7809.
 MII PHY found at address 1, status 0x7809.
 MII PHY #0 transceiver registers:
   1000 7809 0022 1630 05e1 45e1 0004 2001
   1000 7809 0022 1630 05e1 45e1 0004 2001
   1000 7809 0022 1630 05e1 45e1 0004 2001
   0000 0000 0000 0000 0000 0000 0000 0000.
 MII PHY #1 transceiver registers:
   1000 7809 0022 1630 05e1 45e1 0004 2001
   1000 7809 0022 1630 05e1 45e1 0004 2001
   1000 7809 0022 1630 05e1 45e1 0004 2001
   0000 0000 0000 0000 0000 0000 0000 0000.
libmii.c:v2.11 2/28/2005  Donald Becker (becker at scyld.com)
 http://www.scyld.com/diag/index.html
 MII PHY #0 transceiver registers:
   1000 7809 0022 1630 05e1 45e1 0004 2001
   1000 7809 0022 1630 05e1 45e1 0004 2001
   1000 7809 0022 1630 05e1 45e1 0004 2001
   0000 0000 0000 0000 0000 0000 0000 0000.
 Basic mode control register 0x1000: Auto-negotiation enabled.
 Basic mode status register 0x7809 ... 7809.
   Link status: not established.
   Capable of  100baseTx-FD 100baseTx 10baseT-FD 10baseT.
   Able to perform Auto-negotiation, negotiation not complete.
 Vendor ID is 00:08:85:--:--:--, model 35 rev. 0.
   Vendor/Part: Alta/Kendin Sundance.
 I'm advertising 05e1: Flow-control 100baseTx-FD 100baseTx 10baseT-FD 
10baseT
   Advertising no additional info pages.
   IEEE 802.3 CSMA/CD protocol.
 Link partner capability is 45e1: Flow-control 100baseTx-FD 100baseTx 
10baseT-FD 10baseT.
   Negotiation  completed.
Index #3: Found a Sundance Technology Alta adapter at 0xb000.
 Station address 00:05:5d:e6:21:37.
  Receive mode is 0x15: Normal unicast and hashed multicast.
  MAC mode is 0120: full duplex NON-ETHERNET-STANDARD FEATURES SET.
  Tx status 00, threshold 8188.
  Interrupt status is 0000: No interrupts pending.
 EEPROM address length 8, 256 words.
 EEPROM Subsystem IDs, Vendor 1186 Device 1012.
  EEPROM Station address is 00:05:5d:e6:21:37.
  Configuration 2afc, ASIC Control c063.
  Checksum ffc6
 MII PHY found at address 0, status 0x7809.
 MII PHY found at address 1, status 0x7809.
 MII PHY #0 transceiver registers:
   1000 7809 0022 1630 05e1 45e1 0004 2001
   1000 7809 0022 1630 05e1 45e1 0004 2001
   1000 7809 0022 1630 05e1 45e1 0004 2001
   0000 0000 0000 0000 0000 0000 0000 0000.
 MII PHY #1 transceiver registers:
   1000 7809 0022 1630 05e1 45e1 0004 2001
   1000 7809 0022 1630 05e1 45e1 0004 2001
   1000 7809 0022 1630 05e1 45e1 0004 2001
   0000 0000 0000 0000 0000 0000 0000 0000.
libmii.c:v2.11 2/28/2005  Donald Becker (becker at scyld.com)
 http://www.scyld.com/diag/index.html
 MII PHY #0 transceiver registers:
   1000 7809 0022 1630 05e1 45e1 0004 2001
   1000 7809 0022 1630 05e1 45e1 0004 2001
   1000 7809 0022 1630 05e1 45e1 0004 2001
   0000 0000 0000 0000 0000 0000 0000 0000.
 Basic mode control register 0x1000: Auto-negotiation enabled.
 Basic mode status register 0x7809 ... 7809.
   Link status: not established.
   Capable of  100baseTx-FD 100baseTx 10baseT-FD 10baseT.
   Able to perform Auto-negotiation, negotiation not complete.
 Vendor ID is 00:08:85:--:--:--, model 35 rev. 0.
   Vendor/Part: Alta/Kendin Sundance.
 I'm advertising 05e1: Flow-control 100baseTx-FD 100baseTx 10baseT-FD 
10baseT
   Advertising no additional info pages.
   IEEE 802.3 CSMA/CD protocol.
 Link partner capability is 45e1: Flow-control 100baseTx-FD 100baseTx 
10baseT-FD 10baseT.
   Negotiation  completed.
Index #4: Found a Sundance Technology Alta adapter at 0xa800.
 Station address 00:05:5d:e6:21:38.
  Receive mode is 0x15: Normal unicast and hashed multicast.
  MAC mode is 0120: full duplex NON-ETHERNET-STANDARD FEATURES SET.
  Tx status 00, threshold 8188.
  Interrupt status is 0000: No interrupts pending.
 EEPROM address length 8, 256 words.
 EEPROM Subsystem IDs, Vendor 1186 Device 1012.
  EEPROM Station address is 00:05:5d:e6:21:38.
  Configuration 2afc, ASIC Control c063.
  Checksum 8ea8
 MII PHY found at address 0, status 0x782d.
 MII PHY found at address 1, status 0x782d.
 MII PHY #0 transceiver registers:
   1000 782d 0022 1630 05e1 4181 0017 2001
   1000 782d 0022 1630 05e1 4181 0017 2001
   1000 782d 0022 1630 05e1 4181 0017 2001
   0000 0000 0000 0000 0000 0000 0000 0000.
 MII PHY #1 transceiver registers:
   1000 782d 0022 1630 05e1 4181 0017 2001
   1000 782d 0022 1630 05e1 4181 0017 2001
   1000 782d 0022 1630 05e1 4181 0017 2001
   0000 0000 0000 0000 0000 0000 0000 0000.
libmii.c:v2.11 2/28/2005  Donald Becker (becker at scyld.com)
 http://www.scyld.com/diag/index.html
 MII PHY #0 transceiver registers:
   1000 782d 0022 1630 05e1 4181 0017 2001
   1000 782d 0022 1630 05e1 4181 0017 2001
   1000 782d 0022 1630 05e1 4181 0017 2001
   0000 0000 0000 0000 0000 0000 0000 0000.
 Basic mode control register 0x1000: Auto-negotiation enabled.
 Basic mode status register 0x782d ... 782d.
   Link status: established.
   Capable of  100baseTx-FD 100baseTx 10baseT-FD 10baseT.
   Able to perform Auto-negotiation, negotiation complete.
 Vendor ID is 00:08:85:--:--:--, model 35 rev. 0.
   Vendor/Part: Alta/Kendin Sundance.
 I'm advertising 05e1: Flow-control 100baseTx-FD 100baseTx 10baseT-FD 
10baseT
   Advertising no additional info pages.
   IEEE 802.3 CSMA/CD protocol.
 Link partner capability is 4181: 100baseTx-FD 100baseTx.
   Negotiation  completed.




More information about the netdrivers mailing list