From owner-freebsd-stable@FreeBSD.ORG Thu Jan 14 23:26:19 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 656871065679 for ; Thu, 14 Jan 2010 23:26:19 +0000 (UTC) (envelope-from erik@malcolm.berkeley.edu) Received: from malcolm.berkeley.edu (malcolm.Berkeley.EDU [IPv6:2607:f140:ffff:ffff::239]) by mx1.freebsd.org (Postfix) with ESMTP id 2C3D18FC08 for ; Thu, 14 Jan 2010 23:26:19 +0000 (UTC) Received: from malcolm.berkeley.edu (localhost [127.0.0.1]) by malcolm.berkeley.edu (8.14.3/8.13.8m1) with ESMTP id o0ENQIt6028366 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 14 Jan 2010 15:26:18 -0800 (PST) (envelope-from erik@malcolm.berkeley.edu) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.95.3 at malcolm.berkeley.edu Received: (from erik@localhost) by malcolm.berkeley.edu (8.14.3/8.13.3/Submit) id o0ENQIFK028365; Thu, 14 Jan 2010 15:26:18 -0800 (PST) (envelope-from erik) Date: Thu, 14 Jan 2010 15:26:18 -0800 From: Erik Klavon To: Pyun YongHyeon Message-ID: <20100114232618.GA27380@malcolm.berkeley.edu> References: <20100114014719.GA11284@malcolm.berkeley.edu> <20100114020640.GT1228@michelle.cdnetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100114020640.GT1228@michelle.cdnetworks.com> User-Agent: Mutt/1.4.2.3i X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.3 (malcolm.berkeley.edu [127.0.0.1]); Thu, 14 Jan 2010 15:26:19 -0800 (PST) Cc: freebsd-stable@freebsd.org Subject: Re: bge panic in 8.0 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: Thu, 14 Jan 2010 23:26:19 -0000 On Wed, Jan 13, 2010 at 06:06:40PM -0800, Pyun YongHyeon wrote: > On Wed, Jan 13, 2010 at 05:47:19PM -0800, Erik Klavon wrote: > > One of my amd64 machines running 8.0p1 acting as a NAT system for many > > network clients dropped into kdb today. tr indicates a problem in > > bge. > > > > Tracing pid 12 tid 100033 td 0xffffff0001687000 > > pmap_kextract() at pmap_kextract+0x4e > > bus_dmamap_load() at bus_dmamap_load+0xab > > bge_newbuf_std() at bge_newbuf_std+0xcc > > bge_rxeof() at bge_rxeof+0x36a > > bge_intr() at bge_intr+0x1c0 > > intr_event_execute_handlers() at intr_event_execute_handlers+0xfd > > ithread_loop() at ithread_loop+0x8e > > fork_exit() at fork_exit+0x118 > > fork_trampoline() at fork_trampoline+0xe > > --- trap 0, rip = 0, rsp = 0xffffff8074c01d30, rbp = 0 --- > > > > I haven't been able to find a PR that matches this particular trace. > > > > Pyun recently MFCd to stable (hence my post to this list) some changes > > to bge that involve functions in the above trace and according to the > > commit log (r201685) may address a kernel panic. Is there any > > indication in the above trace that this is the type of panic the > > commit attempts to address? I don't have a core dump for this > > panic. This machine has been unstable on 8, so I may be able to get a > > core dump in the future. If there is other information you'd like me > > to gather, please let me know. > > Yes, that part of code in trace above were rewritten to address > bus_dma(9) issues. So it would be great if you can try latest > bge(4) in stable/8 and let me know how it goes on your box. I guess > you can just download if_bge.c and if_bgereg.h from stable/8 and > rebuild bge(4) would be enough to run it on 8.0-RELEASE. Great, I will try this out on a test machine today. If it holds up under testing, I will put it into production. These crashes can happen weeks after a machine boots, so I won't know if the problem is solved for some time. Thanks for your help, Erik