From owner-freebsd-stable@FreeBSD.ORG Fri Feb 19 21:12:43 2010 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 BE91E1065694 for ; Fri, 19 Feb 2010 21:12:43 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.26]) by mx1.freebsd.org (Postfix) with ESMTP id 6B1258FC08 for ; Fri, 19 Feb 2010 21:12:43 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 8so101315qwh.7 for ; Fri, 19 Feb 2010 13:12:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:cc :subject:message-id:reply-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=u5YUeI6xDCKeJjMMvZiZRn+cOsa+hnMwTmuXNP8aWF4=; b=K3dpxN1HyV854xtCyA4SSypjevCnr1pOt9BnNxoL9TbX8x2oWKUUNo8pUTHqj5dtfM CVp8jq/Ml+rK96MRtY/spZhAmBscseAZ/HFmhzoSHV0YX28JqVOekKBqTL5xdnzLIPrQ zruqpbyuWsVZTsElaIIjPi3cXn7ZXOJBu72zE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=RVDQ88LokwUnwJ/XeIw3kN3SK18r8wF08isJNxPzQ2Ku9y/28kp0EqhYlEPjyXvIJ6 DnkQc3MK8Tr/SN3xWpqaoy9XBchZNwiNSA8w1pgqbTXYQ5fTuY8epJZm6AWEA8HEuHfo SYATFv2RG/oNi4kyoyVlDIZjMKsyrwX7Eo3hQ= Received: by 10.229.230.4 with SMTP id jk4mr4378787qcb.1.1266613962599; Fri, 19 Feb 2010 13:12:42 -0800 (PST) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id 29sm4386514vws.3.2010.02.19.13.12.39 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 19 Feb 2010 13:12:41 -0800 (PST) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Fri, 19 Feb 2010 13:12:01 -0800 From: Pyun YongHyeon Date: Fri, 19 Feb 2010 13:12:01 -0800 To: Slawa Olhovchenkov Message-ID: <20100219211201.GL11675@michelle.cdnetworks.com> References: <20100218212428.GJ55307@zxy.spb.ru> <20100218213213.GD11675@michelle.cdnetworks.com> <20100218215039.GK55307@zxy.spb.ru> <20100219001913.GE11675@michelle.cdnetworks.com> <20100219055129.GL55307@zxy.spb.ru> <20100219122415.GR55307@zxy.spb.ru> <20100219190359.GJ11675@michelle.cdnetworks.com> <20100219191103.GT55307@zxy.spb.ru> <20100219200647.GK11675@michelle.cdnetworks.com> <20100219201359.GU55307@zxy.spb.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100219201359.GU55307@zxy.spb.ru> User-Agent: Mutt/1.4.2.3i Cc: Nick Rogers , stable@freebsd.org Subject: Re: trap 12: page fault while in kernel mode on 8.0-RELEASE (possibly bge(4) related) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Feb 2010 21:12:43 -0000 On Fri, Feb 19, 2010 at 11:13:59PM +0300, Slawa Olhovchenkov wrote: > On Fri, Feb 19, 2010 at 12:06:47PM -0800, Pyun YongHyeon wrote: > > > > > > dev.bge.1.stats.rx.Fragments: 1 > > > > You received a frame that is less than 64 bytes with a bad FCS. > > > > > dev.bge.1.stats.rx.UcastPkts: 2956515 > > > dev.bge.1.stats.rx.MulticastPkts: 0 > > > dev.bge.1.stats.rx.FCSErrors: 18 > > > > You have a lot of FCS errors here. > > Please double check cabling. If the statistics counter is right, > > sender is guilty or you have bad cabling issues here. > > 1. lost packets much more 18. I think hundreds, or thousands. > 2. packets lost on both (bge0 & bge1) interfaces If you see the MAC statistics counter, you have the following number of status updates and interrupts. Both numbers are same which means the controller didn't lost interrupts for state updates. dev.bge.0.stats.RingStatusUpdate: 950302 dev.bge.0.stats.Interrupts: 950302 and dev.bge.1.stats.RingStatusUpdate: 5518912 dev.bge.1.stats.Interrupts: 5518912 You received 582767 unicast packets and lost 0 packet for bge0. dev.bge.0.stats.rx.UcastPkts: 582767 And you also received 2956515 unicast packets and lost 19 packets for bge1. dev.bge.1.stats.rx.Fragments: 1 dev.bge.1.stats.rx.UcastPkts: 2956515 dev.bge.1.stats.rx.FCSErrors: 18 I don't see such a large number packet drops from these MAC statistics unless upper stack drops received packets. I fixed some counter updates which were ignored in previous releases so you may happen to see lost counters in recent version. Normally you should not have any FCS errors, it could be related with signal quality and these errors might not be correctly counted. > 3. packets don't lost on sources at Aug'09 Since I don't have BCM5704 hardware it's hard to find which revision may affect to this issue. Could you narrow down which revision number started showing the issue?