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

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


From: "Justin C. Sherrill" <justin@xxxxxxxxxxxxxxxxxx>
Date: Fri, 26 Nov 2004 11:44:54 -0500 (EST)

> 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.





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