Koozali.org: home of the SME Server

2 Processor Detection???

David Mendoza

2 Processor Detection???
« on: December 31, 2001, 11:32:20 PM »
I'm looking to see if E-Smith has detected the 2nd processor.  Bios found now that I have installed the VRM (Voltage Regulator Module).  However, looking through some of the older postings, I'm supposed to get a Uni-processor or multi-processor selection at the LILO - which presently does not appear on boot-up - it goes strait into command line after all services are up.  

Is there something I can do at command line which will give me status and number for processors running?  I tried TOP, which provides services - not sure if it also provides HW Configuration.

Any help or suggestions much appreciated!

Damien Curtain

Re: 2 Processor Detection???
« Reply #1 on: January 01, 2002, 12:56:33 AM »
grep -c ^processor /proc/cpuinfo

--
 Damien

Chaloner Hale

Re: 2 Processor Detection???
« Reply #2 on: January 01, 2002, 02:05:47 AM »
Make sure SME is installed AFTER the second processor is installed. This is the only way to make it work.

Chaloner Hale

David Mendoza

Re: 2 Processor Detection???
« Reply #3 on: January 02, 2002, 06:19:05 PM »
Damien,

Thanks for the info.  It still does not recognize the second processor.  The command line you gave me simply gives me a 1.  The BIOS is recognizing it with no problem, and thus far I've done 3 installs with no success.  Any ideas?

Damien Curtain

Re: 2 Processor Detection???
« Reply #4 on: January 03, 2002, 01:39:17 AM »
> Thanks for the info.  It still does not recognize the second
> processor.  The command line you gave me simply gives me a
> 1.  The BIOS is recognizing it with no problem, and thus far
> I've done 3 installs with no success.  Any ideas?

You asked for a command line option to give you the number of procs online, guess its one.

(Read the rest at your own peril)

You probably do not have an smp kernel installed Id guess.

Try
rpm -qa | grep kernel-smp

If it doesnt return anything you can then stick in the e-smith cdrom or if youve downloaded the smp kernel and run

rpm -ihv kernel-smp--.rpm

eg. if its a 2.2.19-7.0.8 on a pentium 3 try

rpm -ihv kernel-smp-2.2.19-7.0.8.i686.rpm

Its ok it wont clobber the old kernel, as long as you use -i to install rather than upgrade.

Then youlll need to edit your lilo configuration, which I guess at this point if you dont know what your doing make sure you have a bootdisk handy, which will ensure you can recover your system.

To make a bootdisk try
mkbootdisk

eg
mkbootdisk 2.2.19-7.0.8

Then edit your lilo.conf. It seems e-smith rebuilds from the existing lilo.conf file so id edit that directly.

Youll have something like:

boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
message=/boot/e-smith.pcx
linear
default=esmith

image=/boot/vmlinuz-2.2.19-7.0.8
        label=esmith
        read-only
        root=/dev/hda5
        initrd=/boot/initrd-2.2.19-7.0.8.img

change to:

boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
message=/boot/e-smith.pcx
linear
default=esmith

image=/boot/vmlinuz-2.2.19-7.0.8
        label=esmith-up
        read-only
        root=/dev/hda5
        initrd=/boot/initrd-2.2.19-7.0.8.img

image=/boot/vmlinuz-2.2.19-7.0.8smp
        label=esmith
        read-only
        root=/dev/hda5
        initrd=/boot/initrd-2.2.19-7.0.8smp.img

Or whatever the versions are for you then run the command
/sbin/lilo
If theres no errors remove the bootdisk and reboot your machine.

You should now be running an smp kernel....
--
 Damien

David Mendoza

Re: 2 Processor Detection???
« Reply #5 on: January 04, 2002, 12:56:28 AM »
Damien,

Thanks for the input.  You were right, it does nothing when you run the:

rpm -qa | grep kernel-smp

Also, I looked at the lilo.conf and it says to work off of the template elsewhere.  

I won't have a chance to really play with it until the weekend, but thanks again for the help and I'll let you know how it goes.  By the way, what if I were to do a full reinstall, as I'm just setting up this server and have no concerns of loosing data yet.  

In the past, I've booted off of the CD - iso off of the E-Smith site.  Anyway, thanks for the input.

Brian High

Re: 2 Processor Detection???
« Reply #6 on: January 14, 2002, 10:20:00 PM »
I have the same problem, but I was already using the SMP kernel.

Please help me "enable" the other processor.  The bios
sees 2 processors.

Here is my login message:

Welcome to the March Networks SME Server V5.0
Kernel 2.2.19-7.0.8smp on an i686

Here is the two commands being typed:

[root@linux /root]# grep -c ^processor /proc/cpuinfo
1
[root@linux /root]# rpm -qa | grep kernel-smp
kernel-smp-2.2.19-7.0.8


Here is my lilo.conf (unmodified from install -- comments deleted):

boot=/dev/md0
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
message=/boot/e-smith.pcx
linear
default=esmith

image=/boot/vmlinuz-2.2.19-7.0.8smp
        label=esmith
        read-only
        root=/dev/md1


        initrd=/boot/initrd-2.2.19-7.0.8smp.img


image=/boot/vmlinuz-2.2.19-7.0.8
        label=esmith-up
        read-only
        root=/dev/md1


        initrd=/boot/initrd-2.2.19-7.0.8.img


I am running a VA Linux Fullon 2230 with dial 800 MHz PIIIs
and 1 GB RAM and two 18 GB SCSIs in RAID1.

I have SME v5 with all recent blades installed.

Thanks for your help!

--Brian