Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Turning off power management [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
expat_iain
Guru
Guru


Joined: 09 Jan 2004
Posts: 361
Location: Malta GC

PostPosted: Thu Mar 02, 2006 6:50 pm    Post subject: Turning off power management [SOLVED] Reply with quote

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
View user's profile Send private message
Unther
Apprentice
Apprentice


Joined: 20 Feb 2005
Posts: 163

PostPosted: Thu Mar 02, 2006 11:01 pm    Post subject: Reply with quote

Check SMP is enabled in the "Processor type and features" submenu in "make menuconfig".
Back to top
View user's profile Send private message
expat_iain
Guru
Guru


Joined: 09 Jan 2004
Posts: 361
Location: Malta GC

PostPosted: Fri Mar 03, 2006 8:10 am    Post subject: Reply with quote

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
View user's profile Send private message
Earthwings
Bodhisattva
Bodhisattva


Joined: 14 Apr 2003
Posts: 7753
Location: Germany

PostPosted: Fri Mar 03, 2006 8:23 am    Post subject: Re: Turning off power management Reply with quote

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
View user's profile Send private message
expat_iain
Guru
Guru


Joined: 09 Jan 2004
Posts: 361
Location: Malta GC

PostPosted: Fri Mar 03, 2006 10:24 am    Post subject: Reply with quote

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
View user's profile Send private message
expat_iain
Guru
Guru


Joined: 09 Jan 2004
Posts: 361
Location: Malta GC

PostPosted: Mon Mar 06, 2006 4:07 pm    Post subject: Reply with quote

Bump
Back to top
View user's profile Send private message
expat_iain
Guru
Guru


Joined: 09 Jan 2004
Posts: 361
Location: Malta GC

PostPosted: Tue Mar 07, 2006 8:36 am    Post subject: Reply with quote

Stripped out /usr/src and emerged the vanilla-sources. Built using genkernel and no more CONFIG_SUSPEND_SMP.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum