powertop wants cpufreq_stats to be a module

Bug #217261 reported by Dimitrios Symeonidis
26
This bug affects 2 people
Affects Status Importance Assigned to Milestone
powertop (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

I compiled my own kernel (2.6.24.4) and included cpufreq_stats in the kernel (not as a module). Powertop expects this to be a module, so tries to do a modprobe, but doesn't find it and reports a fatal error "module cpufreq_stats not found". I went back to my kernel configuration and configured CONFIG_CPUFREQ_STATS=M, recompiled and installed and the error went away. Powertop (an Intel project) should check also if the module is included by default in the kernel before trying to load it.

Daniel T Chen (crimsun)
Changed in powertop:
importance: Undecided → Wishlist
Revision history for this message
Jeffrey Baker (jwbaker) wrote :

Confirmed on Jaunty Alpha 2, amd64, powertop 1.10-2, kernel 2.6.28-4.5. Since Ubuntu is now shipping the kernel with CONFIG_CPU_FREQ_STATS=Y, this will happen to everybody regardless of whether they build their own custom kernels or use the distro kernel.

Changed in powertop:
status: New → Confirmed
Revision history for this message
Michael Marley (mamarley) wrote :

Yep. The importance here definitely needs to be bumped up.

Changed in powertop:
importance: Wishlist → Medium
Revision history for this message
Dimitrios Symeonidis (azimout) wrote :

I had emailed Arjan van de Ven (powertop developer) on Jun 12, 2008, and his answer was
"I'm curious about what version of powertop you have, since the code got fixed a while ago ... need to find out if your version is from before the fix, or if the fix is malfunctioning."

At the time I had powertop 1.9-2ubuntu1, now I have 1.10-1

Revision history for this message
regardtv (regardt) wrote :

Hi,

Installed powertop source packages from jaunty.

Updated to 1.11 from powertop source - module error still comes up - so it would appear that their fix didn't work.

Trivial patch to silence the modprobe error attached

Revision history for this message
Michael Marley (mamarley) wrote :

The version of PowerTop recently released for Jaunty (1.11) fixes this bug.

Changed in powertop:
status: Confirmed → Fix Released
Revision history for this message
Shaahul (shaahulhameed) wrote :

I just installed PowerTop 1.11 on Ubuntu 9.04. When I launch PowerTop, this is what I get:

    FATAL: Module cpufreq_stats not found.
    PowerTOP 1.11 (C) 2007, 2008 Intel Corporation

    Collecting data for 5 seconds

Is this a bug?? How do I add the "cpufreq_stats" module to my kernel??

Revision history for this message
Dimitrios Symeonidis (azimout) wrote :

@shaahul: this issue has been fixed in powertop 1.11, how is it possible that you're still getting this message? what is your kernel version? (output of uname -a)

Revision history for this message
Shaahul (shaahulhameed) wrote :

Hi Dimitrios

    Linux ubuntu 2.6.28-11-generic is the kernel version that I am using.

Revision history for this message
Dimitrios Symeonidis (azimout) wrote :

where did you install powertop from?

Revision history for this message
Shaahul (shaahulhameed) wrote : Re: [Bug 217261] Re: powertop wants cpufreq_stats to be a module

from lesswatts.org

On Sat, Jul 18, 2009 at 1:13 AM, Dimitrios Symeonidis <email address hidden>wrote:

> where did you install powertop from?
>
> --
> powertop wants cpufreq_stats to be a module
> https://bugs.launchpad.net/bugs/217261
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “powertop” package in Ubuntu: Fix Released
>
> Bug description:
> I compiled my own kernel (2.6.24.4) and included cpufreq_stats in the
> kernel (not as a module). Powertop expects this to be a module, so tries to
> do a modprobe, but doesn't find it and reports a fatal error "module
> cpufreq_stats not found". I went back to my kernel configuration and
> configured CONFIG_CPUFREQ_STATS=M, recompiled and installed and the error
> went away. Powertop (an Intel project) should check also if the module is
> included by default in the kernel before trying to load it.
>

Revision history for this message
Dimitrios Symeonidis (azimout) wrote :

Well, then you should use the version in the Ubuntu repositories. And generally, you should only report problems about software that you have installed from Ubuntu servers, as we have no control of the software in other servers.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.