From owner-freebsd-stable@FreeBSD.ORG Tue Dec 16 10:25:07 2008 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A3C201065679 for ; Tue, 16 Dec 2008 10:25:07 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.16.84]) by mx1.freebsd.org (Postfix) with ESMTP id 6002D8FC14 for ; Tue, 16 Dec 2008 10:25:07 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from pampa.cs.huji.ac.il ([132.65.80.32]) by kabab.cs.huji.ac.il with esmtp id 1LCX6w-000BkZ-EI for stable@freebsd.org; Tue, 16 Dec 2008 12:25:06 +0200 X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.2 To: stable@freebsd.org In-reply-to: <4947656E.4050904@delphij.net> References: <4947656E.4050904@delphij.net> Comments: In-reply-to Xin LI message dated "Tue, 16 Dec 2008 00:23:10 -0800." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 16 Dec 2008 12:25:06 +0200 From: Danny Braniss Message-ID: Cc: Subject: Re: bce reporting fantom input errors? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Dec 2008 10:25:07 -0000 > This is a multi-part message in MIME format. > --------------070205030901020808000803 > Content-Type: text/plain; charset=ISO-8859-1 > Content-Transfer-Encoding: 7bit > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Danny Braniss wrote: > > Hi, > > After changing cables,switches,ports, I came to the conclusion > > that bce is reporting input errors that are not there, or creating them. > > I checked this with 3 different boxes, all Dell-2950/Broadcom NetXtreme II > > BCM5708 1000Base-T (B2), and one of them, while running Solaris, reported > > 0 errors after a week, and freebsd after a few minutes its count was > 100. > > The errors appear under 7.-PRERELEASE, but not under 7.0 > > > > Anybody else seeing this? > > Please apply this patch, it was committed as revision 186169 about 3 > hours ago against -HEAD. I'll MFC it after 3 days. > > Cheers, > - -- > Xin LI http://www.delphij.net/ > FreeBSD - The Power to Serve! > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.9 (FreeBSD) > > iEYEARECAAYFAklHZWsACgkQi+vbBBjt66CHxgCfQhUCadChP7mtyoOD4Wg4cP/k > lAUAnj1S2vh/TtmnKZAaczJvx7V/XR4x > =fdk+ > -----END PGP SIGNATURE----- > > --------------070205030901020808000803 > Content-Type: text/plain; > name="bce-noL2Filter.diff" > Content-Transfer-Encoding: 7bit > Content-Disposition: inline; > filename="bce-noL2Filter.diff" > > Index: if_bce.c > =================================================================== > --- if_bce.c (revision 186076) > +++ if_bce.c (working copy) > @@ -7408,7 +7408,6 @@ > (u_long) sc->stat_IfInMBUFDiscards + > (u_long) sc->stat_Dot3StatsAlignmentErrors + > (u_long) sc->stat_Dot3StatsFCSErrors + > - (u_long) sc->stat_IfInFramesL2FilterDiscards + > (u_long) sc->stat_IfInRuleCheckerDiscards + > (u_long) sc->stat_IfInFTQDiscards + > (u_long) sc->com_no_buffers; > > --------------070205030901020808000803-- thanks! so actually it was counting IfInFramesL2FilterDiscards. btw, it worked, it's now 0 input errors. danny