LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 06-17-2002, 03:35 PM   #1
jyusko
LQ Newbie
 
Registered: Jun 2002
Posts: 2

Rep: Reputation: 0
Question Adding a 2nd CPU to RH7.3


Hi guys. I have RH7.3 installed on an intel box with a p3-1.26. Recently, I've popped in a second processor of the same.

BIOS confirms its there, my question is, do I need to reinstall RH, or is there some command I can run to verify the existance of my second processor being utilized by RH?

Thanks,
joe
 
Old 06-17-2002, 05:34 PM   #2
finegan
Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 57
No, its a matter of you have the kernel pre-compiled for uniprocessors by the kids over at RH. I think, I've only ever run smp under slack. To find out for certain:

cat /proc/cpuinfo

if there are 2 chips up, there should be two entries.

If not, its a kernel re-compile. in /usr/src/linux/ Redhat put in a directory called config or some such with a bunch of .config files for different hardware setups. You can simply copy one of those up a directory level and compile that. Make certain to re-name the directory though so that when you compile the modules, they don't over-write the pre-existing /lib/modules folder. You want to keep that old kernel as a boot option in case something doesn't come out right.

Actually, if you've never done it, best to go over to linux-doc and read the kernel compiling how-to.

Luck,

Finegan
 
Old 06-19-2002, 08:39 AM   #3
jyusko
LQ Newbie
 
Registered: Jun 2002
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks!

Thanks for the reply. It was most helpful. I think I'm just going to do a reinstall as I really hadn't had much set up on it that I couldn't live without.

Thanks again!

joe
 
Old 06-20-2002, 02:06 PM   #4
Glover
LQ Newbie
 
Registered: Jun 2002
Location: Detroit
Distribution: Fedora, Gentoo
Posts: 14

Rep: Reputation: 0
Hi jyusko. I've found that if you use the RPM command it can make installing another kernel very easy.

For instance, if you are currently running kernel-2.4.18-5, then to install the smp kernel, just download kernel-smp-2.4.18-5.i686.rpm and run the command:
rpm -ivh kernel-smp-2.4.18-5.i686.rpm
and it will install the smp version and even place it in Grub for you as a 2nd choice when you boot.

(this is assuming you'd want the 686 version [Pentium III class])
We have an official RH mirror where I work: ftp://mirror.pa.msu.edu/linux/redhat...7.3/en/os/i686
 
Old 06-22-2002, 11:10 AM   #5
zLinuxz
Senior Member
 
Registered: Feb 2002
Location: Shanghai, CHINA
Distribution: RH 5.0,5.1 6.0,6.1 7.0,7.1,7.2,7.3.,8.0,9.0, RH Enterprise, Fedora C1, C2
Posts: 1,216

Rep: Reputation: 45
I run RH 7.2 on my duel 600. The new kernels all come with the default set for smp, and if I'm not wrong I think that the guys at RH also left it that way in RH7.3. So what you should do is go into the gnome menu, which I'm assuming you are running since it's Redhats default to run Gnome, then go to System and then to System information, if you see under CPU information, info about CPU 0 and CPU1, then that means that the kernel was by default set with SMP support, so you should feel very good about this. Otherwise, you do have to recompile your kernel, and I suggest you don't recompile by using rpms...rpms don't work always.

zLinuxz
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Lazy 2nd CPU circusbug Linux - Hardware 5 06-19-2005 01:19 AM
SMP and 2nd cpu FeeBLe Linux - Hardware 4 05-04-2005 11:57 AM
2nd cpu not recognized dna9 Linux - Hardware 12 01-07-2005 12:31 AM
Adding a 2nd harddrive for backups, how do I do this lexington Linux - Newbie 2 05-03-2004 10:25 PM
Advice on how to enable 2nd CPU RH9 sallas Linux - Hardware 2 01-30-2004 07:02 PM


All times are GMT -5. The time now is 01:39 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration