Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 434684

Summary: sys-power/powertop-2.1-r1 - checks for kernel-config-options not in kernel
Product: Gentoo Linux Reporter: Berthold Humkamp <Timewulf>
Component: Current packagesAssignee: Mobile Herd (OBSOLETE) <mobile+disabled>
Status: RESOLVED INVALID    
Severity: normal CC: Timewulf, zerochaos
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Berthold Humkamp 2012-09-11 06:11:58 UTC
At start, emerge checks for the following kernel options:

* Messages for package sys-power/powertop-2.1-r1:

 * Package:    sys-power/powertop-2.1-r1
 * Repository: gentoo
 * Maintainer: mobile@gentoo.org
 * USE:        amd64 elibc_glibc kernel_linux multilib unicode userland_GNU
 * FEATURES:   ccache sandbox
 * Package:    sys-power/powertop-2.1-r1
 * Repository: gentoo
 * Maintainer: mobile@gentoo.org
 * USE:        amd64 elibc_glibc kernel_linux multilib unicode userland_GNU
 * FEATURES:   ccache sandbox
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     3.5.3-gentoo
 * Checking for suitable kernel configuration options...
 *   CONFIG_TRACEPOINTS:	 is not set when it should be.
 *   CONFIG_EVENT_POWER_TRACING_DEPRECATED:	 is not set when it should be.
 *   CONFIG_TRACING:	 is not set when it should be.
 * Please check to make sure these options are set correctly.
 * Failure to do so may cause unexpected problems.

Kernel 3.5.3 doesn't have these options in its config file.
Comment 1 David Philippi 2012-09-12 13:12:58 UTC
That's wrong, they are there if you activate the tracing stuff under kernel hacking. Main problem is that they're not listed at all and thus hard to find (just had to search for a bit myself).
Comment 2 Rick Farina (Zero_Chaos) gentoo-dev 2012-09-14 13:39:54 UTC
I was missing these as well, you need to enable CONFIG_BLK_DEV_IO_TRACE first and that reveals the rest.
Comment 3 Berthold Humkamp 2012-09-14 19:24:57 UTC
Thanks for your answers, but I can't find CONFIG_BLK_DEV_IO_TRACE under kernel hacking to enable it. 

I can't see any of the options mentioned here, neither in the menu nor in the config file itself.

I always generate my new .config out of my old one with 'make oldconfig'. Is it possible that this hides some options?

I'll try it with a blank config on weekend.

May you help others with the same problem, by giving a hint together with the warning?

Thanks and greetings,

Berthold
Comment 4 Rick Farina (Zero_Chaos) gentoo-dev 2012-09-14 20:08:43 UTC
(In reply to comment #3)
> Thanks for your answers, but I can't find CONFIG_BLK_DEV_IO_TRACE under
> kernel hacking to enable it. 
> 
> I can't see any of the options mentioned here, neither in the menu nor in
> the config file itself.
> 
> I always generate my new .config out of my old one with 'make oldconfig'. Is
> it possible that this hides some options?
> 
> I'll try it with a blank config on weekend.
> 
> May you help others with the same problem, by giving a hint together with
> the warning?
> 
> Thanks and greetings,
> 
> Berthold

I updated the ebuild several hours ago to help you enable this stuff. Please sync and stop commenting on a closed bug.