Not recognising second processor
Posted 14 November 2004 - 01:33 PM
Posted 14 November 2004 - 02:32 PM
You can tell whether your box is running in dual-CPU-mode in a couple of ways. Here are the two most common indicators:
During boot-up sequence
In case you are booting in a VESA-mode you should see some sort of logo in th upper left corner of the screen. Most distros use this space to indicate the number of found CPUs. That means: 1 logo = 1 CPU found, 2 logos = 2 CPUs found.
On the shell
In case FC2 doesn't show any logos, just boot the OS, launch a console and type ps fax. This should deliver an output similar to this (without the dots):
PID TTY .... STAT . TIME COMMAND ..1 ? ...... S .... 0:01 init  ..2 ? ...... S .... 0:00 [migration/0] ..3 ? ...... SN ... 0:00 [b][ksoftirqd/0][/b] ..3 ? ...... SN ... 0:00 [b][ksoftirqd/1][/b]
If you only see the "ksoftirqd/0"-entry, the OS only utilizes 1 CPU. If you have both ksoftirqd-entries, then you're using both processors.
Some distros also come with "custom-kernels" that have SMP-support (Symmetric Multi Processing) already compiled in. Dunny if FC2 does likewise.
If you don't hae an SMP-enabled kernel, you just have to build one. D/L or install the kernel-sources, cd to /usr/src/linux and type make xconfig of make menuconfig. You'll find the SMP-options under "Processor type and features".
Hope that helps
Posted 14 November 2004 - 02:47 PM
Are you suggesting that I should recompile the kernel again now to see if I can get it working......that should be fun, a new experience for me. Thanks
Posted 14 November 2004 - 03:11 PM
That is a bit strange ... if you do actually boot the SMP-kernel and yet the OS does still not recognise the second processor, then something seems to be wrong. It would maybe help if you post what your current kernel-config is. You can get these infos this way ...
1. Install the kernel-sources ...
of the kernel you are using (should be "kernel v2.6.x")
2. cd to /usr/src/linux
In case you don't have "/usr/src/linux" but something like this: "/usr/src/linux-2.6.x" you need to make a symlink under /usr/src first ("user@machine /usr/src: ln -s linux-2.6.x linux")
3. Launch kernel-configuration ...
by typing "make xconfig"
4. Load your current configuration-file ...
which is usually located in /boot and should be named (in your case) something like "config-2.6.x-smp". This will ensure the settings as used for the SMP-kernel will be displayed in xconfig.
Now check under "Processor type and family" what family is selected. The Proliant is from 1999 or so and according to google it uses P2 or P3-cpus. So in your case it should be either the general "586/K5/5x86/6x86/6x86MX", "Pentium II/Celeron (pre Coppermine)", or "Pentium III/Celeron (Coppermine)/Pentium III Xeon"-family.
Keep us informed
Posted 14 November 2004 - 03:24 PM
In that same directory I also have directories
When I looked in the /boot directory I do have a config-2.6.5-1.358 & config-2.6.5-1.358smp. I had a look through these files and couldnt see any reference to processor in it under the Procerror section.
so where to from there.
Thanks for the help
Posted 14 November 2004 - 03:44 PM
If you have a "linux-2.6.5-1.358"-folder under "/usr/src" then just make a "linux"-symlink to that one, "cd" into it and launch the kernel-configuration (see posting above).
Then, choose "File-Load" and load the "config-2.6.5-1.358smp" from "/boot". If no processor type is selected, choose the PII-family (pre Coppermine). Also make sure the following options are checked ...
*) Generic x86 support
*) Symmetric multiprocessing support
And set the the nr of CPUs to "2" (double clicking the item).
Still though if you load the smp-config file and none of these are selected or checked then something's wrong with the config, in which case I would not recommend to even make an attempt to compile the kernel (who knows what other options are missing too? If this is indeed the case, you should maybe ask some folks here who actually use FC2 (DepperDan does, as far as I know, and he's quite a knowledgable powerhouse as it goes for FC).
In any case do not just "save" the configuration. Either discard the changes if you don't want to compile anyway, or choose "File - Save As" first, and save the configuration under "/boot/custom-config-2.6.5-1.358smp" or whatever. After that you can use "File save", and exit xconfig.
From there on it's down to compiling. But please! If you've never done that before, grab a few pages from the internet that describe how a v2.6.x-kernel is compiled and installed. The info according this would by far exceed the limits of a usual forum-posting and still not cover all possibilities (chipset, device-support, filesystem-support etc.)
Posted 14 November 2004 - 04:15 PM
I assume this is the xwindows version of config. I have not installed x as didnt want to clutter the poor old beast with a gui so am just running the shell. Do I assume I just run the shell version and select the same parameters to change.
Posted 14 November 2004 - 04:18 PM
if you don't have X installed yet, you will have to use "make menuconfig" which is the commandline-version of the kernel-configuration. The grouping of the items and branchings should be fairly the same.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users