FS#61767 - [linux] powertop command fails on the latest kernel
Attached to Project:
Arch Linux
Opened by Rajat Roy (rexdrive) - Friday, 15 February 2019, 01:22 GMT
Last edited by Jan de Groot (JGC) - Sunday, 24 March 2019, 23:28 GMT
Opened by Rajat Roy (rexdrive) - Friday, 15 February 2019, 01:22 GMT
Last edited by Jan de Groot (JGC) - Sunday, 24 March 2019, 23:28 GMT
|
Details
Description:
powertop command fails with error "Segmentation fault" Additional info: * package version(s): 4.20.8.arch1-1 Steps to reproduce: 1. Install the latest kernel, i.e., 4.20.8.arch1-1 2. Reboot 3. Run "powertop" Reverting back to 4.20.7.arch1-1 temporarily solved the issue. |
This task depends upon
[frigaut@poliahu ~]$ pacman -Qs powertop
local/powertop 2.10-1
A tool to diagnose issues with power consumption and power management
[frigaut@poliahu ~]$ uname -a
Linux poliahu 4.20.8-arch1-1-ARCH #1 SMP PREEMPT Wed Feb 13 00:06:58 UTC 2019 x86_64 GNU/Linux
[frigaut@poliahu ~]$
[frigaut@poliahu ~]$ sudo powertop --auto-tune
modprobe cpufreq_stats failedCannot load from file /var/cache/powertop/saved_results.powertop
Cannot load from file /var/cache/powertop/saved_parameters.powertop
File will be loaded after taking minimum number of measurement(s) with battery only
RAPL device for cpu 0
RAPL Using PowerCap Sysfs : Domain Mask f
RAPL device for cpu 0
RAPL Using PowerCap Sysfs : Domain Mask f
Devfreq not enabled
glob returned GLOB_ABORTED
Cannot load from file /var/cache/powertop/saved_parameters.powertop
File will be loaded after taking minimum number of measurement(s) with battery only
failed to mmap with 12 (Cannot allocate memory)
failed to mmap with 12 (Cannot allocate memory)
failed to mmap with 12 (Cannot allocate memory)
failed to mmap with 12 (Cannot allocate memory)
failed to mmap with 12 (Cannot allocate memory)
[...]
failed to mmap with 12 (Cannot allocate memory)
Segmentation fault