From owner-freebsd-current@FreeBSD.ORG Fri Sep 1 16:50:12 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3275B16A4DA for ; Fri, 1 Sep 2006 16:50:12 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 726FC43D49 for ; Fri, 1 Sep 2006 16:50:11 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.6/8.13.6) with ESMTP id k81Gnn2Q036325; Fri, 1 Sep 2006 12:49:52 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: pyunyh@gmail.com Date: Fri, 1 Sep 2006 12:14:28 -0400 User-Agent: KMail/1.9.1 References: <09BFF2FA5EAB4A45B6655E151BBDD90301E2F278@NT-IRVA-0750.brcm.ad.broadcom.com> <200608311528.14556.jhb@freebsd.org> <20060901035914.GD56713@cdnetworks.co.kr> In-Reply-To: <20060901035914.GD56713@cdnetworks.co.kr> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200609011214.28664.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Fri, 01 Sep 2006 12:49:52 -0400 (EDT) X-Virus-Scanned: ClamAV 0.88.3/1784/Fri Sep 1 08:00:05 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: David Christensen , freebsd-current@freebsd.org, LI Xin Subject: Re: Simplified Steps for Building a Loadable module on -CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Sep 2006 16:50:12 -0000 On Thursday 31 August 2006 23:59, Pyun YongHyeon wrote: > On Thu, Aug 31, 2006 at 03:28:13PM -0400, John Baldwin wrote: > > On Thursday 31 August 2006 06:22, Pyun YongHyeon wrote: > > > On Thu, Aug 31, 2006 at 05:32:13PM +0800, LI Xin wrote: > > > > Pyun YongHyeon wrote: > > > > > On Wed, Aug 30, 2006 at 03:12:59PM -0700, David Christensen wrote: > > > > > > I've been able to successfully build drivers in the past as > > > > > > loadable modules but I'm getting some kernel panics with -CURRENT > > > > > > when installing a module using kldload now where things used to > > > > > > > > > > I wonder you encountered the same panic I have been seeing on CURRENT. > > > > > I get "Fatal trap 30" message when I load em(4) module with kldload. > > > > > > > > What does Fatal trap 30 mean in these places? I get some strange fatal > > > > trap 30's in acpi_cpi_idle, but I can not imagine how can these > > happen :-( > > > > > > > > > > Don't know what's cause of the panic since it used to work ok. > > > See > > http://lists.freebsd.org/pipermail/freebsd-current/2006-August/065243.html > > > > Trap 30 means an IDT vector fired that we didn't expect. In this case, I > > think it may only happen on SMP, and it maybe that the interrupt gets sent to > > Yes, it's SMP(i386). Can you try disabling SMP via kern.smp.disabled? -- John Baldwin