View previous topic :: View next topic |
Author |
Message |
expat_iain Guru
Joined: 09 Jan 2004 Posts: 361 Location: Malta GC
|
Posted: Thu Mar 02, 2006 6:50 pm Post subject: Turning off power management [SOLVED] |
|
|
I've got myself a nice new Opteron system with dual core CPU. Lovely. Built it up with base image only to find that I'm showing a single CPU in top. Checking dmesg and /proc/cpuinfo shows that sure enough, there's only one CPU registered. Now I had enabled SMP support in the kernel but after some hunting around I realised that I have this line in my .config:
Code: | CONFIG_SUSPEND_SMP=y |
...just inside the power management section. WTF??
I've been hunting for this in the menuconfig but cannot find where to turn this off. So I figured I'd just turn off PM...but I cannot!!! The option is not there...and when I modify the .config directly, the option is re-enabled!! Arrrghh!!
How can I get this thing sorted??
Iain.
Last edited by expat_iain on Tue Mar 07, 2006 8:36 am; edited 1 time in total |
|
Back to top |
|
|
Unther Apprentice
Joined: 20 Feb 2005 Posts: 163
|
Posted: Thu Mar 02, 2006 11:01 pm Post subject: |
|
|
Check SMP is enabled in the "Processor type and features" submenu in "make menuconfig". |
|
Back to top |
|
|
expat_iain Guru
Joined: 09 Jan 2004 Posts: 361 Location: Malta GC
|
Posted: Fri Mar 03, 2006 8:10 am Post subject: |
|
|
Certainly is:
Code: | pubweb2 ~ # grep SMP /usr/src/linux/.config
CONFIG_SMP=y
CONFIG_SUSPEND_SMP=y |
But it seems to be that second line that is causing the problems... |
|
Back to top |
|
|
Earthwings Bodhisattva
Joined: 14 Apr 2003 Posts: 7753 Location: Germany
|
Posted: Fri Mar 03, 2006 8:23 am Post subject: Re: Turning off power management |
|
|
expat_iain wrote: | I've got myself a nice new Opteron system with dual core CPU. Lovely. Built it up with base image only to find that I'm showing a single CPU in top. Checking dmesg and /proc/cpuinfo shows that sure enough, there's only one CPU registered. Now I had enabled SMP support in the kernel but after some hunting around I realised that I have this line in my .config:
Code: | CONFIG_SUSPEND_SMP=y |
...just inside the power management section. WTF??
I've been hunting for this in the menuconfig but cannot find where to turn this off. So I figured I'd just turn off PM...but I cannot!!! The option is not there... |
There's a search option in make menuconfig. Run it and type a slash (/). Enter a search term (like SUSPEND_SMP) and hit enter, it will show you matches and the path where to find them.
expat_iain wrote: | and when I modify the .config directly, the option is re-enabled!! Arrrghh!! |
Modifying the .config directly is likely to break things / cause problems. _________________ KDE |
|
Back to top |
|
|
expat_iain Guru
Joined: 09 Jan 2004 Posts: 361 Location: Malta GC
|
Posted: Fri Mar 03, 2006 10:24 am Post subject: |
|
|
Code: | Symbol: USB_SUSPEND [=n]
Prompt: USB selective suspend/resume and wakeup (EXPERIMENTAL)
Defined at drivers/usb/core/Kconfig:63
Depends on: USB && PM && EXPERIMENTAL
Location:
-> Device Drivers
-> USB support
-> Support for Host-side USB (USB [=y])
Selected by: USB_OTG && USB && EXPERIMENTAL
Symbol: SUSPEND_SMP [=y]
Symbol: SOFTWARE_SUSPEND [=n]
Prompt: Software Suspend
Defined at kernel/power/Kconfig:39
Depends on: PM && SWAP && X86 && (!SMP || SUSPEND_SMP) || (FVR || PPC32) && !SMP
Location:
-> Power management options |
Sadly no location given. Although in .config I find it under power management:
Code: | #
# Power management options
#
CONFIG_PM=y
# CONFIG_PM_LEGACY is not set
# CONFIG_PM_DEBUG is not set
# CONFIG_SOFTWARE_SUSPEND is not set
CONFIG_SUSPEND_SMP=y |
What is interesting (if you can call it that) is that I do not have the option to disable PM.
Iain. |
|
Back to top |
|
|
expat_iain Guru
Joined: 09 Jan 2004 Posts: 361 Location: Malta GC
|
Posted: Mon Mar 06, 2006 4:07 pm Post subject: |
|
|
Bump |
|
Back to top |
|
|
expat_iain Guru
Joined: 09 Jan 2004 Posts: 361 Location: Malta GC
|
Posted: Tue Mar 07, 2006 8:36 am Post subject: |
|
|
Stripped out /usr/src and emerged the vanilla-sources. Built using genkernel and no more CONFIG_SUSPEND_SMP. |
|
Back to top |
|
|
|