LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-07-2005, 11:24 PM   #1
Squiddy
LQ Newbie
 
Registered: Oct 2003
Location: Auckland, New Zealand
Distribution: Slackware 10.1
Posts: 25

Rep: Reputation: 15
Dual Proccessors (and a quick question about dhcpd)


I've recently got a hold of an old server which is a dual celeron 533. Just wondering if anyone could help me out (or point me to a guide) that will help me unleash the second cpu, i think it involves messing with the kernel which i have never done.

As for the dhcpd question, i was just wondering how you go about telling it to assign ips from different pools on different interfaces eg eth1 192.168.1.20-30, eth2 192.168.1.50-60 etc.

Thanks

[edit] slack 10.1 is installed on it btw[/edit]

Last edited by Squiddy; 04-08-2005 at 12:23 AM.
 
Old 04-08-2005, 12:14 AM   #2
ahwkong
Member
 
Registered: Aug 2004
Location: Australia
Distribution: Fedora
Posts: 282

Rep: Reputation: 30
Usually the installer these days are smart enough to install a right kernel for your daul processors machine (At least in Fedora the installer always get it right)

Try
Code:
uname -a
and see if the kernel version has "smp" in the name or not. If yes, the kernel can already take advantage of the dual CPU.
 
Old 04-08-2005, 12:23 AM   #3
Squiddy
LQ Newbie
 
Registered: Oct 2003
Location: Auckland, New Zealand
Distribution: Slackware 10.1
Posts: 25

Original Poster
Rep: Reputation: 15
Linux dub 2.4.29 #6 Thu Jan 20 16:30:37 PST 2005 i686 unknown unknown GNU/Linux

when i do a cat /proc/cpuinfo it only has one cpu:

root@dub:/usr/src/linux-2.4.29# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 6
model name : Celeron (Mendocino)
stepping : 5
cpu MHz : 534.555
cache size : 128 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr
bogomips : 1064.96


Thanks for you help
 
Old 04-08-2005, 12:39 AM   #4
ahwkong
Member
 
Registered: Aug 2004
Location: Australia
Distribution: Fedora
Posts: 282

Rep: Reputation: 30
OK. Since I am not using your distro, so I draw my experience form Fedora. i.e. they may well be Fedora specific

If a smp-enabled kernel is not installed by default, I can download a smp-enabled kernel package form the RPMS depository. For exampe,
this rpm
Then use rpm to install it. A new kernel is now available for selection at boot time in grub (the boot loader)


So, in your case, it should be similar, but you may use apt instead of rpm and lilo instead of grub.
 
Old 04-08-2005, 12:41 AM   #5
BrianW
Member
 
Registered: Jul 2003
Location: Montana
Posts: 297

Rep: Reputation: Disabled
Slackware does not come with a kernel that has SMP configured by default. You will have to recompile the kernel and enable the SMP option.
 
Old 04-08-2005, 12:43 AM   #6
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
ahwkong that unfortunatly won't be that easy in Slackware since it doesn't uses/like RPM or DEB packages, and I think that compiling a kernel from source would be the best alternative for him (also, I think that there are not smp-enabled precompiled kernels for Slackware).
 
Old 04-08-2005, 12:49 AM   #7
gd2shoe
Member
 
Registered: Jun 2004
Location: Northern CA
Distribution: Debian
Posts: 835

Rep: Reputation: 49
Compiling your own kernel is not hard. The option you need is: Processor type and features-> Symmetric multi-processing support (this is on the 2.6.5 kernel; it should be very similar on other kernel versions).

I haven't done much kernel compiling, and am not a good reference yet. I can tell that it is not nearly as scary as I thought it would be. In choosing kernel options, I prefer the "make menuconfig" command. There are plenty of good instructions on how to do this, so I won't bother giving you any bad ones
 
Old 04-08-2005, 01:13 AM   #8
Squiddy
LQ Newbie
 
Registered: Oct 2003
Location: Auckland, New Zealand
Distribution: Slackware 10.1
Posts: 25

Original Poster
Rep: Reputation: 15
Alright, thanks for your help on this. I haven't compiled a kernel yet, but will following the write ups in this forum sufficient for me?
 
Old 04-08-2005, 01:15 AM   #9
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
They should be sufficient, but if you need extra help, this forum is excellent to provide that

The two things that go "wrong" when you compile a kernel (from what I've seen here, there are a lot of posts about this) is related to sound and console framebuffer, but they're not critical, getting a running kernel isn't hard.

Last edited by gbonvehi; 04-08-2005 at 01:17 AM.
 
Old 04-08-2005, 07:40 AM   #10
carboncopy
Senior Member
 
Registered: Jan 2003
Location: Malaysia
Posts: 1,210
Blog Entries: 4

Rep: Reputation: 45
remember to compile in your root file system as well.
Compiling your root filesystem as module won't work.

Well, pre-emptive warning.
 
Old 04-08-2005, 08:02 AM   #11
DaWallace
Member
 
Registered: Feb 2004
Location: Southern Maine, United States
Distribution: Slackware Ubuntu Debian FreeBSD
Posts: 418

Rep: Reputation: 31
don't use make install on the kernel. it's far more likely to make your system not boot than copying files and updating configuration manually.
 
  


Reply



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
quick dual boot question PenguinMolester Linux - Newbie 6 04-29-2005 03:10 PM
Quick Dual Boot Question Echo Kilo Linux - General 6 12-25-2004 05:46 PM
Please Help A Noob, Quick Question About Dual Boot JacobRV Linux - Newbie 6 11-18-2004 10:35 PM
quick question about my dhcpd problem scrawny Linux - Networking 4 02-16-2003 07:29 AM
Quick dual boot question... AMDPwred Linux - General 12 10-01-2002 11:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:46 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration