[vortex] Problems with TX underruns in 2.4.9

James Yonan jim@ntlp.com
Fri Dec 28 13:54:00 2001


> James Yonan wrote:
> >
> > 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.
>
> Possibly the 3c595 is not set up for busmastering transmit.  This is
> controlled by the 16th word of the EEPROM.  Could you please dump
> the eeprom with `vortex-diag -aee -#1' , where "1" should, I think, select
> eth1.
>
> Alternatively, select the card via its IO address:
>
> vortex-diag -aee -p 0xff80

Thanks for the response.  Here's more info:

[root@boulder vortex]# ./vortex-diag -aee -p 0xff80
vortex-diag.c:v2.05 5/15/2001 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Assuming a 3Com Generic Vortex/Boomerag/Cyclone adapter at 0xff80.
The Vortex chip may be active, so FIFO registers will not be read.
To see all register values use the '-f' flag.
Initial window 7, registers values by window:
  Window 0: 0000 0000 0000 0000 0000 00bf 0000 0000.
  Window 1: FIFO FIFO 0000 2000 8000 00ff 3ffc 2000.
  Window 2: a000 5b24 9d73 0000 0000 0000 00de 4000.
  Window 3: 001b 0141 0000 0000 e10a bfff 3fff 6000.
  Window 4: 0000 02d3 0000 0c80 0000 8882 0000 8000.
  Window 5: 1ffc 1ffc 00de 1ffc 0007 02de 00de a000.
  Window 6: 0000 0000 0000 5b00 0000 157c 1d6d c000.
  Window 7: 0000 0000 0000 0000 8000 00ff 0000 e000.
Vortex chip registers at 0xff80
  0xFF90: **FIFO** 00000000 00008000 *STATUS*
  0xFFA0: 00200000 0180b008 00240000 fd7c0000
  0xFFB0: ffffffff ffffffff ffffffff ffffffff
 Indication enable is 00de, interrupt enable is 02de.
 No interrupt sources are pending.
 Transceiver/media interfaces available:  100baseTx 10baseT.
Transceiver type in use:  100baseTX.
 MAC settings: half-duplex.
Maximum packet size is 0.
 Station address set to 00:a0:24:5b:73:9d.
 Configuration options 00de.
EEPROM contents (64 words, offset 0):
 0x000: 00a0 245b 739d 5950 c03c 0036 5542 6d50
 0x008: 0418 0000 00a0 245b 739d 3f10 0000 0000
 0x010: 11c6 0000 001b 0101 0000 0000 0000 0016
 0x018: 0000 0000 0000 0000 0000 0000 0000 0000
 0x020: 0000 0000 0000 0000 0000 0000 0000 0000
 0x028: 0000 0000 0000 0000 0000 0000 0000 0000
 0x030: 0000 0000 0000 0000 0000 0000 0000 0000
 0x038: 0000 0000 0000 0000 0000 0000 0000 0000
 The word-wide EEPROM checksum is 0x63a4.
Saved EEPROM settings of a 3Com Vortex/Boomerang:
 3Com Node Address 00:A0:24:5B:73:9D (used as a unique ID only).
 OEM Station address 00:A0:24:5B:73:9D (used as the ethernet address).
 Manufacture date (MM/DD/YYYY) 1/28/1996, division 6, product BU.
 Options: negotiated duplex, link beat required.
  Vortex format checksum is correct (0016 vs. 0016).
  Cyclone format checksum is correct (00 vs. 00).
  Hurricane format checksum is correct (00 vs. 00).

ALSO lspci & ifconfig:

00:11.0 Ethernet controller: 3Com Corporation 3c595 100BaseTX [Vortex]
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR+ FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 248 (750ns min, 2000ns max)
        Interrupt: pin A routed to IRQ 3
        Region 0: I/O ports at ff80 [size=32]
        Expansion ROM at <unassigned> [disabled] [size=64K]
00: b7 10 50 59 07 01 00 02 00 00 00 02 00 f8 00 00
10: 81 ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 03 01 03 08

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:51868 errors:0 dropped:0 overruns:0 frame:0
          TX packets:44619 errors:0 dropped:0 overruns:3 carrier:3
          collisions:12 txqueuelen:100
          RX bytes:13372812 (12.7 Mb)  TX bytes:22522652 (21.4 Mb)
          Interrupt:3 Base address:0xff80