DragonFly users List (threaded) for 2007-02
DragonFly BSD
DragonFly users List (threaded) for 2007-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Multiple kernel building/installing


From: YONETANI Tomokazu <qhwt+dfly@xxxxxxxxxx>
Date: Fri, 23 Feb 2007 08:39:12 +0900

On Thu, Feb 22, 2007 at 11:49:32PM +0100, Gergo Szakal wrote:
> (did not want to pollute the commits list)
> Does the last commit by corecode make it possivle to build/install an SMP and a non-SMP kernel together?

You've been able to *build* multiple kernels:
  make KERNCONF='GENERIC LINT' buildkernel
but you couldn't install the kernels with different names.  However,
even if you install an SMP and non-SMP kernels with different names,
not all kernel modules can be shared -- at least any kernel modules
using spinlocks, such as nfs.ko and acpi.ko (and you don't want to
compile acpi in the kernel, as some of important fixes in *.patch files
are not used).  Of course, if you don't mind keeping multiple sets of
kernel/modules, you can specify DESTDIR to install them under separate
directories.  You can use module_path variable in boot loader to point
to that directory:
  set module_path="/smp/;/smp/modules/"

Cheers.



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]