From owner-freebsd-stable@FreeBSD.ORG Thu Feb 18 21:32:58 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 0425510656A3 for ; Thu, 18 Feb 2010 21:32:58 +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 354EA8FC14 for ; Thu, 18 Feb 2010 21:32:56 +0000 (UTC) Received: by vws14 with SMTP id 14so916974vws.13 for ; Thu, 18 Feb 2010 13:32:56 -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=Vjzb3yCa1aRYdJrqYYBoBYrmfZ29eMYYAOEdXkGflZQ=; b=xbJl1FbZn5OIgoxaZbx1EnbaBvC5J4Ik5dF+hoXC/RUIJkndFCNXMbO8bOnnc+WWl8 0ayHdej+ksYm3WeSIe62nAXpp5vWLxfsKwQ7mbClgrcqYjMim3sEnDHRGKBYdBjYt9ue dUJ3aMdEVl1r2fxxYGwU6R4Sg/bU035+gCsT0= 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=ICjr62CeIzwLLM1bKMrECGUVOpRvx3LSdSDA2A6HuWZET2GdxO7k9qZdrOJyd4mLB1 8Hvk8jOcr3RmgYsQl4Er+E/G5JjAa/lysiHcSczEj+f3gYY0KdatyQ4LECbr04l82SlA Aoj/ibDzwFAe85jMyEbn3uk+IwRpKIqM/SZhU= Received: by 10.220.107.228 with SMTP id c36mr5984607vcp.165.1266528776220; Thu, 18 Feb 2010 13:32:56 -0800 (PST) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id 42sm30617164vws.8.2010.02.18.13.32.53 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 18 Feb 2010 13:32:54 -0800 (PST) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Thu, 18 Feb 2010 13:32:13 -0800 From: Pyun YongHyeon Date: Thu, 18 Feb 2010 13:32:13 -0800 To: Slawa Olhovchenkov Message-ID: <20100218213213.GD11675@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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100218212428.GJ55307@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: Thu, 18 Feb 2010 21:32:58 -0000 On Fri, Feb 19, 2010 at 12:24:28AM +0300, Slawa Olhovchenkov wrote: > On Thu, Feb 18, 2010 at 11:36:12AM -0800, Pyun YongHyeon wrote: > > > On Thu, Feb 18, 2010 at 05:38:22PM +0300, Slawa Olhovchenkov wrote: > > > On Tue, Feb 16, 2010 at 09:57:19AM -0800, Pyun YongHyeon wrote: > > > > > > > On Sun, Feb 14, 2010 at 10:04:58AM -0800, Nick Rogers wrote: > > > > > I'm having repeated kernel panic issues on 8.0-RELEASE/amd64. Can anyone > > > > > shed light on the below error? I unfortunately cannot provide a proper crash > > > > > dump. The pointer addresses are always the same. The only other thing I've > > > > > noticed that may be related is a watchdog timeout on bge0 error before the > > > > > panic. Thanks. > > > > > > > > > > > > > Any chance to get backtrace from the crash? > > > > > > I got same trouble on the same platform (8.0-STABLE/amd64). > > > hw.bge.allow_asf=0 already > > > > > > I got 2 proper crash dump (first w/ net.inet.ip.forwarding=1 > > > and second w/ net.inet.ip.forwarding=0). > > > > > > > It looks like mbuf pointer was changed to NULL in the middle of IP > > forwarding and IP fragment stage. If bge(4) frees passed mbufs this > > may happen but I'm not sure this comes from bge(4). > > By chance, are you using polling(4) on bge(4)? Also show me the > > I am not using polling. > Ok. > > dmesg output(only bge(4) related one). > > dmesg from boot: > > bge0: mem 0xfdf70000-0xfdf7ffff irq 25 at device 2.0 on pci2 > miibus0: on bge0 > brgphy0: PHY 1 on miibus0 > brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto > bge0: Ethernet address: 00:14:c2:3d:e5:52 > bge0: [ITHREAD] > bge1: mem 0xfdf60000-0xfdf6ffff irq 26 at device 2.1 on pci2 > miibus1: on bge1 > brgphy1: PHY 1 on miibus1 > brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto > bge1: Ethernet address: 00:14:c2:3d:e5:51 > bge1: [ITHREAD] > bge1: link state changed to UP > bge0: link state changed to UP > > Nothing in dmesg before trap. > Is this PCI-X controller? It would be even better if you can post bge(4) related dmesg output of verbosed boot and the output of "pciconf -lcv".