[vortex-bug] 3c575 Transmit Ring Full (RX errors)

Brondo, Greg Greg.Brondo@allegiancetelecom.com
Thu, 17 May 2001 14:57:02 -0500


I was wondering if this bug will ever be fixed.  And yes, I consider it a
bug when I've read the lists, seen it all over the place, AND w2k, NetBSD
and QNX all work just spiffy on the very same machine.  So here goes for one
last try.  If the issue can be fixed, great and I can continue to use my
favourite OS.  If not, I have to go back to W2K as my primary OS (for
network stability reasons).

Here's the output of everything I can find (please note that I forced the
card to half-duplex; same problem happens in full-duplex as well):


[** dmesg **]
Linux version 2.4.4 (root@debian) (gcc version 2.95.4 20010506 (Debian
prerelease)) #1 Thu May 17 10:19:35 CDT 2001
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 0000000007ff0000 (usable)
 BIOS-e820: 0000000007ff0000 - 0000000007ff3800 (reserved)
 BIOS-e820: 0000000007ff3800 - 0000000008000000 (ACPI NVS)
On node 0 totalpages: 32752
zone(0): 4096 pages.
zone(1): 28656 pages.
zone(2): 0 pages.
Kernel command line: BOOT_IMAGE=Linux ro root=303
Initializing CPU#0
Detected 333.351 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 665.19 BogoMIPS
Memory: 126428k/131008k available (1150k kernel code, 4192k reserved, 448k
data, 184k init, 0k highmem)
Dentry-cache hash table entries: 16384 (order: 5, 131072 bytes)
Buffer-cache hash table entries: 4096 (order: 2, 16384 bytes)
Page-cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 8192 (order: 4, 65536 bytes)
CPU: Before vendor init, caps: 0183f9ff 00000000 00000000, vendor = 0
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 256K
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: After vendor init, caps: 0183f9ff 00000000 00000000 00000000
CPU: After generic, caps: 0183f9ff 00000000 00000000 00000000
CPU: Common caps: 0183f9ff 00000000 00000000 00000000
CPU: Intel Mobile Pentium II stepping 0a
Enabling fast FPU save and restore... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
PCI: PCI BIOS revision 2.10 entry at 0xf0478, last bus=0
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Discovered primary peer bus 02 [IRQ]
PCI: Using IRQ router PIIX [8086/7110] at 00:07.0
Limiting direct PCI/PCI transfers.
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.14)
Starting kswapd v1.8
pty: 256 Unix98 ptys configured
block: queued sectors max/low 83968kB/27989kB, 256 slots per queue
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PIIX4: IDE controller on PCI bus 00 dev 39
PIIX4: chipset revision 1
PIIX4: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0x1820-0x1827, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0x1828-0x182f, BIOS settings: hdc:pio, hdd:pio
hda: IBM-DBCA-206480, ATA DISK drive
hdc: Compaq DVD-ROM SD-C2402, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: 12685680 sectors (6495 MB) w/420KiB Cache, CHS=839/240/63, UDMA(25)
hdc: ATAPI 24X DVD-ROM drive, 128kB Cache, DMA
Uniform CD-ROM driver Revision: 3.12
Partition check:
 hda: hda1 hda2 hda3
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
Serial driver version 5.05a (2001-03-20) with MANY_PORTS SHARE_IRQ
SERIAL_PCI ISAPNP enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS02 at 0x03e8 (irq = 4) is a 16550A
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 94M
agpgart: no supported devices found.
[drm] Initialized tdfx 1.0.0 20000928 on minor 63
[drm:radeon_init] *ERROR* Cannot initialize agpgart module.
Linux PCMCIA Card Services 3.1.22
  options:  [pci] [cardbus] [pm]
PCI: Found IRQ 11 for device 00:04.0
PCI: The same IRQ used for device 00:05.0
usb.c: registered new driver hub
PCI: Found IRQ 11 for device 00:07.2
uhci.c: USB UHCI at I/O 0x1800, IRQ 11
Yenta IRQ list 06b8, PCI irq11
Socket status: 30000020
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
ACPI: APM is already active, exiting
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 8192 bind 8192)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
cs: cb_alloc(bus 1): vendor 0x10b7, device 0x5257
  got res[1c00:1c7f] for resource 0 of PCI device 10b7:5257
  got res[10400000:1040007f] for resource 1 of PCI device 10b7:5257
  got res[10400080:104000ff] for resource 2 of PCI device 10b7:5257
  got res[10000000:1001ffff] for resource 6 of PCI device 10b7:5257
PCI: Enabling device 01:00.0 (0000 -> 0003)
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 184k freed
Adding Swap: 249472k swap-space (priority -1)
cs: IO port probe 0x0c00-0x0cff: clean.
cs: IO port probe 0x0800-0x08ff: clean.
cs: IO port probe 0x0100-0x04ff: excluding 0x100-0x107 0x378-0x37f
0x4d0-0x4d7
cs: IO port probe 0x0a00-0x0aff: clean.
3c59x.c:LK1.1.13 27 Jan 2001  Donald Becker and others.
http://www.scyld.com/network/vortex.html
See Documentation/networking/vortex.txt
eth0: 3Com PCI 3CCFE575CT Tornado CardBus at 0x1c00, PCI: Setting latency
timer of device 01:00.0 to 64
 00:00:86:5b:7a:18, IRQ 11
  product code 4e56 rev 10.0 date 04-10-97
eth0: CardBus functions mapped 10400080->c8829080
  8K byte-wide RAM 5:3 Rx:Tx split, MII interface.
  MII transceiver found at address 0, status 7809.
  Enabling bus-master transmits and whole-frame receives.
eth0: scatter/gather enabled. h/w checksums enabled
eth0: using default media MII
eth0: using default media MII
cs: cb_free(bus 1)
cs: cb_alloc(bus 1): vendor 0x10b7, device 0x5257
  got res[1c00:1c7f] for resource 0 of PCI device 10b7:5257
  got res[10400000:1040007f] for resource 1 of PCI device 10b7:5257
  got res[10400080:104000ff] for resource 2 of PCI device 10b7:5257
  got res[10000000:1001ffff] for resource 6 of PCI device 10b7:5257
PCI: Enabling device 01:00.0 (0000 -> 0003)
3c59x.c:LK1.1.13 27 Jan 2001  Donald Becker and others.
http://www.scyld.com/network/vortex.html
See Documentation/networking/vortex.txt
eth0: 3Com PCI 3CCFE575CT Tornado CardBus at 0x1c00, PCI: Setting latency
timer of device 01:00.0 to 64
 00:00:86:5b:7a:18, IRQ 11
  product code 4e56 rev 10.0 date 04-10-97
eth0: CardBus functions mapped 10400080->c8822080
  8K byte-wide RAM 5:3 Rx:Tx split, MII interface.
  MII transceiver found at address 0, status 7809.
  Enabling bus-master transmits and whole-frame receives.
eth0: scatter/gather enabled. h/w checksums enabled
eth0: using default media MII
eth0: using default media MII
NETDEV WATCHDOG: eth0: transmit timed out
eth0: transmit timed out, tx_status 00 status e000.
  diagnostics: net 0ce0 media a800 dma 000000a0.
  Flags; bus-master 1, dirty 22606(14) current 22622(14)
  Transmit list 00003340 vs. c0003580.
  0: @c0003200  length 8000004e status 0001004e
  1: @c0003240  length 80000042 status 00010042
  2: @c0003280  length 80000042 status 00010042
  3: @c00032c0  length 8000004e status 0001004e
  4: @c0003300  length 8000004e status 0001004e
  5: @c0003340  length 80000056 status 00000056
  6: @c0003380  length 80000126 status 00000126
  7: @c00033c0  length 80000056 status 00000056
  8: @c0003400  length 80000056 status 00000056
  9: @c0003440  length 8000004e status 0000004e
  10: @c0003480  length 80000042 status 00000042
  11: @c00034c0  length 80000055 status 00000055
  12: @c0003500  length 80000042 status 80000042
  13: @c0003540  length 80000042 status 80000042
  14: @c0003580  length 80000042 status 00010042
  15: @c00035c0  length 8000004e status 0001004e
eth0: Resetting the Tx ring pointer.

[** vortex-diag -m **]
vortex-diag.c:v2.03 9/26/2000 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a 3CCFE575CT CardBus adapter at 0x1c00.
 MII PHY found at address 0, status 780d.
 MII PHY 0 at #0 transceiver registers:
   2100 780d 0300 e54b 01e1 0000 0000 0000
   0000 0000 0000 0000 0000 0000 0000 0000
   0140 006d 0f00 0000 0000 0000 0000 0000
   0000 0000 0000 0000 0000 0000 0000 0000.

[** vortex-diag -a **]
vortex-diag.c:v2.03 9/26/2000 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a 3CCFE575CT CardBus adapter at 0x1c00.
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 0002 0000 0808 06ff ffff 0000.
  Window 1: FIFO FIFO 0000 0000 0000 0000 0000 2000.
  Window 2: 0000 5b86 187a 0000 0000 0000 4002 4000.
  Window 3: 0000 0060 05ea 0000 0040 0038 0800 6000.
  Window 4: 0000 0000 8000 0060 0003 a800 0000 8000.
  Window 5: 1ffc 0000 0000 0600 0807 0000 06c6 a000.
  Window 6: 0000 0000 0000 0000 0000 0000 0000 c000.
  Window 7: 0000 0000 0000 0000 0000 0000 0000 e000.
Vortex chip registers at 0x1c00
  0x1C10: **FIFO** 00000000 00000000 *STATUS*
  0x1C20: 000000a0 00003580 00080000 00000004
  0x1C30: 00008042 8ed4712c 00000000 00080004
 Indication enable is 06c6, interrupt enable is 0000.
 No interrupt sources are pending.
 Transceiver/media interfaces available:  MII.
Transceiver type in use:  MII.
 MAC settings: half-duplex.
 Station address set to 00:00:86:5b:7a:18.
 Configuration options 4002.

[** ifconfig eth0 **]
eth0      Link encap:Ethernet  HWaddr 00:00:86:5B:7A:18  
          inet addr:10.10.122.158  Bcast:10.10.122.255  Mask:255.255.255.0
          BROADCAST  MTU:1500  Metric:1
          RX packets:69571 errors:0 dropped:0 overruns:209 frame:0
          TX packets:22616 errors:3 dropped:0 overruns:0 carrier:22569
          collisions:0 txqueuelen:100 
          RX bytes:75463204 (71.9 Mb)  TX bytes:2048184 (1.9 Mb)
          Interrupt:11 Base address:0x1c00 

[** cat /proc/pci **]
PCI devices found:
  Bus  0, device   0, function  0:
    Host bridge: Intel Corporation 440BX/ZX - 82443BX/ZX Host bridge (AGP
disabled) (rev 3).
      Master Capable.  Latency=64.  
      Prefetchable 32 bit memory at 0x50000000 [0x5fffffff].
  Bus  0, device   4, function  0:
    CardBus bridge: Texas Instruments PCI1211 (rev 0).
      IRQ 11.
      Master Capable.  Latency=168.  Max Lat=5.
      Non-prefetchable 32 bit memory at 0x7fffe000 [0x7fffefff].
  Bus  0, device   5, function  0:
    VGA compatible controller: ATI Technologies Inc 3D Rage LT Pro (rev
220).
      IRQ 11.
      Master Capable.  Latency=66.  Min Gnt=8.
      Non-prefetchable 32 bit memory at 0x40000000 [0x40ffffff].
      I/O at 0x1000 [0x10ff].
      Non-prefetchable 32 bit memory at 0x41000000 [0x41000fff].
  Bus  0, device   7, function  0:
    Bridge: Intel Corporation 82371AB PIIX4 ISA (rev 2).
  Bus  0, device   7, function  1:
    IDE interface: Intel Corporation 82371AB PIIX4 IDE (rev 1).
      Master Capable.  Latency=64.  
      I/O at 0x1820 [0x182f].
  Bus  0, device   7, function  2:
    USB Controller: Intel Corporation 82371AB PIIX4 USB (rev 1).
      IRQ 11.
      Master Capable.  Latency=64.  
      I/O at 0x1800 [0x181f].
  Bus  0, device   7, function  3:
    Bridge: Intel Corporation 82371AB PIIX4 ACPI (rev 2).
      IRQ 9.
  Bus  0, device   8, function  0:
    Multimedia audio controller: ESS Technology ES1978 Maestro 2E (rev 16).
      IRQ 11.
      Master Capable.  Latency=64.  Min Gnt=2.Max Lat=24.
      I/O at 0x1400 [0x14ff].
  Bus  0, device   9, function  0:
    Communication controller: Lucent Microelectronics WinModem 56k (rev 1).
      IRQ 11.
      Master Capable.  No bursts.  Min Gnt=252.Max Lat=14.
      Non-prefetchable 32 bit memory at 0x41080000 [0x410800ff].
      I/O at 0x2400 [0x2407].
      I/O at 0x2000 [0x20ff].
  Bus  1, device   0, function  0:
    Ethernet controller: PCI device 10b7:5257 (rev 16).
      IRQ 11.
      Master Capable.  Latency=64.  Min Gnt=10.Max Lat=5.
      I/O at 0x1c00 [0x1c7f].
      Non-prefetchable 32 bit memory at 0x10400000 [0x1040007f].
      Non-prefetchable 32 bit memory at 0x10400080 [0x104000ff].

[** cat /proc/interrupts **]
           CPU0       
  0:    1240412          XT-PIC  timer
  1:       4189          XT-PIC  keyboard
  2:          0          XT-PIC  cascade
 11:      91852          XT-PIC  Texas Instruments PCI1211, usb-uhci
 12:     142421          XT-PIC  PS/2 Mouse
 14:      11923          XT-PIC  ide0
 15:          4          XT-PIC  ide1
NMI:          0 
ERR:          0

[** cat /proc/net/dev **]
Inter-|   Receive                                                |  Transmit
 face |bytes    packets errs drop fifo frame compressed multicast|bytes
packets errs drop fifo colls carrier compressed
    lo:       0       0    0    0    0     0          0         0        0
0    0    0    0     0       0          0
  eth0:75463204   69571    0    0  209     0          0         0  2048184
22616    3    0    0     0   22569          0


Any help would be appreciated!

Greg B.