Hi Ivo,
Thanks for the report! We have come across a similar issue with mainline kernel 5.0-rc6
and this patch
https://lkml.org/lkml/2019/2/12/452 caused the segfault(failed to mmap with
12). I am not sure if 4.20 kernel you are using has this fix. Could you please try the fix
mentioned in the link above if that patch is made it to 4.20. We will gather more
information on this and will get back to you.
Thanks,
Gayatri
From: PowerTop [mailto:powertop-bounces@lists.01.org] On Behalf Of Ivo Nenchev
Sent: Wednesday, February 20, 2019 1:51 AM
To: powertop(a)lists.01.org
Subject: [Powertop] issue with powertop, linux kernel 4.20 and OpenSuse
After upgrade of operation system OpenSuse Tumbleweed to the last version and after
upgrade kernel to 4.20 I received an issue with powertop.
After command :
systemctl enable powertop && systemctl start powertop
I received issue with follow text :
powertop.service - Extend the battery life of laptop
Loaded: loaded (/usr/lib/systemd/system/powertop.service; enabled; vendor preset:
disabled)
Active: failed (Result: core-dump) since Wed 2019-02-13 23:07:48 EET; 5s ago
Process: 15964 ExecStart=/usr/sbin/powertop --auto-tune (code=dumped, signal=SEGV)
Main PID: 15964 (code=dumped, signal=SEGV)
Feb 13 23:07:47 linux-qx0s powertop[15964]: Devfreq not enabled
Feb 13 23:07:47 linux-qx0s powertop[15964]: glob returned GLOB_ABORTED
Feb 13 23:07:47 linux-qx0s powertop[15964]: failed to mmap with 12 (Не може да се задели
памет)
Feb 13 23:07:47 linux-qx0s powertop[15964]: failed to mmap with 12 (Не може да се задели
памет)
Feb 13 23:07:47 linux-qx0s powertop[15964]: failed to mmap with 12 (Не може да се задели
памет)
Feb 13 23:07:47 linux-qx0s powertop[15964]: failed to mmap with 12 (Не може да се задели
памет)
Feb 13 23:07:47 linux-qx0s powertop[15964]: failed to mmap with 12 (Не може да се задели
памет)
Feb 13 23:07:48 linux-qx0s systemd[1]: powertop.service: Main process exited, code=dumped,
status=11/SEGV
Feb 13 23:07:48 linux-qx0s systemd[1]: powertop.service: Failed with result
'core-dump'.
Feb 13 23:07:48 linux-qx0s systemd[1]: Failed to start Extend the battery life of
laptop.
p.s.
The version of the PowerTop is 2.10