From owner-freebsd-stable@FreeBSD.ORG Mon Feb 22 13:49:02 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 9F0BE10656A3 for ; Mon, 22 Feb 2010 13:49:02 +0000 (UTC) (envelope-from ukrzilla@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.24]) by mx1.freebsd.org (Postfix) with ESMTP id 28AE78FC08 for ; Mon, 22 Feb 2010 13:49:01 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id 9so565937eyd.9 for ; Mon, 22 Feb 2010 05:48:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=UoAhFvLSEkeqLQKnXScvbKpDZSJGN4dJif/M/neaCiA=; b=m5ggl0L33rUSsIdUnmnj5deTxB7nv1sjzfCugT1XCrlv6N3cQWF1ALoyBlZlrpRYxC JBkIUYkYckPUwxCsCRhQgNDu4HLdRYbRwl8Q5hvJxK2vu4AGGEZfILU2Z6T2U3YcJ8ta fEGGhSO4ZptVnNcK8FJRsBjO1byiwWMi2Rylc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=U5TQRdCQfDkmBDWU3h7BtQueYR2+gGKAQoV79zlz0Wy8/WDHzAZMvvFLxA9NYZJryF pkH8O5fE6ExymUmnxdt2Go1a1NH6J7wggTPRB/gOGcZtyrSEBuqV2QOSVs3j6xs7iqvB 9r5qsZmf2Ej1t2biu6k7+k2Uv8CQLia1ckxoY= MIME-Version: 1.0 Received: by 10.216.180.85 with SMTP id i63mr841493wem.119.1266844787521; Mon, 22 Feb 2010 05:19:47 -0800 (PST) In-Reply-To: <20100219211201.GL11675@michelle.cdnetworks.com> References: <20100218212428.GJ55307@zxy.spb.ru> <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> <20100219211201.GL11675@michelle.cdnetworks.com> Date: Mon, 22 Feb 2010 15:19:47 +0200 Message-ID: <794030a71002220519x1bb79549qb894d3321ce2642d@mail.gmail.com> From: Denis Lamanov To: pyunyh@gmail.com Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Nick Rogers , stable@freebsd.org, Slawa Olhovchenkov 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 List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Feb 2010 13:49:02 -0000 vpn2# sysctl dev.bge.0.stats dev.bge.0.stats.FramesDroppedDueToFilters: 0 dev.bge.0.stats.DmaWriteQueueFull: 0 dev.bge.0.stats.DmaWriteHighPriQueueFull: 0 dev.bge.0.stats.NoMoreRxBDs: 0 dev.bge.0.stats.InputDiscards: 0 dev.bge.0.stats.InputErrors: 0 dev.bge.0.stats.RecvThresholdHit: 36622 dev.bge.0.stats.DmaReadQueueFull: 17 dev.bge.0.stats.DmaReadHighPriQueueFull: 0 dev.bge.0.stats.SendDataCompQueueFull: 0 dev.bge.0.stats.RingSetSendProdIndex: 116130 dev.bge.0.stats.RingStatusUpdate: 79240 dev.bge.0.stats.Interrupts: 79240 dev.bge.0.stats.AvoidedInterrupts: 0 dev.bge.0.stats.SendThresholdHit: 0 dev.bge.0.stats.rx.Octets: 132390898 dev.bge.0.stats.rx.Fragments: 0 dev.bge.0.stats.rx.UcastPkts: 117696 dev.bge.0.stats.rx.MulticastPkts: 1 dev.bge.0.stats.rx.FCSErrors: 41 dev.bge.0.stats.rx.AlignmentErrors: 0 dev.bge.0.stats.rx.xonPauseFramesReceived: 0 dev.bge.0.stats.rx.xoffPauseFramesReceived: 0 dev.bge.0.stats.rx.ControlFramesReceived: 0 dev.bge.0.stats.rx.xoffStateEntered: 0 dev.bge.0.stats.rx.FramesTooLong: 0 dev.bge.0.stats.rx.Jabbers: 0 dev.bge.0.stats.rx.UndersizePkts: 0 dev.bge.0.stats.rx.inRangeLengthError: 0 dev.bge.0.stats.rx.outRangeLengthError: 0 dev.bge.0.stats.tx.Octets: 125971311 dev.bge.0.stats.tx.Collisions: 0 dev.bge.0.stats.tx.XonSent: 0 dev.bge.0.stats.tx.XoffSent: 0 dev.bge.0.stats.tx.flowControlDone: 0 dev.bge.0.stats.tx.InternalMacTransmitErrors: 0 dev.bge.0.stats.tx.SingleCollisionFrames: 0 dev.bge.0.stats.tx.MultipleCollisionFrames: 0 dev.bge.0.stats.tx.DeferredTransmissions: 0 dev.bge.0.stats.tx.ExcessiveCollisions: 0 dev.bge.0.stats.tx.LateCollisions: 0 dev.bge.0.stats.tx.UcastPkts: 115417 dev.bge.0.stats.tx.MulticastPkts: 0 dev.bge.0.stats.tx.BroadcastPkts: 0 dev.bge.0.stats.tx.CarrierSenseErrors: 0 dev.bge.0.stats.tx.Discards: 0 dev.bge.0.stats.tx.Errors: 0 2010/2/19 Pyun YongHyeon > 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? > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >