kern/103495: if_vr locks after carrier event
mij at bitchx.it
Fri Sep 22 11:20:26 PDT 2006
>Synopsis: if_vr locks after carrier event
>Arrival-Date: Fri Sep 22 18:20:20 GMT 2006
>Release: FreeBSD 6.2-PRERELEASE i386
System: FreeBSD lamehost 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #2: Sat Sep 16
14:42:39 CEST 2006 xyz at lamehost:/usr/obj/usr/src/sys/ck i386
The if_vr driver for VIA Rhine I and II stops processing both incoming and outgoing
traffic after the following event
vr0: link state changed to DOWN
vr0: link state changed to UP
(possibly repeated a few times) making the interface unusable reliably.
A similar report is in PR kern/100499, but this amendment has to be specified
wrt to it: no shutdown is required for having the driver handle traffic again.
Conversely, the following is sufficient:
# ifconfig vr0 down
# ifconfig vr0 up
this makes the driver run vr_reset(), after which the interface behaves
The linux driver via-rhine.c currently does not feature this behaviour and could
be source of inspiration.
initialize vr interface; unplug the cable off of the interface, physically; replug the cable into the interface
More information about the freebsd-bugs