From owner-freebsd-current@FreeBSD.ORG Sat Jan 3 18:23:46 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CFBDF16A4CE for ; Sat, 3 Jan 2004 18:23:46 -0800 (PST) Received: from relay.pair.com (relay.pair.com [209.68.1.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 5F5E643D54 for ; Sat, 3 Jan 2004 18:23:45 -0800 (PST) (envelope-from silby@silby.com) Received: (qmail 33000 invoked from network); 4 Jan 2004 02:23:44 -0000 Received: from niwun.pair.com (HELO localhost) (209.68.2.70) by relay.pair.com with SMTP; 4 Jan 2004 02:23:44 -0000 X-pair-Authenticated: 209.68.2.70 Date: Sat, 3 Jan 2004 20:23:42 -0600 (CST) From: Mike Silbersack To: Dejan Lesjak In-Reply-To: <200312302250.03256.dejan.lesjak@ijs.si> Message-ID: <20040103201927.G5165@odysseus.silby.com> References: <20031228233331.1F3F05D04@ptavv.es.net> <200312292131.14657.dejan.lesjak@ijs.si> <200312302250.03256.dejan.lesjak@ijs.si> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Mailman-Approved-At: Sat, 03 Jan 2004 18:33:55 -0800 cc: Ryan Sommers cc: freebsd-current@freebsd.org Subject: Re: 5.2-RC oerrs and collisions on dc0 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jan 2004 02:23:46 -0000 On Tue, 30 Dec 2003, Dejan Lesjak wrote: > I'm glad to hear that reporting of errors might be false. So I setup some > monitoring of ports on both ends of cable, put apache on server with dc card > and made a cron job on another machine (on same switch) to fetch a file of > around 100MB every 5 minutes from server. > So things go thusly - on server side there is constant flow of output errors > and collisions with a peak at reboot. Collisions amount about 10% of output > errors, which about 0.1% of output traffic. On switch side there is only a > peak of input errors at server reboot, then there are no more errors. > I'm not entirely sure if I can make conclusions based on this, but this can > probably be false alarm then. Tell me if there is something more that I can > do to confirm that these are in fact false collisions and errors. Also if > seing graphs would help, they are on http://niobe.ijs.si/ewok/ > > Thanks everybody for help, > Dejan Hm, you may have a real problem. I see 0 output errors here, although my collision count is constantly increasing. If you'd like to "fix" the false collisions, find the following line in if_dc.c, and remove it: ifp->if_collisions += (txstat & DC_TXSTAT_COLLCNT) >> 3; I say "fix" because that count used to be accurate, we apparently broke something somewhere else in the driver which is causing the false collision reports. Of course, whatever is causing the false collisions may be causing false errors on your card, so it's hard to tell. :) Good luck, Mike "Silby" Silbersack