[vortex] Problems with TX underruns in 2.4.9

James Yonan jim@ntlp.com
Wed Dec 26 17:57:01 2001


I'm having problems with TX underruns when I download files using FTP over a
100BaseT ethernet connection (eth1) from a windows machine on the same
ethernet segment.  Basically, a multi-file FTP download goes for about one
minute then hangs.  The connection comes back a few minutes later with
messages in the log file such as:

Dec 26 15:19:58 boulder kernel: eth1: Transmit error, Tx status register 90.
Dec 26 15:19:58 boulder kernel: eth1: Transmit error, Tx status register 90.
Dec 26 15:21:56 boulder kernel: eth1: Transmit error, Tx status register d0.

So far I've tried making max_interrupt_work bigger and commenting out
"#define tx_interrupt_mitigation 1" in 3c59x.c but the problem persists.
The problem is, in fact, 100% reproducible.

Note that this machine has three NICs.  eth0 is a cyclone card.  eth1 & eth2
are vortex cards.  eth1 is where I am seeing the problem

I'd appreciate any help you can offer.  Anyone else with similar symptoms?
Is there a patch or some driver parameter that can be tweaked to fix this
problem?  (see below for system details)

Thanks,
Jim Yonan
Boulder, Colorado, USA

System Details:

OS:

RH 7.2
RH kernel-2.4.9-13

Vortex Driver (from RH kernel-2.4.9-13):

#define DRV_NAME    "3c59x"
#define DRV_VERSION "LK1.1.16"
#define DRV_RELDATE "19 July 2001"

hardware:

Pentium i686 running at 266mhz.

ifconfig:

eth0      Link encap:Ethernet  HWaddr 00:10:5A:CD:16:C0
          inet addr:12.253.100.167  Bcast:255.255.255.255
Mask:255.255.252.0
          UP BROADCAST NOTRAILERS RUNNING  MTU:1500  Metric:1
          RX packets:76163 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8500 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:5311524 (5.0 Mb)  TX bytes:728153 (711.0 Kb)
          Interrupt:10 Base address:0xfc80

eth1      Link encap:Ethernet  HWaddr 00:A0:24:5B:73:9D
          inet addr:10.0.0.1  Bcast:10.0.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:5629 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4155 errors:0 dropped:0 overruns:3 carrier:3
          collisions:4 txqueuelen:100
          RX bytes:3049655 (2.9 Mb)  TX bytes:733009 (715.8 Kb)
          Interrupt:3 Base address:0xff80

eth2      Link encap:Ethernet  HWaddr 00:A0:24:5B:73:A8
          inet addr:10.0.1.1  Bcast:10.0.1.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:4 errors:0 dropped:0 overruns:0 carrier:4
          collisions:0 txqueuelen:100
          RX bytes:0 (0.0 b)  TX bytes:240 (240.0 b)
          Interrupt:3 Base address:0xff40

hwconf:

class: NETWORK
bus: PCI
detached: 0
device: eth
driver: 3c59x
desc: "3Com Corporation|3c905B 100BaseTX [Cyclone]"
vendorId: 10b7
deviceId: 9055
subVendorId: 10b7
subDeviceId: 9055
pciType: 1
-
class: NETWORK
bus: PCI
detached: 0
device: eth
driver: 3c59x
desc: "3Com Corporation|3c595 100BaseTX [Vortex]"
vendorId: 10b7
deviceId: 5950
subVendorId: 0000
subDeviceId: 0000
pciType: 1
-
class: NETWORK
bus: PCI
detached: 0
device: eth
driver: 3c59x
desc: "3Com Corporation|3c595 100BaseTX [Vortex]"
vendorId: 10b7
deviceId: 5950
subVendorId: 0000
subDeviceId: 0000
pciType: 1