Re: Simplified Steps for Building a Loadable module on -CURRENT



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
_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Gnnaarrrrr!! :-(
    ... you're getting kernel panics after installing software, ... something added to your OS kernel by an installer. ... of my iPod Mini today too (iTunes is up to date as of today too), ...
    (uk.comp.sys.mac)
  • Re: Gnnaarrrrr!! :-(
    ... more frequently, apps are quitting on me for no apparent ... you're getting kernel panics after installing software, ... something added to your OS kernel by an installer. ...
    (uk.comp.sys.mac)
  • Re: Gnnaarrrrr!! :-(
    ... you're getting kernel panics after installing software, ... something added to your OS kernel by an installer. ...
    (uk.comp.sys.mac)
  • Re: Simplified Steps for Building a Loadable module on -CURRENT
    ... when installing a module using kldload now where things used to ... make buildkernel installkernel), and the module in question that was installed alongside your new kernel is *not* panicking the system? ... If the driver has been compiled into the kernel, kldload will error out with EEXISTS. ... If the system panics, you should provide specifics. ...
    (freebsd-current)
  • RE: Simplified Steps for Building a Loadable module on -CURRENT
    ... when installing a module using kldload now where things used to ... installed alongside your new kernel is *not* panicking the system? ... If the driver has been compiled into the kernel, kldload will error ... If the system panics, you should provide specifics. ...
    (freebsd-current)