How to compile for SMP

OS / Drivers / BIOS
Post Reply
MeatBall
Posts: 2
Joined: Fri May 09, 2003 3:20 am

How to compile for SMP

Post by MeatBall »

I've tried a couple of times to compile the kernel to enable SMP support, and it failed. I've set "options SMP" and "options ACPI_IO" in the kernal config, and disabled "cpu CPU_I386" and "cpu CPU_I486" or whatever the cpu options were, but no luck.
The first kernel I compiled made the pc power down halfway through the boot process, the second kernel just hung right after enabling the second cpu.
I'm using FreeBSD 5.0-RELEASE, anyone have any ideas?
--
/Meaty
hyperspace
Board Admin
Posts: 1395
Joined: Wed Jul 24, 2002 7:39 am
Location: Lincoln, NE USA
Contact:

Post by hyperspace »

I find these using google:

http://www.stacken.kth.se/lists/arla-dr ... 00066.html

http://www.freeos.com/articles/3827/

Don't know if it has anything to do with your issue but it did discuss ACPI. There are many links on google about SMP compiling. You might want to check it out.
Quantum WormHole

Image
lost in hypertime...
m0gely
Posts: 32
Joined: Sat Jul 27, 2002 6:01 pm

Re: How to compile for SMP

Post by m0gely »

MeatBall wrote:"options SMP" and "options ACPI_IO"
I think you mean APIC, not ACPI. List the steps you took to compile the kernel and I will help. I had 5.0 running at home for a while. 4.8 right now.
- m0gely
http://quake2.telestream.com/
q2 | q3 | counter-strike

-=[ BP6|366's@550@1.95v|512M|30G RAID0|TNT2u|SBLive|Win2K3 ]=-
bambam
Posts: 11
Joined: Sun May 11, 2003 3:56 pm

Post by bambam »

options SMP
options APIC_IO
Post Reply