From nobody@FreeBSD.org  Mon Jul 29 19:25:17 2002
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 12FEF37B401
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 29 Jul 2002 19:25:17 -0700 (PDT)
Received: from www.freebsd.org (www.FreeBSD.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id C70E543E65
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 29 Jul 2002 19:25:16 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.4/8.12.4) with ESMTP id g6U2PGOT027075
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 29 Jul 2002 19:25:16 -0700 (PDT)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.4/8.12.4/Submit) id g6U2PGnw027074;
	Mon, 29 Jul 2002 19:25:16 -0700 (PDT)
Message-Id: <200207300225.g6U2PGnw027074@www.freebsd.org>
Date: Mon, 29 Jul 2002 19:25:16 -0700 (PDT)
From: Matt Crawford <matt@fireball.batavia.il.us>
To: freebsd-gnats-submit@FreeBSD.org
Subject: vr0 locks up on one hub, OK on another
X-Send-Pr-Version: www-1.0

>Number:         41138
>Category:       kern
>Synopsis:       [vr] vr0 locks up on one hub, OK on another
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    remko
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 29 19:30:01 PDT 2002
>Closed-Date:    Mon Mar 12 08:10:12 GMT 2007
>Last-Modified:  Mon Mar 12 08:10:12 GMT 2007
>Originator:     Matt Crawford
>Release:        FreeBSD 4.6-RC #0
>Organization:
>Environment:
FreeBSD fireball.batavia.il.us 4.6-RC FreeBSD 4.6-RC #0: Thu Jun 13 22:07:25 CDT 2002     root@fireball.batavia.il.us:/usr/obj/usr/src/sys/FIREBALL  i386


Jun 14 20:08:40 fireball /kernel: vr0: <VIA VT6102 Rhine II 10/100BaseTX> port 0xe800-0xe8ff mem 0xe9001000-0xe90010ff irq 10 at device 18.0 on pci0
Jun 14 20:08:40 fireball /kernel: vr0: Ethernet address: 00:50:2c:02:53:38
Jun 14 20:08:40 fireball /kernel: miibus0: <MII bus> on vr0
Jun 14 20:08:40 fireball /kernel: ukphy0: <Generic IEEE 802.3u media interface> on miibus0
Jun 14 20:08:40 fireball /kernel: ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto

if_vr.c is 1.26.2.9 2002/05/20.
>Description:
Ethernet was working for months on a 10b2-to-10bT media converter.
(Building backbone is 10b2.)  I switched to an ACSYS 8-port hub and
vr0 is at first lossy (20% ping loss to another machine on the LAN),
then locks up within 15-30 minutes, logging many three-line sequences:
Jul 28 14:40:07 fireball /kernel: vr0: watchdog timeout
Jul 28 14:40:07 fireball /kernel: vr0: reset never completed!
Jul 28 14:40:07 fireball /kernel: vr0: reset never completed!

Putting a second, different model hub between this system and the ACSYS
completely clears the problem.  A completely different system on the
same ACSYS hub has no problem.

Ethernet in "autoselect" mode correctly selects 10baseT/UTP.  I don't
know how to see the half/full duplex setting.  ("ifconfig vr0 mediaopt
half-duplex" gives "SIOCSIFMEDIA: Device not configured."
>How-To-Repeat:
Plug into ACSYS Microstack hub.

>Fix:
Use a different hub type?

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->silby 
Responsible-Changed-By: silby 
Responsible-Changed-When: Wed Jul 31 12:51:26 PDT 2002 
Responsible-Changed-Why:  
I'll take custody of this vr PR. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=41138 
State-Changed-From-To: open->suspended 
State-Changed-By: bms 
State-Changed-When: Tue Oct 19 15:35:47 GMT 2004 
State-Changed-Why:  
Back to the free pool 


Responsible-Changed-From-To: silby->freebsd-bugs 
Responsible-Changed-By: bms 
Responsible-Changed-When: Tue Oct 19 15:35:47 GMT 2004 
Responsible-Changed-Why:  
Back to the free pool 

http://www.freebsd.org/cgi/query-pr.cgi?pr=41138 
State-Changed-From-To: suspended->feedback 
State-Changed-By: remko 
State-Changed-When: Wed Feb 28 07:41:03 UTC 2007 
State-Changed-Why:  
Hello, 

This had been reported a long time ago and before I want to 
continue in trying to get the right information etc. Can you 
tell me whether this is still applicable? 

Thanks, 



Responsible-Changed-From-To: freebsd-bugs->remko 
Responsible-Changed-By: remko 
Responsible-Changed-When: Wed Feb 28 07:41:03 UTC 2007 
Responsible-Changed-Why:  
grab the pr 

http://www.freebsd.org/cgi/query-pr.cgi?pr=41138 
State-Changed-From-To: feedback->closed 
State-Changed-By: remko 
State-Changed-When: Mon Mar 12 08:10:10 UTC 2007 
State-Changed-Why:  
feedback timeout 

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