Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sysfs write failed /sys/devices/virtual/powercap/intel-rapl/intel-rapl:0/enabled #148

Closed
FadeMind opened this issue Feb 28, 2018 · 3 comments

Comments

@FadeMind
Copy link

I found issue #113 but I have another PATH error:

sysfs write failed /sys/devices/virtual/powercap/intel-rapl/intel-rapl:0/enabled
grep -R . /sys/devices/virtual/powercap/intel-rapl/intel-rapl:0/enabled
0
[fademind@manjaro ~]$ systemctl status thermald.service -l
* thermald.service - Thermal Daemon Service
   Loaded: loaded (/usr/lib/systemd/system/thermald.service; enabled; vendor preset: disabled)
   Active: active (running) since Wed 2018-02-28 07:16:58 CET; 11h ago
 Main PID: 668 (thermald)
    Tasks: 2 (limit: 4915)
   CGroup: /system.slice/thermald.service
           `-668 /usr/bin/thermald --no-daemon --dbus-enable

lut 28 07:16:58 manjaro systemd[1]: Starting Thermal Daemon Service...
lut 28 07:16:58 manjaro thermald[668]: 13 CPUID levels; family:model:stepping 0x6:3a:9 (6:58:9)
lut 28 07:16:58 manjaro thermald[668]: Polling mode is enabled: 4
lut 28 07:16:58 manjaro systemd[1]: Started Thermal Daemon Service.
lut 28 07:16:58 manjaro thermald[668]: sysfs write failed /sys/devices/virtual/powercap/intel-rapl/intel-rapl:0/enabled
[fademind@manjaro ~]$ 

Thermald Stable 1.7.1-1 (official arch release)
Distro Manjaro Linux x64
CPU: Intel Core i7-3610QM (-MT-MCP-)

@spandruvada can I just IGNORE this error, or it is something wrong with?

@emilio-aburto
Copy link

emilio-aburto commented May 6, 2018

Hello,
I found this same error along with one that seems fixed in #113 if I understood that correctly (probably not). Well, the interesting lines are:

may 06 04:55:07 speedy systemd[1]: Starting Thermal Daemon Service...
may 06 04:55:07 speedy systemd[1]: Started Thermal Daemon Service.
may 06 04:55:07 speedy thermald[1459]: 13 CPUID levels; family:model:stepping 0x6:45:1 (6:69:1)
may 06 04:55:07 speedy thermald[1459]: Polling mode is enabled: 4
may 06 04:55:07 speedy thermald[1459]: sysfs write failed /sys/devices/virtual/powercap/intel-rapl/intel-rapl:0/enabled
may 06 04:55:07 speedy thermald[1459]: sysfs read failed constraint_0_max_power_uw

Thermald 1.7.1-1
Distro Antergos
CPU: Intel Core i5-4200U

Is there more debugging info that I can provide? Just let me know :)

EDIT:
Well, I changed the loglevel of thermald to debug and made a dump of the output. I got the setup sequence and then some extra polling outputs just in case. It was quite large so I created a gist: https://gist.github.com/emilio-aburto/a208e9cff3599677b7955f41bd7ebc4e

@Hermanio
Copy link

@FadeMind This probably means that the system vendor has disabled modifying the power limits for the CPU. thermald attempts to control the system via RAPL (Running Average Power Limit) first, hence the attempt to enable it. I have seen the same behaviour on my ThinkPad T430 and a ThinkPad X230 where I attempted to change the values with rapl-set. An example is shown below.
image

As far as I know this is nothing to worry about and you can get rid of this message if you remove the RAPL related cooling device in /etc/thermald/thermal-cpu-cdev-order.xml.

@emilio-aburto you may have the same issue.

@spandruvada
Copy link
Contributor

Since RAPL locked, the other controls in the /etc/thermald/thermal-cpu-cdev-order.xml will be able to take it over. You can follow suggestion of Hermanio and run some stress workload and check if there is any issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants