LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (http://www.linuxquestions.org/questions/mandriva-30/)
-   -   Mdv 2007.1 on Core 2 Duo shows only one processor (http://www.linuxquestions.org/questions/mandriva-30/mdv-2007-1-on-core-2-duo-shows-only-one-processor-579887/)

Sinedie 08-26-2007 03:20 AM

Mdv 2007.1 on Core 2 Duo shows only one processor
 
Hello,
I have just installed Mandriva 2007.1 on an Intel Core 2 Duo (2x2GHz). I faced a couple of problems with keyboard repetes and kacpid taking ~100% CPU time so I disabled ACPI and addted 'notsc' to the kernel arguements.

My /proc/cpuinfo shows:

Code:

processor      : 0
vendor_id      : GenuineIntel
cpu family      : 6
model          : 15
model name      : Intel(R) Core(TM)2 CPU          4400  @ 2.00GHz
stepping        : 2
cpu MHz        : 1995.286
cache size      : 2048 KB
physical id    : 0
siblings        : 1
core id        : 0
cpu cores      : 1
fdiv_bug        : no
hlt_bug        : no
f00f_bug        : no
coma_bug        : no
fpu            : yes
fpu_exception  : yes
cpuid level    : 10
wp              : yes
flags          : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc up pni monitor ds_cpl est tm2 cx16 xtpr lahf_lm
bogomips        : 3994.55

And top shows:
Code:

Tasks: 111 total,  2 running, 109 sleeping,  0 stopped,  0 zombie
Cpu0  :  0.7%us,  0.0%sy,  0.0%ni, 99.3%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:  1025000k total,  778676k used,  246324k free,    32048k buffers
Swap:  3148700k total,        0k used,  3148700k free,  397212k cached

The grub file is:
Code:

timeout 10
color black/cyan yellow/cyan
gfxmenu (hd0,4)/boot/gfxmenu
default 3

title linux
kernel (hd0,4)/boot/vmlinuz BOOT_IMAGE=linux root=/dev/sda5 noapic nolapic notsc resume=/dev/sda7 splash=silent acpi=ht clock=pmtmr vga=788
initrd (hd0,4)/boot/initrd.img

title linux-nonfb
kernel (hd0,4)/boot/vmlinuz BOOT_IMAGE=linux-nonfb root=/dev/sda5 noapic nolapic resume=/dev/sda7 acpi=ht
initrd (hd0,4)/boot/initrd.img

title failsafe
kernel (hd0,4)/boot/vmlinuz BOOT_IMAGE=failsafe root=/dev/sda5 failsafe
initrd (hd0,4)/boot/initrd.img

title windows
root (hd0,0)
makeactive
chainloader +1

Could someone show me the way out please...
TIA,
-S

Sinedie 08-26-2007 03:24 AM

I forgot to add that oin windows I see both cpus.

GlennsPref 08-27-2007 07:54 AM

Hi, what kernel flavour do you have?

To find out, type "uname -a" in a console/terminal.

All the data you have given omits this important factor.

For multiple processors you will need "smp" flavour, also is the processor 32bit or 64bit?

Cheers, Glenn

Sinedie 08-28-2007 04:13 AM

Quote:

Originally Posted by GlennsPref (Post 2872087)
Hi, what kernel flavour do you have?

To find out, type "uname -a" in a console/terminal.

All the data you have given omits this important factor.

For multiple processors you will need "smp" flavour, also is the processor 32bit or 64bit?

Cheers, Glenn

Code:

bash-3.1$ uname -a
Linux user.dot.com 2.6.17-13mdv #1 SMP Fri Mar 23 19:03:31 UTC 2007 i686 Intel(R) Core(TM)2 CPU          4400  @ 2.00GHz GNU/Linux
bash-3.1$ cat /proc/cpuinfo
processor      : 0
vendor_id      : GenuineIntel
cpu family      : 6
model          : 15
model name      : Intel(R) Core(TM)2 CPU          4400  @ 2.00GHz
stepping        : 2
cpu MHz        : 1995.322
cache size      : 2048 KB
physical id    : 0
siblings        : 1
core id        : 0
cpu cores      : 1
fdiv_bug        : no
hlt_bug        : no
f00f_bug        : no
coma_bug        : no
fpu            : yes
fpu_exception  : yes
cpuid level    : 10
wp              : yes
flags          : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc up
pni monitor ds_cpl est tm2 cx16 xtpr lahf_lm
bogomips        : 3994.51

bash-3.1$

Wierd! Why do I see only one CPU then? Both in /proc/cpuinfo and in top?

This is a 32-bit architecture running on i945G with 2*512MB RAM.

GlennsPref 08-28-2007 07:03 AM

bash-3.1$ uname -a
Linux user.dot.com 2.6.17-13mdv #1 SMP Fri Mar 23 19:03:31 UTC 2007 i686 Intel(R) Core(TM)2 CPU

I don't know, sorry to say. All the details look right.

You could try posting a new thread in the kernel posts. (sorry)

Cheers, Regards, Glenn

Sinedie 08-29-2007 11:31 PM

Quote:

Originally Posted by GlennsPref (Post 2873225)
bash-3.1$ uname -a
Linux user.dot.com 2.6.17-13mdv #1 SMP Fri Mar 23 19:03:31 UTC 2007 i686 Intel(R) Core(TM)2 CPU

I don't know, sorry to say. All the details look right.

You could try posting a new thread in the kernel posts. (sorry)

Cheers, Regards, Glenn

Thanks Glenn. I will post it there. :)

Sinedie 08-31-2007 01:32 AM

Got the solution. Remove nolapci. :)

GlennsPref 08-31-2007 06:51 PM

Thank you for posting the solution. Others may find it useful when using the search function.

Cheers, Glenn

Sinedie 09-01-2007 05:41 AM

Quote:

Originally Posted by GlennsPref (Post 2877314)
Thank you for posting the solution. Others may find it useful when using the search function.

Cheers, Glenn

:)

I found something even more interesting here. It wouldn't work for certain kernels. :P ('2.6.4-2.6.17' kernel). More here: http://www.mail-archive.com/acpi-bug.../msg03268.html

musashi5150 09-21-2007 04:04 PM

Hello, I am having the same problem on my machine with 2007.1. I have a dual 1Ghz PIII system, but Mandriva is only seeing 1 CPU :(

I have removed "nolapci" from the kernel parameters as suggested here, but it hasn't made any difference. I think I'm running an SMP kernel too.

Code:

[gavin@localhost Desktop]$ uname -a
Linux localhost 2.6.17-15mdv #1 SMP Tue Aug 14 10:25:51 MDT 2007 i686 Pentium III (Coppermine) GNU/Linux

Code:

[gavin@localhost Desktop]$ cat /proc/cpuinfo
processor      : 0
vendor_id      : GenuineIntel
cpu family      : 6
model          : 8
model name      : Pentium III (Coppermine)
stepping        : 6
cpu MHz        : 997.113
cache size      : 256 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 sep mtrr pge mca cmov pat pse36 mmx fxsr sse up
bogomips        : 1997.82

I've only been using Linux a few weeks so if you have any ideas please try to explain what I need to do. I just want my machine to use both processors!

Thanks for your help :)

musashi5150 09-22-2007 12:21 PM

I found the answer by spending all afternoon on Google ;) But I want to record it here for other people that have the same problem. For the record I am running Compaq Proliant ML370 G1 with 2xPentiumIII 1Ghz.

You need to boot SmartStart and configure the BIOS so the PrimaryOS is set to "Linux" - mine was set to "Other" and that seemed to be causing the problem. You may also need to remove the "nolapic" from your kernel boot parameters.

I'm very happy now, my machine blazes along ;)


All times are GMT -5. The time now is 12:01 AM.