LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 11-02-2009, 04:29 AM   #1
murthyna
LQ Newbie
 
Registered: Dec 2008
Posts: 15

Rep: Reputation: 1
How to enable SMP in Ubuntu 9.1 amd64


I have just got an Intel's DP55WB motherboard with i5 750 processor, SATA hard drive configured as IDE and 4 GB DDR3 RAM.

I have not been able to load either Ubuntu's 9.10 32-bit or 64-bit OS with the BIOS setting as "Active Processor Cores - ALL". I have to change it to "Active Processor Cores - 1".

With just one processor active, the installation is successful and I am able to use the system, however, all the other cores are not active. If I change the BIOS setting to Active Processor Cores - ALL, then it won't boot at all, just a cursor displayed after grub selection screen.

My kernel seems to support SMP and here is the output of
$ uname -a
Linux ubuntu 2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:05:01 UTC 2009

I could load Windows 7 RC without any problem and it runs with all the cores active. It also detected automatically when the BIOS setting changed to Active Processor Cores - ALL, as a kind of new devices detected (3 more CPUs detected) and after a restart, it is fine.

So how do I get SMP support and harness all the 4 cores of i5-750?
Is there better and easier support in Fedora? I have recently switched over from Fedora to Ubuntu. Thanks in advance.
 
Old 11-02-2009, 05:15 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Seems like it should work - see this phoronix review. Following pages show the cpuinfo output.
 
Old 11-02-2009, 06:32 AM   #3
murthyna
LQ Newbie
 
Registered: Dec 2008
Posts: 15

Original Poster
Rep: Reputation: 1
Thanks, it is reassuring to know that it should work. Here is the output of the
$ cat /proc/cpuinfo

processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 30
model name : Intel(R) Core(TM) i5 CPU 750 @ 2.67GHz
stepping : 5
cpu MHz : 1197.000
cache size : 8192 KB
physical id : 0
siblings : 1
core id : 0
cpu cores : 1
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 11
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 syscall nx rdtscp lm constant_tsc up arch_perfmon pebs bts rep_good xtopology tsc_reliable nonstop_tsc pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm ida tpr_shadow vnmi flexpriority ept vpid
bogomips : 5333.54
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:

Noticeable differences are
cpu MHz : 1197.000
cpu cores : 1

If enable all or 2 cores, then the machine just reboots, goes back to initial BIOS screen and stops. cpu MHz was initially high as soon as Ubuntu loaded, but later dropped to 1197.000.

Does it give any clue?
Should maxcpus be specified in the grub file, in grub2 menu.lst is not there and don't know how to do it.
 
Old 11-03-2009, 11:49 AM   #4
murthyna
LQ Newbie
 
Registered: Dec 2008
Posts: 15

Original Poster
Rep: Reputation: 1
cpu MHz problem is resolved by disabling dynamic processor voltage and clock changes in the BIOS. It is a nice feature actually and not a problem.

However, the problem of not being able to use more than one core still remains. I have even tried Fedora 11 x86_64 as well with a Live CD and the behaviour is exactly the same, it doesn't boot with more than one core enabled.

Posted about the problem in the Phoronix forum as well and hope to get some solution soon.
 
Old 11-06-2009, 09:55 AM   #5
murthyna
LQ Newbie
 
Registered: Dec 2008
Posts: 15

Original Poster
Rep: Reputation: 1
It was suggested to upgrade the BIOS and I have upgraded to the latest one. Still the same problem persists.
 
Old 11-23-2009, 09:29 AM   #6
murthyna
LQ Newbie
 
Registered: Dec 2008
Posts: 15

Original Poster
Rep: Reputation: 1
This problem is solved. I found the problem was caused by my old USB mouse. Replacing it with another new one solved this, strange it may sound. Now Ubuntu or Fedora (install DVD) boot with all the cores enabled.

I could also use all the cores with legacy USB support disabled in the BIOS, with the old mouse. However, this disables my keyboard till the OS is loaded i.e. can't choose grub menu options with this.

So the solution seems to be lying in having appropriate USB mouse.
 
Old 01-27-2010, 04:52 PM   #7
nrmerritt
LQ Newbie
 
Registered: Apr 2008
Location: Maryland, USA
Distribution: Arch,Ubuntu
Posts: 3

Rep: Reputation: 0
Just wanted to drop in my 2 cents on this topic. I recently went through my bios on an ASUS M4A77D and mistakingly turned off ACPI support. The outcome of that caused the kernel to not see all of the cores my CPU offered. The fix of course involved just re-enabling ACPI support. I wanted to post this in case anyone else was stumped by having their multi-core CPU mysteriously turn into a single CPU. As always it was operator error..lol! I was trying to get my new motherboards onboard HD audio working on Ubuntu 9.10 x86-64 when all this happened. As it turns out you need to enable "Karmic-backports" in "Software Sources" and install 'linux-backports-modules-alsa-karmic-generic' to support the newer VIA ID 440 chip that my motherboard has. Hope this helps anyone solve that problem quicker than it took me.

Cheers!
 
Old 01-29-2010, 02:23 PM   #8
The PIT
Member
 
Registered: Nov 2005
Posts: 99

Rep: Reputation: 16
I had to disabled apic in the grub menu otherwise only one core was activated 99% of the time.
Not always operator error some times it's OS error.
 
  


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
Ubuntu 8.10 amd64 SMP support iam_techno Ubuntu 1 05-07-2009 10:53 PM
kernel source for 2.6.8-11-amd64-k8-smp sadarax Debian 1 09-21-2005 04:04 PM
how do I enable SMP(?) mickham Linux - Hardware 4 11-01-2004 07:47 PM
Can not enable SMP irfanhab Linux - General 3 09-04-2004 07:29 PM
HELP: Can't Boot SMP 2.6.1 x86_64 (AMD64) [VERY LONG] Inchoate Linux - Software 3 01-20-2004 10:00 AM

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

All times are GMT -5. The time now is 07:46 AM.

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