any doc on how to compile, and install SMP kernel on current DFL installation

Justin C. Sherrill justin at shiningsilence.com
Fri Nov 26 08:39:45 PST 2004


> Is there any doc on how to compile, and install SMP kernel on current DFL
> installation?

Short answer: make custom kernel:
http://leaf.dragonflybsd.org/~justin/handbook/kernelconfig.html

Longer answer:

Copy /usr/src/sys/i386/conf/GENERIC to /usr/src/sys/i386/conf/MYKERNEL
Edit the MYKERNEL file; remove the # comment marks before the lines that say:

#options 	SMP			# Symmetric MultiProcessor Kernel
#options 	APIC_IO			# Symmetric (APIC) I/O

If you have not updated your source files since the last time you build
world, or have never updated the system since install, do this as root:

cd /usr/src
make buildkernel KERNCONF=MYKERNEL
make installkernel KERNCONF=MYKERNEL
reboot

When your machine comes back up, you should have a MP kernel.  If you have
updated the contents of /usr/src/ since you last built a new kernel, you
will want to do a full buildworld - check the handbook linked above for
details.







More information about the Users mailing list