Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi,
I can't find the kernel-smp package in RHEL5.2 or even in centos5.2 versions. Does its been removed? But its in RHEL4 and centos 4 kernels (2.6.9).
Then how come kernels will work with multiple processors? Or may be there is a workaround which I don't know.
RHE is not a free distro go to there site and sign in there you can look at the repositories. otherwise go to fedoras core repositories and get there smp kernel. but if you type in a terminal uname -a you might fine you are running a smp kernel. think all of rehl was smp after 2.6.18. anyway you most likeley you will have to use yum and update. use your package manger and you will find it there. all linux kernels can be built smp. and bet 1 dollar yours is smp. not for sure look at your config file right at the top it is smp=y
if you do not under stand rpms or compile please take your time read the doc then we are here to help.
Here is a section of config file and as you said there it is.
Code:
# Processor type and features
#
CONFIG_X86_PC=y
# CONFIG_X86_VSMP is not set
# CONFIG_MK8 is not set
# CONFIG_MPSC is not set
CONFIG_GENERIC_CPU=y
# CONFIG_X86_64_XEN is not set
CONFIG_X86_L1_CACHE_BYTES=128
CONFIG_X86_L1_CACHE_SHIFT=7
CONFIG_X86_INTERNODE_CACHE_BYTES=128
CONFIG_X86_TSC=y
CONFIG_X86_GOOD_APIC=y
CONFIG_MICROCODE=m
CONFIG_X86_MSR=y
CONFIG_X86_CPUID=y
CONFIG_X86_HT=y
CONFIG_X86_IO_APIC=y
CONFIG_X86_LOCAL_APIC=y
CONFIG_MTRR=y
CONFIG_SMP=y
CONFIG_SCHED_SMT=y
CONFIG_SCHED_MC=y
But why it doesn't show the smp kernel in grub.conf file as like RHEL4/centos4 shows like this.
Code:
title Red Hat Enterprise Linux AS (2.4.21-15.ELsmp)
root (hd0,0)
kernel /vmlinuz-2.4.21-15.ELsmp ro root=LABEL=/
initrd /initrd-2.4.21-15.ELsmp.img
title Red Hat Enterprise Linux AS-up (2.4.21-15.EL)
root (hd0,0)
kernel /vmlinuz-2.4.21-15.EL ro root=LABEL=/
initrd /initrd-2.4.21-15.EL.img
Here is a section of config file and as you said there it is.
Code:
# Processor type and features
#
CONFIG_X86_PC=y
# CONFIG_X86_VSMP is not set
# CONFIG_MK8 is not set
# CONFIG_MPSC is not set
CONFIG_GENERIC_CPU=y
# CONFIG_X86_64_XEN is not set
CONFIG_X86_L1_CACHE_BYTES=128
CONFIG_X86_L1_CACHE_SHIFT=7
CONFIG_X86_INTERNODE_CACHE_BYTES=128
CONFIG_X86_TSC=y
CONFIG_X86_GOOD_APIC=y
CONFIG_MICROCODE=m
CONFIG_X86_MSR=y
CONFIG_X86_CPUID=y
CONFIG_X86_HT=y
CONFIG_X86_IO_APIC=y
CONFIG_X86_LOCAL_APIC=y
CONFIG_MTRR=y
CONFIG_SMP=y
CONFIG_SCHED_SMT=y
CONFIG_SCHED_MC=y
But why it doesn't show the smp kernel in grub.conf file as like RHEL4/centos4 shows like this.
Code:
title Red Hat Enterprise Linux AS (2.4.21-15.ELsmp)
root (hd0,0)
kernel /vmlinuz-2.4.21-15.ELsmp ro root=LABEL=/
initrd /initrd-2.4.21-15.ELsmp.img
title Red Hat Enterprise Linux AS-up (2.4.21-15.EL)
root (hd0,0)
kernel /vmlinuz-2.4.21-15.EL ro root=LABEL=/
initrd /initrd-2.4.21-15.EL.img
IIRC RHEL 5 will always install the SMP kernel by default. At least it has always done that for me, even though it doesn't blatantly say so in the grub boot menu.
Do a uname -a and see if there is an SMP in the resulting string.
[root@ ~]# uname -a
Linux server01.com 2.6.18-53.el5 #1 SMP Wed Oct 10 16:34:19 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux
Does that mean SMP is enabled?
And here is grub.conf of that server
Code:
[root@ ~]# cat /etc/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/cciss/c0d0p3
# initrd /initrd-version.img
#boot=/dev/cciss/c0d0
default=0
timeout=2
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Red Hat Enterprise Linux Server (2.6.18-53.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-53.el5 ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.18-53.el5.img
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.