Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: issue with powertop

  1. #1

    Question issue with powertop

    After last upgrade of OpenSuse Tumbeweed I received an issue, witch include :

    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.

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,341
    Blog Entries
    15

    Default Re: issue with powertop

    Hi
    You should be able to see the core dump and more information via;
    Code:
    zypper in systemd-coredump
    coredumpctl list
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  3. #3

    Exclamation Re: issue with powertop

    output of coredumpctl list is :


    No coredumps found

  4. #4
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,341
    Blog Entries
    15

    Default Re: issue with powertop

    Quote Originally Posted by john_neo View Post
    output of coredumpctl list is :


    No coredumps found
    Hi
    Do you get more info just running the command?

    Code:
    /usr/sbin/powertop --auto-tune
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  5. #5

    Exclamation Re: issue with powertop

    The output from /usr/sbin/powertop --auto-tune is :

    modprobe cpufreq_stats failedLoaded 0 prior measurements
    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
    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)
    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)
    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)
    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)
    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)
    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)
    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)
    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)
    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)
    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 (core dumped)

  6. #6

    Exclamation Re: issue with powertop

    The output from coredumpctl list is :

    TIME PID UID GID SIG COREFILE EXE
    Thu 2019-02-14 07:47:06 EET 1284 0 0 11 present /usr/sbin/powertop
    Thu 2019-02-14 07:57:58 EET 7927 0 0 11 present /usr/sbin/powertop

  7. #7
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,341
    Blog Entries
    15

    Default Re: issue with powertop

    On Thu 14 Feb 2019 06:06:04 AM CST, john neo wrote:

    The output from /usr/sbin/powertop --auto-tune is :

    Code:
    modprobe cpufreq_stats failedLoaded 0 prior measurements
    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
    failed to mmap with 12 (Cannot allocate memory)
    <snip>
    failed to mmap with 12 (Cannot allocate memory)
    Segmentation fault (core dumped)
    Hi
    So how much memory does the system have? Before you run powertop, how
    much is free (free -kh)?

    Can you try;

    Code:
    /usr/sbin/powertop --calibrate --debug
    --
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SLES 15 | GNOME Shell 3.26.2 | 4.12.14-25.28-default
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!


  8. #8

    Default Re: issue with powertop

    The output of free -kh is :

    total used free shared buff/cache available
    Mem: 5.7Gi 3.8Gi 518Mi 374Mi 1.4Gi 1.3Gi
    Swap: 2.0Gi 1.0Gi 982Mi

  9. #9

    Default Re: issue with powertop

    The output of /usr/sbin/powertop --calibrate --debug is :


    modprobe cpufreq_stats failedLoaded 0 prior measurements
    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
    Starting PowerTOP power estimate calibration
    Calibrating idle
    server does not have extension for dpms option
    /usr/bin/xset: unknown option force


    usage: /usr/bin/xset [-display host:dpy] option ...
    To turn bell off:
    -b b off b 0
    To set bell volume, pitch and duration:
    b [vol [pitch [dur]]] b on
    To disable bug compatibility mode:
    -bc
    To enable bug compatibility mode:
    bc
    To turn keyclick off:
    -c c off c 0
    To set keyclick volume:
    c [0-100] c on
    To control Energy Star (DPMS) features:
    -dpms Energy Star features off
    +dpms Energy Star features on
    dpms [standby [suspend [off]]]
    force standby
    force suspend
    force off
    force on
    (also implicitly enables DPMS features)
    a timeout value of zero disables the mode
    To control font cache:
    fc [hi-mark [low-mark [balance]]]
    both mark values specified in KB
    balance value specified in percent (10 - 90)
    Show font cache statistics:
    fc s
    To set the font path:
    fp= path[,path...]
    To restore the default font path:
    fp default
    To have the server reread font databases:
    fp rehash
    To remove elements from font path:
    -fp path[,path...] fp- path[,path...]
    To prepend or append elements to font path:
    +fp path[,path...] fp+ path[,path...]
    To set LED states off or on:
    -led [1-32] led off
    led [1-32] led on
    -led named 'name' led off
    led named 'name' led on
    To set mouse acceleration and threshold:
    m [acc_mult[/acc_div] [thr]] m default
    To set pixel colors:
    p pixel_value color_name
    To turn auto-repeat off or on:
    -r [keycode] r off
    r [keycode] r on
    r rate [delay [rate]]
    For screen-saver control:
    s [timeout [cycle]] s default s on
    s blank s noblank s off
    s expose s noexpose
    s activate s reset
    For status information: q
    To print version: -version
    System is not available
    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)
    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)
    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)
    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)
    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)
    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)
    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)
    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)
    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)
    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 (core dumped)

  10. #10

    Default Re: issue with powertop

    I have same problem on 2 laptops with Leap 15 and kernel 4.20.8-2.gcc8092a-default. it doesn't work powertop version 2.9 or 2.10

    dmesg
    Code:
    [  116.093677] traps: powertop[2674] general protection fault ip:55687ead91e7 sp:7ffe562f3040 error:0 in powertop[55687ea98000+7d000]
    [  391.360302] traps: powertop[2863] general protection fault ip:5633f8b851e7 sp:7ffd04c61c50 error:0 in powertop[5633f8b44000+7d000]
    
    journatlctl -f
    Code:
    feb 18 22:01:19 ux310 kernel: traps: powertop[2957] general protection fault ip:564a161661e7 sp:7ffdf7779270 error:0 in powertop[564a16125000+7d000]
    feb 18 22:01:19 ux310 systemd[1]: Started Process Core Dump (PID 2962/UID 0).
    feb 18 22:01:20 ux310 systemd-coredump[2963]: Process 2957 (powertop) of user 0 dumped core.
    
    if I boot to kernel 4.12.14 and run powertop 2.10 it works without issues.
    on this kernel when I run
    Code:
    ag750jz:/home/ag750jz # powertop --auto-tune
    modprobe cpufreq_stats failedCargado 0 medidas previas
    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
    Leaving PowerTOP
    on Tumbleweed 4.20.7-1 powertops 2.10 it works

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •