{"action":"created","issue":{"url":"https://api.github.com/repos/01org/thermal_daemon/issues/45","labels_url":"https://api.github.com/repos/01org/thermal_daemon/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/01org/thermal_daemon/issues/45/comments","events_url":"https://api.github.com/repos/01org/thermal_daemon/issues/45/events","html_url":"https://github.com/01org/thermal_daemon/issues/45","id":54004564,"number":45,"title":"Integer overflow on Intel Core i7 4770S (Haswell)","user":{"login":"patrakov","id":2943163,"avatar_url":"https://avatars.githubusercontent.com/u/2943163?v=3","gravatar_id":"","url":"https://api.github.com/users/patrakov","html_url":"https://github.com/patrakov","followers_url":"https://api.github.com/users/patrakov/followers","following_url":"https://api.github.com/users/patrakov/following{/other_user}","gists_url":"https://api.github.com/users/patrakov/gists{/gist_id}","starred_url":"https://api.github.com/users/patrakov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patrakov/subscriptions","organizations_url":"https://api.github.com/users/patrakov/orgs","repos_url":"https://api.github.com/users/patrakov/repos","events_url":"https://api.github.com/users/patrakov/events{/privacy}","received_events_url":"https://api.github.com/users/patrakov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-11T20:56:28Z","updated_at":"2015-01-11T22:04:05Z","closed_at":null,"body":"I have this CPU in my silent PC:\r\n\r\n```\r\nprocessor\t: 0\r\nvendor_id\t: GenuineIntel\r\ncpu family\t: 6\r\nmodel\t\t: 60\r\nmodel name\t: Intel(R) Core(TM) i7-4770S CPU @ 3.10GHz\r\nstepping\t: 3\r\nmicrocode\t: 0x1c\r\ncpu MHz\t\t: 899.968\r\ncache size\t: 8192 KB\r\nphysical id\t: 0\r\nsiblings\t: 8\r\ncore id\t\t: 0\r\ncpu cores\t: 4\r\napicid\t\t: 0\r\ninitial apicid\t: 0\r\nfpu\t\t: yes\r\nfpu_exception\t: yes\r\ncpuid level\t: 13\r\nwp\t\t: yes\r\nflags\t\t: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm ida arat pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt\r\nbugs\t\t:\r\nbogomips\t: 6185.90\r\nclflush size\t: 64\r\ncache_alignment\t: 64\r\naddress sizes\t: 39 bits physical, 48 bits virtual\r\npower management:\r\n\r\n(and 7 more virtual cores like this)\r\n```\r\n\r\nUnfortunately, unpatched thermald does not work: wants to write negative values as RAPL power limits. I assume this is due to some integer overflow. Here are RAPL data, just in case (with the unpatched version f thermald running):\r\n\r\n```\r\n/sys/class/powercap/intel-rapl/power/control:auto\r\n/sys/class/powercap/intel-rapl/power/async:disabled\r\n/sys/class/powercap/intel-rapl/power/runtime_enabled:disabled\r\n/sys/class/powercap/intel-rapl/power/runtime_active_kids:0\r\n/sys/class/powercap/intel-rapl/power/runtime_active_time:0\r\n/sys/class/powercap/intel-rapl/power/runtime_status:unsupported\r\n/sys/class/powercap/intel-rapl/power/runtime_usage:0\r\n/sys/class/powercap/intel-rapl/power/runtime_suspended_time:0\r\n/sys/class/powercap/intel-rapl/enabled:1\r\n/sys/class/powercap/intel-rapl/intel-rapl:0/name:package-0\r\n/sys/class/powercap/intel-rapl/intel-rapl:0/power/control:auto\r\n/sys/class/powercap/intel-rapl/intel-rapl:0/power/async:disabled\r\n/sys/class/powercap/intel-rapl/intel-rapl:0/power/runtime_enabled:disabled\r\n/sys/class/powercap/intel-rapl/intel-rapl:0/power/runtime_active_kids:0\r\n/sys/class/powercap/intel-rapl/intel-rapl:0/power/runtime_active_time:0\r\n/sys/class/powercap/intel-rapl/intel-rapl:0/power/runtime_status:unsupported\r\n/sys/class/powercap/intel-rapl/intel-rapl:0/power/runtime_usage:0\r\n/sys/class/powercap/intel-rapl/intel-rapl:0/power/runtime_suspended_time:0\r\n/sys/class/powercap/intel-rapl/intel-rapl:0/constraint_0_time_window_us:1000000\r\n/sys/class/powercap/intel-rapl/intel-rapl:0/constraint_1_power_limit_uw:4090000000\r\n/sys/class/powercap/intel-rapl/intel-rapl:0/enabled:1\r\n/sys/class/powercap/intel-rapl/intel-rapl:0/constraint_0_power_limit_uw:3408250000\r\n/sys/class/powercap/intel-rapl/intel-rapl:0/constraint_0_name:long_term\r\n/sys/class/powercap/intel-rapl/intel-rapl:0/constraint_1_name:short_term\r\n/sys/class/powercap/intel-rapl/intel-rapl:0/energy_uj:26192755676\r\n/sys/class/powercap/intel-rapl/intel-rapl:0/constraint_1_max_power_uw:0\r\n/sys/class/powercap/intel-rapl/intel-rapl:0/max_energy_range_uj:262143999938\r\n/sys/class/powercap/intel-rapl/intel-rapl:0/constraint_0_max_power_uw:65000000\r\n/sys/class/powercap/intel-rapl/intel-rapl:0/constraint_1_time_window_us:976\r\n/sys/class/powercap/intel-rapl/intel-rapl:0/intel-rapl:0:0/name:core\r\n/sys/class/powercap/intel-rapl/intel-rapl:0/intel-rapl:0:0/power/control:auto\r\n/sys/class/powercap/intel-rapl/intel-rapl:0/intel-rapl:0:0/power/async:disabled\r\n/sys/class/powercap/intel-rapl/intel-rapl:0/intel-rapl:0:0/power/runtime_enabled:disabled\r\n/sys/class/powercap/intel-rapl/intel-rapl:0/intel-rapl:0:0/power/runtime_active_kids:0\r\n/sys/class/powercap/intel-rapl/intel-rapl:0/intel-rapl:0:0/power/runtime_active_time:0\r\n/sys/class/powercap/intel-rapl/intel-rapl:0/intel-rapl:0:0/power/runtime_status:unsupported\r\n/sys/class/powercap/intel-rapl/intel-rapl:0/intel-rapl:0:0/power/runtime_usage:0\r\n/sys/class/powercap/intel-rapl/intel-rapl:0/intel-rapl:0:0/power/runtime_suspended_time:0\r\n/sys/class/powercap/intel-rapl/intel-rapl:0/intel-rapl:0:0/constraint_0_time_window_us:976\r\n/sys/class/powercap/intel-rapl/intel-rapl:0/intel-rapl:0:0/enabled:1\r\n/sys/class/powercap/intel-rapl/intel-rapl:0/intel-rapl:0:0/constraint_0_power_limit_uw:4090000000\r\n/sys/class/powercap/intel-rapl/intel-rapl:0/intel-rapl:0:0/constraint_0_name:long_term\r\n/sys/class/powercap/intel-rapl/intel-rapl:0/intel-rapl:0:0/energy_uj:16834298461\r\n/sys/class/powercap/intel-rapl/intel-rapl:0/intel-rapl:0:0/max_energy_range_uj:262143999938\r\n/sys/class/powercap/intel-rapl/intel-rapl:0/intel-rapl:0:1/name:uncore\r\n/sys/class/powercap/intel-rapl/intel-rapl:0/intel-rapl:0:1/power/control:auto\r\n/sys/class/powercap/intel-rapl/intel-rapl:0/intel-rapl:0:1/power/async:disabled\r\n/sys/class/powercap/intel-rapl/intel-rapl:0/intel-rapl:0:1/power/runtime_enabled:disabled\r\n/sys/class/powercap/intel-rapl/intel-rapl:0/intel-rapl:0:1/power/runtime_active_kids:0\r\n/sys/class/powercap/intel-rapl/intel-rapl:0/intel-rapl:0:1/power/runtime_active_time:0\r\n/sys/class/powercap/intel-rapl/intel-rapl:0/intel-rapl:0:1/power/runtime_status:unsupported\r\n/sys/class/powercap/intel-rapl/intel-rapl:0/intel-rapl:0:1/power/runtime_usage:0\r\n/sys/class/powercap/intel-rapl/intel-rapl:0/intel-rapl:0:1/power/runtime_suspended_time:0\r\n/sys/class/powercap/intel-rapl/intel-rapl:0/intel-rapl:0:1/constraint_0_time_window_us:976\r\n/sys/class/powercap/intel-rapl/intel-rapl:0/intel-rapl:0:1/enabled:1\r\n/sys/class/powercap/intel-rapl/intel-rapl:0/intel-rapl:0:1/constraint_0_power_limit_uw:4090000000\r\n/sys/class/powercap/intel-rapl/intel-rapl:0/intel-rapl:0:1/constraint_0_name:long_term\r\n/sys/class/powercap/intel-rapl/intel-rapl:0/intel-rapl:0:1/energy_uj:234232666\r\n/sys/class/powercap/intel-rapl/intel-rapl:0/intel-rapl:0:1/max_energy_range_uj:262143999938\r\n/sys/class/powercap/intel-rapl/intel-rapl:0/intel-rapl:0:2/name:dram\r\n/sys/class/powercap/intel-rapl/intel-rapl:0/intel-rapl:0:2/power/control:auto\r\n/sys/class/powercap/intel-rapl/intel-rapl:0/intel-rapl:0:2/power/async:disabled\r\n/sys/class/powercap/intel-rapl/intel-rapl:0/intel-rapl:0:2/power/runtime_enabled:disabled\r\n/sys/class/powercap/intel-rapl/intel-rapl:0/intel-rapl:0:2/power/runtime_active_kids:0\r\n/sys/class/powercap/intel-rapl/intel-rapl:0/intel-rapl:0:2/power/runtime_active_time:0\r\n/sys/class/powercap/intel-rapl/intel-rapl:0/intel-rapl:0:2/power/runtime_status:unsupported\r\n/sys/class/powercap/intel-rapl/intel-rapl:0/intel-rapl:0:2/power/runtime_usage:0\r\n/sys/class/powercap/intel-rapl/intel-rapl:0/intel-rapl:0:2/power/runtime_suspended_time:0\r\n/sys/class/powercap/intel-rapl/intel-rapl:0/intel-rapl:0:2/constraint_0_time_window_us:976\r\n/sys/class/powercap/intel-rapl/intel-rapl:0/intel-rapl:0:2/enabled:1\r\n/sys/class/powercap/intel-rapl/intel-rapl:0/intel-rapl:0:2/constraint_0_power_limit_uw:3408250000\r\n/sys/class/powercap/intel-rapl/intel-rapl:0/intel-rapl:0:2/constraint_0_name:long_term\r\n/sys/class/powercap/intel-rapl/intel-rapl:0/intel-rapl:0:2/energy_uj:2469474853\r\n/sys/class/powercap/intel-rapl/intel-rapl:0/intel-rapl:0:2/max_energy_range_uj:262143999938\r\n/sys/class/powercap/intel-rapl:0/name:package-0\r\n/sys/class/powercap/intel-rapl:0/power/control:auto\r\n/sys/class/powercap/intel-rapl:0/power/async:disabled\r\n/sys/class/powercap/intel-rapl:0/power/runtime_enabled:disabled\r\n/sys/class/powercap/intel-rapl:0/power/runtime_active_kids:0\r\n/sys/class/powercap/intel-rapl:0/power/runtime_active_time:0\r\n/sys/class/powercap/intel-rapl:0/power/runtime_status:unsupported\r\n/sys/class/powercap/intel-rapl:0/power/runtime_usage:0\r\n/sys/class/powercap/intel-rapl:0/power/runtime_suspended_time:0\r\n/sys/class/powercap/intel-rapl:0/constraint_0_time_window_us:1000000\r\n/sys/class/powercap/intel-rapl:0/constraint_1_power_limit_uw:4090000000\r\n/sys/class/powercap/intel-rapl:0/enabled:1\r\n/sys/class/powercap/intel-rapl:0/constraint_0_power_limit_uw:3408250000\r\n/sys/class/powercap/intel-rapl:0/constraint_0_name:long_term\r\n/sys/class/powercap/intel-rapl:0/constraint_1_name:short_term\r\n/sys/class/powercap/intel-rapl:0/energy_uj:26192796142\r\n/sys/class/powercap/intel-rapl:0/constraint_1_max_power_uw:0\r\n/sys/class/powercap/intel-rapl:0/max_energy_range_uj:262143999938\r\n/sys/class/powercap/intel-rapl:0/constraint_0_max_power_uw:65000000\r\n/sys/class/powercap/intel-rapl:0/constraint_1_time_window_us:976\r\n/sys/class/powercap/intel-rapl:0/intel-rapl:0:0/name:core\r\n/sys/class/powercap/intel-rapl:0/intel-rapl:0:0/power/control:auto\r\n/sys/class/powercap/intel-rapl:0/intel-rapl:0:0/power/async:disabled\r\n/sys/class/powercap/intel-rapl:0/intel-rapl:0:0/power/runtime_enabled:disabled\r\n/sys/class/powercap/intel-rapl:0/intel-rapl:0:0/power/runtime_active_kids:0\r\n/sys/class/powercap/intel-rapl:0/intel-rapl:0:0/power/runtime_active_time:0\r\n/sys/class/powercap/intel-rapl:0/intel-rapl:0:0/power/runtime_status:unsupported\r\n/sys/class/powercap/intel-rapl:0/intel-rapl:0:0/power/runtime_usage:0\r\n/sys/class/powercap/intel-rapl:0/intel-rapl:0:0/power/runtime_suspended_time:0\r\n/sys/class/powercap/intel-rapl:0/intel-rapl:0:0/constraint_0_time_window_us:976\r\n/sys/class/powercap/intel-rapl:0/intel-rapl:0:0/enabled:1\r\n/sys/class/powercap/intel-rapl:0/intel-rapl:0:0/constraint_0_power_limit_uw:4090000000\r\n/sys/class/powercap/intel-rapl:0/intel-rapl:0:0/constraint_0_name:long_term\r\n/sys/class/powercap/intel-rapl:0/intel-rapl:0:0/energy_uj:16834303466\r\n/sys/class/powercap/intel-rapl:0/intel-rapl:0:0/max_energy_range_uj:262143999938\r\n/sys/class/powercap/intel-rapl:0/intel-rapl:0:1/name:uncore\r\n/sys/class/powercap/intel-rapl:0/intel-rapl:0:1/power/control:auto\r\n/sys/class/powercap/intel-rapl:0/intel-rapl:0:1/power/async:disabled\r\n/sys/class/powercap/intel-rapl:0/intel-rapl:0:1/power/runtime_enabled:disabled\r\n/sys/class/powercap/intel-rapl:0/intel-rapl:0:1/power/runtime_active_kids:0\r\n/sys/class/powercap/intel-rapl:0/intel-rapl:0:1/power/runtime_active_time:0\r\n/sys/class/powercap/intel-rapl:0/intel-rapl:0:1/power/runtime_status:unsupported\r\n/sys/class/powercap/intel-rapl:0/intel-rapl:0:1/power/runtime_usage:0\r\n/sys/class/powercap/intel-rapl:0/intel-rapl:0:1/power/runtime_suspended_time:0\r\n/sys/class/powercap/intel-rapl:0/intel-rapl:0:1/constraint_0_time_window_us:976\r\n/sys/class/powercap/intel-rapl:0/intel-rapl:0:1/enabled:1\r\n/sys/class/powercap/intel-rapl:0/intel-rapl:0:1/constraint_0_power_limit_uw:4090000000\r\n/sys/class/powercap/intel-rapl:0/intel-rapl:0:1/constraint_0_name:long_term\r\n/sys/class/powercap/intel-rapl:0/intel-rapl:0:1/energy_uj:234232666\r\n/sys/class/powercap/intel-rapl:0/intel-rapl:0:1/max_energy_range_uj:262143999938\r\n/sys/class/powercap/intel-rapl:0/intel-rapl:0:2/name:dram\r\n/sys/class/powercap/intel-rapl:0/intel-rapl:0:2/power/control:auto\r\n/sys/class/powercap/intel-rapl:0/intel-rapl:0:2/power/async:disabled\r\n/sys/class/powercap/intel-rapl:0/intel-rapl:0:2/power/runtime_enabled:disabled\r\n/sys/class/powercap/intel-rapl:0/intel-rapl:0:2/power/runtime_active_kids:0\r\n/sys/class/powercap/intel-rapl:0/intel-rapl:0:2/power/runtime_active_time:0\r\n/sys/class/powercap/intel-rapl:0/intel-rapl:0:2/power/runtime_status:unsupported\r\n/sys/class/powercap/intel-rapl:0/intel-rapl:0:2/power/runtime_usage:0\r\n/sys/class/powercap/intel-rapl:0/intel-rapl:0:2/power/runtime_suspended_time:0\r\n/sys/class/powercap/intel-rapl:0/intel-rapl:0:2/constraint_0_time_window_us:976\r\n/sys/class/powercap/intel-rapl:0/intel-rapl:0:2/enabled:1\r\n/sys/class/powercap/intel-rapl:0/intel-rapl:0:2/constraint_0_power_limit_uw:3408250000\r\n/sys/class/powercap/intel-rapl:0/intel-rapl:0:2/constraint_0_name:long_term\r\n/sys/class/powercap/intel-rapl:0/intel-rapl:0:2/energy_uj:2469482238\r\n/sys/class/powercap/intel-rapl:0/intel-rapl:0:2/max_energy_range_uj:262143999938\r\n/sys/class/powercap/intel-rapl:0:0/name:core\r\n/sys/class/powercap/intel-rapl:0:0/power/control:auto\r\n/sys/class/powercap/intel-rapl:0:0/power/async:disabled\r\n/sys/class/powercap/intel-rapl:0:0/power/runtime_enabled:disabled\r\n/sys/class/powercap/intel-rapl:0:0/power/runtime_active_kids:0\r\n/sys/class/powercap/intel-rapl:0:0/power/runtime_active_time:0\r\n/sys/class/powercap/intel-rapl:0:0/power/runtime_status:unsupported\r\n/sys/class/powercap/intel-rapl:0:0/power/runtime_usage:0\r\n/sys/class/powercap/intel-rapl:0:0/power/runtime_suspended_time:0\r\n/sys/class/powercap/intel-rapl:0:0/constraint_0_time_window_us:976\r\n/sys/class/powercap/intel-rapl:0:0/enabled:1\r\n/sys/class/powercap/intel-rapl:0:0/constraint_0_power_limit_uw:4090000000\r\n/sys/class/powercap/intel-rapl:0:0/constraint_0_name:long_term\r\n/sys/class/powercap/intel-rapl:0:0/energy_uj:16834313903\r\n/sys/class/powercap/intel-rapl:0:0/max_energy_range_uj:262143999938\r\n/sys/class/powercap/intel-rapl:0:1/name:uncore\r\n/sys/class/powercap/intel-rapl:0:1/power/control:auto\r\n/sys/class/powercap/intel-rapl:0:1/power/async:disabled\r\n/sys/class/powercap/intel-rapl:0:1/power/runtime_enabled:disabled\r\n/sys/class/powercap/intel-rapl:0:1/power/runtime_active_kids:0\r\n/sys/class/powercap/intel-rapl:0:1/power/runtime_active_time:0\r\n/sys/class/powercap/intel-rapl:0:1/power/runtime_status:unsupported\r\n/sys/class/powercap/intel-rapl:0:1/power/runtime_usage:0\r\n/sys/class/powercap/intel-rapl:0:1/power/runtime_suspended_time:0\r\n/sys/class/powercap/intel-rapl:0:1/constraint_0_time_window_us:976\r\n/sys/class/powercap/intel-rapl:0:1/enabled:1\r\n/sys/class/powercap/intel-rapl:0:1/constraint_0_power_limit_uw:4090000000\r\n/sys/class/powercap/intel-rapl:0:1/constraint_0_name:long_term\r\n/sys/class/powercap/intel-rapl:0:1/energy_uj:234234008\r\n/sys/class/powercap/intel-rapl:0:1/max_energy_range_uj:262143999938\r\n/sys/class/powercap/intel-rapl:0:2/name:dram\r\n/sys/class/powercap/intel-rapl:0:2/power/control:auto\r\n/sys/class/powercap/intel-rapl:0:2/power/async:disabled\r\n/sys/class/powercap/intel-rapl:0:2/power/runtime_enabled:disabled\r\n/sys/class/powercap/intel-rapl:0:2/power/runtime_active_kids:0\r\n/sys/class/powercap/intel-rapl:0:2/power/runtime_active_time:0\r\n/sys/class/powercap/intel-rapl:0:2/power/runtime_status:unsupported\r\n/sys/class/powercap/intel-rapl:0:2/power/runtime_usage:0\r\n/sys/class/powercap/intel-rapl:0:2/power/runtime_suspended_time:0\r\n/sys/class/powercap/intel-rapl:0:2/constraint_0_time_window_us:976\r\n/sys/class/powercap/intel-rapl:0:2/enabled:1\r\n/sys/class/powercap/intel-rapl:0:2/constraint_0_power_limit_uw:3408250000\r\n/sys/class/powercap/intel-rapl:0:2/constraint_0_name:long_term\r\n/sys/class/powercap/intel-rapl:0:2/energy_uj:2469484863\r\n/sys/class/powercap/intel-rapl:0:2/max_energy_range_uj:262143999938\r\n```\r\n\r\nHere is the thermald log with the default verbosity:\r\n\r\n```\r\n-- Logs begin at Sun 2014-08-17 17:15:38 YEKT, end at Mon 2015-01-12 01:46:31 YEKT. --\r\nJan 12 01:30:30 aep-haswell thermald[1143]: sysfs read failed /sys/class/powercap/intel-rapl/power/name\r\nJan 12 01:30:30 aep-haswell thermald[1143]: sysfs read failed /sys/class/powercap/intel-rapl/enabled/name\r\nJan 12 01:30:30 aep-haswell thermald[1143]: sysfs read failed /sys/class/powercap/intel-rapl/intel-rapl:0/name/name\r\nJan 12 01:30:30 aep-haswell thermald[1143]: sysfs read failed /sys/class/powercap/intel-rapl/intel-rapl:0/power/name\r\nJan 12 01:30:30 aep-haswell thermald[1143]: sysfs read failed /sys/class/powercap/intel-rapl/intel-rapl:0/constraint_0_time_window_us/name\r\nJan 12 01:30:30 aep-haswell thermald[1143]: sysfs read failed /sys/class/powercap/intel-rapl/intel-rapl:0/constraint_1_power_limit_uw/name\r\nJan 12 01:30:30 aep-haswell thermald[1143]: sysfs read failed /sys/class/powercap/intel-rapl/intel-rapl:0/enabled/name\r\nJan 12 01:30:30 aep-haswell thermald[1143]: sysfs read failed /sys/class/powercap/intel-rapl/intel-rapl:0/device/name\r\nJan 12 01:30:30 aep-haswell thermald[1143]: sysfs read failed /sys/class/powercap/intel-rapl/intel-rapl:0/constraint_0_power_limit_uw/name\r\nJan 12 01:30:30 aep-haswell thermald[1143]: sysfs read failed /sys/class/powercap/intel-rapl/intel-rapl:0/subsystem/name\r\nJan 12 01:30:30 aep-haswell thermald[1143]: sysfs read failed /sys/class/powercap/intel-rapl/intel-rapl:0/constraint_0_name/name\r\nJan 12 01:30:30 aep-haswell thermald[1143]: sysfs read failed /sys/class/powercap/intel-rapl/intel-rapl:0/constraint_1_name/name\r\nJan 12 01:30:30 aep-haswell thermald[1143]: sysfs read failed /sys/class/powercap/intel-rapl/intel-rapl:0/energy_uj/name\r\nJan 12 01:30:30 aep-haswell thermald[1143]: sysfs read failed /sys/class/powercap/intel-rapl/intel-rapl:0/constraint_1_max_power_uw/name\r\nJan 12 01:30:30 aep-haswell thermald[1143]: sysfs read failed /sys/class/powercap/intel-rapl/intel-rapl:0/uevent/name\r\nJan 12 01:30:30 aep-haswell thermald[1143]: sysfs read failed /sys/class/powercap/intel-rapl/intel-rapl:0/max_energy_range_uj/name\r\nJan 12 01:30:30 aep-haswell thermald[1143]: sysfs read failed /sys/class/powercap/intel-rapl/intel-rapl:0/constraint_0_max_power_uw/name\r\nJan 12 01:30:30 aep-haswell thermald[1143]: sysfs read failed /sys/class/powercap/intel-rapl/intel-rapl:0/constraint_1_time_window_us/name\r\nJan 12 01:30:30 aep-haswell thermald[1143]: RAPL domain count 1\r\nJan 12 01:30:30 aep-haswell thermald[1143]: sysfs read failed /sys/class/powercap/intel-rapl/subsystem/name\r\nJan 12 01:30:30 aep-haswell thermald[1143]: sysfs read failed /sys/class/powercap/intel-rapl/uevent/name\r\nJan 12 01:30:30 aep-haswell thermald[1143]: RAPL domain count 1\r\nJan 12 01:30:30 aep-haswell thermald[1143]: 13 CPUID levels; family:model:stepping 0x6:3c:3 (6:60:3)\r\nJan 12 01:30:30 aep-haswell thermald[1143]: Running on a vanilla kernel\r\nJan 12 01:30:30 aep-haswell thermald[1143]: Polling mode is enabled: 4\r\nJan 12 01:30:30 aep-haswell thermald[1143]: sensor_update: type acpitz\r\nJan 12 01:30:30 aep-haswell thermald[1143]: sensor_update: type acpitz\r\nJan 12 01:30:30 aep-haswell thermald[1143]: sensor_update: type x86_pkg_temp\r\nJan 12 01:30:30 aep-haswell thermald[1143]: thd_read_default_thermal_sensors loaded 3 sensors\r\nJan 12 01:30:30 aep-haswell thermald[1143]: dts /sys/devices/platform/coretemp.0/name doesn't exist\r\nJan 12 01:30:30 aep-haswell thermald[1143]: failed to open /dev/acpi_thermal_rel\r\nJan 12 01:30:30 aep-haswell thermald[1143]: failed to open /dev/acpi_thermal_rel\r\nJan 12 01:30:30 aep-haswell thermald[1143]: TRT/ART read failed\r\nJan 12 01:30:30 aep-haswell thermald[1143]: Dumping parsed XML Data\r\nJan 12 01:30:30 aep-haswell thermald[1143]: *** Index 0 ***\r\nJan 12 01:30:30 aep-haswell thermald[1143]: Name: SilentPC\r\nJan 12 01:30:30 aep-haswell thermald[1143]: UUID:\r\nJan 12 01:30:30 aep-haswell thermald[1143]: type: 0\r\nJan 12 01:30:30 aep-haswell thermald[1143]: Zone 0\r\nJan 12 01:30:30 aep-haswell thermald[1143]: Name: cpu\r\nJan 12 01:30:30 aep-haswell thermald[1143]: Trip Point 0\r\nJan 12 01:30:30 aep-haswell thermald[1143]: temp 82000\r\nJan 12 01:30:30 aep-haswell thermald[1143]: trip type 2\r\nJan 12 01:30:30 aep-haswell thermald[1143]: hyst id 0\r\nJan 12 01:30:30 aep-haswell thermald[1143]: sensor type x86_pkg_temp\r\nJan 12 01:30:30 aep-haswell thermald[1143]: cdev index 0\r\nJan 12 01:30:30 aep-haswell thermald[1143]: type rapl_controller\r\nJan 12 01:30:30 aep-haswell thermald[1143]: influence 100\r\nJan 12 01:30:30 aep-haswell thermald[1143]: SamplingPeriod 1\r\nJan 12 01:30:30 aep-haswell thermald[1143]: Cooling Dev 0\r\nJan 12 01:30:30 aep-haswell thermald[1143]: Type: rapl_controller\r\nJan 12 01:30:30 aep-haswell thermald[1143]: Path:\r\nJan 12 01:30:30 aep-haswell thermald[1143]: Min: 0\r\nJan 12 01:30:30 aep-haswell thermald[1143]: Max: 0\r\nJan 12 01:30:30 aep-haswell thermald[1143]: Step: 1\r\nJan 12 01:30:30 aep-haswell thermald[1143]: AutoDownControl: 0\r\nJan 12 01:30:30 aep-haswell thermald[1143]: PID: Kp 700,000000\r\nJan 12 01:30:30 aep-haswell thermald[1143]: PID: Ki 0,000000\r\nJan 12 01:30:30 aep-haswell thermald[1143]: PID: Kd 2800,000000\r\nJan 12 01:30:30 aep-haswell thermald[1143]: Product Name matched [wildcard]\r\nJan 12 01:30:30 aep-haswell thermald[1143]: sensor index:0 acpitz Async:1\r\nJan 12 01:30:30 aep-haswell thermald[1143]: sensor index:1 acpitz Async:0\r\nJan 12 01:30:30 aep-haswell thermald[1143]: sensor index:2 x86_pkg_temp Async:1\r\nJan 12 01:30:30 aep-haswell thermald[1143]: sensor index:3 hwmon Async:0\r\nJan 12 01:30:30 aep-haswell thermald[1143]: sensor index:4 hwmon Async:0\r\nJan 12 01:30:30 aep-haswell thermald[1143]: sensor index:5 hwmon Async:0\r\nJan 12 01:30:30 aep-haswell thermald[1143]: thd_read_default_cooling devices loaded 14 cdevs\r\nJan 12 01:30:30 aep-haswell thermald[1143]: Default constraint power limit is more than max power 3408250000:65000000\r\nJan 12 01:30:30 aep-haswell thermald[1143]: powercap RAPL max power limit range 3408250000\r\nJan 12 01:30:30 aep-haswell thermald[1143]: set_pid_param 14 [1000.100,10]\r\nJan 12 01:30:30 aep-haswell thermald[1143]: Use Default pstate drv settings\r\nJan 12 01:30:30 aep-haswell thermald[1143]: Product Name matched [wildcard]\r\nJan 12 01:30:30 aep-haswell thermald[1143]: PID control enabled 14\r\nJan 12 01:30:30 aep-haswell thermald[1143]: set_pid_param 14 [700.0,2800]\r\nJan 12 01:30:30 aep-haswell thermald[1143]: name = package-0\r\nJan 12 01:30:30 aep-haswell thermald[1143]: name = core\r\nJan 12 01:30:30 aep-haswell thermald[1143]: name = uncore\r\nJan 12 01:30:30 aep-haswell thermald[1143]: name = dram\r\nJan 12 01:30:30 aep-haswell thermald[1143]: sysfs read failed constraint_0_max_power_uw\r\nJan 12 01:30:30 aep-haswell thermald[1143]: powercap RAPL invalid max power limit range\r\nJan 12 01:30:30 aep-haswell thermald[1143]: Calculate dynamically phy_max\r\nJan 12 01:30:30 aep-haswell thermald[1143]: 0: Fan, C:0 MN: 0 MX:1 ST:1 pt:/sys/class/thermal/ rd_bk 1\r\nJan 12 01:30:30 aep-haswell thermald[1143]: 1: Fan, C:0 MN: 0 MX:1 ST:1 pt:/sys/class/thermal/ rd_bk 1\r\nJan 12 01:30:30 aep-haswell thermald[1143]: 2: Fan, C:1 MN: 0 MX:1 ST:1 pt:/sys/class/thermal/ rd_bk 1\r\nJan 12 01:30:30 aep-haswell thermald[1143]: 3: Fan, C:1 MN: 0 MX:1 ST:1 pt:/sys/class/thermal/ rd_bk 1\r\nJan 12 01:30:30 aep-haswell thermald[1143]: 4: Fan, C:1 MN: 0 MX:1 ST:1 pt:/sys/class/thermal/ rd_bk 1\r\nJan 12 01:30:30 aep-haswell thermald[1143]: 5: Processor, C:0 MN: 0 MX:3 ST:1 pt:/sys/class/thermal/ rd_bk 0\r\nJan 12 01:30:30 aep-haswell thermald[1143]: 6: Processor, C:0 MN: 0 MX:3 ST:1 pt:/sys/class/thermal/ rd_bk 0\r\nJan 12 01:30:30 aep-haswell thermald[1143]: 7: Processor, C:0 MN: 0 MX:3 ST:1 pt:/sys/class/thermal/ rd_bk 0\r\nJan 12 01:30:30 aep-haswell thermald[1143]: 8: Processor, C:0 MN: 0 MX:3 ST:1 pt:/sys/class/thermal/ rd_bk 0\r\nJan 12 01:30:30 aep-haswell thermald[1143]: 9: Processor, C:0 MN: 0 MX:3 ST:1 pt:/sys/class/thermal/ rd_bk 0\r\nJan 12 01:30:30 aep-haswell thermald[1143]: 10: Processor, C:0 MN: 0 MX:3 ST:1 pt:/sys/class/thermal/ rd_bk 0\r\nJan 12 01:30:30 aep-haswell thermald[1143]: 11: Processor, C:0 MN: 0 MX:3 ST:1 pt:/sys/class/thermal/ rd_bk 0\r\nJan 12 01:30:30 aep-haswell thermald[1143]: 12: Processor, C:0 MN: 0 MX:3 ST:1 pt:/sys/class/thermal/ rd_bk 0\r\nJan 12 01:30:30 aep-haswell thermald[1143]: 13: intel_powerclamp, C:-1 MN: 0 MX:50 ST:5 pt:/sys/class/thermal/ rd_bk 0\r\nJan 12 01:30:30 aep-haswell thermald[1143]: 14: rapl_controller, C:0 MN: 0 MX:-665037952 ST:170412496 pt:/sys/devices/virtual/powercap/intel-rapl/intel-rapl:0/ rd_bk 1\r\nJan 12 01:30:30 aep-haswell thermald[1143]: 15: intel_pstate, C:0 MN: 0 MX:10 ST:1 pt:/sys/devices/system/cpu/intel_pstate/ rd_bk 1\r\nJan 12 01:30:30 aep-haswell thermald[1143]: 16: rapl_controller_dram, C:0 MN: 0 MX:500000 ST:500000 pt:/sys/devices/virtual/powercap/intel-rapl/intel-rapl:0/intel-rapl:0:2/ rd_bk 1\r\nJan 12 01:30:30 aep-haswell thermald[1143]: zone acpitz bounded\r\nJan 12 01:30:30 aep-haswell thermald[1143]: zone acpitz bounded\r\nJan 12 01:30:30 aep-haswell thermald[1143]: Sorted trip dump :\r\nJan 12 01:30:30 aep-haswell thermald[1143]: index 2: type:active temp:55000 hyst:1 zone id:0 sensor id:0 cdev size:1\r\nJan 12 01:30:30 aep-haswell thermald[1143]: cdev[0] Fan\r\nJan 12 01:30:30 aep-haswell thermald[1143]: index 1: type:active temp:86000 hyst:1 zone id:0 sensor id:0 cdev size:1\r\nJan 12 01:30:30 aep-haswell thermald[1143]: cdev[0] Fan\r\nJan 12 01:30:30 aep-haswell thermald[1143]: index 0: type:critical temp:97000 hyst:1 zone id:0 sensor id:0 cdev size:0\r\nJan 12 01:30:30 aep-haswell thermald[1143]: trip type: 3 temp: 55000\r\nJan 12 01:30:30 aep-haswell thermald[1143]: trip type: 3 temp: 86000\r\nJan 12 01:30:30 aep-haswell thermald[1143]: trip type: 0 temp: 97000\r\nJan 12 01:30:30 aep-haswell thermald[1143]: sysfs write failed trip_point_0_temp\r\nJan 12 01:30:30 aep-haswell thermald[1143]: zone acpitz bounded\r\nJan 12 01:30:30 aep-haswell thermald[1143]: zone acpitz bounded\r\nJan 12 01:30:30 aep-haswell thermald[1143]: zone acpitz bounded\r\nJan 12 01:30:30 aep-haswell thermald[1143]: zone acpitz bounded\r\nJan 12 01:30:30 aep-haswell thermald[1143]: zone acpitz bounded\r\nJan 12 01:30:30 aep-haswell thermald[1143]: zone acpitz bounded\r\nJan 12 01:30:30 aep-haswell thermald[1143]: zone acpitz bounded\r\nJan 12 01:30:30 aep-haswell thermald[1143]: zone acpitz bounded\r\nJan 12 01:30:30 aep-haswell thermald[1143]: Sorted trip dump :\r\nJan 12 01:30:30 aep-haswell thermald[1143]: index 0: type:critical temp:97000 hyst:1 zone id:1 sensor id:0 cdev size:0\r\nJan 12 01:30:30 aep-haswell thermald[1143]: index 1: type:passive temp:100000 hyst:1 zone id:1 sensor id:0 cdev size:1\r\nJan 12 01:30:30 aep-haswell thermald[1143]: cdev[0] Processor\r\nJan 12 01:30:30 aep-haswell thermald[1143]: trip type: 0 temp: 97000\r\nJan 12 01:30:30 aep-haswell thermald[1143]: trip type: 2 temp: 100000\r\nJan 12 01:30:30 aep-haswell thermald[1143]: sysfs write failed trip_point_0_temp\r\nJan 12 01:30:30 aep-haswell thermald[1143]: thd_read_default_thermal_zones loaded 2 zones\r\nJan 12 01:30:30 aep-haswell thermald[1143]: zone cpu will be created\r\nJan 12 01:30:30 aep-haswell thermald[1143]: dts zone /sys/devices/platform/coretemp.0/name doesn't exist\r\nJan 12 01:30:30 aep-haswell thermald[1143]: /sys/class/hwmon/hwmon0/name->acpitz\r\nJan 12 01:30:30 aep-haswell thermald[1143]: /sys/class/hwmon/hwmon1/name->coretemp\r\nJan 12 01:30:30 aep-haswell thermald[1143]: Core temp DTS :critical 92000, max 86000\r\nJan 12 01:30:30 aep-haswell thermald[1143]: Buggy max temp: to close to critical 82000\r\nJan 12 01:30:30 aep-haswell thermald[1143]: Read set point 0\r\nJan 12 01:30:30 aep-haswell thermald[1143]: node type: Element, name: CoolingDevice value: rapl_controller\r\nJan 12 01:30:30 aep-haswell thermald[1143]: CDEVS order specified in thermal-cpu-cdev-order.xml\r\nJan 12 01:30:30 aep-haswell thermald[1143]: Sorted trip dump :\r\nJan 12 01:30:30 aep-haswell thermald[1143]: index 1: type:passive temp:82000 hyst:0 zone id:2 sensor id:65535 cdev size:1\r\nJan 12 01:30:30 aep-haswell thermald[1143]: cdev[0] rapl_controller\r\nJan 12 01:30:30 aep-haswell thermald[1143]: index 0: type:max temp:86000 hyst:0 zone id:2 sensor id:65535 cdev size:1\r\nJan 12 01:30:30 aep-haswell thermald[1143]: cdev[0] rapl_controller\r\nJan 12 01:30:30 aep-haswell thermald[1143]: trip type: 2 temp: 82000\r\nJan 12 01:30:30 aep-haswell thermald[1143]: trip type: 1 temp: 86000\r\nJan 12 01:30:30 aep-haswell thermald[1143]: Read set point 0\r\nJan 12 01:30:30 aep-haswell thermald[1143]: Read set point 0\r\nJan 12 01:30:30 aep-haswell thermald[1143]: Product Name matched [wildcard]\r\nJan 12 01:30:30 aep-haswell thermald[1143]: Zone already present cpu\r\nJan 12 01:30:30 aep-haswell thermald[1143]: zone cpu bounded\r\nJan 12 01:30:30 aep-haswell thermald[1143]: Zone 0: acpitz, Active:0 Bind:1 Sensor_cnt:1\r\nJan 12 01:30:30 aep-haswell thermald[1143]: ..sensors..\r\nJan 12 01:30:30 aep-haswell thermald[1143]: sensor index:0 acpitz Async:1\r\nJan 12 01:30:30 aep-haswell thermald[1143]: ..trips..\r\nJan 12 01:30:30 aep-haswell thermald[1143]: index 2: type:active temp:55000 hyst:1 zone id:0 sensor id:0 cdev size:1\r\nJan 12 01:30:30 aep-haswell thermald[1143]: cdev[0] Fan\r\nJan 12 01:30:30 aep-haswell thermald[1143]: index 1: type:active temp:86000 hyst:1 zone id:0 sensor id:0 cdev size:1\r\nJan 12 01:30:30 aep-haswell thermald[1143]: cdev[0] Fan\r\nJan 12 01:30:30 aep-haswell thermald[1143]: index 0: type:critical temp:97000 hyst:1 zone id:0 sensor id:0 cdev size:0\r\nJan 12 01:30:30 aep-haswell thermald[1143]: index 3: type:polling temp:50000 hyst:0 zone id:0 sensor id:0 cdev size:0\r\nJan 12 01:30:30 aep-haswell thermald[1143]: Zone 1: acpitz, Active:0 Bind:1 Sensor_cnt:1\r\nJan 12 01:30:30 aep-haswell thermald[1143]: ..sensors..\r\nJan 12 01:30:30 aep-haswell thermald[1143]: sensor index:0 acpitz Async:1\r\nJan 12 01:30:30 aep-haswell thermald[1143]: ..trips..\r\nJan 12 01:30:30 aep-haswell thermald[1143]: index 0: type:critical temp:97000 hyst:1 zone id:1 sensor id:0 cdev size:0\r\nJan 12 01:30:30 aep-haswell thermald[1143]: index 1: type:passive temp:100000 hyst:1 zone id:1 sensor id:0 cdev size:1\r\nJan 12 01:30:30 aep-haswell thermald[1143]: cdev[0] Processor\r\nJan 12 01:30:30 aep-haswell thermald[1143]: index 2: type:polling temp:92000 hyst:0 zone id:1 sensor id:0 cdev size:0\r\nJan 12 01:30:30 aep-haswell thermald[1143]: Zone 2: cpu, Active:1 Bind:1 Sensor_cnt:1\r\nJan 12 01:30:30 aep-haswell thermald[1143]: ..sensors..\r\nJan 12 01:30:30 aep-haswell thermald[1143]: sensor index:2 x86_pkg_temp Async:1\r\nJan 12 01:30:30 aep-haswell thermald[1143]: ..trips..\r\nJan 12 01:30:30 aep-haswell thermald[1143]: index 3: type:passive temp:82000 hyst:0 zone id:2 sensor id:2 cdev size:1\r\nJan 12 01:30:30 aep-haswell thermald[1143]: cdev[0] rapl_controller\r\nJan 12 01:30:30 aep-haswell thermald[1143]: index 0: type:max temp:86000 hyst:0 zone id:2 sensor id:65535 cdev size:1\r\nJan 12 01:30:30 aep-haswell thermald[1143]: cdev[0] rapl_controller\r\nJan 12 01:30:30 aep-haswell thermald[1143]: index 2: type:polling temp:68000 hyst:0 zone id:2 sensor id:2 cdev size:0\r\nJan 12 01:30:30 aep-haswell thermald[1143]: FD = 8\r\nJan 12 01:30:30 aep-haswell thermald[1143]: Current user preference is 0\r\nJan 12 01:30:30 aep-haswell thermald[1143]: thd_engine_thread begin\r\nJan 12 01:37:34 aep-haswell thermald[1143]: Dropped below poll threshold\r\nJan 12 01:37:34 aep-haswell thermald[1143]: thd_trip_cdev_state_reset\r\nJan 12 01:37:34 aep-haswell thermald[1143]: thd_trip_cdev_state_reset\r\nJan 12 01:37:34 aep-haswell thermald[1143]: thd_trip_cdev_state_reset index 14:rapl_controller\r\nJan 12 01:37:34 aep-haswell thermald[1143]: thd_trip_cdev_state_reset\r\nJan 12 01:37:34 aep-haswell thermald[1143]: thd_trip_cdev_state_reset index 14:rapl_controller\r\nJan 12 01:38:02 aep-haswell thermald[1143]: Dropped below poll threshold\r\nJan 12 01:38:02 aep-haswell thermald[1143]: thd_trip_cdev_state_reset\r\nJan 12 01:38:02 aep-haswell thermald[1143]: thd_trip_cdev_state_reset\r\nJan 12 01:38:02 aep-haswell thermald[1143]: thd_trip_cdev_state_reset index 14:rapl_controller\r\nJan 12 01:38:02 aep-haswell thermald[1143]: thd_trip_cdev_state_reset\r\nJan 12 01:38:02 aep-haswell thermald[1143]: thd_trip_cdev_state_reset index 14:rapl_controller\r\nJan 12 01:40:45 aep-haswell thermald[1143]: Dropped below poll threshold\r\nJan 12 01:40:45 aep-haswell thermald[1143]: thd_trip_cdev_state_reset\r\nJan 12 01:40:45 aep-haswell thermald[1143]: thd_trip_cdev_state_reset\r\nJan 12 01:40:45 aep-haswell thermald[1143]: thd_trip_cdev_state_reset index 14:rapl_controller\r\nJan 12 01:40:45 aep-haswell thermald[1143]: thd_trip_cdev_state_reset\r\nJan 12 01:40:45 aep-haswell thermald[1143]: thd_trip_cdev_state_reset index 14:rapl_controller\r\nJan 12 01:40:50 aep-haswell thermald[1143]: Dropped below poll threshold\r\nJan 12 01:40:50 aep-haswell thermald[1143]: thd_trip_cdev_state_reset\r\nJan 12 01:40:50 aep-haswell thermald[1143]: thd_trip_cdev_state_reset\r\nJan 12 01:40:50 aep-haswell thermald[1143]: thd_trip_cdev_state_reset index 14:rapl_controller\r\nJan 12 01:40:50 aep-haswell thermald[1143]: thd_trip_cdev_state_reset\r\nJan 12 01:40:50 aep-haswell thermald[1143]: thd_trip_cdev_state_reset index 14:rapl_controller\r\nJan 12 01:41:10 aep-haswell thermald[1143]: Dropped below poll threshold\r\nJan 12 01:41:10 aep-haswell thermald[1143]: thd_trip_cdev_state_reset\r\nJan 12 01:41:10 aep-haswell thermald[1143]: thd_trip_cdev_state_reset\r\nJan 12 01:41:10 aep-haswell thermald[1143]: thd_trip_cdev_state_reset index 14:rapl_controller\r\nJan 12 01:41:10 aep-haswell thermald[1143]: thd_trip_cdev_state_reset\r\nJan 12 01:41:10 aep-haswell thermald[1143]: thd_trip_cdev_state_reset index 14:rapl_controller\r\nJan 12 01:41:12 aep-haswell thermald[1143]: Read set point 0\r\nJan 12 01:41:50 aep-haswell thermald[1143]: sysfs write failed constraint_0_power_limit_uw\r\nJan 12 01:41:50 aep-haswell thermald[1143]: set cdev state raw index 14 state 0 wr:-886717296\r\nJan 12 01:41:50 aep-haswell thermald[1143]: Set : 82000, 82000, 14, 0, -665037952\r\nJan 12 01:41:54 aep-haswell thermald[1143]: sysfs write failed constraint_0_power_limit_uw\r\nJan 12 01:41:54 aep-haswell thermald[1143]: set cdev state raw index 14 state 0 wr:-886717296\r\nJan 12 01:41:54 aep-haswell thermald[1143]: Set : 82000, 82000, 14, 0, -665037952\r\nJan 12 01:41:58 aep-haswell thermald[1143]: sysfs write failed constraint_0_power_limit_uw\r\nJan 12 01:41:58 aep-haswell thermald[1143]: set cdev state raw index 14 state 0 wr:-886717296\r\nJan 12 01:41:58 aep-haswell thermald[1143]: Set : 82000, 83000, 14, 0, -665037952\r\nJan 12 01:42:02 aep-haswell thermald[1143]: sysfs write failed constraint_0_power_limit_uw\r\nJan 12 01:42:02 aep-haswell thermald[1143]: set cdev state raw index 14 state 0 wr:-886717296\r\nJan 12 01:42:02 aep-haswell thermald[1143]: Set : 82000, 83000, 14, 0, -665037952\r\nJan 12 01:42:06 aep-haswell thermald[1143]: sysfs write failed constraint_0_power_limit_uw\r\nJan 12 01:42:06 aep-haswell thermald[1143]: set cdev state raw index 14 state 0 wr:-886717296\r\nJan 12 01:42:06 aep-haswell thermald[1143]: Set : 82000, 83000, 14, 0, -665037952\r\nJan 12 01:42:10 aep-haswell thermald[1143]: sysfs write failed constraint_0_power_limit_uw\r\nJan 12 01:42:10 aep-haswell thermald[1143]: set cdev state raw index 14 state 0 wr:-886717296\r\nJan 12 01:42:10 aep-haswell thermald[1143]: Set : 82000, 83000, 14, 0, -665037952\r\nJan 12 01:42:14 aep-haswell thermald[1143]: sysfs write failed constraint_0_power_limit_uw\r\nJan 12 01:42:14 aep-haswell thermald[1143]: set cdev state raw index 14 state 0 wr:-886717296\r\nJan 12 01:42:14 aep-haswell thermald[1143]: Set : 82000, 84000, 14, 0, -665037952\r\nJan 12 01:42:18 aep-haswell thermald[1143]: sysfs write failed constraint_0_power_limit_uw\r\nJan 12 01:42:18 aep-haswell thermald[1143]: set cdev state raw index 14 state 0 wr:-886717296\r\nJan 12 01:42:18 aep-haswell thermald[1143]: Set : 82000, 84000, 14, 0, -665037952\r\nJan 12 01:42:22 aep-haswell thermald[1143]: sysfs write failed constraint_0_power_limit_uw\r\nJan 12 01:42:22 aep-haswell thermald[1143]: set cdev state raw index 14 state 0 wr:-886717296\r\nJan 12 01:42:22 aep-haswell thermald[1143]: Set : 82000, 85000, 14, 0, -665037952\r\nJan 12 01:42:26 aep-haswell thermald[1143]: sysfs write failed constraint_0_power_limit_uw\r\nJan 12 01:42:26 aep-haswell thermald[1143]: set cdev state raw index 14 state 0 wr:-886717296\r\nJan 12 01:42:26 aep-haswell thermald[1143]: Set : 82000, 84000, 14, 0, -665037952\r\nJan 12 01:42:30 aep-haswell thermald[1143]: update_pid 1421008950 1421008950 1000 500 84500\r\nJan 12 01:42:30 aep-haswell thermald[1143]: Read set point 0\r\nJan 12 01:42:30 aep-haswell thermald[1143]: storing set point 84500\r\nJan 12 01:42:30 aep-haswell thermald[1143]: sysfs write failed constraint_0_power_limit_uw\r\nJan 12 01:42:30 aep-haswell thermald[1143]: set cdev state raw index 14 state 0 wr:-886717296\r\nJan 12 01:42:30 aep-haswell thermald[1143]: Set : 84500, 86000, 14, 0, -665037952\r\nJan 12 01:42:34 aep-haswell thermald[1143]: sysfs write failed constraint_0_power_limit_uw\r\nJan 12 01:42:34 aep-haswell thermald[1143]: set cdev state raw index 14 state 0 wr:-886717296\r\nJan 12 01:42:34 aep-haswell thermald[1143]: Set : 84500, 86000, 14, 0, -665037952\r\nJan 12 01:42:38 aep-haswell thermald[1143]: sysfs write failed constraint_0_power_limit_uw\r\nJan 12 01:42:38 aep-haswell thermald[1143]: set cdev state raw index 14 state 0 wr:-886717296\r\nJan 12 01:42:38 aep-haswell thermald[1143]: Set : 84500, 86000, 14, 0, -665037952\r\nJan 12 01:42:42 aep-haswell thermald[1143]: sysfs write failed constraint_0_power_limit_uw\r\nJan 12 01:42:42 aep-haswell thermald[1143]: set cdev state raw index 14 state 0 wr:-886717296\r\nJan 12 01:42:42 aep-haswell thermald[1143]: Set : 84500, 86000, 14, 0, -665037952\r\nJan 12 01:42:46 aep-haswell thermald[1143]: sysfs write failed constraint_0_power_limit_uw\r\nJan 12 01:42:46 aep-haswell thermald[1143]: set cdev state raw index 14 state 0 wr:-886717296\r\nJan 12 01:42:46 aep-haswell thermald[1143]: Set : 84500, 85000, 14, 0, -665037952\r\nJan 12 01:42:50 aep-haswell thermald[1143]: sysfs write failed constraint_0_power_limit_uw\r\nJan 12 01:42:50 aep-haswell thermald[1143]: set cdev state raw index 14 state 0 wr:-886717296\r\nJan 12 01:42:50 aep-haswell thermald[1143]: Set : 84500, 87000, 14, 0, -665037952\r\nJan 12 01:42:54 aep-haswell thermald[1143]: sysfs write failed constraint_0_power_limit_uw\r\nJan 12 01:42:54 aep-haswell thermald[1143]: set cdev state raw index 14 state 0 wr:-886717296\r\nJan 12 01:42:54 aep-haswell thermald[1143]: Set : 84500, 86000, 14, 0, -665037952\r\nJan 12 01:42:58 aep-haswell thermald[1143]: sysfs write failed constraint_0_power_limit_uw\r\nJan 12 01:42:58 aep-haswell thermald[1143]: set cdev state raw index 14 state 0 wr:-886717296\r\nJan 12 01:42:58 aep-haswell thermald[1143]: Set : 84500, 86000, 14, 0, -665037952\r\nJan 12 01:43:02 aep-haswell thermald[1143]: update_pid 1421008982 1421008950 3000 1509,61 83491\r\nJan 12 01:43:02 aep-haswell thermald[1143]: sysfs write failed constraint_0_power_limit_uw\r\nJan 12 01:43:02 aep-haswell thermald[1143]: set cdev state raw index 14 state 0 wr:-886717296\r\nJan 12 01:43:02 aep-haswell thermald[1143]: Set : 83491, 88000, 14, 0, -665037952\r\nJan 12 01:43:06 aep-haswell thermald[1143]: sysfs write failed constraint_0_power_limit_uw\r\nJan 12 01:43:06 aep-haswell thermald[1143]: set cdev state raw index 14 state 0 wr:-886717296\r\nJan 12 01:43:06 aep-haswell thermald[1143]: Set : 83491, 87000, 14, 0, -665037952\r\nJan 12 01:43:10 aep-haswell thermald[1143]: update_pid 1421008990 1421008982 3000 1512 83488\r\nJan 12 01:43:10 aep-haswell thermald[1143]: sysfs write failed constraint_0_power_limit_uw\r\nJan 12 01:43:10 aep-haswell thermald[1143]: set cdev state raw index 14 state 0 wr:-886717296\r\nJan 12 01:43:10 aep-haswell thermald[1143]: Set : 83488, 88000, 14, 0, -665037952\r\nJan 12 01:43:14 aep-haswell thermald[1143]: sysfs write failed constraint_0_power_limit_uw\r\nJan 12 01:43:14 aep-haswell thermald[1143]: set cdev state raw index 14 state 0 wr:-886717296\r\nJan 12 01:43:14 aep-haswell thermald[1143]: Set : 83488, 88000, 14, 0, -665037952\r\nJan 12 01:43:18 aep-haswell thermald[1143]: sysfs write failed constraint_0_power_limit_uw\r\nJan 12 01:43:18 aep-haswell thermald[1143]: set cdev state raw index 14 state 0 wr:-886717296\r\nJan 12 01:43:18 aep-haswell thermald[1143]: Set : 83488, 88000, 14, 0, -665037952\r\nJan 12 01:43:22 aep-haswell thermald[1143]: sysfs write failed constraint_0_power_limit_uw\r\nJan 12 01:43:22 aep-haswell thermald[1143]: set cdev state raw index 14 state 0 wr:-886717296\r\nJan 12 01:43:22 aep-haswell thermald[1143]: Set : 83488, 88000, 14, 0, -665037952\r\nJan 12 01:43:26 aep-haswell thermald[1143]: sysfs write failed constraint_0_power_limit_uw\r\nJan 12 01:43:26 aep-haswell thermald[1143]: set cdev state raw index 14 state 0 wr:-886717296\r\nJan 12 01:43:26 aep-haswell thermald[1143]: Set : 83488, 88000, 14, 0, -665037952\r\nJan 12 01:43:30 aep-haswell thermald[1143]: sysfs write failed constraint_0_power_limit_uw\r\nJan 12 01:43:30 aep-haswell thermald[1143]: set cdev state raw index 14 state 0 wr:-886717296\r\nJan 12 01:43:30 aep-haswell thermald[1143]: Set : 83488, 88000, 14, 0, -665037952\r\nJan 12 01:43:34 aep-haswell thermald[1143]: update_pid 1421009014 1421008990 4000 2021,6 82979\r\nJan 12 01:43:34 aep-haswell thermald[1143]: sysfs write failed constraint_0_power_limit_uw\r\nJan 12 01:43:34 aep-haswell thermald[1143]: set cdev state raw index 14 state 0 wr:-886717296\r\nJan 12 01:43:34 aep-haswell thermald[1143]: Set : 82979, 89000, 14, 0, -665037952\r\nJan 12 01:43:38 aep-haswell thermald[1143]: sysfs write failed constraint_0_power_limit_uw\r\nJan 12 01:43:38 aep-haswell thermald[1143]: set cdev state raw index 14 state 0 wr:-886717296\r\nJan 12 01:43:38 aep-haswell thermald[1143]: Set : 82979, 88000, 14, 0, -665037952\r\nJan 12 01:43:42 aep-haswell thermald[1143]: sysfs write failed constraint_0_power_limit_uw\r\nJan 12 01:43:42 aep-haswell thermald[1143]: set cdev state raw index 14 state 0 wr:-886717296\r\nJan 12 01:43:42 aep-haswell thermald[1143]: Set : 82979, 88000, 14, 0, -665037952\r\nJan 12 01:43:46 aep-haswell thermald[1143]: sysfs write failed constraint_0_power_limit_uw\r\nJan 12 01:43:46 aep-haswell thermald[1143]: set cdev state raw index 14 state 0 wr:-886717296\r\nJan 12 01:43:46 aep-haswell thermald[1143]: Set : 82979, 87000, 14, 0, -665037952\r\nJan 12 01:43:50 aep-haswell thermald[1143]: sysfs write failed constraint_0_power_limit_uw\r\nJan 12 01:43:50 aep-haswell thermald[1143]: set cdev state raw index 14 state 0 wr:-886717296\r\nJan 12 01:43:50 aep-haswell thermald[1143]: Set : 82000, 82000, 14, 0, -665037952\r\nJan 12 01:44:10 aep-haswell thermald[1143]: sysfs write failed constraint_0_power_limit_uw\r\nJan 12 01:44:10 aep-haswell thermald[1143]: set cdev state raw index 14 state 0 wr:-886717296\r\nJan 12 01:44:10 aep-haswell thermald[1143]: Set : 82979, 85000, 14, 0, -665037952\r\nJan 12 01:44:14 aep-haswell thermald[1143]: sysfs write failed constraint_0_power_limit_uw\r\nJan 12 01:44:14 aep-haswell thermald[1143]: set cdev state raw index 14 state 0 wr:-886717296\r\nJan 12 01:44:14 aep-haswell thermald[1143]: Set : 82979, 87000, 14, 0, -665037952\r\nJan 12 01:44:18 aep-haswell thermald[1143]: sysfs write failed constraint_0_power_limit_uw\r\nJan 12 01:44:18 aep-haswell thermald[1143]: set cdev state raw index 14 state 0 wr:-886717296\r\nJan 12 01:44:18 aep-haswell thermald[1143]: Set : 82979, 84000, 14, 0, -665037952\r\nJan 12 01:44:26 aep-haswell thermald[1143]: sysfs write failed constraint_0_power_limit_uw\r\nJan 12 01:44:26 aep-haswell thermald[1143]: set cdev state raw index 14 state 0 wr:-886717296\r\nJan 12 01:44:26 aep-haswell thermald[1143]: Set : 82979, 85000, 14, 0, -665037952\r\nJan 12 01:44:34 aep-haswell thermald[1143]: sysfs write failed constraint_0_power_limit_uw\r\nJan 12 01:44:34 aep-haswell thermald[1143]: set cdev state raw index 14 state 0 wr:-886717296\r\nJan 12 01:44:34 aep-haswell thermald[1143]: Set : 82979, 86000, 14, 0, -665037952\r\nJan 12 01:44:38 aep-haswell thermald[1143]: sysfs write failed constraint_0_power_limit_uw\r\nJan 12 01:44:38 aep-haswell thermald[1143]: set cdev state raw index 14 state 0 wr:-886717296\r\nJan 12 01:44:38 aep-haswell thermald[1143]: Set : 82979, 86000, 14, 0, -665037952\r\nJan 12 01:44:42 aep-haswell thermald[1143]: sysfs write failed constraint_0_power_limit_uw\r\nJan 12 01:44:42 aep-haswell thermald[1143]: set cdev state raw index 14 state 0 wr:-886717296\r\nJan 12 01:44:42 aep-haswell thermald[1143]: Set : 82979, 88000, 14, 0, -665037952\r\nJan 12 01:44:46 aep-haswell thermald[1143]: update_pid 1421009086 1421009014 4000 2050,4 82950\r\nJan 12 01:44:46 aep-haswell thermald[1143]: sysfs write failed constraint_0_power_limit_uw\r\nJan 12 01:44:46 aep-haswell thermald[1143]: set cdev state raw index 14 state 0 wr:-886717296\r\nJan 12 01:44:46 aep-haswell thermald[1143]: Set : 82950, 89000, 14, 0, -665037952\r\nJan 12 01:44:50 aep-haswell thermald[1143]: sysfs write failed constraint_0_power_limit_uw\r\nJan 12 01:44:50 aep-haswell thermald[1143]: set cdev state raw index 14 state 0 wr:-886717296\r\nJan 12 01:44:50 aep-haswell thermald[1143]: Set : 82950, 88000, 14, 0, -665037952\r\nJan 12 01:44:54 aep-haswell thermald[1143]: sysfs write failed constraint_0_power_limit_uw\r\nJan 12 01:44:54 aep-haswell thermald[1143]: set cdev state raw index 14 state 0 wr:-886717296\r\nJan 12 01:44:54 aep-haswell thermald[1143]: Set : 82950, 88000, 14, 0, -665037952\r\nJan 12 01:45:27 aep-haswell thermald[1143]: Dropped below poll threshold\r\nJan 12 01:45:27 aep-haswell thermald[1143]: thd_trip_cdev_state_reset\r\nJan 12 01:45:27 aep-haswell thermald[1143]: thd_trip_cdev_state_reset\r\nJan 12 01:45:27 aep-haswell thermald[1143]: thd_trip_cdev_state_reset index 14:rapl_controller\r\nJan 12 01:45:27 aep-haswell thermald[1143]: thd_trip_cdev_state_reset\r\nJan 12 01:45:27 aep-haswell thermald[1143]: thd_trip_cdev_state_reset index 14:rapl_controller\r\nJan 12 01:45:28 aep-haswell thermald[1143]: Read set point 84500\r\n```\r\n\r\nI was able to fix (or work around) the issue with the following patch:\r\n\r\n```\r\nFrom bc0d9b22b07bee9814d328df65b84e40fc871787 Mon Sep 17 00:00:00 2001\r\nFrom: \"Alexander E. Patrakov\" <patrakov@gmail.com>\r\nDate: Wed, 29 Oct 2014 22:57:39 +0500\r\nSubject: [PATCH] Clamp insane power limits coming from hardware\r\n\r\nSigned-off-by: Alexander E. Patrakov <patrakov@gmail.com>\r\n---\r\n src/thd_cdev_rapl.cpp | 6 ++++++\r\n 1 file changed, 6 insertions(+)\r\n\r\ndiff --git a/src/thd_cdev_rapl.cpp b/src/thd_cdev_rapl.cpp\r\nindex f83d801..1c3cef9 100644\r\n--- a/src/thd_cdev_rapl.cpp\r\n+++ b/src/thd_cdev_rapl.cpp\r\n@@ -171,6 +171,12 @@ int cthd_sysfs_cdev_rapl::update() {\r\n \t\tthd_log_info(\"powercap RAPL invalid max power limit range \\n\");\r\n \t\tconstraint_phy_max = 0;\r\n \t}\r\n+\tif (constraint_phy_max > 3 * phy_max) {\r\n+\t\tthd_log_info(\r\n+\t\t\t\t\"Default constraint power limit is insane (%lu), clamping\\n\",\r\n+\t\t\t\tconstraint_phy_max);\r\n+\t\tconstraint_phy_max = 3 * phy_max / 2;\r\n+\t}\r\n \tif (constraint_phy_max > phy_max) {\r\n \t\tthd_log_info(\r\n \t\t\t\t\"Default constraint power limit is more than max power %lu:%lu\\n\",\r\n-- \r\n2.1.2\r\n```"},"comment":{"url":"https://api.github.com/repos/01org/thermal_daemon/issues/comments/69513915","html_url":"https://github.com/01org/thermal_daemon/issues/45#issuecomment-69513915","issue_url":"https://api.github.com/repos/01org/thermal_daemon/issues/45","id":69513915,"user":{"login":"patrakov","id":2943163,"avatar_url":"https://avatars.githubusercontent.com/u/2943163?v=3","gravatar_id":"","url":"https://api.github.com/users/patrakov","html_url":"https://github.com/patrakov","followers_url":"https://api.github.com/users/patrakov/followers","following_url":"https://api.github.com/users/patrakov/following{/other_user}","gists_url":"https://api.github.com/users/patrakov/gists{/gist_id}","starred_url":"https://api.github.com/users/patrakov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patrakov/subscriptions","organizations_url":"https://api.github.com/users/patrakov/orgs","repos_url":"https://api.github.com/users/patrakov/repos","events_url":"https://api.github.com/users/patrakov/events{/privacy}","received_events_url":"https://api.github.com/users/patrakov/received_events","type":"User","site_admin":false},"created_at":"2015-01-11T22:04:05Z","updated_at":"2015-01-11T22:04:05Z","body":"Better patch:\r\n\r\n```\r\nFrom 7b00dbdc7a6969ff509e2a7aab0089d3544b1617 Mon Sep 17 00:00:00 2001\r\nFrom: \"Alexander E. Patrakov\" <patrakov@gmail.com>\r\nDate: Mon, 12 Jan 2015 02:50:00 +0500\r\nSubject: [PATCH] Properly cap the default constraint\r\n\r\nSigned-off-by: Alexander E. Patrakov <patrakov@gmail.com>\r\n---\r\n src/thd_cdev_rapl.cpp | 2 +-\r\n 1 file changed, 1 insertion(+), 1 deletion(-)\r\n\r\ndiff --git a/src/thd_cdev_rapl.cpp b/src/thd_cdev_rapl.cpp\r\nindex f83d801..2104b3d 100644\r\n--- a/src/thd_cdev_rapl.cpp\r\n+++ b/src/thd_cdev_rapl.cpp\r\n@@ -175,7 +175,7 @@ int cthd_sysfs_cdev_rapl::update() {\r\n \t\tthd_log_info(\r\n \t\t\t\t\"Default constraint power limit is more than max power %lu:%lu\\n\",\r\n \t\t\t\tconstraint_phy_max, phy_max);\r\n-\t\tphy_max = constraint_phy_max;\r\n+\t\tconstraint_phy_max = phy_max;\r\n \t}\r\n \tthd_log_info(\"powercap RAPL max power limit range %lu \\n\", phy_max);\r\n \r\n-- \r\n2.2.1\r\n```"}}