[netdrivers] dfe 580tx problem

abe@tvnet.hu abe@tvnet.hu
Fri Jan 31 10:45:02 2003


Howdy, 

I have a D-Link DFE-580TX card (4 interfaces).
sundance driver works, but when traffic occures i got error messages.
Plz help. 

Regards :
Abel Rekasi 


here is the data u may need to save my life : 

syslog 

Jan 31 11:18:51 kernel: eth1: D-Link DFE-580TX (Sundance ST201) at 0x4000, 
00:05:5d:e6:09:65, IRQ 3.
Jan 31 11:18:51 kernel: eth1: MII PHY found at address 1, status 0x7809 
advertising 01e1.
Jan 31 13:18:33 kernel: eth1: Transmit timed out, status 08c0, resetting...
Jan 31 13:21:13 kernel: eth1: Transmit timed out, status 08c0, resetting...
Jan 31 13:23:04 kernel: eth1: Transmit timed out, status 08c0, resetting... 

lsmod 

Module                  Size  Used by    Not tainted
sundance               11040   4
pci-scan                3796   1  [sundance]
unix                   15492  12  (autoclean) 

alta-diag 

alta-diag.c:v2.03 11/18/2002 Donald Becker (becker@scyld.com)
http://www.scyld.com/diag/index.html
Index #1: Found a Sundance Technology Alta adapter at 0x4000.
Station address 00:05:5d:e6:09:65.
 Receive mode is 0x15: Normal unicast and hashed multicast.
 MAC mode is 0020: full duplex.
 Tx status 00, threshold 8188.
 Interrupt status is 0000: No interrupts pending.
Index #2: Found a Sundance Technology Alta adapter at 0x4080.
Station address 00:05:5d:e6:09:66.
 Receive mode is 0x15: Normal unicast and hashed multicast.
 MAC mode is 0020: full duplex.
 Tx status 00, threshold 8188.
 Interrupt status is 0701: Interrupt summary Link status changed Tx DMA done 
Rx DMA done
Index #3: Found a Sundance Technology Alta adapter at 0x4400.
Station address 00:05:5d:e6:09:67.
 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.
Index #4: Found a Sundance Technology Alta adapter at 0x4480.
Station address 00:05:5d:e6:09:68.
 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.
Use '-a' or '-aa' to show device registers,
    '-e' to show EEPROM contents, -ee for parsed contents,
 or '-m' or '-mm' to show MII management registers. 

alta-diag -aa 

alta-diag.c:v2.03 11/18/2002 Donald Becker (becker@scyld.com)
http://www.scyld.com/diag/index.html
Index #1: Found a Sundance Technology Alta adapter at 0x4000.
Station address 00:05:5d:e6:09:65.
 Receive mode is 0x15: Normal unicast and hashed multicast.
 MAC mode is 0020: full duplex.
 Tx status 00, threshold 8188.
 Interrupt status is 0000: No interrupts pending.
Sundance Technology Alta chip registers at 0x4000
0x00: 0000 0000 c280 0682 0408 007f 0000 0000
0x10: c000 0682 0408 0064 c218 0000 0000 0000
0x20: 0000 0000 0000 0000 0000 0000 0000 0000
0x30: 4063 0000 659f 02ff 0000 8000 1ffc 1ffc
0x40: 0000 0000 fbfb 0800 0000 ---- 05c6 0000
0x50: 0020 2480 0500 e65d 6509 05ea 0815 0001
0x60: 0000 0000 0000 4000 0000 0000 0000 0000
0x70: 0000 0000 0000 0000 0000 0000 0000 0000
Index #2: Found a Sundance Technology Alta adapter at 0x4080.
Station address 00:05:5d:e6:09:66.
 Receive mode is 0x15: Normal unicast and hashed multicast.
 MAC mode is 0020: full duplex.
 Tx status 00, threshold 8188.
 Interrupt status is 0701: Interrupt summary Link status changed Tx DMA done 
Rx DMA done
Sundance Technology Alta chip registers at 0x4080
0x00: 001a 0000 4210 067c 0408 007f 0000 0000
0x10: 4020 067c 0408 0064 cfc2 0000 0000 0000
0x20: 0000 0000 0000 0000 0000 0000 0000 0000
0x30: 4063 0000 8a16 02ff 0000 0000 1ffc 1ffc
0x40: 0000 0000 fbfb 0100 0000 ---- 05c6 0701
0x50: 0020 2480 0500 e65d 6609 05ea 0815 0001
0x60: 0000 0000 0000 4000 0000 0000 0000 0000
0x70: 0000 0000 0000 0000 0000 0000 0000 0000
Index #3: Found a Sundance Technology Alta adapter at 0x4400.
Station address 00:05:5d:e6:09:67.
 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.
Sundance Technology Alta chip registers at 0x4400
0x00: 0000 0000 0000 0000 0408 007f 0000 0000
0x10: 9800 0679 0408 0064 dd6e 0000 0000 0000
0x20: 0000 0000 0000 0000 0000 0000 0000 0000
0x30: 4063 0000 d091 02ff 0000 0000 1ffc 1ffc
0x40: 0000 0000 fbfb 0000 0000 ---- 05c6 0000
0x50: 0000 2480 0500 e65d 6709 05ea 0815 0001
0x60: 0000 0000 0000 4000 0000 0000 0000 0000
0x70: 0000 0000 0000 0000 0000 0000 0000 0000
Index #4: Found a Sundance Technology Alta adapter at 0x4480.
Station address 00:05:5d:e6:09:68.
 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.
Sundance Technology Alta chip registers at 0x4480
0x00: 0000 0000 0000 0000 0408 007f 0000 0000
0x10: 9000 0679 0408 0064 eb1b 0000 0000 0000
0x20: 0000 0000 0000 0000 0000 0000 0000 0000
0x30: 4063 0000 37df 02ff 0000 0000 1ffc 1ffc
0x40: 0000 0000 fbfb 0000 0000 ---- 05c6 0000
0x50: 0000 2480 0500 e65d 6809 05ea 0815 0001
0x60: 0000 0000 0000 4000 0000 0000 0000 0000
0x70: 0000 0000 0000 0000 0000 0000 0000 0000 


alta-diag -e 

alta-diag.c:v2.03 11/18/2002 Donald Becker (becker@scyld.com)
http://www.scyld.com/diag/index.html
Index #1: Found a Sundance Technology Alta adapter at 0x4000.
Station address 00:05:5d:e6:09:65.
 Receive mode is 0x15: Normal unicast and hashed multicast.
 MAC mode is 0020: full 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:09:65.
 Configuration 2afc, ASIC Control c063.
 Checksum 08f8
Index #2: Found a Sundance Technology Alta adapter at 0x4080.
Station address 00:05:5d:e6:09:66.
 Receive mode is 0x15: Normal unicast and hashed multicast.
 MAC mode is 0020: full duplex.
 Tx status 00, threshold 8188.
 Interrupt status is 0701: Interrupt summary Link status changed Tx DMA done 
Rx DMA done
EEPROM address length 8, 256 words.
EEPROM Subsystem IDs, Vendor 1186 Device 1012.
 EEPROM Station address is 00:05:5d:e6:09:66.
 Configuration 2afc, ASIC Control c063.
 Checksum f074
Index #3: Found a Sundance Technology Alta adapter at 0x4400.
Station address 00:05:5d:e6:09:67.
 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:09:67.
 Configuration 2afc, ASIC Control c063.
 Checksum a7f0
Index #4: Found a Sundance Technology Alta adapter at 0x4480.
Station address 00:05:5d:e6:09:68.
 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:09:68.
 Configuration 2afc, ASIC Control c063.
 Checksum d69e 

alta-diag -m 

alta-diag.c:v2.03 11/18/2002 Donald Becker (becker@scyld.com)
http://www.scyld.com/diag/index.html
Index #1: Found a Sundance Technology Alta adapter at 0x4000.
Station address 00:05:5d:e6:09:65.
 Receive mode is 0x15: Normal unicast and hashed multicast.
 MAC mode is 0020: full duplex.
 Tx status 00, threshold 8188.
 Interrupt status is 0000: No interrupts pending.
MII PHY found at address 0, status 0x7809.
MII PHY found at address 1, status 0x7809.
MII PHY #0 transceiver registers:
  1100 7809 0022 1630 01e1 0040 0004 2001
  1100 7809 0022 1630 01e1 0040 0004 2001
  1100 7809 0022 1630 01e1 0040 0004 2001
  0000 0000 0000 0000 0000 0000 0000 0000.
MII PHY #1 transceiver registers:
  1100 7809 0022 1630 01e1 0040 0004 2001
  1100 7809 0022 1630 01e1 0040 0004 2001
  1100 7809 0022 1630 01e1 0040 0004 2001
  0000 0000 0000 0000 0000 0000 0000 0000.
MII PHY #0 transceiver registers:
  1100 7809 0022 1630 01e1 0040 0004 2001
  1100 7809 0022 1630 01e1 0040 0004 2001
  1100 7809 0022 1630 01e1 0040 0004 2001
  0000 0000 0000 0000 0000 0000 0000 0000.
Basic mode control register 0x1100: 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 01e1: 100baseTx-FD 100baseTx 10baseT-FD 10baseT
  Advertising no additional info pages.
  IEEE 802.3 CSMA/CD protocol.
Link partner capability is 0040: 10baseT-FD.
  Negotiation did not complete.
Index #2: Found a Sundance Technology Alta adapter at 0x4080.
Station address 00:05:5d:e6:09:66.
 Receive mode is 0x15: Normal unicast and hashed multicast.
 MAC mode is 0020: full duplex.
 Tx status 00, threshold 8188.
 Interrupt status is 0701: Interrupt summary Link status changed Tx DMA done 
Rx DMA done
MII PHY found at address 0, status 0x7809.
MII PHY found at address 1, status 0x7809.
MII PHY #0 transceiver registers:
  1100 7809 0022 1630 01e1 0040 0004 2001
  1100 7809 0022 1630 01e1 0040 0004 2001
  1100 7809 0022 1630 01e1 0040 0004 2001
  0000 0000 0000 0000 0000 0000 0000 0000.
MII PHY #1 transceiver registers:
  1100 7809 0022 1630 01e1 0040 0004 2001
  1100 7809 0022 1630 01e1 0040 0004 2001
  1100 7809 0022 1630 01e1 0040 0004 2001
  0000 0000 0000 0000 0000 0000 0000 0000.
MII PHY #0 transceiver registers:
  1100 7809 0022 1630 01e1 0040 0004 2001
  1100 7809 0022 1630 01e1 0040 0004 2001
  1100 7809 0022 1630 01e1 0040 0004 2001
  0000 0000 0000 0000 0000 0000 0000 0000.
Basic mode control register 0x1100: 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 01e1: 100baseTx-FD 100baseTx 10baseT-FD 10baseT
  Advertising no additional info pages.
  IEEE 802.3 CSMA/CD protocol.
Link partner capability is 0040: 10baseT-FD.
  Negotiation did not complete.
Index #3: Found a Sundance Technology Alta adapter at 0x4400.
Station address 00:05:5d:e6:09:67.
 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.
MII PHY found at address 0, status 0x7809.
MII PHY found at address 1, status 0x7809.
MII PHY #0 transceiver registers:
  1100 7809 0022 1630 01e1 0000 0004 2001
  1100 7809 0022 1630 01e1 0000 0004 2001
  1100 7809 0022 1630 01e1 0000 0004 2001
  0000 0000 0000 0000 0000 0000 0000 0000.
MII PHY #1 transceiver registers:
  1100 7809 0022 1630 01e1 0000 0004 2001
  1100 7809 0022 1630 01e1 0000 0004 2001
  1100 7809 0022 1630 01e1 0000 0004 2001
  0000 0000 0000 0000 0000 0000 0000 0000.
MII PHY #0 transceiver registers:
  1100 7809 0022 1630 01e1 0000 0004 2001
  1100 7809 0022 1630 01e1 0000 0004 2001
  1100 7809 0022 1630 01e1 0000 0004 2001
  0000 0000 0000 0000 0000 0000 0000 0000.
Basic mode control register 0x1100: 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 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.
Index #4: Found a Sundance Technology Alta adapter at 0x4480.
Station address 00:05:5d:e6:09:68.
 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.
MII PHY found at address 0, status 0x7809.
MII PHY found at address 1, status 0x7809.
MII PHY #0 transceiver registers:
  1100 7809 0022 1630 01e1 0000 0004 2001
  1100 7809 0022 1630 01e1 0000 0004 2001
  1100 7809 0022 1630 01e1 0000 0004 2001
  0000 0000 0000 0000 0000 0000 0000 0000.
MII PHY #1 transceiver registers:
  1100 7809 0022 1630 01e1 0000 0004 2001
  1100 7809 0022 1630 01e1 0000 0004 2001
  1100 7809 0022 1630 01e1 0000 0004 2001
  0000 0000 0000 0000 0000 0000 0000 0000.
MII PHY #0 transceiver registers:
  1100 7809 0022 1630 01e1 0000 0004 2001
  1100 7809 0022 1630 01e1 0000 0004 2001
  1100 7809 0022 1630 01e1 0000 0004 2001
  0000 0000 0000 0000 0000 0000 0000 0000.
Basic mode control register 0x1100: 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 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. 

cat /proc/version 

Linux version 2.4.20 (root@xxx) (gcc version 2.95.4 20011002 (Debian 
prerelease)) #5 SMP Thu Jan 30 20:59:57 CET 2003 

ifconfig -a 

eth0      Link encap:Ethernet  HWaddr 00:08:02:47:C7:F6
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:1180 errors:0 dropped:0 overruns:0 frame:0
         TX packets:933 errors:0 dropped:0 overruns:15 carrier:0
         collisions:0 txqueuelen:100
         RX bytes:986809 (963.6 KiB)  TX bytes:92412 (90.2 KiB)
         Interrupt:10 

eth1      Link encap:Ethernet  HWaddr 00:05:5D:E6:09:65
         inet addr:192.168.6.1  Bcast:192.168.6.255  Mask:255.255.255.0
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:21 errors:0 dropped:0 overruns:0 frame:0
         TX packets:18 errors:18 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:100
         RX bytes:1648 (1.6 KiB)  TX bytes:0 (0.0 b)
         Interrupt:3 Base address:0x4000 

eth2      Link encap:Ethernet  HWaddr 00:05:5D:E6:09:66
         inet addr:192.168.2.254  Bcast:192.168.2.255  Mask:255.255.255.0
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:46 errors:0 dropped:0 overruns:0 frame:0
         TX packets:18 errors:8 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:100
         RX bytes:5402 (5.2 KiB)  TX bytes:0 (0.0 b)
         Interrupt:4 Base address:0x4080 

eth3      Link encap:Ethernet  HWaddr 00:05:5D:E6:09:67
         inet addr:192.168.3.1  Bcast:192.168.3.255  Mask:255.255.255.0
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:0 errors:0 dropped:0 overruns:0 frame:0
         TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:100
         RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
         Interrupt:4 Base address:0x4400 

eth4      Link encap:Ethernet  HWaddr 00:05:5D:E6:09:68
         inet addr:192.168.4.1  Bcast:192.168.4.255  Mask:255.255.255.0
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:0 errors:0 dropped:0 overruns:0 frame:0
         TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:100
         RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
         Interrupt:3 Base address:0x4480 

lo        Link encap:Local Loopback
         inet addr:127.0.0.1  Mask:255.0.0.0
         UP LOOPBACK RUNNING  MTU:16436  Metric:1
         RX packets:143 errors:0 dropped:0 overruns:0 frame:0
         TX packets:143 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:0
         RX bytes:14684 (14.3 KiB)  TX bytes:14684 (14.3 KiB) 

lspci 

00:00.0 Host bridge: ServerWorks CNB20LE Host Bridge (rev 06)
00:00.1 Host bridge: ServerWorks CNB20LE Host Bridge (rev 06)
00:02.0 SCSI storage controller: Adaptec 7899A (rev 01)
00:02.1 SCSI storage controller: Adaptec 7899A (rev 01)
00:04.0 Ethernet controller: Intel Corp. 82557 [Ethernet Pro 100] (rev 08)
00:05.0 VGA compatible controller: ATI Technologies Inc Rage XL (rev 27)
00:06.0 System peripheral: Compaq Computer Corporation Advanced System 
Management Controller
00:0f.0 ISA bridge: ServerWorks CSB5 South Bridge (rev 92)
00:0f.1 IDE interface: ServerWorks CSB5 IDE Controller (rev 92)
00:0f.2 USB Controller: ServerWorks OSB4/CSB5 OHCI USB Controller (rev 05)
00:0f.3 Host bridge: ServerWorks: Unknown device 0230
02:04.0 PCI bridge: Digital Equipment Corporation DECchip 21152 (rev 03)
03:04.0 Ethernet controller: D-Link System Inc Sundance Ethernet (rev 12)
03:05.0 Ethernet controller: D-Link System Inc Sundance Ethernet (rev 12)
03:06.0 Ethernet controller: D-Link System Inc Sundance Ethernet (rev 12)
03:07.0 Ethernet controller: D-Link System Inc Sundance Ethernet (rev 12)