From nobody@FreeBSD.org  Tue Aug 19 22:30:21 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id CD4B0106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 19 Aug 2008 22:30:21 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id BE9C38FC14
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 19 Aug 2008 22:30:21 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m7JMULth023568
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 19 Aug 2008 22:30:21 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m7JMULFK023567;
	Tue, 19 Aug 2008 22:30:21 GMT
	(envelope-from nobody)
Message-Id: <200808192230.m7JMULFK023567@www.freebsd.org>
Date: Tue, 19 Aug 2008 22:30:21 GMT
From: Ed Hall <edhall@weirdnoise.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: if_vr: Integrated VIA Rhine II receive errors
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         126665
>Category:       kern
>Synopsis:       [vr] Integrated VIA Rhine II receive errors
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    yongari
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 19 22:40:02 UTC 2008
>Closed-Date:    Mon May 31 22:55:19 UTC 2010
>Last-Modified:  Mon May 31 22:55:19 UTC 2010
>Originator:     Ed Hall
>Release:        RELENG_7
>Organization:
>Environment:
FreeBSD screech.weirdnoise.com 7.0-STABLE FreeBSD 7.0-STABLE #1: Sat Aug 16 19:32:02 PDT 2008     edhall@chirp.weirdnoise.com:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
Seen with the onboard NIC on both a JETWAY JC104B-J7F2WE1G2EOLFLV 1.2GHz VIA Eden mini-ITX MB and a VIA [model unknown] 600MHz VIA C3 Samuel mini-ITX MB. Both NICs report as "VIA VT6102 Rhine II 10/100BaseTX". Driver reports many input errors with correspondingly bad throughput; enabling error messages yields:

    vr0: vr_rxeof: receive error = 0x3<RXERR,CRCERR>

and:

    vr0: vr_rxeof: receive error = 0x23<RXERR,CRCERR,RUNT>

These boards were both fully functional (no Ierrs, expected throughput) with FreeBSD 4.10. The problem was originally seen after an upgrade to 7.0-RELEASE and is unchanged with 7.0-STABLE (cvsuped 2008/08/17).


>How-To-Repeat:
Install RELENG_7 w/GENERIC kernel on affected hardware (likely most any MB with a VIA processor and chipset with onboard NIC). Problem most evident on longer transfers.
>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->yongari 
Responsible-Changed-By: yongari 
Responsible-Changed-When: Wed Aug 20 05:25:06 UTC 2008 
Responsible-Changed-Why:  
Grab. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=126665 
State-Changed-From-To: open->feedback 
State-Changed-By: yongari 
State-Changed-When: Wed Aug 20 07:06:20 UTC 2008 
State-Changed-Why:  
I believe there is no way to handle this CRC error in driver. 
Normally this kind of error comes from bad-cabling. Did you ever 
check cabling? 
Also I highly doubt how FreeBSD 4.10 can handle this without 
dropping bad frames. If you have managed switches how about 
checking a status of a port that is connected to vr(4)? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=126665 
State-Changed-From-To: feedback->closed 
State-Changed-By: yongari 
State-Changed-When: Mon May 31 22:54:51 UTC 2010 
State-Changed-Why:  
Close. Feedback timeout(> 19 months). 
Seeing CRC errors on bad cabling is normal. If you still see CRC 
errors with good cabling please open PR again. 

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