Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Running PowerTOP on an Ubuntu 10.10 system, one of the suggestions are

Enable the CONFIG_PM_ADVANCED_DEBUG kernel configuration option. This option will allow PowerTOP to collect runtime power management statistics.

What is a kernel configuration option and how do I enable it?

Can I put it as a startup parameter somewhere, or would I have to compile a new kernel?

share|improve this question
up vote 11 down vote accepted

Kernel configurations are compiled in. You can check to see if it's configured by running this:

grep CONFIG_PM_ADVANCED_DEBUG /boot/config-`uname -r`

On mine, I see:

oli@bert:~$ grep CONFIG_PM_ADVANCED_DEBUG /boot/config-`uname -r`

I compile my own kernels but my config is derived from Ubuntu's. It's worth checking to see if it's been added since I started compiling.

If you want to recompile the kernel to enable this flag, your best starting point is here:

It's a bit of effort. You need a few packages and on a fast computer it takes at least 20 minutes just to do the compile. Add in configuration time and that you have to do this every time a security update comes out... It might not be worth it.

share|improve this answer
Just a quick update: I'm seeing that CONFIG_PM_ADVANCED_DEBUG is now enabled in Precise. – Oli Aug 2 '12 at 13:36

You will also need to recompile with CONFIG_PM_DEBUG; you need both options set.

This should be set in Maverick and above already.

The plan is to enable it in Oneiric onwards for all but the ARM and POWERPC builds

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.