From owner-freebsd-stable@FreeBSD.ORG Fri Feb 19 20:07:29 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 0615B106568D for ; Fri, 19 Feb 2010 20:07:29 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.25]) by mx1.freebsd.org (Postfix) with ESMTP id A9DDB8FC12 for ; Fri, 19 Feb 2010 20:07:28 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 8so88701qwh.7 for ; Fri, 19 Feb 2010 12:07:27 -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=KDMDZLvVK8kal+ViJSKWW3MgymDyBv3wH67Ik9Mf5xI=; b=IBqbvtCULBx8hfXkROU9ftKbZlL5El8WWHPicZlSV4G8uAkQKyNcLFQj2oJMTI0ta/ iOikbT+/p4oR33Rmj8ZGqWfUb536Q+VIHu9HZD6ogoCoo98biZDv5babzPzz4zjg4XoV et/2ceQ1MfK06+uZWy8nvCcq1qHnwCu7OmTvI= 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=YE688dnIWziQ4AdluKokTvuPmiGfQ5v33uaXPBuEgLcRzLuSCMXS8oCZf/8iZ1Gf9u GiswfP5BRICCPYTCHY7rRvD3pZxmCYe2hJnH2P2uGFivGbFbE4IIGKkC/11s8VvtKNx7 WVDQlb5EpedatHk4fynJ0iOQN6QvnaPme4Yfc= Received: by 10.224.123.96 with SMTP id o32mr3767112qar.290.1266610047788; Fri, 19 Feb 2010 12:07:27 -0800 (PST) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id 8sm1527972qwj.31.2010.02.19.12.07.25 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 19 Feb 2010 12:07:26 -0800 (PST) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Fri, 19 Feb 2010 12:06:47 -0800 From: Pyun YongHyeon Date: Fri, 19 Feb 2010 12:06:47 -0800 To: Slawa Olhovchenkov Message-ID: <20100219200647.GK11675@michelle.cdnetworks.com> References: <20100218143822.GA8380@zxy.spb.ru> <20100218193612.GB11675@michelle.cdnetworks.com> <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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100219191103.GT55307@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 20:07:29 -0000 On Fri, Feb 19, 2010 at 10:11:03PM +0300, Slawa Olhovchenkov wrote: > On Fri, Feb 19, 2010 at 11:03:59AM -0800, Pyun YongHyeon wrote: > > > On Fri, Feb 19, 2010 at 03:24:15PM +0300, Slawa Olhovchenkov wrote: > > > On Fri, Feb 19, 2010 at 08:51:29AM +0300, Slawa Olhovchenkov wrote: > > > > > > > On Thu, Feb 18, 2010 at 04:19:13PM -0800, Pyun YongHyeon wrote: > > > > > > > > > > > > > > I'm still not sure whether the panic is related with bge(4) but > > > > > there are a couple of missing workaround for PCIX BCM5704 silicon > > > > > bug in bge(4). Did you also see the panic before updating to > > > > > stable/8? > > > > > > > > Before updating to stable/8 2010-Feb-16 I see network freez on stable/8 > > > > 2009-Sep -- bge stop receiving packets (by tcpdump), after aprox. 40-50 > > > > days uptime. > > > > > > > > > > > > > Anyway, try attached patch and let me know how it works. > > > > > > > > Thanks, I try. > > > > > > > > > > I don't get trap after 2 hour, but already see next trouble: > > > > > > === > > > PING 10.200.0.1 (10.200.0.1): 56 data bytes > > > > > > --- 10.200.0.1 ping statistics --- > > > 100 packets transmitted, 97 packets received, 3.0% packet loss > > > round-trip min/avg/max/stddev = 0.188/0.268/0.356/0.044 ms > > > === > > > > > > w/o patch, but witch fresh source I see same trouble: after 12 hour 7% lost. > > > netstat -i don't show any errors. > > > > I think BCM5704 supports HW MAC statistics counter. Try extract it > > with "sysctl dev.bge.0.stats". It will give you much more > > information. > [...] > 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.