Subject: VIA VT6102 Rhine II problems
To: None <port-i386@netbsd.org>
From: Claes Leufven <rinsan@lysator.liu.se>
List: port-i386
Date: 10/25/2004 01:07:36
Hi!

I have some problems with a built in network card on my Asus A7V8X-X motherboard. The network card is recognized by the vr driver as a VIA VT6102 Rhine II 10/100 Mbit. The problems that I have are that when I do transfers like ftp or cvs checkouts and the speed goes above 100-200 Kbyte/s the card resets it self in someway and give these error messages (I have only tested with a 10Mbit halfduplex Hub):

vr0: transmit aborted
vr0: restarting

and after a while it goes over to these error messages:

vr0: transmit aborted
vr0: restarting
vr0: using force reset command.

I am running NetBSD 2.0RC4 (200410160000) with the GENERIC kernel,the chipset on the motherboard is KT400,here is my dmesg output. Is there any patch or anything more I should do to debug it?

Regards
Claes Leufven

autobuild@tgm.netbsd.org:/autobuild/netbsd-2-0/i386/OBJ/autobuild/netbsd-2-0/src/sys/arch/i386/compile/GENERIC
total memory = 127 MB
avail memory = 117 MB
BIOS32 rev. 0 found at 0xf1930
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: AMD Duron (686-class), 796.13 MHz, id 0x631
cpu0: features c1c7fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features c1c7fbff<PGE,MCA,CMOV,PAT,PSE36,PN,MMXX,MMX>
cpu0: features c1c7fbff<FXSR,3DNOW2,3DNOW>
cpu0: I-cache 64 KB 64B/line 2-way, D-cache 64 KB 64B/line 2-way
cpu0: L2 cache 64 KB 64B/line 16-way
cpu0: ITLB 16 4 KB entries fully associative, 8 4 MB entries fully associative
cpu0: DTLB 24 4 KB entries fully associative, 8 4 MB entries 4-way
cpu0: 8 page colors
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: VIA Technologies VT8377 Apollo KT400 CPU to PCI Bridge (rev. 0x00)
agp0 at pchb0: aperture at 0xf8000000, size 0xfd00000
ppb0 at pci0 dev 1 function 0: VIA Technologies VT8377 CPU-AGP Bridge (rev. 0x00)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga1 at pci1 dev 0 function 0: ATI Technologies Rage Fury MAXX AGP 4x (TMDS) (rev. 0x00)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
uhci0 at pci0 dev 16 function 0: VIA Technologies VT83C572 USB Controller (rev. 0x80)
uhci0: interrupting at irq 10
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: VIA Technologies UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 16 function 1: VIA Technologies VT83C572 USB Controller (rev. 0x80)
uhci1: interrupting at irq 10
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: VIA Technologies UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 16 function 2: VIA Technologies VT83C572 USB Controller (rev. 0x80)
uhci2: interrupting at irq 10
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: VIA Technologies UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 16 function 3: VIA Technologies VT8237 EHCI USB Controller (rev. 0x82)
ehci0: interrupting at irq 10
ehci0: EHCI version 1.0
ehci0: companion controllers, 2 ports each: uhci0 uhci1 uhci2
usb3 at ehci0: USB revision 2.0
uhub3 at usb3
uhub3: VIA Technologie EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub3: 6 ports with 6 removable, self powered
pcib0 at pci0 dev 17 function 0
pcib0: VIA Technologies VT8235 (Apollo KT400) PCI-ISA Bridge (rev. 0x00)
viaide0 at pci0 dev 17 function 1
viaide0: VIA Technologies VT8235 ATA133 controller
viaide0: bus-master DMA support present
viaide0: primary channel configured to compatibility mode
viaide0: primary channel interrupting at irq 14
atabus0 at viaide0 channel 0
viaide0: secondary channel configured to compatibility mode
viaide0: secondary channel interrupting at irq 15
atabus1 at viaide0 channel 1
auvia0 at pci0 dev 17 function 5: VIA VT8235 AC'97 (rev 0x50)
auvia0: interrupting at irq 12
auvia0: ac97: Analog Devices AD1980 codec; headphone, 20 bit DAC, no 3D stereo
auvia0: ac97: ext id 3c7<AMAP,LDAC,SDAC,CDAC,SPDIF,DRA,VRA>
audio0 at auvia0: full duplex, mmap, independent
vr0 at pci0 dev 18 function 0: VIA VT6102 (Rhine II) 10/100 Ethernet
vr0: interrupting at irq 3
vr0: Ethernet address: 00:11:2f:44:c3:1e
ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface
ukphy0: OUI 0x000004, model 0x0020, rev. 1
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isa0 at pcib0
lpt0 at isa0 port 0x378-0x37b irq 7
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff: using exception 16
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
isapnp0: no ISA Plug 'n Play devices found
Kernelized RAIDframe activated
wd0 at atabus0 drive 0: <ST3200822A>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 186 GB, 387621 cyl, 16 head, 63 sec, 512 bytes/sect x 390721968 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd1 at atabus0 drive 1: <ST3200822A>
wd1: drive supports 16-sector PIO transfers, LBA48 addressing
wd1: 186 GB, 387621 cyl, 16 head, 63 sec, 512 bytes/sect x 390721968 sectors
wd1: 32-bit data port
wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(viaide0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA data transfers)
wd1(viaide0:0:1): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA data transfers)
wd2 at atabus1 drive 0: <ST3200822A>
wd2: drive supports 16-sector PIO transfers, LBA48 addressing
wd2: 186 GB, 387621 cyl, 16 head, 63 sec, 512 bytes/sect x 390721968 sectors
wd2: 32-bit data port
wd2: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd2(viaide0:1:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA data transfers)
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)
vr0: transmit aborted
vr0: restarting
vr0: transmit aborted
vr0: restarting
vr0: transmit aborted
vr0: restarting
vr0: transmit aborted
vr0: restarting
vr0: transmit aborted
vr0: restarting
vr0: transmit aborted
vr0: restarting
vr0: transmit aborted
vr0: restarting
vr0: using force reset command.
vr0: transmit aborted
vr0: restarting
vr0: using force reset command.
vr0: transmit aborted
vr0: restarting
vr0: transmit aborted
vr0: restarting
vr0: transmit aborted
vr0: restarting
vr0: using force reset command.
vr0: transmit aborted
vr0: restarting
vr0: transmit aborted
vr0: restarting
vr0: transmit aborted
vr0: restarting
vr0: using force reset command.
vr0: transmit aborted
vr0: restarting
vr0: using force reset command.
vr0: transmit aborted
vr0: restarting
vr0: transmit aborted
vr0: restarting
vr0: using force reset command.
vr0: transmit aborted
vr0: restarting
vr0: using force reset command.
vr0: transmit aborted
vr0: restarting
vr0: transmit aborted
vr0: restarting
vr0: transmit aborted
vr0: restarting
vr0: transmit aborted
vr0: restarting
vr0: using force reset command.
vr0: transmit aborted
vr0: restarting
vr0: using force reset command.
vr0: transmit aborted
vr0: restarting
vr0: transmit aborted
vr0: restarting
vr0: transmit aborted
vr0: restarting
vr0: using force reset command.
vr0: transmit aborted
vr0: restarting
vr0: transmit aborted
vr0: restarting
vr0: using force reset command.
vr0: transmit aborted
vr0: restarting
vr0: transmit aborted
vr0: restarting
vr0: transmit aborted
vr0: restarting
vr0: using force reset command.
vr0: transmit aborted
vr0: restarting
vr0: transmit aborted
vr0: restarting
vr0: using force reset command.
vr0: transmit aborted
vr0: restarting
vr0: transmit aborted
vr0: restarting
vr0: using force reset command.
vr0: transmit aborted
vr0: restarting
vr0: using force reset command.
vr0: transmit aborted
vr0: restarting
vr0: using force reset command.