misc/109477: onboard via vt6103 ethernet does not work

Burkhard Steding burkhard.steding at gmx.de
Fri Feb 23 21:40:04 UTC 2007


>Number:         109477
>Category:       misc
>Synopsis:       onboard via vt6103 ethernet does not work
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 23 21:40:03 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Burkhard Steding
>Release:        6.2-Release
>Organization:
>Environment:
FreeBSD  6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 08:32:24 UTC 2007     root at portnoy.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
Feb 23 20:55:50  kernel: vr0: <VIA VT6102 Rhine II 10/100BaseTX> port 0xee00-0xe
eff mem 0xdfffd000-0xdfffd0ff irq 23 at device 18.0 on pci0
Feb 23 20:55:50  kernel: miibus0: <MII bus> on vr0
Feb 23 20:55:50  kernel: ukphy0: <Generic IEEE 802.3u media interface> on miibus
0
Feb 23 20:55:50  kernel: ukphy0:  100baseTX, 100baseTX-FDX, 100baseT4
Feb 23 20:55:50  kernel: ukphy1: <Generic IEEE 802.3u media interface> on miibus
0
Feb 23 20:55:50  kernel: ukphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX
, auto
Feb 23 20:55:50  kernel: ukphy2: <Generic IEEE 802.3u media interface> on miibus
0
Feb 23 20:55:50  kernel: ukphy2:  100baseTX, 100baseTX-FDX, 100baseT4
Feb 23 20:55:50  kernel: ukphy3: <Generic IEEE 802.3u media interface> on miibus
Feb 23 20:55:50  kernel: ukphy3:  100baseTX, 100baseTX-FDX, 100baseT4
Feb 23 20:55:50  kernel: ukphy4: <Generic IEEE 802.3u media interface> on miibus0
Feb 23 20:55:50  kernel: ukphy4:  100baseTX, 100baseTX-FDX, 100baseT4
Feb 23 20:55:50  kernel: ukphy5: <Generic IEEE 802.3u media interface> on miibus0
Feb 23 20:55:50  kernel: ukphy5:  100baseTX, 100baseTX-FDX, 100baseT4
Feb 23 20:55:50  kernel: ukphy6: <Generic IEEE 802.3u media interface> on miibus0
Feb 23 20:55:50  kernel: ukphy6:  100baseTX, 100baseTX-FDX, 100baseT4
Feb 23 20:55:50  kernel: ukphy7: <Generic IEEE 802.3u media interface> on miibus0
Feb 23 20:55:50  kernel: ukphy7:  100baseTX, 100baseTX-FDX, 100baseT4
Feb 23 20:55:50  kernel: ukphy8: <Generic IEEE 802.3u media interface> on miibus0
Feb 23 20:55:50  kernel: ukphy8:  100baseTX, 100baseTX-FDX, 100baseT4
Feb 23 20:55:50  kernel: ukphy9: <Generic IEEE 802.3u media interface> on miibus0
Feb 23 20:55:50  kernel: ukphy9:  100baseTX, 100baseTX-FDX, 100baseT4
Feb 23 20:55:50  kernel: ukphy10: <Generic IEEE 802.3u media interface> on miibus0
Feb 23 20:55:50  kernel: ukphy10:  100baseTX, 100baseTX-FDX, 100baseT4
Feb 23 20:55:50  kernel: ukphy11: <Generic IEEE 802.3u media interface> on miibus0
Feb 23 20:55:50  kernel: ukphy11:  100baseTX, 100baseTX-FDX, 100baseT4
Feb 23 20:55:50  kernel: ukphy12: <Generic IEEE 802.3u media interface> on miibus0
Feb 23 20:55:50  kernel: ukphy12:  100baseTX, 100baseTX-FDX, 100baseT4
Feb 23 20:55:50  kernel: ukphy13: <Generic IEEE 802.3u media interface> on miibus0
Feb 23 20:55:50  kernel: ukphy13:  100baseTX, 100baseTX-FDX, 100baseT4
Feb 23 20:55:50  kernel: ukphy14: <Generic IEEE 802.3u media interface> on miibus0
Feb 23 20:55:50  kernel: ukphy14:  100baseTX, 100baseTX-FDX, 100baseT4
Feb 23 20:55:50  kernel: ukphy15: <Generic IEEE 802.3u media interface> on miibus0
Feb 23 20:55:50  kernel: ukphy15:  100baseTX, 100baseTX-FDX, 100baseT4
Feb 23 20:55:50  kernel: ukphy16: <Generic IEEE 802.3u media interface> on miibus0
Feb 23 20:55:50  kernel: ukphy16:  100baseTX, 100baseTX-FDX, 100baseT4
Feb 23 20:55:50  kernel: ukphy17: <Generic IEEE 802.3u media interface> on miibus0
Feb 23 20:55:50  kernel: ukphy17:  100baseTX, 100baseTX-FDX, 100baseT4
Feb 23 20:55:50  kernel: ukphy18: <Generic IEEE 802.3u media interface> on miibus0
Feb 23 20:55:50  kernel: ukphy18:  100baseTX, 100baseTX-FDX, 100baseT4
Feb 23 20:55:50  kernel: ukphy19: <Generic IEEE 802.3u media interface> on miibus0
Feb 23 20:55:50  kernel: ukphy19:  100baseTX, 100baseTX-FDX, 100baseT4
Feb 23 20:55:50  kernel: ukphy20: <Generic IEEE 802.3u media interface> on miibus0
Feb 23 20:55:50  kernel: ukphy20:  100baseTX, 100baseTX-FDX, 100baseT4
Feb 23 20:55:50  kernel: ukphy21: <Generic IEEE 802.3u media interface> on miibus0
Feb 23 20:55:50  kernel: ukphy21:  100baseTX, 100baseTX-FDX, 100baseT4
Feb 23 20:55:50  kernel: ukphy22: <Generic IEEE 802.3u media interface> on miibus0
Feb 23 20:55:50  kernel: ukphy22:  100baseTX, 100baseTX-FDX, 100baseT4
Feb 23 20:55:50  kernel: ukphy23: <Generic IEEE 802.3u media interface> on miibus0
Feb 23 20:55:50  kernel: ukphy23:  100baseTX, 100baseTX-FDX, 100baseT4
Feb 23 20:55:50  kernel: ukphy24: <Generic IEEE 802.3u media interface> on miibus0
Feb 23 20:55:50  kernel: ukphy24:  100baseTX, 100baseTX-FDX, 100baseT4
Feb 23 20:55:50  kernel: ukphy25: <Generic IEEE 802.3u media interface> on miibus0
Feb 23 20:55:50  kernel: ukphy25:  100baseTX, 100baseTX-FDX, 100baseT4
Feb 23 20:55:50  kernel: ukphy26: <Generic IEEE 802.3u media interface> on miibus0
Feb 23 20:55:50  kernel: ukphy26:  100baseTX, 100baseTX-FDX, 100baseT4
Feb 23 20:55:50  kernel: ukphy27: <Generic IEEE 802.3u media interface> on miibus0
Feb 23 20:55:50  kernel: ukphy27:  100baseTX, 100baseTX-FDX, 100baseT4
Feb 23 20:55:50  kernel: ukphy28: <Generic IEEE 802.3u media interface> on miibus0
Feb 23 20:55:50  kernel: ukphy28:  100baseTX, 100baseTX-FDX, 100baseT4
Feb 23 20:55:50  kernel: ukphy29: <Generic IEEE 802.3u media interface> on miibus0
Feb 23 20:55:50  kernel: ukphy29:  100baseTX, 100baseTX-FDX, 100baseT4
Feb 23 20:55:50  kernel: ukphy30: <Generic IEEE 802.3u media interface> on miibus0
Feb 23 20:55:50  kernel: ukphy30:  100baseTX, 100baseTX-FDX, 100baseT4
Feb 23 20:55:50  kernel: ukphy31: <Generic IEEE 802.3u media interface> on miibus0
Feb 23 20:55:50  kernel: ukphy31:  100baseTX, 100baseTX-FDX, 100baseT4
Feb 23 20:55:50  kernel: vr0: Ethernet address: 00:30:1b:81:02:96

and, somewhat later:

Feb 23 20:55:54  kernel: vr0: watchdog timeout

I can do a "ping 192.168.42.21" but I can not reach any other machine on the subnet. I have verified that it's neither a hardware nor a cable problem. It works fine with a NetBSD installation. By the way, the FreeBSD and the NetBSD if_vr.c driver are derived from the same original source, but have evolved since then.

I have build a custom kernel specific for my hardware with if_vr.ko as a loadable module and I am willing to assist in bug fixing, if my time allows. I have some experience in writing a device driver but do not know anything about the via rhine chips.

>How-To-Repeat:
The problem can easyly be repeated both with the GENERIC kernel and a custom kernel that uses if_vr.ko as a loadable module. Then the messages show up after "kldload if_vr.ko".
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list