Ruslan Ermilov wrote:
> On Sun, Feb 23, 2003 at 03:54:30PM +0300, Sergey Matveychuk wrote:
> > > That's saying the acpi.ko module was not built and installed.
> > >
> > > When you install your new kernel, use the Makefile target, instead
> > > of using "cp", or it won't install the modules it builds.
> > >
> > > If you did this, then check your make.conf to see if you are
> > > specifically telling it to not build modules, or only telling it
> > > to build specific modules, etc..
> >
> > I build modules with buildworld and install it with installworld. No "cp".
> > All modules installed well. I'll check acpi.ko.
> >
> MODULES_WITH_WORLD causes modules to be installed during installworld.
> But when you later do installkernel, it renames /boot/kernel to
> /boot/kernel.old, so all your modules end up there.  Don't use
> MODULES_WITH_WORLD, or use ``make reinstallkernel'' which is safe
> for MODULES_WITH_WORLD environment.


This only works for a new kernel where the modules you have are
binary compatible with both it and the old kernel.

In reality, you probably *want* the old modules under kernel.old,
and *entirely new* modules under kernel, to go with the new kernel.

Otherwise you end up with kernel.old with old kernel and new
modules, or kernel.old with old kernel and old modules, but
you never get new kernel with new modules.

In other words: don't use MODULES_WITH_WORLD, it's a bad idea.

-- Terry

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to