From nobody@FreeBSD.org  Fri Sep 22 18:17:41 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 86F1B16A52F
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 22 Sep 2006 18:17:41 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 331DB43D5D
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 22 Sep 2006 18:17:35 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k8MIHZ5c058297
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 22 Sep 2006 18:17:35 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k8MIHZCW058296;
	Fri, 22 Sep 2006 18:17:35 GMT
	(envelope-from nobody)
Message-Id: <200609221817.k8MIHZCW058296@www.freebsd.org>
Date: Fri, 22 Sep 2006 18:17:35 GMT
From: Mij <mij@bitchx.it>
To: freebsd-gnats-submit@FreeBSD.org
Subject: if_vr locks after carrier event
X-Send-Pr-Version: www-2.3

>Number:         103495
>Category:       kern
>Synopsis:       [vr] if_vr locks after carrier event
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    vwe
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 22 18:20:20 GMT 2006
>Closed-Date:    Sun Aug 08 20:41:01 UTC 2010
>Last-Modified:  Sun Aug 08 20:41:01 UTC 2010
>Originator:     Mij
>Release:        FreeBSD 6.2-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD lamehost 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #2: Sat Sep 16
14:42:39 CEST 2006 xyz@lamehost:/usr/obj/usr/src/sys/ck i386

>Description:
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
correctly again.

The linux driver via-rhine.c currently does not feature this behaviour and
could be source of inspiration.

>How-To-Repeat:
initialize vr interface; unplug the cable off of the interface, physically;
replug the cable into the interface

>Fix:

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: vwe 
State-Changed-When: Sun Mar 9 23:05:43 UTC 2008 
State-Changed-Why:  

Submitter has been asked for feedback. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=103495 

From: Volker <volker@vwsoft.com>
To: bug-followup@FreeBSD.org, mij@bitchx.it
Cc:  
Subject: Re: kern/103495: [vr] if_vr locks after carrier event
Date: Mon, 10 Mar 2008 00:05:13 +0100

 Mij,
 
 I'm wondering if you still see this problem with a more recent release?
 
 If so, can you please check the hard work of Pyun on improving the vr
 driver? Information about the latest work can be found in PR kern/109477
 
 Please report back if your issue has gone so we can close this ticket.
 
 Thanks!
 
 http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/109477

From: Mij <mij@bitchx.it>
To: Volker <volker@vwsoft.com>
Cc: bug-followup@FreeBSD.org
Subject: Re: kern/103495: [vr] if_vr locks after carrier event
Date: Wed, 12 Mar 2008 18:28:08 +0100

 hei,
 
 thanks for working on it. I will take several weeks to test this: the  
 hardware
 is in production (with other NICs) and 300km away from here.
 I will test at the first chance.
 
 
 On Mar 10, 2008, at 00:05 , Volker wrote:
 
 > Mij,
 >
 > I'm wondering if you still see this problem with a more recent  
 > release?
 >
 > If so, can you please check the hard work of Pyun on improving the vr
 > driver? Information about the latest work can be found in PR kern/ 
 > 109477
 >
 > Please report back if your issue has gone so we can close this ticket.
 >
 > Thanks!
 >
 > http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/109477
 

From: "Remko Lodder" <remko@elvandar.org>
To: "Mij" <mij@bitchx.it>
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: kern/103495: [vr] if_vr locks after carrier event
Date: Wed, 12 Mar 2008 18:59:48 +0100 (CET)

 On Wed, March 12, 2008 6:50 pm, Mij wrote:
 
 Hello,
 
 ok we understand that this can take a little. Can we close the ticket till
 you have tested? So that we can either keep it closed if you confirm
 succes, or reopen it in case there is no succes yet? Also notice that
 vr(4) had a major overhaul in -CURRENT a few days ago which might be worth
 looking into as well (Where possible ofcourse).
 
 Thanks,
 Remko
 
 
 
 -- 
 /"\   Best regards,                      | remko@FreeBSD.org
 \ /   Remko Lodder                       | remko@EFnet
  X    http://www.evilcoder.org/          |
 / \   ASCII Ribbon Campaign              | Against HTML Mail and News
 
 
State-Changed-From-To: feedback->suspended 
State-Changed-By: vwe 
State-Changed-When: Sat May 17 21:58:04 UTC 2008 
State-Changed-Why:  

while waiting for further feedback after testing, suspend 
this ticket. Will re-open when new information has been 
provided. 


Responsible-Changed-From-To: freebsd-bugs->vwe 
Responsible-Changed-By: vwe 
Responsible-Changed-When: Sat May 17 21:58:04 UTC 2008 
Responsible-Changed-Why:  

track 

http://www.freebsd.org/cgi/query-pr.cgi?pr=103495 
State-Changed-From-To: suspended->closed 
State-Changed-By: vwe 
State-Changed-When: Sun Aug 8 20:40:42 UTC 2010 
State-Changed-Why:  
old issue, unknown status, no debugging information 

http://www.freebsd.org/cgi/query-pr.cgi?pr=103495 
>Unformatted:
