From owner-freebsd-current@FreeBSD.ORG Fri Sep 1 03:57:30 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 92DF016A4DE for ; Fri, 1 Sep 2006 03:57:30 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.176]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7BB3443D49 for ; Fri, 1 Sep 2006 03:57:29 +0000 (GMT) (envelope-from pyunyh@gmail.com) Received: by py-out-1112.google.com with SMTP id o67so1038595pye for ; Thu, 31 Aug 2006 20:57:24 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=d2uDhB+7VUF1dhlq3kS3NdZNXSsV56dcTmB1sb47JvRNcTffw8z/8bDX3/3KeTjnkMMC+tj2nV3Pd2yQyLZwYN5J+yGAQx9TMzJFqfcjQymYJTN2P7CHNYdiYFwIr2ON1FP/uvh9lgnqWxpB1d4yLy9Zg1unCH4RSQabf3dPwMQ= Received: by 10.35.20.14 with SMTP id x14mr2061376pyi; Thu, 31 Aug 2006 20:57:24 -0700 (PDT) Received: from michelle.cdnetworks.co.kr ( [211.53.35.84]) by mx.gmail.com with ESMTP id 15sm3825863nzo.2006.08.31.20.57.22; Thu, 31 Aug 2006 20:57:24 -0700 (PDT) Received: from michelle.cdnetworks.co.kr (localhost.cdnetworks.co.kr [127.0.0.1]) by michelle.cdnetworks.co.kr (8.13.5/8.13.5) with ESMTP id k813xF0R057474 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 1 Sep 2006 12:59:15 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id k813xEDg057473; Fri, 1 Sep 2006 12:59:14 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Fri, 1 Sep 2006 12:59:14 +0900 From: Pyun YongHyeon To: John Baldwin Message-ID: <20060901035914.GD56713@cdnetworks.co.kr> References: <09BFF2FA5EAB4A45B6655E151BBDD90301E2F278@NT-IRVA-0750.brcm.ad.broadcom.com> <44F6AC9D.1080906@delphij.net> <20060831102213.GD52038@cdnetworks.co.kr> <200608311528.14556.jhb@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200608311528.14556.jhb@freebsd.org> User-Agent: Mutt/1.4.2.1i 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 Reply-To: pyunyh@gmail.com 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 03:57:30 -0000 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). > a CPU that hasn't seen the update to the IDT yet. Try this patch: > Sorry, it sill happens. -- Regards, Pyun YongHyeon