From owner-freebsd-stable@FreeBSD.ORG Thu Jan 14 02:07:26 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 6577C1065670 for ; Thu, 14 Jan 2010 02:07:26 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-qy0-f174.google.com (mail-qy0-f174.google.com [209.85.221.174]) by mx1.freebsd.org (Postfix) with ESMTP id D758F8FC0C for ; Thu, 14 Jan 2010 02:07:25 +0000 (UTC) Received: by qyk4 with SMTP id 4so11224372qyk.7 for ; Wed, 13 Jan 2010 18:07:22 -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=Osx4rfNi9NFatN3AunBCGGXoUl9yCyV0pjVN4gDalCs=; b=iwCAoXU9nfp8FO8xM5O1SgzGllJmFVmoJLyUdZ7qzOVmdrgitWFshaKkOPPAsp49et l+d0Xmr5Um5DNdOdoDLhT81IafMS/MdQTc/iKuEUJNwhFWP4WdsNBeGVqotJwl2Riev9 9VFr1UT80e7ZTtug4llSWYaYEzVWZ+e54c3l4= 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=vB9Nk8lCymHbk6mqa/Sn8sNDn8DO6HQiwaJqdlXkbxmZnGj1djwqWURySZbAJaUP5F fpX3nVH4yqB9GNQ3sNmrygdZAYlp/SvDqtnvakS7+okQAIHn3KqLhlBdy7K1CRbnZ1c1 9YFH7BQvo1zgNp3yzL7ns5LZKDE75+YUCJyiI= Received: by 10.224.106.144 with SMTP id x16mr65315qao.259.1263434842534; Wed, 13 Jan 2010 18:07:22 -0800 (PST) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id 22sm150982qyk.2.2010.01.13.18.07.20 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 13 Jan 2010 18:07:21 -0800 (PST) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Wed, 13 Jan 2010 18:06:40 -0800 From: Pyun YongHyeon Date: Wed, 13 Jan 2010 18:06:40 -0800 To: Erik Klavon Message-ID: <20100114020640.GT1228@michelle.cdnetworks.com> References: <20100114014719.GA11284@malcolm.berkeley.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100114014719.GA11284@malcolm.berkeley.edu> User-Agent: Mutt/1.4.2.3i 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 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, 14 Jan 2010 02:07:26 -0000 On Wed, Jan 13, 2010 at 05:47:19PM -0800, Erik Klavon wrote: > Hi > > 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. > Thanks, > > Erik