From owner-freebsd-stable@FreeBSD.ORG Fri Feb 19 19:04: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 2EB17106566C for ; Fri, 19 Feb 2010 19:04:43 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id C9CCC8FC0C for ; Fri, 19 Feb 2010 19:04:42 +0000 (UTC) Received: by vws14 with SMTP id 14so163743vws.13 for ; Fri, 19 Feb 2010 11:04: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=FmYRVUs9J9tM2TGt+14Vr0skaQMf7jBDuPzX0W/TeKw=; b=lMcv5Z3g5VK2Ajvp2yHBBEUHnklj0g5cAwkWI7I8awttman+8hGP4DPYDmuebFs9Da wKvaAIJusIZ9i3BCTKNeMZ15d8TREfRHrbvP/qCITiecmEW44srzk9Ufgk1tUyrmLa/2 sUsFgu3DJDa8jhISnnoGnCHODlfGXpj6fmX4k= 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=VkY0YSeXejLbQ/nCZgC2dYa1gv1OyMd9wwp3ZXWiRmeBg9dMjwLM3gCHUOUkxM1+nD i+9zksBXxm1xaCAM3yxydd2gnF+//RmWEf8cH3IjR89eAr2MsHfP/8aryMsnPunt+MyI NO4WqqyxyKAlt3HqXUiRAtiT9DhXh0Z7zLTS4= Received: by 10.220.99.208 with SMTP id v16mr4533875vcn.89.1266606279521; Fri, 19 Feb 2010 11:04:39 -0800 (PST) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id 35sm3468768vws.0.2010.02.19.11.04.37 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 19 Feb 2010 11:04:38 -0800 (PST) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Fri, 19 Feb 2010 11:03:59 -0800 From: Pyun YongHyeon Date: Fri, 19 Feb 2010 11:03:59 -0800 To: Slawa Olhovchenkov Message-ID: <20100219190359.GJ11675@michelle.cdnetworks.com> References: <147432021002141004o6c1412b7gd548b87709532ef9@mail.gmail.com> <20100216175719.GB1394@michelle.cdnetworks.com> <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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100219122415.GR55307@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 19:04:43 -0000 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.