Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Aug 2006 12:44:13 +0900
From:      Pyun YongHyeon <pyunyh@gmail.com>
To:        David Christensen <davidch@broadcom.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Simplified Steps for Building a Loadable module on -CURRENT
Message-ID:  <20060831034413.GC52038@cdnetworks.co.kr>
In-Reply-To: <09BFF2FA5EAB4A45B6655E151BBDD90301E2F278@NT-IRVA-0750.brcm.ad.broadcom.com>
References:  <09BFF2FA5EAB4A45B6655E151BBDD90301E2F278@NT-IRVA-0750.brcm.ad.broadcom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

 > work before.  Assume I'm a complete FreeBSD noob for a moment 
 > (which really isn't that far from the truth) and I want to build
 > a driver as a loadable module for testing.  After moving to
 > the appropriate directory in the source tree (/usr/src/sys/dev/XXX),
 > what steps do I need to follow to build the driver as a module?
 > 
 > Assume for the moment that I have already commented the driver out
 > of my kernel configuration file
 > (/usr/src/sys/<architecture>/conf/GENERIC)
 > and rebuilt and installed that kernel.
 > 
 > Dave
 > 

-- 
Regards,
Pyun YongHyeon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060831034413.GC52038>