Link to home
Start Free TrialLog in
Avatar of redforce
redforce

asked on

Dualprocessor

I've installed SuSE Linux 6.2 on my PC with a Gigabyte 6BXD Board and two CPU's on it. The problem is that Linux only recognizes one. Is there a way to activate the other one?
Avatar of freelon
freelon

You need to install or compile an SMP kernel.
I belive there is a define in the code that you have to change. Not so fun.
Avatar of redforce

ASKER

That's no answer to my question. Of course I need to change something. But where?

I read about SMP but I didn't find where to change the values.
So please could somebody tell me where to change what and what I need to compile again?
You need to recompile the entire kernel. read the kernel howto. When you are in the config stage, the SMP option is "Processor Type And Features"

Redhat includes a SMP enabled kernel, doesnt SuSE do the same?
You need to go to /usr/src/linux and remake the kernel. The usual sequence is make config, make dep, make clean, make zImage. This will put a kernel in /usr/src/linux/arch/i386/boot. If there is no option about smp support while doing the make config, you have to edit the Makefile by hand before doing the other steps. The section is documented, basically you just have to uncomment the line that says SMP=1 and the one that says SMP_PROF=1. This worked without problems on my Compaq dual pentium server with Slakware 2.0.34
You should find some documentation about smp under /usr/src/linux/Documentation. I usually write the new kernel to a floppy to test it (dd if=/usr/src/linux/arch/i386/boot/zImage of=/dev/fd0 Use dmesg | more to view the startup messages, you should see the two processors kicking off...
I have the exact configuration and post baseicle the same question... here was the awnsuer...


**************************************

OK, there are a few key steps needed to make this work.  You have to recompile your kernel.  While doing so answer the following prompts this way:

Symmetric Multiprocessing support - YES
RTC (real time clock) support - YES
APM (adv pow mgmt) - NO
MTRR (Mem Type Range Reg) - YES

Leave all others as they are.  Be sure to recompile and install your modules.  For more info on SMP support see:

http://www.redhat.com/mirrors/LDP/HOWTO/SMP-HOWTO.html 

For more info on recompiling kernel see:

http://www.redhat.com/mirrors/LDP/HOWTO/Kernel-HOWTO.html 

That should do it for you.

Good luck.


*********************************


if this work for you then you must give the points to someone with the name...
biard he is the one who post the answer originaly...


my configuration is...

BDX board with dual p3 (450)
128 MB ram, 13.0 Gh hard drive
Win NT, Win98, Linux (suse 6.1)
booting with lilo


good luck,
luis
When I activate SMP my System hangs up after login. Is there a parameter I need to activate too? Or what kind of cpu I have to adjust? (Mine are two PII 450MHz)
make sure that APM is disabled BOTH in BIOS and in the kernel, otherwise pretty much anything can happen in regard to random reboots / lockups / etc etc etc..

Ive run it on both Dual PPro, Dual Celeron, Dual P-III, DUal P-II and a Quad P-III
ASKER CERTIFIED SOLUTION
Avatar of biard
biard

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial