bce reporting fantom input errors?
Danny Braniss
danny at cs.huji.ac.il
Tue Dec 16 02:25:07 PST 2008
> 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 <delphij at delphij.net> 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
More information about the freebsd-stable
mailing list