Debian Bug report logs - #892649
cpufreq_stat is built into Debian kernel, powertop complains about failed modprobe

version graph

Package: powertop; Maintainer for powertop is Kan-Ru Chen (陳侃如) <[email protected]>; Source for powertop is src:powertop (PTS, buildd, popcon).

Reported by: Marc Haber <[email protected]>

Date: Sun, 11 Mar 2018 18:51:05 UTC

Severity: normal

Found in version powertop/2.8-1

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], Jose Luis Rivas <[email protected]>:
Bug#892649; Package powertop. (Sun, 11 Mar 2018 18:51:07 GMT) (full text, mbox, link).


Acknowledgement sent to Marc Haber <[email protected]>:
New Bug report received and forwarded. Copy sent to Jose Luis Rivas <[email protected]>. (Sun, 11 Mar 2018 18:51:07 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Marc Haber <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: cpufreq_stat is built into Debian kernel, powertop complains about failed modprobe
Date: Sun, 11 Mar 2018 19:47:34 +0100
Package: powertop
Version: 2.8-1+b1
Severity: normal

Dear Maintainer,

I am filing this as Severity: normal since I do not know whether this
issue affects powertop functionality. Please feel free to downgrad the
severity if it's a purely cosmetic issue, which I suspect.

In Debian, CPU_FREQ_STAT is set to y in the kernel config, so the driver
is built into the kernel. Yet, powertop tries to unconditionally
modprobe cpufreq_stat and complains when this fails. At least, the
complaint needs to be silenced.

Greetings
Marc

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.15.8-zgws1 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8), LANGUAGE=en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages powertop depends on:
ii  libc6             2.27-2
ii  libgcc1           1:8-20180308-1
ii  libncurses5       6.1-1
ii  libncursesw5      6.1-1
ii  libnl-3-200       3.2.27-2
ii  libnl-genl-3-200  3.2.27-2
ii  libpci3           1:3.5.2-1
ii  libstdc++6        8-20180308-1
ii  libtinfo5         6.1-1

powertop recommends no packages.

Versions of packages powertop suggests:
ii  cpufrequtils       008-1+b1
pn  laptop-mode-tools  <none>

-- no debconf information



Information forwarded to [email protected], Kan-Ru Chen (陳侃如) <[email protected]>:
Bug#892649; Package powertop. (Fri, 03 Jan 2020 14:15:04 GMT) (full text, mbox, link).


Acknowledgement sent to "Kan-Ru Chen" <[email protected]>:
Extra info received and forwarded to list. Copy sent to Kan-Ru Chen (陳侃如) <[email protected]>. (Fri, 03 Jan 2020 14:15:04 GMT) (full text, mbox, link).


Message #10 received at [email protected] (full text, mbox, reply):

From: "Kan-Ru Chen" <[email protected]>
To: [email protected]
Subject: Re: cpufreq_stat is built into Debian kernel, powertop complains about failed modprobe
Date: Fri, 03 Jan 2020 23:12:06 +0900
Hi Marc,

On Sun, 11 Mar 2018 19:47:34  0100 Marc Haber <mh [email protected]> wrote:
> Package: powertop
> Version: 2.8-1 b1
> Severity: normal
> 
> Dear Maintainer,
> 
> I am filing this as Severity: normal since I do not know whether this
> issue affects powertop functionality. Please feel free to downgrad the
> severity if it's a purely cosmetic issue, which I suspect.
> 
> In Debian, CPU_FREQ_STAT is set to y in the kernel config, so the driver
> is built into the kernel. Yet, powertop tries to unconditionally
> modprobe cpufreq_stat and complains when this fails. At least, the
> complaint needs to be silenced.

I believe the issue is purely cosmetic. I'm not sure if there is a way to detect reliably
the kernel has CPU_FREQ_STAT compiled in. On my system although I'm running
the Debian kernel, I don't have the `/sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state` file.

Kanru



Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Thu May 15 19:27:49 2025; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.