Bug 926031 - powertop2tuned doesn't work (Your Powertop version is incompatible)
Summary: powertop2tuned doesn't work (Your Powertop version is incompatible)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: tuned
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jaroslav Škarvada
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-03-23 10:37 UTC by Sven Lankes
Modified: 2017-01-11 15:31 UTC (History)
7 users (show)

Fixed In Version: tuned-2.3.0-1.fc20
Clone Of:
Environment:
Last Closed: 2013-11-12 00:42:03 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
powertop.html (55.73 KB, text/html)
2016-12-30 21:36 UTC, Ceriel Jacobs
no flags Details

Description Sven Lankes 2013-03-23 10:37:03 UTC
Description of problem:

powertop2tuned failes on my asus ux32vd

[root@hvitalaekjarfjall ~]# powertop2tuned --enable myprofile
Running PowerTOP, please wait...
Your Powertop version is incompatible (maybe too old) or the generated HTML output is malformed

I've also tried with the latest 2.3.1-powertop from koji - no difference.

Version-Release number of selected component (if applicable):

tuned-2.2.2-1.fc18.noarch
powertop-2.2-4.fc18.x86_64

Comment 1 Jaroslav Škarvada 2013-03-24 22:37:13 UTC
I am unable to reproduce on my machines, my packages;
tuned-2.2.2-1.fc18.noarch
tuned-utils-2.2.2-1.fc18.noarch
powertop-2.3-1.fc18.x86_64

Please provide HTML file resulting from:
# LANG=C powertop --html

Comment 2 fred 2013-05-26 23:56:28 UTC
I had the problem but it disappeared after reboot. I'll try to find a way to reproduce this bug.

[root@0reste fred]# tuned --version
tuned 2.2.2
[root@0reste fred]# powertop --version
PowerTOP versionv2.3, compiled on Mar 20 2013
[root@0reste fred]#

Comment 3 Jaroslav Škarvada 2013-11-06 17:23:27 UTC
Moving this to f20 and closing with tuned-2.3.0 update which have some fixes for this functionality. I am not able to reproduce. Feel free to reopen (or let me know) if the problem persists.

Comment 4 Fedora Update System 2013-11-06 17:56:41 UTC
tuned-2.3.0-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/tuned-2.3.0-1.fc20

Comment 5 Fedora Update System 2013-11-07 19:07:02 UTC
Package tuned-2.3.0-1.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing tuned-2.3.0-1.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-20857/tuned-2.3.0-1.fc20
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2013-11-12 00:42:03 UTC
tuned-2.3.0-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Ceriel Jacobs 2016-12-30 21:36:47 UTC
Created attachment 1236136 [details]
powertop.html

Comment 8 Ceriel Jacobs 2016-12-30 21:39:11 UTC
It's still an issue with an Intel DE3815TYKHE box + Tuned 2.6.0 and PowerTop v2.8:
# powertop --version
PowerTOP version v2.8, compiled on Dec  6 2015
# tuned --version
tuned 2.6.0
# powertop2tuned powertop-profile
Running PowerTOP, please wait...
Your Powertop version is incompatible (maybe too old) or the generated HTML output is malformed
# LANG=C powertop --html
modprobe cpufreq_stats failedLoaded 0 prior measurements
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 device for cpu 0
RAPL device for cpu 0
Devfreq not enabled
Cannot load from file /var/cache/powertop/saved_parameters.powertop
File will be loaded after taking minimum number of measurement(s) with battery only
Preparing to take measurements
  unknown op '{'
Taking 1 measurement(s) for a duration of 20 second(s) each.
PowerTOP outputing using base filename powertop.html
# cat powertop.html
See added attachment powertop.html.

Comment 9 Jaroslav Škarvada 2017-01-02 16:23:54 UTC
(In reply to Ceriel Jacobs from comment #8)
> It's still an issue with an Intel DE3815TYKHE box + Tuned 2.6.0 and PowerTop
> v2.8:
> # powertop --version
> PowerTOP version v2.8, compiled on Dec  6 2015
> # tuned --version
> tuned 2.6.0
> # powertop2tuned powertop-profile
> Running PowerTOP, please wait...
> Your Powertop version is incompatible (maybe too old) or the generated HTML
> output is malformed
> # LANG=C powertop --html
> modprobe cpufreq_stats failedLoaded 0 prior measurements
> 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 device for cpu 0
> RAPL device for cpu 0
> Devfreq not enabled
> Cannot load from file /var/cache/powertop/saved_parameters.powertop
> File will be loaded after taking minimum number of measurement(s) with
> battery only
> Preparing to take measurements
>   unknown op '{'
> Taking 1 measurement(s) for a duration of 20 second(s) each.
> PowerTOP outputing using base filename powertop.html
> # cat powertop.html
> See added attachment powertop.html.

Hmm, I still cannot reproduce the problem even with your powertop.html on latest tuned:
tuned-2.7.1-3.fc25.noarch

Could you upgrade Tuned package and could you try:

# powertop2tuned -i powertop.html powertop-profile

This finished correctly on my machine.

Your powertop.html contains some ugly characters (maybe in your BIOS), but the parser should cope with it:
<tr> <th class="table_sysinfo"> System Name </th> <td > Intel CorporationDE3815TYKH��������������������������������� </td> </tr>

Comment 10 Ceriel Jacobs 2017-01-11 14:18:05 UTC
Sorry, I can't upgrade because Arch "tuned" package is currently at version  2.6.0-1. And tuned-git is even lower (2.5.0) and that package is unmainted.

Comment 11 Jaroslav Škarvada 2017-01-11 15:31:51 UTC
(In reply to Ceriel Jacobs from comment #10)
> Sorry, I can't upgrade because Arch "tuned" package is currently at version 
> 2.6.0-1. And tuned-git is even lower (2.5.0) and that package is unmainted.

Which tuned-git?

The current upstream git is:
https://github.com/redhat-performance/tuned

The git is after 2.7.1 release.

I am afraid I cannot help you with Arch, you need to file Arch bug requesting downstream update in Arch. The problem is fixed in Tuned upstream, and in all currently supported Fedoras (24, 25, rawhide), i.e. the oldest version in Fedora is: tuned-2.7.1-3.fc24.

As a workaround you could pick the related patch from upstream git or the whole powertop2tuned file from upstream git or build whole Tuned from the upstream git.


Note You need to log in before you can comment on or make changes to this bug.