Bug 11997 - Powertop enabling CONFIG_X86_MSR
Summary: Powertop enabling CONFIG_X86_MSR
Status: CLOSED FIXED
Alias: None
Product: IPFire
Classification: Unclassified
Component: powertop (show other bugs)
Version: 2
Hardware: x86_64 Linux
: - Unknown - Crash
Assignee: Matthias Fischer
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-09 21:06 UTC by tflbossman
Modified: 2019-10-17 18:43 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tflbossman 2019-02-09 21:06:24 UTC
Ich bekomme beim Aufruf von Powertop den Fehler. ich bin auf ipfire 127 x64

odprobe cpufreq_stats failedmodprobe msr failedLoaded 0 prior measurements
RAPL device for cpu 0
Model-specific registers (MSR) not found (try enabling CONFIG_X86_MSR).
Model-specific registers (MSR) not found (try enabling CONFIG_X86_MSR).
Model-specific registers (MSR) not found (try enabling CONFIG_X86_MSR).
Model-specific registers (MSR) not found (try enabling CONFIG_X86_MSR).
Model-specific registers (MSR) not found (try enabling CONFIG_X86_MSR).
Model-specific registers (MSR) not found (try enabling CONFIG_X86_MSR).
Model-specific registers (MSR) not found (try enabling CONFIG_X86_MSR).
RAPL device for cpu 0
Model-specific registers (MSR) not found (try enabling CONFIG_X86_MSR).
Model-specific registers (MSR) not found (try enabling CONFIG_X86_MSR).
Model-specific registers (MSR) not found (try enabling CONFIG_X86_MSR).
Model-specific registers (MSR) not found (try enabling CONFIG_X86_MSR).
Model-specific registers (MSR) not found (try enabling CONFIG_X86_MSR).
Model-specific registers (MSR) not found (try enabling CONFIG_X86_MSR).
Model-specific registers (MSR) not found (try enabling CONFIG_X86_MSR).
Devfreq not enabled
glob returned GLOB_ABORTED
Model-specific registers (MSR) not found (try enabling CONFIG_X86_MSR).
read_msr cpu0 0xe8 : No such file or directory
Comment 1 Matthias Fischer 2019-02-10 09:10:01 UTC
Hi,

For details see forum thread:
https://forum.ipfire.org/viewtopic.php?f=69&t=22274

Info about configuration item CONFIG_X86_MSR:
https://cateee.net/lkddb/web-lkddb/X86_MSR.html

And (discussion about this issue):
https://github.com/NixOS/nixpkgs/issues/5424

The recommended option was never set in IPFire, therefore I'm a bit puzzled if this ever ran and not sure if setting 'CONFIG_X86_MSR' to ON will help.

But I'll try to build this with current 'next'.

Any comments are welcome - and I will need testers... ;-)

Best,
Matthias
Comment 2 Matthias Fischer 2019-02-10 09:39:30 UTC
Hi,

The following options required by 'powertop' README are NOT set or missing completely in current kernel config for 4.14.98:

CONFIG_USB_SUSPEND
CONFIG_TIMER_STATS
CONFIG_PERF_COUNTERS
CONFIG_EVENT_POWER_TRACING_DEPRECATED
ACPI_PROCFS_POWER
CONFIG_POWERCAP (linux-3.13.rc1)
CONFIG_INTEL_RAPL (linux-3.13.rc1)

Could be difficult? Comments? Opinions?

Best,
Matthias
Comment 3 tflbossman 2019-02-10 14:41:11 UTC
it did run on 32bit with the 3.x kernel
Comment 4 Matthias Fischer 2019-02-10 23:20:07 UTC
I released two patches, I would need testers for these.

Update to 'powertop 2.10':
=> https://git.ipfire.org/?p=people/mfischer/ipfire-2.x.git;a=commit;h=ff110d7504c026f2462a6a7f838b2e6851abab4c

Added "CONFIG_X86_MSR=y" to i586 and x86_64 builds:
=> https://git.ipfire.org/?p=people/mfischer/ipfire-2.x.git;a=commit;h=87ca6ba6ad14dab822e0c456ba325d8cec43bb84

Best,
Matthias
Comment 5 tflbossman 2019-03-13 16:37:10 UTC
in core 128 geht es. danke