Subject: tlp(21140A) card on alpha
To: None <tech-net@netbsd.org>
From: Jun-ichiro itojun Hagino <itojun@iijlab.net>
List: tech-net
Date: 10/03/2000 15:33:36
	I have the following card, which raises so many receive errors
	on alpha (netbsd 1.5G).  the error happens with bigger packets (like
	1500 bytes, during large scp).  how can i track the issue down?  any
	experiences like this?

>tlp0 at pci0 dev 11 function 0: DECchip 21140A Ethernet, pass 2.2
>tlp0: interrupting at isa irq 5
>tlp0: Ethernet address 00:20:18:58:ac:0f
>ukphy0 at tlp0 phy 1: Generic IEEE 802.3u media interface
>ukphy0: Am79C873 10/100 media interface (OUI 0x00606e, model 0x0000), rev. 2
>ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto

>Oct  3 10:42:10 up1000 /netbsd: tlp0: incoming packet spilled, resetting
>Oct  3 10:42:10 up1000 /netbsd: tlp0: receive ring overrun
>Oct  3 10:42:10 up1000 /netbsd: tlp0: incoming packet spilled, resetting
>Oct  3 10:42:10 up1000 /netbsd: tlp0: receive ring overrun

itojun


---
consinit: not using prom console
Copyright (c) 1996, 1997, 1998, 1999, 2000
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 1.5G (UP1000) #36: Tue Oct  3 12:26:55 JST 2000
    itojun@up1000:/export/up1000/home/itojun/NetBSD/src/sys/arch/alpha/compile/UP1000
API UP1000 699 MHz, s/n 
8192 byte page size, 1 processor.
total memory = 768 MB
(2680 KB reserved for PROM, 765 MB used by NetBSD)
avail memory = 705 MB
using 4911 buffers containing 39288 KB of memory
mainbus0 (root)
cpu0 at mainbus0: ID 0 (primary), 21264A-8
cpu0: Architecture extensions: 307<PAT,MVI,CIX,FIX,BWX>
irongate0 at mainbus0: AMD 751 Core Logic + AGP Chipset, rev. 37
pci0 at irongate0 bus 0
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
ppb0 at pci0 dev 1 function 0: Advanced Micro Devices AMD751 PCI-to-PCI Bridge (rev. 0x01)
pci1 at ppb0 bus 2
pci1: i/o space, memory space enabled, rd/line, wr/inv ok
vga0 at pci1 dev 5 function 0: Matrox MGA G200 AGP (rev. 0x01)
wsdisplay0 at vga0
sio0 at pci0 dev 7 function 0: Acer Labs M1543 PCI-ISA Bridge (rev. 0xc3)
ep0 at pci0 dev 8 function 0: 3Com 3c595-TX 10/100 Ethernet
ep0: interrupting at isa irq 5
ep0: address 00:a0:24:bb:a3:1d, 64KB word-wide FIFO, 3:1 Rx:Tx split
ep0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX (default 10baseT)
tlp0 at pci0 dev 11 function 0: DECchip 21140A Ethernet, pass 2.2
tlp0: interrupting at isa irq 5
tlp0: Ethernet address 00:20:18:58:ac:0f
ukphy0 at tlp0 phy 1: Generic IEEE 802.3u media interface
ukphy0: Am79C873 10/100 media interface (OUI 0x00606e, model 0x0000), rev. 2
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pciide0 at pci0 dev 16 function 0: Acer Labs M5229 UDMA IDE Controller (rev. 0xc1)
pciide0: bus-master DMA support present
pciide0: primary channel configured to compatibility mode
atapibus0 at pciide0 channel 0
cd0 at atapibus0 drive 1: <TOSHIBA CD-ROM XM-6702B, , 1005> type 5 cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2
wd0 at pciide0 channel 0 drive 0: <IBM-DPTA-371360>
wd0: drive supports 16-sector pio transfers, lba addressing
wd0: 13042 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 26712000 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4
pciide0: primary channel interrupting at isa irq 14
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (using DMA data transfers)
cd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2 (using DMA data transfers)
pciide0: secondary channel configured to compatibility mode
pciide0: secondary channel ignored (disabled)
Acer Labs M7101 Power Management Controller (miscellaneous prehistoric) at pci0 dev 17 function 0 not configured
ohci0 at pci0 dev 20 function 0: Acer Labs M5237 USB Host Controller (rev. 0x03)
ohci0: can't map mem space
isa0 at sio0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com0: console
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
lpt0 at isa0 port 0x3bc-0x3bf irq 7
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
isabeep0 at pcppi0
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
mcclock0 at isa0 port 0x70-0x71: mc146818 or compatible
stray isa irq 4
IPsec: Initialized Security Association Processing.
root on wd0a dumps on wd0b
root file system type: ffs
wd0: transfer error, downgrading to Ultra-DMA mode 1
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 1 (using DMA data transfers)
cd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2 (using DMA data transfers)
wd0a: DMA error reading fsbn 145808 of 145808-145823 (wd0 bn 145808; cn 144 tn 10 sn 26), retrying
wd0: soft error (corrected)