Dual CPU's and Linux Question
Hey All -
Im super noobie! Just a quick question. Im running a webserver on a dual cpu machine (motherboard) but the board only has one CPU (pentium 4 Xenon 2.4 GHz) on it. I just purchased a second CPU to add to the motherboard. Now, can I just throw that in and turn it on with no problems or will I have to re-compile the kernal or re-install it or something? Thanks, Dirt |
You have to use the smp kernel. If not installed you will need to install the rpm. Then you should recompile it.
|
How do I know if im running the smp kernal or not?
|
If its RedHat then type "uname -a" if you see something like smp-kernel or just smp then your should be ok. Maybe double the BIOS config? Otherwise you'll have to either get a new kernl RPM from RedHat or recompile your kernel from source.
--tarballedtux |
ok, Im still waiting on the second cpu to be delivered. I would think that I have to put the cpu in before I can check to see if it is set up for smp. I have read on here that...the "uname -a" command doesnt say anything about smp.
Quote:
I tried to recompile and I got a bunch of errors after "make modules" any ideas??? Heres what I did. make menuconfig * selected smp option with space bar * make clean make dep make bzImage make modules Code:
/usr/src/linux-2.4.18-14/include/linux/poll.h:33: parse error before numeric constant |
you might be better to start from source, get the latest kernel from www.kernel.org 2.4.22 at this point in time,
extract to /usr/src then in the extracted dir, just do make menuconfig fill in what you want... then make && make install && make modules && make modules_install, copt the bzImage from arch/i386/boot/ to /boot update lilo or grub etc and reboot, and just tweak till exrything works... alternatively search the rmpfind db for a smp kernel rpm |
I found my problem, I had to do a
$make mrproper It compiled fine after that. I have one more question. Is there a specific kernel for smp? I keep hearing "download the smp kernel" Can I just activate it in my make menuconfig? Or am I missing something somewhere? Dirt |
Yeah, after typing "make menuconfig"
Under "Processor Type and Features" Select "Symmetric Multi-Processing" or SMP --tarballedtux |
All times are GMT -5. The time now is 02:40 PM. |