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

Thermald does not read /etc/thermald/thermal-conf.xml anymore #82

Closed
ArchangeGabriel opened this issue Feb 18, 2016 · 53 comments
Closed

Thermald does not read /etc/thermald/thermal-conf.xml anymore #82

ArchangeGabriel opened this issue Feb 18, 2016 · 53 comments

Comments

@ArchangeGabriel
Copy link

@ArchangeGabriel ArchangeGabriel commented Feb 18, 2016

I think this is because of f99f2b5.

@spandruvada

This comment has been minimized.

Copy link
Contributor

@spandruvada spandruvada commented Feb 18, 2016

Thanks for noticing and root cause. This is fixed now.

@ArchangeGabriel

This comment has been minimized.

Copy link
Author

@ArchangeGabriel ArchangeGabriel commented Feb 18, 2016

Hum, does not work, must be something else then…

It still generates a file in /var/run/thermald instead of using the one in /etc/thermald. Will try to bisect it tomorrow.

thermald[24253]: 13 CPUID levels; family:model:stepping 0x6:3c:3 (6:60:3)
thermald[24253]: Polling mode is enabled: 4
thermald[24253]: failed to GET LEN on /dev/acpi_thermal_rel
thermald[24253]: Using generated /var/run/thermald/thermal-conf.xml.auto
thermald[24253]: sysfs write failed enabled
thermald[24253]: sysfs read failed constraint_0_max_power_uw
thermald[24253]: sysfs read failed max_brightness
thermald[24253]: sysfs write failed trip_point_0_temp
thermald[24253]: sysfs write failed trip_point_0_temp
thermald[24253]: XML zone: invalid sensor type TPCH
thermald[24253]: Zone update failed: unable to bind
@spandruvada

This comment has been minimized.

Copy link
Contributor

@spandruvada spandruvada commented Feb 18, 2016

On Thu, 2016-02-18 at 14:33 -0800, Bruno Pagani wrote:

Hum, does not work, must be something else then…
It still generates a file in /var/run/thermald instead of using the
one in /etc/thermald. Will try to bisect it tomorrow.
It is OK. Your system ACPI has a built in thermal relationship table.
Newer kernel expose that if you have. In that case user don't need to
configure manually. If you want to change, you can change the generated
file, it will not be overwritten.
Check you have a file called /dev/acpi_thermal_rel, which exported this
relationship.
 
thermald[24253]: 13 CPUID levels; family:model:stepping 0x6:3c:3
(6:60:3)
thermald[24253]: Polling mode is enabled: 4
thermald[24253]: failed to GET LEN on /dev/acpi_thermal_rel
This is fine you have only one table called _TRT
thermald[24253]: Using generated /var/run/thermald/thermal-
conf.xml.auto
thermald[24253]: sysfs write failed enabled
thermald[24253]: sysfs read failed constraint_0_max_power_uw
thermald[24253]: sysfs read failed max_brightness
thermald[24253]: sysfs write failed trip_point_0_temp
thermald[24253]: sysfs write failed trip_point_0_temp
thermald[24253]: XML zone: invalid sensor type TPCH
What is your processor and kernel version? TPCH should be present on
most of the system.
thermald[24253]: Zone update failed: unable to bind

Reply to this email directly or view it on GitHub.

@ArchangeGabriel

This comment has been minimized.

Copy link
Author

@ArchangeGabriel ArchangeGabriel commented Feb 19, 2016

Core i7 4702HQ, kernel 4.4 (Arch Linux). Please tell me if you need any other information. Note that nothing appears in the log after the above excerpt, while they were plenty of things in 1.4.3.

@spandruvada

This comment has been minimized.

Copy link
Contributor

@spandruvada spandruvada commented Feb 19, 2016

On Thu, 2016-02-18 at 16:00 -0800, Bruno Pagani wrote:

Core i7 4702HQ, kernel 4.4 (Arch Linux). Please tell me if you need
any other information. Note that nothing appears in the log after the
above excerpt, while they were plenty of things in 1.4.3.

The default log level is increased based on the complaints from ubuntu
users. You can add to command line loglevel=info to go back to old log
level.
Send me
cat /proc/cpuinfo
and
grep -r . /sys/class/thermal

I want to check why TPCH is not present.

Thanks,
Srinivas


Reply to this email directly or view it on GitHub.

@ArchangeGabriel

This comment has been minimized.

Copy link
Author

@ArchangeGabriel ArchangeGabriel commented Feb 19, 2016

cat /proc/cpuinfo

processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 60
model name      : Intel(R) Core(TM) i7-4702HQ CPU @ 2.20GHz
stepping        : 3
microcode       : 0x1e
cpu MHz         : 2776.382
cache size      : 6144 KB
physical id     : 0
siblings        : 8
core id         : 0
cpu cores       : 4
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : 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 est tm2 ssse3 sdbg 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 epb pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt
bugs            :
bogomips        : 4391.55
clflush size    : 64
cache_alignment : 64
address sizes   : 39 bits physical, 48 bits virtual
power management:

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 6
model           : 60
model name      : Intel(R) Core(TM) i7-4702HQ CPU @ 2.20GHz
stepping        : 3
microcode       : 0x1e
cpu MHz         : 3092.460
cache size      : 6144 KB
physical id     : 0
siblings        : 8
core id         : 1
cpu cores       : 4
apicid          : 2
initial apicid  : 2
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : 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 est tm2 ssse3 sdbg 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 epb pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt
bugs            :
bogomips        : 4391.55
clflush size    : 64
cache_alignment : 64
address sizes   : 39 bits physical, 48 bits virtual
power management:

processor       : 2
vendor_id       : GenuineIntel
cpu family      : 6
model           : 60
model name      : Intel(R) Core(TM) i7-4702HQ CPU @ 2.20GHz
stepping        : 3
microcode       : 0x1e
cpu MHz         : 2999.390
cache size      : 6144 KB
physical id     : 0
siblings        : 8
core id         : 2
cpu cores       : 4
apicid          : 4
initial apicid  : 4
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : 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 est tm2 ssse3 sdbg 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 epb pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt
bugs            :
bogomips        : 4391.55
clflush size    : 64
cache_alignment : 64
address sizes   : 39 bits physical, 48 bits virtual
power management:

processor       : 3
vendor_id       : GenuineIntel
cpu family      : 6
model           : 60
model name      : Intel(R) Core(TM) i7-4702HQ CPU @ 2.20GHz
stepping        : 3
microcode       : 0x1e
cpu MHz         : 3091.945
cache size      : 6144 KB
physical id     : 0
siblings        : 8
core id         : 3
cpu cores       : 4
apicid          : 6
initial apicid  : 6
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : 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 est tm2 ssse3 sdbg 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 epb pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt
bugs            :
bogomips        : 4391.55
clflush size    : 64
cache_alignment : 64
address sizes   : 39 bits physical, 48 bits virtual
power management:

processor       : 4
vendor_id       : GenuineIntel
cpu family      : 6
model           : 60
model name      : Intel(R) Core(TM) i7-4702HQ CPU @ 2.20GHz
stepping        : 3
microcode       : 0x1e
cpu MHz         : 3188.625
cache size      : 6144 KB
physical id     : 0
siblings        : 8
core id         : 0
cpu cores       : 4
apicid          : 1
initial apicid  : 1
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : 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 est tm2 ssse3 sdbg 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 epb pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt
bugs            :
bogomips        : 4391.55
clflush size    : 64
cache_alignment : 64
address sizes   : 39 bits physical, 48 bits virtual
power management:

processor       : 5
vendor_id       : GenuineIntel
cpu family      : 6
model           : 60
model name      : Intel(R) Core(TM) i7-4702HQ CPU @ 2.20GHz
stepping        : 3
microcode       : 0x1e
cpu MHz         : 1500.039
cache size      : 6144 KB
physical id     : 0
siblings        : 8
core id         : 1
cpu cores       : 4
apicid          : 3
initial apicid  : 3
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : 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 est tm2 ssse3 sdbg 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 epb pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt
bugs            :
bogomips        : 4391.55
clflush size    : 64
cache_alignment : 64
address sizes   : 39 bits physical, 48 bits virtual
power management:

processor       : 6
vendor_id       : GenuineIntel
cpu family      : 6
model           : 60
model name      : Intel(R) Core(TM) i7-4702HQ CPU @ 2.20GHz
stepping        : 3
microcode       : 0x1e
cpu MHz         : 2934.250
cache size      : 6144 KB
physical id     : 0
siblings        : 8
core id         : 2
cpu cores       : 4
apicid          : 5
initial apicid  : 5
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : 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 est tm2 ssse3 sdbg 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 epb pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt
bugs            :
bogomips        : 4391.55
clflush size    : 64
cache_alignment : 64
address sizes   : 39 bits physical, 48 bits virtual
power management:

processor       : 7
vendor_id       : GenuineIntel
cpu family      : 6
model           : 60
model name      : Intel(R) Core(TM) i7-4702HQ CPU @ 2.20GHz
stepping        : 3
microcode       : 0x1e
cpu MHz         : 3042.273
cache size      : 6144 KB
physical id     : 0
siblings        : 8
core id         : 3
cpu cores       : 4
apicid          : 7
initial apicid  : 7
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : 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 est tm2 ssse3 sdbg 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 epb pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt
bugs            :
bogomips        : 4391.55
clflush size    : 64
cache_alignment : 64
address sizes   : 39 bits physical, 48 bits virtual
power management:

The grep -r . /sys/class/thermal returns nothing.

ll /sys/class/thermal

lrwxrwxrwx 1 root root 0 19 févr. 09:42 /sys/class/thermal/cooling_device0 -> ../../devices/virtual/thermal/cooling_device0
lrwxrwxrwx 1 root root 0 19 févr. 09:42 /sys/class/thermal/cooling_device1 -> ../../devices/virtual/thermal/cooling_device1
lrwxrwxrwx 1 root root 0 19 févr. 09:42 /sys/class/thermal/cooling_device2 -> ../../devices/virtual/thermal/cooling_device2
lrwxrwxrwx 1 root root 0 19 févr. 09:42 /sys/class/thermal/cooling_device3 -> ../../devices/virtual/thermal/cooling_device3
lrwxrwxrwx 1 root root 0 19 févr. 09:42 /sys/class/thermal/cooling_device4 -> ../../devices/virtual/thermal/cooling_device4
lrwxrwxrwx 1 root root 0 19 févr. 09:42 /sys/class/thermal/cooling_device5 -> ../../devices/virtual/thermal/cooling_device5
lrwxrwxrwx 1 root root 0 19 févr. 09:42 /sys/class/thermal/cooling_device6 -> ../../devices/virtual/thermal/cooling_device6
lrwxrwxrwx 1 root root 0 19 févr. 09:42 /sys/class/thermal/cooling_device7 -> ../../devices/virtual/thermal/cooling_device7
lrwxrwxrwx 1 root root 0 19 févr. 09:42 /sys/class/thermal/cooling_device8 -> ../../devices/virtual/thermal/cooling_device8
lrwxrwxrwx 1 root root 0 19 févr. 09:42 /sys/class/thermal/cooling_device9 -> ../../devices/virtual/thermal/cooling_device9
lrwxrwxrwx 1 root root 0 19 févr. 09:42 /sys/class/thermal/cooling_device10 -> ../../devices/virtual/thermal/cooling_device10
lrwxrwxrwx 1 root root 0 19 févr. 09:42 /sys/class/thermal/thermal_zone0 -> ../../devices/virtual/thermal/thermal_zone0
lrwxrwxrwx 1 root root 0 19 févr. 09:42 /sys/class/thermal/thermal_zone1 -> ../../devices/virtual/thermal/thermal_zone1
lrwxrwxrwx 1 root root 0 19 févr. 09:42 /sys/class/thermal/thermal_zone2 -> ../../devices/virtual/thermal/thermal_zone2
lrwxrwxrwx 1 root root 0 19 févr. 09:42 /sys/class/thermal/thermal_zone3 -> ../../devices/virtual/thermal/thermal_zone3
lrwxrwxrwx 1 root root 0 19 févr. 09:42 /sys/class/thermal/thermal_zone4 -> ../../devices/virtual/thermal/thermal_zone4
lrwxrwxrwx 1 root root 0 19 févr. 09:42 /sys/class/thermal/thermal_zone5 -> ../../devices/virtual/thermal/thermal_zone5
lrwxrwxrwx 1 root root 0 19 févr. 09:42 /sys/class/thermal/thermal_zone6 -> ../../devices/virtual/thermal/thermal_zone6
lrwxrwxrwx 1 root root 0 19 févr. 09:42 /sys/class/thermal/thermal_zone7 -> ../../devices/virtual/thermal/thermal_zone7
lrwxrwxrwx 1 root root 0 19 févr. 09:42 /sys/class/thermal/thermal_zone8 -> ../../devices/virtual/thermal/thermal_zone8
lrwxrwxrwx 1 root root 0 19 févr. 09:42 /sys/class/thermal/thermal_zone9 -> ../../devices/virtual/thermal/thermal_zone9
lrwxrwxrwx 1 root root 0 19 févr. 09:42 /sys/class/thermal/thermal_zone10 -> ../../devices/virtual/thermal/thermal_zone10
@ArchangeGabriel

This comment has been minimized.

Copy link
Author

@ArchangeGabriel ArchangeGabriel commented Feb 19, 2016

And I think you meant decreased, and indeed it was quite verbose in older version, I have to agree that it was a bit too much for default level. ;)

@ArchangeGabriel

This comment has been minimized.

Copy link
Author

@ArchangeGabriel ArchangeGabriel commented Feb 19, 2016

Another ArchLinux user is affected too, he should report his results soon.

@Utini2000

This comment has been minimized.

Copy link

@Utini2000 Utini2000 commented Feb 20, 2016

I am the "Another ArchLinux user":

* thermald.service - Thermal Daemon Service
Loaded: loaded (/usr/lib/systemd/system/thermald.service; enabled; vendor preset: disabled)
Active: active (running) since Fri 2016-02-19 19:35:29 CET; 24s ago
Main PID: 472 (thermald)
Tasks: 2 (limit: 512)
CGroup: /system.slice/thermald.service
`-472 /usr/bin/thermald --no-daemon --dbus-enable

Feb 19 19:35:29 _____ thermald[472]: Polling mode is enabled: 4
Feb 19 19:35:29 _____ thermald[472]: failed to GET LEN on /dev/acpi_thermal_rel
Feb 19 19:35:29 _____ thermald[472]: Using generated /var/run/thermald/thermal-conf.xml.auto
Feb 19 19:35:29 _____ thermald[472]: sysfs write failed enabled
Feb 19 19:35:29 _____ thermald[472]: sysfs read failed constraint_0_max_power_uw
Feb 19 19:35:29 _____ thermald[472]: sysfs read failed max_brightness
Feb 19 19:35:29 _____ thermald[472]: sysfs write failed trip_point_0_temp
Feb 19 19:35:29 _____ thermald[472]: sysfs write failed trip_point_0_temp
Feb 19 19:35:29 _____ thermald[472]: XML zone: invalid sensor type TPCH
Feb 19 19:35:29 _____ thermald[472]: Zone update failed: unable to bind

The grep -r . /sys/class/thermal returns nothing.
ls -al /sys/class/thermal

total 0
drwxr-xr-x  2 root root 0 Feb 20 04:43 .
drwxr-xr-x 54 root root 0 Feb 19 19:35 ..
lrwxrwxrwx  1 root root 0 Feb 19 19:35 cooling_device0 -> ../../devices/virtual/thermal/cooling_device0
lrwxrwxrwx  1 root root 0 Feb 19 19:35 cooling_device1 -> ../../devices/virtual/thermal/cooling_device1
lrwxrwxrwx  1 root root 0 Feb 19 19:35 cooling_device10 -> ../../devices/virtual/thermal/cooling_device10
lrwxrwxrwx  1 root root 0 Feb 19 19:35 cooling_device2 -> ../../devices/virtual/thermal/cooling_device2
lrwxrwxrwx  1 root root 0 Feb 19 19:35 cooling_device3 -> ../../devices/virtual/thermal/cooling_device3
lrwxrwxrwx  1 root root 0 Feb 19 19:35 cooling_device4 -> ../../devices/virtual/thermal/cooling_device4
lrwxrwxrwx  1 root root 0 Feb 19 19:35 cooling_device5 -> ../../devices/virtual/thermal/cooling_device5
lrwxrwxrwx  1 root root 0 Feb 19 19:35 cooling_device6 -> ../../devices/virtual/thermal/cooling_device6
lrwxrwxrwx  1 root root 0 Feb 19 19:35 cooling_device7 -> ../../devices/virtual/thermal/cooling_device7
lrwxrwxrwx  1 root root 0 Feb 19 19:35 cooling_device8 -> ../../devices/virtual/thermal/cooling_device8
lrwxrwxrwx  1 root root 0 Feb 19 19:35 cooling_device9 -> ../../devices/virtual/thermal/cooling_device9
lrwxrwxrwx  1 root root 0 Feb 19 19:35 thermal_zone0 -> ../../devices/virtual/thermal/thermal_zone0
lrwxrwxrwx  1 root root 0 Feb 19 19:35 thermal_zone1 -> ../../devices/virtual/thermal/thermal_zone1
lrwxrwxrwx  1 root root 0 Feb 19 19:35 thermal_zone10 -> ../../devices/virtual/thermal/thermal_zone10
lrwxrwxrwx  1 root root 0 Feb 19 19:35 thermal_zone2 -> ../../devices/virtual/thermal/thermal_zone2
lrwxrwxrwx  1 root root 0 Feb 19 19:35 thermal_zone3 -> ../../devices/virtual/thermal/thermal_zone3
lrwxrwxrwx  1 root root 0 Feb 19 19:35 thermal_zone4 -> ../../devices/virtual/thermal/thermal_zone4
lrwxrwxrwx  1 root root 0 Feb 19 19:35 thermal_zone5 -> ../../devices/virtual/thermal/thermal_zone5
lrwxrwxrwx  1 root root 0 Feb 19 19:35 thermal_zone6 -> ../../devices/virtual/thermal/thermal_zone6
lrwxrwxrwx  1 root root 0 Feb 19 19:35 thermal_zone7 -> ../../devices/virtual/thermal/thermal_zone7
lrwxrwxrwx  1 root root 0 Feb 19 19:35 thermal_zone8 -> ../../devices/virtual/thermal/thermal_zone8
lrwxrwxrwx  1 root root 0 Feb 19 19:35 thermal_zone9 -> ../../devices/virtual/thermal/thermal_zone9

cat /proc/cpuinfo

processor   : 0
vendor_id   : GenuineIntel
cpu family  : 6
model       : 60
model name  : Intel(R) Core(TM) i7-4702HQ CPU @ 2.20GHz
stepping    : 3
microcode   : 0x1e
cpu MHz     : 996.875
cache size  : 6144 KB
physical id : 0
siblings    : 8
core id     : 0
cpu cores   : 4
apicid      : 0
initial apicid  : 0
fpu     : yes
fpu_exception   : yes
cpuid level : 13
wp      : yes
flags       : 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 est tm2 ssse3 sdbg 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 epb pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt
bugs        :
bogomips    : 4391.79
clflush size    : 64
cache_alignment : 64
address sizes   : 39 bits physical, 48 bits virtual
power management:

processor   : 1
vendor_id   : GenuineIntel
cpu family  : 6
model       : 60
model name  : Intel(R) Core(TM) i7-4702HQ CPU @ 2.20GHz
stepping    : 3
microcode   : 0x1e
cpu MHz     : 2161.156
cache size  : 6144 KB
physical id : 0
siblings    : 8
core id     : 1
cpu cores   : 4
apicid      : 2
initial apicid  : 2
fpu     : yes
fpu_exception   : yes
cpuid level : 13
wp      : yes
flags       : 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 est tm2 ssse3 sdbg 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 epb pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt
bugs        :
bogomips    : 4391.79
clflush size    : 64
cache_alignment : 64
address sizes   : 39 bits physical, 48 bits virtual
power management:

processor   : 2
vendor_id   : GenuineIntel
cpu family  : 6
model       : 60
model name  : Intel(R) Core(TM) i7-4702HQ CPU @ 2.20GHz
stepping    : 3
microcode   : 0x1e
cpu MHz     : 2200.000
cache size  : 6144 KB
physical id : 0
siblings    : 8
core id     : 2
cpu cores   : 4
apicid      : 4
initial apicid  : 4
fpu     : yes
fpu_exception   : yes
cpuid level : 13
wp      : yes
flags       : 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 est tm2 ssse3 sdbg 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 epb pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt
bugs        :
bogomips    : 4391.79
clflush size    : 64
cache_alignment : 64
address sizes   : 39 bits physical, 48 bits virtual
power management:

processor   : 3
vendor_id   : GenuineIntel
cpu family  : 6
model       : 60
model name  : Intel(R) Core(TM) i7-4702HQ CPU @ 2.20GHz
stepping    : 3
microcode   : 0x1e
cpu MHz     : 1865.960
cache size  : 6144 KB
physical id : 0
siblings    : 8
core id     : 3
cpu cores   : 4
apicid      : 6
initial apicid  : 6
fpu     : yes
fpu_exception   : yes
cpuid level : 13
wp      : yes
flags       : 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 est tm2 ssse3 sdbg 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 epb pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt
bugs        :
bogomips    : 4391.79
clflush size    : 64
cache_alignment : 64
address sizes   : 39 bits physical, 48 bits virtual
power management:

processor   : 4
vendor_id   : GenuineIntel
cpu family  : 6
model       : 60
model name  : Intel(R) Core(TM) i7-4702HQ CPU @ 2.20GHz
stepping    : 3
microcode   : 0x1e
cpu MHz     : 1353.687
cache size  : 6144 KB
physical id : 0
siblings    : 8
core id     : 0
cpu cores   : 4
apicid      : 1
initial apicid  : 1
fpu     : yes
fpu_exception   : yes
cpuid level : 13
wp      : yes
flags       : 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 est tm2 ssse3 sdbg 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 epb pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt
bugs        :
bogomips    : 4391.79
clflush size    : 64
cache_alignment : 64
address sizes   : 39 bits physical, 48 bits virtual
power management:

processor   : 5
vendor_id   : GenuineIntel
cpu family  : 6
model       : 60
model name  : Intel(R) Core(TM) i7-4702HQ CPU @ 2.20GHz
stepping    : 3
microcode   : 0x1e
cpu MHz     : 2200.687
cache size  : 6144 KB
physical id : 0
siblings    : 8
core id     : 1
cpu cores   : 4
apicid      : 3
initial apicid  : 3
fpu     : yes
fpu_exception   : yes
cpuid level : 13
wp      : yes
flags       : 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 est tm2 ssse3 sdbg 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 epb pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt
bugs        :
bogomips    : 4391.79
clflush size    : 64
cache_alignment : 64
address sizes   : 39 bits physical, 48 bits virtual
power management:

processor   : 6
vendor_id   : GenuineIntel
cpu family  : 6
model       : 60
model name  : Intel(R) Core(TM) i7-4702HQ CPU @ 2.20GHz
stepping    : 3
microcode   : 0x1e
cpu MHz     : 2200.429
cache size  : 6144 KB
physical id : 0
siblings    : 8
core id     : 2
cpu cores   : 4
apicid      : 5
initial apicid  : 5
fpu     : yes
fpu_exception   : yes
cpuid level : 13
wp      : yes
flags       : 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 est tm2 ssse3 sdbg 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 epb pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt
bugs        :
bogomips    : 4391.79
clflush size    : 64
cache_alignment : 64
address sizes   : 39 bits physical, 48 bits virtual
power management:

processor   : 7
vendor_id   : GenuineIntel
cpu family  : 6
model       : 60
model name  : Intel(R) Core(TM) i7-4702HQ CPU @ 2.20GHz
stepping    : 3
microcode   : 0x1e
cpu MHz     : 2200.171
cache size  : 6144 KB
physical id : 0
siblings    : 8
core id     : 3
cpu cores   : 4
apicid      : 7
initial apicid  : 7
fpu     : yes
fpu_exception   : yes
cpuid level : 13
wp      : yes
flags       : 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 est tm2 ssse3 sdbg 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 epb pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt
bugs        :
bogomips    : 4391.79
clflush size    : 64
cache_alignment : 64
address sizes   : 39 bits physical, 48 bits virtual
power management:

/etc/conf.d/lm_sensors (I feel like there should be listed more?):
HWMON_MODULES="coretemp"

And last but not least the output of "sensors":

coretemp-isa-0000
Adapter: ISA adapter
Physical id 0:  +43.0 C  (high = +84.0 C, crit = +100.0 C)
Core 0:         +39.0 C  (high = +84.0 C, crit = +100.0 C)
Core 1:         +42.0 C  (high = +84.0 C, crit = +100.0 C)
Core 2:         +42.0 C  (high = +84.0 C, crit = +100.0 C)
Core 3:         +42.0 C  (high = +84.0 C, crit = +100.0 C)

acpitz-virtual-0
Adapter: Virtual device
temp1:        +27.8 C  (crit = +105.0 C)
temp2:       -268.8 C  (crit = +105.0 C)
@ArchangeGabriel

This comment has been minimized.

Copy link
Author

@ArchangeGabriel ArchangeGabriel commented Feb 20, 2016

I have a quite similar sensors output BTW:

coretemp-isa-0000
Adapter: ISA adapter
Physical id 0:  +47.0°C  (high = +84.0°C, crit = +100.0°C)
Core 0:         +46.0°C  (high = +84.0°C, crit = +100.0°C)
Core 1:         +45.0°C  (high = +84.0°C, crit = +100.0°C)
Core 2:         +44.0°C  (high = +84.0°C, crit = +100.0°C)
Core 3:         +43.0°C  (high = +84.0°C, crit = +100.0°C)

acpitz-virtual-0
Adapter: Virtual device
temp1:        +27.8°C  (crit = +105.0°C)
temp2:       -268.5°C  (crit = +105.0°C)

Do you have a Dell XPS 9530 (or similar) too? :p

But higher temperatures. I was having the same one one or two years ago, but now I have higher idle ones… Maybe it’s time to disassemble it to remove dust and change thermic paste.

@Utini2000

This comment has been minimized.

Copy link

@Utini2000 Utini2000 commented Feb 20, 2016

@ArchangeGabriel

Correct Dell XPS 15 9530 with top configuration :D

Do you have any other "special" setting or tools/packages for that notebook on Arch? :)

@spandruvada

This comment has been minimized.

Copy link
Contributor

@spandruvada spandruvada commented Feb 20, 2016

On Fri, 2016-02-19 at 19:45 -0800, Utini2000 wrote:

There is no issue in running thermald on this platform. You are running
on a platform which has some feature called DPTF and acpi is providing
all thermal relationship. No need to manually  configure.

There are some errors here. Some are OK, some need a CONFIG in arch
kernel to be turned on

I am the "Another ArchLinux user":
thermald.service - Thermal Daemon Service Loaded: loaded
(/usr/lib/systemd/system/thermald.service; enabled; vendor preset:
disabled) Active: active (running) since Fri 2016-02-19 19:35:29 CET;
24s ago Main PID: 472 (thermald) Tasks: 2 (limit: 512) CGroup:
/system.slice/thermald.service `-472 /usr/bin/thermald --no-daemon --
dbus-enable
Feb 19 19:35:29 _____ thermald[472]: Polling mode is enabled: 4
Feb 19 19:35:29 _____ thermald[472]: failed to GET LEN on
/dev/acpi_thermal_rel
This is OK. You have one table, which we can use.

Feb 19 19:35:29 _____ thermald[472]: Using generated
/var/run/thermald/thermal-conf.xml.auto
Feb 19 19:35:29 _____ thermald[472]: sysfs write failed enabled
Feb 19 19:35:29 _____ thermald[472]: sysfs read failed
constraint_0_max_power_uw

kernel needs CONFIG_THERMAL_WRITABLE_TRIPS
Somehow kernel broke writable trips and added this config.

Feb 19 19:35:29 _____ thermald[472]: sysfs read failed max_brightness
Feb 19 19:35:29 _____ thermald[472]: sysfs write failed
trip_point_0_temp
Feb 19 19:35:29 _____ thermald[472]: sysfs write failed
trip_point_0_temp
Feb 19 19:35:29 _____ thermald[472]: XML zone: invalid sensor type
TPCH
Check if your kernel  have CONFIG_INTEL_PCH_THERMAL=m/y

Thanks,
Srinivas

Feb 19 19:35:29 _____ thermald[472]: Zone update failed: unable to
bind
The grep -r . /sys/class/thermal returns nothing.
ls -al /sys/class/thermal
total 0
drwxr-xr-x 2 root root 0 Feb 20 04:43 .
drwxr-xr-x 54 root root 0 Feb 19 19:35 ..
lrwxrwxrwx 1 root root 0 Feb 19 19:35 cooling_device0 ->
../../devices/virtual/thermal/cooling_device0
lrwxrwxrwx 1 root root 0 Feb 19 19:35 cooling_device1 ->
../../devices/virtual/thermal/cooling_device1
lrwxrwxrwx 1 root root 0 Feb 19 19:35 cooling_device10 ->
../../devices/virtual/thermal/cooling_device10
lrwxrwxrwx 1 root root 0 Feb 19 19:35 cooling_device2 ->
../../devices/virtual/thermal/cooling_device2
lrwxrwxrwx 1 root root 0 Feb 19 19:35 cooling_device3 ->
../../devices/virtual/thermal/cooling_device3
lrwxrwxrwx 1 root root 0 Feb 19 19:35 cooling_device4 ->
../../devices/virtual/thermal/cooling_device4
lrwxrwxrwx 1 root root 0 Feb 19 19:35 cooling_device5 ->
../../devices/virtual/thermal/cooling_device5
lrwxrwxrwx 1 root root 0 Feb 19 19:35 cooling_device6 ->
../../devices/virtual/thermal/cooling_device6
lrwxrwxrwx 1 root root 0 Feb 19 19:35 cooling_device7 ->
../../devices/virtual/thermal/cooling_device7
lrwxrwxrwx 1 root root 0 Feb 19 19:35 cooling_device8 ->
../../devices/virtual/thermal/cooling_device8
lrwxrwxrwx 1 root root 0 Feb 19 19:35 cooling_device9 ->
../../devices/virtual/thermal/cooling_device9
lrwxrwxrwx 1 root root 0 Feb 19 19:35 thermal_zone0 ->
../../devices/virtual/thermal/thermal_zone0
lrwxrwxrwx 1 root root 0 Feb 19 19:35 thermal_zone1 ->
../../devices/virtual/thermal/thermal_zone1
lrwxrwxrwx 1 root root 0 Feb 19 19:35 thermal_zone10 ->
../../devices/virtual/thermal/thermal_zone10
lrwxrwxrwx 1 root root 0 Feb 19 19:35 thermal_zone2 ->
../../devices/virtual/thermal/thermal_zone2
lrwxrwxrwx 1 root root 0 Feb 19 19:35 thermal_zone3 ->
../../devices/virtual/thermal/thermal_zone3
lrwxrwxrwx 1 root root 0 Feb 19 19:35 thermal_zone4 ->
../../devices/virtual/thermal/thermal_zone4
lrwxrwxrwx 1 root root 0 Feb 19 19:35 thermal_zone5 ->
../../devices/virtual/thermal/thermal_zone5
lrwxrwxrwx 1 root root 0 Feb 19 19:35 thermal_zone6 ->
../../devices/virtual/thermal/thermal_zone6
lrwxrwxrwx 1 root root 0 Feb 19 19:35 thermal_zone7 ->
../../devices/virtual/thermal/thermal_zone7
lrwxrwxrwx 1 root root 0 Feb 19 19:35 thermal_zone8 ->
../../devices/virtual/thermal/thermal_zone8
lrwxrwxrwx 1 root root 0 Feb 19 19:35 thermal_zone9 ->
../../devices/virtual/thermal/thermal_zone9
cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 60
model name : Intel(R) Core(TM) i7-4702HQ CPU @ 2.20GHz
stepping : 3
microcode : 0x1e
cpu MHz : 996.875
cache size : 6144 KB
physical id : 0
siblings : 8
core id : 0
cpu cores : 4
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : 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 est tm2 ssse3 sdbg 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 epb pln pts dtherm tpr_shadow vnmi
flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms
invpcid xsaveopt
bugs :
bogomips : 4391.79
clflush size : 64
cache_alignment : 64
address sizes : 39 bits physical, 48 bits virtual
power management:
processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 60
model name : Intel(R) Core(TM) i7-4702HQ CPU @ 2.20GHz
stepping : 3
microcode : 0x1e
cpu MHz : 2161.156
cache size : 6144 KB
physical id : 0
siblings : 8
core id : 1
cpu cores : 4
apicid : 2
initial apicid : 2
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : 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 est tm2 ssse3 sdbg 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 epb pln pts dtherm tpr_shadow vnmi
flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms
invpcid xsaveopt
bugs :
bogomips : 4391.79
clflush size : 64
cache_alignment : 64
address sizes : 39 bits physical, 48 bits virtual
power management:
processor : 2
vendor_id : GenuineIntel
cpu family : 6
model : 60
model name : Intel(R) Core(TM) i7-4702HQ CPU @ 2.20GHz
stepping : 3
microcode : 0x1e
cpu MHz : 2200.000
cache size : 6144 KB
physical id : 0
siblings : 8
core id : 2
cpu cores : 4
apicid : 4
initial apicid : 4
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : 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 est tm2 ssse3 sdbg 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 epb pln pts dtherm tpr_shadow vnmi
flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms
invpcid xsaveopt
bugs :
bogomips : 4391.79
clflush size : 64
cache_alignment : 64
address sizes : 39 bits physical, 48 bits virtual
power management:
processor : 3
vendor_id : GenuineIntel
cpu family : 6
model : 60
model name : Intel(R) Core(TM) i7-4702HQ CPU @ 2.20GHz
stepping : 3
microcode : 0x1e
cpu MHz : 1865.960
cache size : 6144 KB
physical id : 0
siblings : 8
core id : 3
cpu cores : 4
apicid : 6
initial apicid : 6
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : 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 est tm2 ssse3 sdbg 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 epb pln pts dtherm tpr_shadow vnmi
flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms
invpcid xsaveopt
bugs :
bogomips : 4391.79
clflush size : 64
cache_alignment : 64
address sizes : 39 bits physical, 48 bits virtual
power management:
processor : 4
vendor_id : GenuineIntel
cpu family : 6
model : 60
model name : Intel(R) Core(TM) i7-4702HQ CPU @ 2.20GHz
stepping : 3
microcode : 0x1e
cpu MHz : 1353.687
cache size : 6144 KB
physical id : 0
siblings : 8
core id : 0
cpu cores : 4
apicid : 1
initial apicid : 1
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : 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 est tm2 ssse3 sdbg 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 epb pln pts dtherm tpr_shadow vnmi
flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms
invpcid xsaveopt
bugs :
bogomips : 4391.79
clflush size : 64
cache_alignment : 64
address sizes : 39 bits physical, 48 bits virtual
power management:
processor : 5
vendor_id : GenuineIntel
cpu family : 6
model : 60
model name : Intel(R) Core(TM) i7-4702HQ CPU @ 2.20GHz
stepping : 3
microcode : 0x1e
cpu MHz : 2200.687
cache size : 6144 KB
physical id : 0
siblings : 8
core id : 1
cpu cores : 4
apicid : 3
initial apicid : 3
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : 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 est tm2 ssse3 sdbg 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 epb pln pts dtherm tpr_shadow vnmi
flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms
invpcid xsaveopt
bugs :
bogomips : 4391.79
clflush size : 64
cache_alignment : 64
address sizes : 39 bits physical, 48 bits virtual
power management:
processor : 6
vendor_id : GenuineIntel
cpu family : 6
model : 60
model name : Intel(R) Core(TM) i7-4702HQ CPU @ 2.20GHz
stepping : 3
microcode : 0x1e
cpu MHz : 2200.429
cache size : 6144 KB
physical id : 0
siblings : 8
core id : 2
cpu cores : 4
apicid : 5
initial apicid : 5
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : 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 est tm2 ssse3 sdbg 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 epb pln pts dtherm tpr_shadow vnmi
flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms
invpcid xsaveopt
bugs :
bogomips : 4391.79
clflush size : 64
cache_alignment : 64
address sizes : 39 bits physical, 48 bits virtual
power management:
processor : 7
vendor_id : GenuineIntel
cpu family : 6
model : 60
model name : Intel(R) Core(TM) i7-4702HQ CPU @ 2.20GHz
stepping : 3
microcode : 0x1e
cpu MHz : 2200.171
cache size : 6144 KB
physical id : 0
siblings : 8
core id : 3
cpu cores : 4
apicid : 7
initial apicid : 7
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : 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 est tm2 ssse3 sdbg 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 epb pln pts dtherm tpr_shadow vnmi
flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms
invpcid xsaveopt
bugs :
bogomips : 4391.79
clflush size : 64
cache_alignment : 64
address sizes : 39 bits physical, 48 bits virtual
power management:
/etc/conf.d/lm_sensors (I feel like there should be listed more?):
HWMON_MODULES="coretemp"
And last but not least the output of "sensors":
coretemp-isa-0000
Adapter: ISA adapter
Physical id 0: +43.0 C (high = +84.0 C, crit = +100.0 C)
Core 0: +39.0 C (high = +84.0 C, crit = +100.0 C)
Core 1: +42.0 C (high = +84.0 C, crit = +100.0 C)
Core 2: +42.0 C (high = +84.0 C, crit = +100.0 C)
Core 3: +42.0 C (high = +84.0 C, crit = +100.0 C)
acpitz-virtual-0
Adapter: Virtual device
temp1: +27.8 C (crit = +105.0 C)
temp2: -268.8 C (crit = +105.0 C)

Reply to this email directly or view it on GitHub.

@FadeMind

This comment has been minimized.

Copy link

@FadeMind FadeMind commented Feb 20, 2016

@spandruvada
Default Arch Linux kernel have CONFIG_INTEL_PCH_THERMAL=m
Reference: https://projects.archlinux.org/svntogit/packages.git/tree/trunk/config.x86_64?h=packages/linux at line 3933

  $ zcat /proc/config.gz |grep THERMAL
    CONFIG_X86_THERMAL_VECTOR=y
    CONFIG_ACPI_THERMAL=m
    CONFIG_THERMAL=y
    CONFIG_THERMAL_HWMON=y
    CONFIG_THERMAL_WRITABLE_TRIPS=y
    CONFIG_THERMAL_DEFAULT_GOV_STEP_WISE=y
    # CONFIG_THERMAL_DEFAULT_GOV_FAIR_SHARE is not set
    # CONFIG_THERMAL_DEFAULT_GOV_USER_SPACE is not set
    # CONFIG_THERMAL_DEFAULT_GOV_POWER_ALLOCATOR is not set
    CONFIG_THERMAL_GOV_FAIR_SHARE=y
    CONFIG_THERMAL_GOV_STEP_WISE=y
    CONFIG_THERMAL_GOV_BANG_BANG=y
    CONFIG_THERMAL_GOV_USER_SPACE=y
    # CONFIG_THERMAL_GOV_POWER_ALLOCATOR is not set
    # CONFIG_THERMAL_EMULATION is not set
    CONFIG_X86_PKG_TEMP_THERMAL=m
    CONFIG_INTEL_SOC_DTS_THERMAL=m
    CONFIG_INT340X_THERMAL=m
    CONFIG_ACPI_THERMAL_REL=m
    CONFIG_INTEL_PCH_THERMAL=m

Regards

@Utini2000

This comment has been minimized.

Copy link

@Utini2000 Utini2000 commented Feb 20, 2016

So the stock Arch kernel with "CONFIG_INTEL_PCH_THERMAL=m" is just fine?

Is there any parameter that I could/should set in the GRUB kernel/boot parameters?

Thanks !

@FadeMind

This comment has been minimized.

Copy link

@FadeMind FadeMind commented Feb 20, 2016

@Utini2000 Paste dmesg log for diagnose on pastebin.com

@Utini2000

This comment has been minimized.

Copy link

@Utini2000 Utini2000 commented Feb 20, 2016

@FadeMind https://dpaste.de/n02Y
With thermald v1.5.2

@FadeMind

This comment has been minimized.

Copy link

@FadeMind FadeMind commented Feb 20, 2016

@Utini2000 dmesg looks normal. No major regressions/errors - just common warnings.

@spandruvada wanted results from dev tree. Please follow this:
grep -r . /sys/class/thermal/*
and paste results to log on pastebin.com (or other paste site ;) )

@Utini2000

This comment has been minimized.

Copy link

@Utini2000 Utini2000 commented Feb 21, 2016

@FadeMind and also @spandruvada

sudo grep -r . /sys/class/thermal/* >> /home/xxx/grep.txt
https://dpaste.de/MrHr

@FadeMind

This comment has been minimized.

Copy link

@FadeMind FadeMind commented Feb 21, 2016

@spandruvada for comparing here are my results:

[tomasz@arch ~]$ sudo systemctl status thermald -l
* thermald.service - Thermal Daemon Service
   Loaded: loaded (/usr/lib/systemd/system/thermald.service; enabled; vendor preset: disabled)
   Active: active (running) since Sun 2016-02-21 10:31:22 CET; 48s ago
 Main PID: 20805 (thermald)
    Tasks: 2 (limit: 512)
   CGroup: /system.slice/thermald.service
           `-20805 /usr/bin/thermald --no-daemon --dbus-enable

Feb 21 10:31:22 arch systemd[1]: Starting Thermal Daemon Service...
Feb 21 10:31:22 arch thermald[20805]: 13 CPUID levels; family:model:stepping 0x6:3a:9 (6:58:9)
Feb 21 10:31:22 arch thermald[20805]: Polling mode is enabled: 4
Feb 21 10:31:22 arch thermald[20805]: failed to open /dev/acpi_thermal_rel
Feb 21 10:31:22 arch thermald[20805]: failed to open /dev/acpi_thermal_rel
Feb 21 10:31:22 arch thermald[20805]: TRT/ART read failed
Feb 21 10:31:22 arch thermald[20805]: sysfs write failed enabled
Feb 21 10:31:22 arch thermald[20805]: sysfs write failed trip_point_0_temp
Feb 21 10:31:22 arch systemd[1]: Started Thermal Daemon Service.

grep -r . /sys/class/thermal/*
https://pastebin.com/raw/JeV1ZmrF
ls -al /sys/class/thermal
https://pastebin.com/raw/mFrGUx77
cat /proc/cpuinfo
https://pastebin.com/raw/mwnghPa9

@spandruvada

This comment has been minimized.

Copy link
Contributor

@spandruvada spandruvada commented Feb 21, 2016

None. For PCH thermal, I need to add small change to thermald.
I am happy that more and more PCs are having ACPI thermal relationship tables.

From: Utini2000 [mailto:notifications@github.com]
Sent: Saturday, February 20, 2016 12:00 PM
To: 01org/thermal_daemon thermal_daemon@noreply.github.com
Cc: Pandruvada, Srinivas srinivas.pandruvada@intel.com
Subject: Re: [thermal_daemon] Thermald does not read /etc/thermald/thermal-conf.xml anymore (#82)

So the stock Arch kernel with "CONFIG_INTEL_PCH_THERMAL=m" is just fine?

Is there any parameter that I could/should set in the GRUB kernel/boot parameters?

Thanks !


Reply to this email directly or view it on GitHubhttps://github.com//issues/82#issuecomment-186673269.

@Utini2000

This comment has been minimized.

Copy link

@Utini2000 Utini2000 commented Feb 21, 2016

Cant wait for the update :)

@spandruvada

This comment has been minimized.

Copy link
Contributor

@spandruvada spandruvada commented Mar 3, 2016

Added support for PCH sensor in v 1.5.3

@ArchangeGabriel

This comment has been minimized.

Copy link
Author

@ArchangeGabriel ArchangeGabriel commented Mar 4, 2016

This turns into:

mars 04 01:09:07 minas-tirith thermald[18297]: 13 CPUID levels; family:model:stepping 0x6:3c:3 (6:60:3)
mars 04 01:09:07 minas-tirith thermald[18297]: Polling mode is enabled: 4
mars 04 01:09:07 minas-tirith thermald[18297]:  failed to GET LEN on /dev/acpi_thermal_rel
mars 04 01:09:07 minas-tirith thermald[18297]: Using generated /var/run/thermald/thermal-conf.xml.auto
mars 04 01:09:07 minas-tirith thermald[18297]: sysfs write failed enabled
mars 04 01:09:07 minas-tirith thermald[18297]: sysfs read failed constraint_0_max_power_uw
mars 04 01:09:07 minas-tirith thermald[18297]: sysfs read failed max_brightness
mars 04 01:09:07 minas-tirith thermald[18297]: sysfs write failed trip_point_0_temp
mars 04 01:09:07 minas-tirith thermald[18297]: sysfs write failed trip_point_0_temp
mars 04 01:09:07 minas-tirith thermald[18297]: XML zone: invalid sensor type pch_wildcat_point
mars 04 01:09:07 minas-tirith thermald[18297]: Zone update failed: unable to bind
@Utini2000

This comment has been minimized.

Copy link

@Utini2000 Utini2000 commented Mar 7, 2016

With the new update for me on Arch with Dell XPS 15 9530:

`* thermald.service - Thermal Daemon Service
Loaded: loaded (/usr/lib/systemd/system/thermald.service; enabled; vendor preset: disabled)
Active: active (running) since Mon 2016-03-07 09:29:22 CET; 38s ago
Main PID: 482 (thermald)
Tasks: 2 (limit: 512)
CGroup: /system.slice/thermald.service
-482 /usr/bin/thermald --no-daemon --dbus-enable

Mar 07 09:29:22 _____ thermald[482]: Polling mode is enabled: 4
Mar 07 09:29:22 _____ thermald[482]: failed to GET LEN on /dev/acpi_thermal_rel
Mar 07 09:29:22 _____ thermald[482]: Using generated /var/run/thermald/thermal-conf.xml.auto
Mar 07 09:29:22 _____ thermald[482]: sysfs write failed enabled
Mar 07 09:29:22 _____ thermald[482]: sysfs read failed constraint_0_max_power_uw
Mar 07 09:29:22 _____ thermald[482]: sysfs read failed max_brightness
Mar 07 09:29:22 _____ thermald[482]: sysfs write failed trip_point_0_temp
Mar 07 09:29:22 _____ thermald[482]: sysfs write failed trip_point_0_temp
Mar 07 09:29:22 _____ thermald[482]: XML zone: invalid sensor type pch_wildcat_point
Mar 07 09:29:22 _____ thermald[482]: Zone update failed: unable to bind`

@sandler31

This comment has been minimized.

Copy link

@sandler31 sandler31 commented Mar 15, 2016

Hi, I seem to have a very similar problem.
Just installed thermald from the AUR (thermald 1.5.3-1) on arch, and thos are the errors I'm getting:

● thermald.service - Thermal Daemon Service
   Loaded: loaded (/usr/lib/systemd/system/thermald.service; enabled; vendor preset: disabled)
   Active: active (running) since Tue 2016-03-15 23:20:29 IST; 5min ago
 Main PID: 512 (thermald)
    Tasks: 2 (limit: 512)
   CGroup: /system.slice/thermald.service
           └─512 /usr/bin/thermald --no-daemon --dbus-enable

Mar 15 23:20:29 jessicajones thermald[512]: Polling mode is enabled: 4
Mar 15 23:20:29 jessicajones thermald[512]:  failed to GET LEN on /dev/acpi_thermal_rel
Mar 15 23:20:29 jessicajones thermald[512]: Using generated /var/run/thermald/thermal-conf.xml.auto
Mar 15 23:20:29 jessicajones thermald[512]: sysfs write failed enabled
Mar 15 23:20:29 jessicajones thermald[512]: sysfs read failed constraint_0_max_power_uw
Mar 15 23:20:29 jessicajones thermald[512]: sysfs read failed max_brightness
Mar 15 23:20:29 jessicajones thermald[512]: sysfs write failed trip_point_0_temp
Mar 15 23:20:29 jessicajones thermald[512]: sysfs write failed trip_point_0_temp
Mar 15 23:20:29 jessicajones thermald[512]: XML zone: invalid sensor type pch_wildcat_point
Mar 15 23:20:29 jessicajones thermald[512]: Zone update failed: unable to bind

Here's my data:
grep -r . /sys/class/thermal/*
http://pastebin.com/vUwE44SF
ls -al /sys/class/thermal
http://pastebin.com/jfUDCP20
cat /proc/cpuinfo
http://pastebin.com/e4yVKBBn

I also own an XPS 15 9530.
Hope this data can help in resolving the problem.

@spandruvada

This comment has been minimized.

Copy link
Contributor

@spandruvada spandruvada commented Mar 15, 2016

On Tue, 2016-03-15 at 14:50 -0700, sandler31 wrote:

Hi, I seem to have a very similar problem.
Just installed thermald from the AUR (thermald 1.5.3-1) on arch, and
thos are the errors I'm getting:
● thermald.service - Thermal Daemon Service
   Loaded: loaded (/usr/lib/systemd/system/thermald.service; enabled;
vendor preset: disabled)
   Active: active (running) since Tue 2016-03-15 23:20:29 IST; 5min
ago
 Main PID: 512 (thermald)
    Tasks: 2 (limit: 512)
   CGroup: /system.slice/thermald.service
           └─512 /usr/bin/thermald --no-daemon --dbus-enable

Mar 15 23:20:29 jessicajones thermald[512]: Polling mode is enabled:
4
Mar 15 23:20:29 jessicajones thermald[512]:  failed to GET LEN on
/dev/acpi_thermal_rel
This is fine. You have one of the two tables.
Mar 15 23:20:29 jessicajones thermald[512]: Using generated
/var/run/thermald/thermal-conf.xml.auto
You have ACPI defined thermal relationship.

Mar 15 23:20:29 jessicajones thermald[512]: sysfs write failed
enabled
Mar 15 23:20:29 jessicajones thermald[512]: sysfs read failed
constraint_0_max_power_uw
This is OK. You manufaturer didn't define max power. We need to
calculate dynamically.

Mar 15 23:20:29 jessicajones thermald[512]: sysfs read failed
max_brightness
Mar 15 23:20:29 jessicajones thermald[512]: sysfs write failed
trip_point_0_temp
Mar 15 23:20:29 jessicajones thermald[512]: sysfs write failed
trip_point_0_temp
This I think you don't have 
kernel config 
CONFIG_THERMAL_WRITABLE_TRIPS=y

Mar 15 23:20:29 jessicajones thermald[512]: XML zone: invalid sensor
type pch_wildcat_point
There is no kernel driver to handle PCH sensor in Haswell (You system
is haswell based).
Someone needs to develop that driver. I added kernel drivers for
Broadwell and skylake family of processors.

Mar 15 23:20:29 jessicajones thermald[512]: Zone update failed:
unable to bind
Here's my data:
grep -r . /sys/class/thermal/*
http://pastebin.com/vUwE44SF
ls -al /sys/class/thermal
http://pastebin.com/jfUDCP20
cat /proc/cpuinfo
http://pastebin.com/e4yVKBBn
I also own an XPS 15 9530.
Hope this data can help in resolving the problem.

You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub

@sandler31

This comment has been minimized.

Copy link

@sandler31 sandler31 commented Mar 16, 2016

Great, thanks for the clarifications!

About the kernel option, I've just checked, and I do have this value set:

$ zcat /proc/config.gz | grep CONFIG_THERMAL_WRITABLE_TRIPS
CONFIG_THERMAL_WRITABLE_TRIPS=y

And about the PCH sensor, doesn't intel_pch_thermal implement support for it?
I've had a glance at it's code and it looks like it has a lot of references to the Wildcat series.

@Utini2000

This comment has been minimized.

Copy link

@Utini2000 Utini2000 commented Mar 16, 2016

Wow those are sad news... no driver for Haswell available :/

@sandsmark

This comment has been minimized.

Copy link
Contributor

@sandsmark sandsmark commented Jul 20, 2016

I am able to manually write to e. g. /sys/class/thermal/thermal_zone1/trip_point_0_temp, but when attempting to write to /sys/class/thermal/thermal_zone0/trip_point_0_temp I get permission denied. The permission for that file is indeed -r--r--r--.

I suspect this is because the type for it is «critical» (reading from /sys/class/thermal/thermal_zone0/trip_point_0_type), so it makes sense to not be able to override it.

I'm still not entirely sure if thermald is actually doing anything or able to write to anything else, though, because I don't really understand the config file format.

@Utini2000

This comment has been minimized.

Copy link

@Utini2000 Utini2000 commented Aug 11, 2016

Any update on this?
Does this finally work with Haswell CPUs? :/

@alium

This comment has been minimized.

Copy link

@alium alium commented Sep 27, 2016

seems, that Haswell sensor is supported now!
(kernel linux-zen 4.7.5)

[root@toshiba log]# cat news.log
Sep 27 21:43:57 toshiba thermald[1019]: 13 CPUID levels; family:model:stepping 0x6:45:1 (6:69:1)
Sep 27 21:43:57 toshiba thermald[1019]: Polling mode is enabled: 4
Sep 27 21:43:57 toshiba thermald[1019]: sysfs write failed enabled
Sep 27 21:43:57 toshiba thermald[1019]: sysfs read failed constraint_0_max_power_uw
Sep 27 21:43:57 toshiba thermald[1019]: sysfs read failed max_brightness
Sep 27 21:44:25 toshiba thermald[1048]: thermald ver 1.5.3: Ready to serve requests: Daemonizing..
Sep 27 21:44:25 toshiba thermald[1049]: RAPL domain count 1
Sep 27 21:44:25 toshiba thermald[1049]: RAPL domain count 1
Sep 27 21:44:25 toshiba thermald[1049]: 13 CPUID levels; family:model:stepping 0x6:45:1 (6:69:1)
Sep 27 21:44:25 toshiba thermald[1049]: Running on a vanilla kernel
Sep 27 21:44:25 toshiba thermald[1049]: Polling mode is enabled: 4
Sep 27 21:44:25 toshiba thermald[1049]: sensor_update: type x86_pkg_temp
Sep 27 21:44:25 toshiba thermald[1049]: thd_read_default_thermal_sensors loaded 1 sensors
Sep 27 21:44:25 toshiba thermald[1049]: dts /sys/devices/platform/coretemp.0/name doesn't exist
Sep 27 21:44:25 toshiba thermald[1049]: failed to open /dev/acpi_thermal_rel
Sep 27 21:44:25 toshiba thermald[1049]: failed to open /dev/acpi_thermal_rel
Sep 27 21:44:25 toshiba thermald[1049]: TRT/ART read failed
Sep 27 21:44:25 toshiba thermald[1049]: Dumping parsed XML Data
Sep 27 21:44:25 toshiba thermald[1049]: *** Index 0 ***
Sep 27 21:44:25 toshiba thermald[1049]: Name: GenericX86LaptopDevice
Sep 27 21:44:25 toshiba thermald[1049]: UUID:
Sep 27 21:44:25 toshiba thermald[1049]: type: 0
Sep 27 21:44:25 toshiba thermald[1049]: Sensor 0
Sep 27 21:44:25 toshiba thermald[1049]: Name: TSKN
Sep 27 21:44:25 toshiba thermald[1049]: Path:
Sep 27 21:44:25 toshiba thermald[1049]: Async Capable: 1
Sep 27 21:44:25 toshiba thermald[1049]: Virtual: 0
Sep 27 21:44:25 toshiba thermald[1049]: Zone 0
Sep 27 21:44:25 toshiba thermald[1049]: Name: SKIN
Sep 27 21:44:25 toshiba thermald[1049]: Trip Point 0
Sep 27 21:44:25 toshiba thermald[1049]: temp 55000
Sep 27 21:44:25 toshiba thermald[1049]: trip type 2
Sep 27 21:44:25 toshiba thermald[1049]: hyst id 0
Sep 27 21:44:25 toshiba thermald[1049]: sensor type TSKN
Sep 27 21:44:25 toshiba thermald[1049]: cdev index 0
Sep 27 21:44:25 toshiba thermald[1049]: type rapl_controller
Sep 27 21:44:25 toshiba thermald[1049]: influence 100
Sep 27 21:44:25 toshiba thermald[1049]: SamplingPeriod 16
Sep 27 21:44:25 toshiba thermald[1049]: cdev index 1
Sep 27 21:44:25 toshiba thermald[1049]: type intel_powerclamp
Sep 27 21:44:25 toshiba thermald[1049]: influence 100
Sep 27 21:44:25 toshiba thermald[1049]: SamplingPeriod 12
Sep 27 21:44:25 toshiba thermald[1049]: *** Index 1 ***
Sep 27 21:44:25 toshiba thermald[1049]: Name: ExamplePlatformName
Sep 27 21:44:25 toshiba thermald[1049]: UUID: ExampleUUID
Sep 27 21:44:25 toshiba thermald[1049]: type: 0
Sep 27 21:44:25 toshiba thermald[1049]: Sensor 0
Sep 27 21:44:25 toshiba thermald[1049]: Name: TSKN
Sep 27 21:44:25 toshiba thermald[1049]: Path:
Sep 27 21:44:25 toshiba thermald[1049]: Async Capable: 1
Sep 27 21:44:25 toshiba thermald[1049]: Virtual: 0
Sep 27 21:44:25 toshiba thermald[1049]: Sensor 1
Sep 27 21:44:25 toshiba thermald[1049]: Name: example_sensor_1
Sep 27 21:44:25 toshiba thermald[1049]: Path: /some_path
Sep 27 21:44:25 toshiba thermald[1049]: Async Capable: 0
Sep 27 21:44:25 toshiba thermald[1049]: Virtual: 0
Sep 27 21:44:25 toshiba thermald[1049]: Sensor 2
Sep 27 21:44:25 toshiba thermald[1049]: Name: example_thermal_sysfs_sensor
Sep 27 21:44:25 toshiba thermald[1049]: Path:
Sep 27 21:44:25 toshiba thermald[1049]: Async Capable: 1
Sep 27 21:44:25 toshiba thermald[1049]: Virtual: 0
Sep 27 21:44:25 toshiba thermald[1049]: Sensor 3
Sep 27 21:44:25 toshiba thermald[1049]: Name: example_virtual_sensor
Sep 27 21:44:25 toshiba thermald[1049]: Path:
Sep 27 21:44:25 toshiba thermald[1049]: Async Capable: 0
Sep 27 21:44:25 toshiba thermald[1049]: Virtual: 1
Sep 27 21:44:25 toshiba thermald[1049]: Link type: example_sensor_1
Sep 27 21:44:25 toshiba thermald[1049]: Link mult: 0,000000
Sep 27 21:44:25 toshiba thermald[1049]: Link offset: 10,000000
Sep 27 21:44:25 toshiba thermald[1049]: Zone 0
Sep 27 21:44:25 toshiba thermald[1049]: Name: ExampleZonetype
Sep 27 21:44:25 toshiba thermald[1049]: Trip Point 0
Sep 27 21:44:25 toshiba thermald[1049]: temp 75000
Sep 27 21:44:25 toshiba thermald[1049]: trip type 1
Sep 27 21:44:25 toshiba thermald[1049]: hyst id 0
Sep 27 21:44:25 toshiba thermald[1049]: sensor type example_sensor_1
Sep 27 21:44:25 toshiba thermald[1049]: cdev index 0
Sep 27 21:44:25 toshiba thermald[1049]: type example_cooling_device
Sep 27 21:44:25 toshiba thermald[1049]: influence 100
Sep 27 21:44:25 toshiba thermald[1049]: SamplingPeriod 12
Sep 27 21:44:25 toshiba thermald[1049]: Cooling Dev 0
Sep 27 21:44:25 toshiba thermald[1049]: Type: example_cooling_device
Sep 27 21:44:25 toshiba thermald[1049]: Path:
Sep 27 21:44:25 toshiba thermald[1049]: Min: 0
Sep 27 21:44:25 toshiba thermald[1049]: Max: 50
Sep 27 21:44:25 toshiba thermald[1049]: Step: 10
Sep 27 21:44:25 toshiba thermald[1049]: AutoDownControl: 0
Sep 27 21:44:25 toshiba thermald[1049]: PID: Kp 0,000000
Sep 27 21:44:25 toshiba thermald[1049]: PID: Ki 0,000000
Sep 27 21:44:25 toshiba thermald[1049]: PID: Kd 0,000000
Sep 27 21:44:25 toshiba thermald[1049]: sensor index:0 x86_pkg_temp /sys/class/thermal/thermal_zone0/ Async:1
Sep 27 21:44:25 toshiba thermald[1049]: sensor index:1 hwmon /sys/class/hwmon/hwmon0/temp1_input Async:0
Sep 27 21:44:25 toshiba thermald[1049]: sensor index:2 hwmon /sys/class/hwmon/hwmon0/temp2_input Async:0
Sep 27 21:44:25 toshiba thermald[1049]: sensor index:3 hwmon /sys/class/hwmon/hwmon0/temp3_input Async:0
Sep 27 21:44:25 toshiba thermald[1049]: thd_read_default_cooling devices loaded 5 cdevs
Sep 27 21:44:25 toshiba thermald[1049]: Default constraint power limit is more than max power 25000000:15000000
Sep 27 21:44:25 toshiba thermald[1049]: powercap RAPL max power limit range 25000000
Sep 27 21:44:25 toshiba thermald[1049]: sysfs write failed enabled
Sep 27 21:44:25 toshiba thermald[1049]: set_pid_param 5 [1000.100,10]
Sep 27 21:44:25 toshiba thermald[1049]: Use Default pstate drv settings
Sep 27 21:44:25 toshiba thermald[1049]: name = package-0
Sep 27 21:44:25 toshiba thermald[1049]: name = core
Sep 27 21:44:25 toshiba thermald[1049]: name = uncore
Sep 27 21:44:25 toshiba thermald[1049]: name = dram
Sep 27 21:44:25 toshiba thermald[1049]: sysfs read failed constraint_0_max_power_uw
Sep 27 21:44:25 toshiba thermald[1049]: dram:powercap RAPL invalid max power limit range
Sep 27 21:44:25 toshiba thermald[1049]: Calculate dynamically phy_max
Sep 27 21:44:25 toshiba thermald[1049]: sysfs read failed max_brightness
Sep 27 21:44:25 toshiba thermald[1049]: 0: Processor, C:0 MN: 0 MX:10 ST:1 pt:/sys/class/thermal/ rd_bk 0
Sep 27 21:44:25 toshiba thermald[1049]: 1: Processor, C:0 MN: 0 MX:10 ST:1 pt:/sys/class/thermal/ rd_bk 0
Sep 27 21:44:25 toshiba thermald[1049]: 2: Processor, C:0 MN: 0 MX:10 ST:1 pt:/sys/class/thermal/ rd_bk 0
Sep 27 21:44:25 toshiba thermald[1049]: 3: Processor, C:0 MN: 0 MX:10 ST:1 pt:/sys/class/thermal/ rd_bk 0
Sep 27 21:44:25 toshiba thermald[1049]: 4: intel_powerclamp, C:-1 MN: 0 MX:50 ST:5 pt:/sys/class/thermal/ rd_bk 0
Sep 27 21:44:25 toshiba thermald[1049]: 5: rapl_controller, C:0 MN: 0 MX:18750000 ST:1250000 pt:/sys/devices/virtual/powercap/intel-rapl/intel-rapl:0/ rd_bk 1
Sep 27 21:44:25 toshiba thermald[1049]: 6: intel_pstate, C:0 MN: 0 MX:10 ST:1 pt:/sys/devices/system/cpu/intel_pstate/ rd_bk 1
Sep 27 21:44:25 toshiba thermald[1049]: 7: 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
Sep 27 21:44:25 toshiba thermald[1049]: thd_read_default_thermal_zones loaded 0 zones
Sep 27 21:44:25 toshiba thermald[1049]: zone cpu will be created
Sep 27 21:44:25 toshiba thermald[1049]: dts zone /sys/devices/platform/coretemp.0/name doesn't exist
Sep 27 21:44:25 toshiba thermald[1049]: /sys/class/hwmon/hwmon0/name->coretemp
Sep 27 21:44:25 toshiba thermald[1049]: Core temp DTS :critical 100000, max 100000
Sep 27 21:44:25 toshiba thermald[1049]: Buggy max temp: to close to critical 90000
Sep 27 21:44:25 toshiba thermald[1049]: Read set point 0
Sep 27 21:44:25 toshiba thermald[1049]: node type: Element, name: CoolingDevice value: rapl_controller
Sep 27 21:44:25 toshiba thermald[1049]: node type: Element, name: CoolingDevice value: intel_pstate
Sep 27 21:44:25 toshiba thermald[1049]: node type: Element, name: CoolingDevice value: intel_powerclamp
Sep 27 21:44:25 toshiba thermald[1049]: node type: Element, name: CoolingDevice value: cpufreq
Sep 27 21:44:25 toshiba thermald[1049]: node type: Element, name: CoolingDevice value: Processor
Sep 27 21:44:25 toshiba thermald[1049]: CDEVS order specified in thermal-cpu-cdev-order.xml
Sep 27 21:44:25 toshiba thermald[1049]: Sorted trip dump zone index:0 type:cpu:
Sep 27 21:44:25 toshiba thermald[1049]: index 1: type:passive temp:90000 hyst:0 zone id:0 sensor id:65535 cdev size:4
Sep 27 21:44:25 toshiba thermald[1049]: cdev[0] rapl_controller
Sep 27 21:44:25 toshiba thermald[1049]: cdev[1] intel_pstate
Sep 27 21:44:25 toshiba thermald[1049]: cdev[2] intel_powerclamp
Sep 27 21:44:25 toshiba thermald[1049]: cdev[3] Processor
Sep 27 21:44:25 toshiba thermald[1049]: index 0: type:max temp:94000 hyst:0 zone id:0 sensor id:65535 cdev size:4
Sep 27 21:44:25 toshiba thermald[1049]: cdev[0] rapl_controller
Sep 27 21:44:25 toshiba thermald[1049]: cdev[1] intel_pstate
Sep 27 21:44:25 toshiba thermald[1049]: cdev[2] intel_powerclamp
Sep 27 21:44:25 toshiba thermald[1049]: cdev[3] Processor
Sep 27 21:44:25 toshiba thermald[1049]: trip type: 2 temp: 90000
Sep 27 21:44:25 toshiba thermald[1049]: trip type: 1 temp: 94000
Sep 27 21:44:25 toshiba thermald[1049]: Read set point 0
Sep 27 21:44:25 toshiba thermald[1049]: Read set point 0
Sep 27 21:44:25 toshiba thermald[1049]: Zone 0: cpu, Active:1 Bind:0 Sensor_cnt:1
Sep 27 21:44:25 toshiba thermald[1049]: ..sensors..
Sep 27 21:44:25 toshiba thermald[1049]: sensor index:0 x86_pkg_temp /sys/class/thermal/thermal_zone0/ Async:1
Sep 27 21:44:25 toshiba thermald[1049]: ..trips..
Sep 27 21:44:25 toshiba thermald[1049]: index 1: type:passive temp:90000 hyst:0 zone id:0 sensor id:65535 cdev size:4
Sep 27 21:44:25 toshiba thermald[1049]: cdev[0] rapl_controller
Sep 27 21:44:25 toshiba thermald[1049]: cdev[1] intel_pstate
Sep 27 21:44:25 toshiba thermald[1049]: cdev[2] intel_powerclamp
Sep 27 21:44:25 toshiba thermald[1049]: cdev[3] Processor
Sep 27 21:44:25 toshiba thermald[1049]: index 0: type:max temp:94000 hyst:0 zone id:0 sensor id:65535 cdev size:4
Sep 27 21:44:25 toshiba thermald[1049]: cdev[0] rapl_controller
Sep 27 21:44:25 toshiba thermald[1049]: cdev[1] intel_pstate
Sep 27 21:44:25 toshiba thermald[1049]: cdev[2] intel_powerclamp
Sep 27 21:44:25 toshiba thermald[1049]: cdev[3] Processor
Sep 27 21:44:25 toshiba thermald[1049]: index 2: type:polling temp:74400 hyst:0 zone id:0 sensor id:0 cdev size:0
Sep 27 21:44:25 toshiba thermald[1049]: FD = 9
Sep 27 21:44:25 toshiba thermald[1049]: Current user preference is 0
Sep 27 21:44:25 toshiba thermald[1049]: thd_engine_thread begin
toshiba thermald[1054]: thermald ver 1.5.3: Ready to serve requests: Daemonizing..
toshiba thermald[1055]: RAPL sysfs present
toshiba thermald[1055]: RAPL base path /sys/class/powercap/intel-rapl/
toshiba thermald[1055]: RAPL domain dir power
toshiba thermald[1055]: /sys/class/powercap/intel-rapl/power/name doesn't exist
toshiba thermald[1055]: RAPL domain dir enabled
toshiba thermald[1055]: /sys/class/powercap/intel-rapl/enabled/name doesn't exist
toshiba thermald[1055]: RAPL domain dir intel-rapl:0
toshiba thermald[1055]: name package-0
toshiba thermald[1055]: RAPL base path /sys/class/powercap/intel-rapl/intel-rapl:0/
toshiba thermald[1055]: RAPL domain dir name
toshiba thermald[1055]: /sys/class/powercap/intel-rapl/intel-rapl:0/name/name doesn't exist
toshiba thermald[1055]: RAPL domain dir power
toshiba thermald[1055]: /sys/class/powercap/intel-rapl/intel-rapl:0/power/name doesn't exist
toshiba thermald[1055]: RAPL domain dir constraint_0_time_window_us
toshiba thermald[1055]: /sys/class/powercap/intel-rapl/intel-rapl:0/constraint_0_time_window_us/name doesn't exist
toshiba thermald[1055]: RAPL domain dir constraint_1_power_limit_uw
toshiba thermald[1055]: /sys/class/powercap/intel-rapl/intel-rapl:0/constraint_1_power_limit_uw/name doesn't exist
toshiba thermald[1055]: RAPL domain dir enabled
toshiba thermald[1055]: /sys/class/powercap/intel-rapl/intel-rapl:0/enabled/name doesn't exist
toshiba thermald[1055]: RAPL domain dir device
toshiba thermald[1055]: /sys/class/powercap/intel-rapl/intel-rapl:0/device/name doesn't exist
toshiba thermald[1055]: RAPL domain dir constraint_0_power_limit_uw
toshiba thermald[1055]: /sys/class/powercap/intel-rapl/intel-rapl:0/constraint_0_power_limit_uw/name doesn't exist
toshiba thermald[1055]: RAPL domain dir subsystem
toshiba thermald[1055]: /sys/class/powercap/intel-rapl/intel-rapl:0/subsystem/name doesn't exist
toshiba thermald[1055]: RAPL domain dir constraint_0_name
toshiba thermald[1055]: /sys/class/powercap/intel-rapl/intel-rapl:0/constraint_0_name/name doesn't exist
toshiba thermald[1055]: RAPL domain dir constraint_1_name
toshiba thermald[1055]: /sys/class/powercap/intel-rapl/intel-rapl:0/constraint_1_name/name doesn't exist
toshiba thermald[1055]: RAPL domain dir energy_uj
toshiba thermald[1055]: /sys/class/powercap/intel-rapl/intel-rapl:0/energy_uj/name doesn't exist
toshiba thermald[1055]: RAPL domain dir constraint_1_max_power_uw
toshiba thermald[1055]: /sys/class/powercap/intel-rapl/intel-rapl:0/constraint_1_max_power_uw/name doesn't exist
toshiba thermald[1055]: RAPL domain dir uevent
toshiba thermald[1055]: /sys/class/powercap/intel-rapl/intel-rapl:0/uevent/name doesn't exist
toshiba thermald[1055]: RAPL domain dir max_energy_range_uj
toshiba thermald[1055]: /sys/class/powercap/intel-rapl/intel-rapl:0/max_energy_range_uj/name doesn't exist
toshiba thermald[1055]: RAPL domain dir constraint_0_max_power_uw
toshiba thermald[1055]: /sys/class/powercap/intel-rapl/intel-rapl:0/constraint_0_max_power_uw/name doesn't exist
toshiba thermald[1055]: RAPL domain dir constraint_1_time_window_us
toshiba thermald[1055]: /sys/class/powercap/intel-rapl/intel-rapl:0/constraint_1_time_window_us/name doesn't exist
toshiba thermald[1055]: RAPL domain dir intel-rapl:0:0
toshiba thermald[1055]: name core
toshiba thermald[1055]: RAPL domain dir intel-rapl:0:1
toshiba thermald[1055]: name uncore
toshiba thermald[1055]: RAPL domain dir intel-rapl:0:2
toshiba thermald[1055]: name dram
toshiba thermald[1055]: RAPL domain count 1
toshiba thermald[1055]: RAPL domain dir subsystem
toshiba thermald[1055]: /sys/class/powercap/intel-rapl/subsystem/name doesn't exist
toshiba thermald[1055]: RAPL domain dir uevent
toshiba thermald[1055]: /sys/class/powercap/intel-rapl/uevent/name doesn't exist
toshiba thermald[1055]: RAPL domain count 1

@Utini2000

This comment has been minimized.

Copy link

@Utini2000 Utini2000 commented Sep 28, 2016

Not for me? Linux 4.7.4-1

  • thermald.service - Thermal Daemon Service
    Loaded: loaded (/usr/lib/systemd/system/thermald.service; enabled; vendor preset: disabled)
    Active: active (running) since Wed 2016-09-28 04:37:07 CEST; 26s ago
    Main PID: 412 (thermald)
    Tasks: 2 (limit: 4915)
    CGroup: /system.slice/thermald.service
    `-412 /usr/bin/thermald --no-daemon --dbus-enable

Sep 28 04:37:07 _____ thermald[412]: Polling mode is enabled: 4
Sep 28 04:37:07 _____ thermald[412]: failed to GET LEN on /dev/acpi_thermal_rel
Sep 28 04:37:07 _____ thermald[412]: Using generated /var/run/thermald/thermal-conf.xml.auto
Sep 28 04:37:07 _____ thermald[412]: sysfs write failed enabled
Sep 28 04:37:07 _____ thermald[412]: sysfs read failed constraint_0_max_power_uw
Sep 28 04:37:07 _____ thermald[412]: sysfs read failed max_brightness
Sep 28 04:37:07 _____ thermald[412]: sysfs write failed trip_point_0_temp
Sep 28 04:37:07 _____ thermald[412]: sysfs write failed trip_point_0_temp
Sep 28 04:37:07 _____ thermald[412]: XML zone: invalid sensor type pch_wildcat_point
Sep 28 04:37:07 _____ thermald[412]: Zone update failed: unable to bind

Kernel: x86_64 Linux 4.7.4-1-ARCH
Packages: 1002
Shell: bash 4.3.46
Resolution: 3200x1800
CPU: Intel Core i7-4702HQ CPU @ 3.2GHz
RAM: 955MiB / 15955MiB
GPU: GeForce GT 750M

@alium

This comment has been minimized.

Copy link

@alium alium commented Sep 28, 2016

@spandruvada

This comment has been minimized.

Copy link
Contributor

@spandruvada spandruvada commented Sep 28, 2016

On Tue, 2016-09-27 at 19:39 -0700, Utini2000 wrote:

Not for me? Linux 4.7.4-1
thermald.service - Thermal Daemon Service Loaded: loaded
(/usr/lib/systemd/system/thermald.service; enabled; vendor preset:
disabled) Active: active (running) since Wed 2016-09-28 04:37:07
CEST; 26s ago Main PID: 412 (thermald) Tasks: 2 (limit: 4915) CGroup:
/system.slice/thermald.service `-412 /usr/bin/thermald --no-daemon --
dbus-enable
Sep 28 04:37:07 _____ thermald[412]: Polling mode is enabled: 4
Sep 28 04:37:07 _____ thermald[412]: failed to GET LEN on
/dev/acpi_thermal_rel
Sep 28 04:37:07 _____ thermald[412]: Using generated
/var/run/thermald/thermal-conf.xml.auto
Sep 28 04:37:07 _____ thermald[412]: sysfs write failed enabled
Sep 28 04:37:07 _____ thermald[412]: sysfs read failed
constraint_0_max_power_uw
Sep 28 04:37:07 _____ thermald[412]: sysfs read failed max_brightness
Sep 28 04:37:07 _____ thermald[412]: sysfs write failed
trip_point_0_temp
Sep 28 04:37:07 _____ thermald[412]: sysfs write failed
trip_point_0_temp
Sep 28 04:37:07 _____ thermald[412]: XML zone: invalid sensor type
pch_wildcat_point


This requires a kernel change to support this sensor. If someone wants
to test, I can cut a kernel change and thermald change.

Thanks,
Srinivas

@Utini2000

This comment has been minimized.

Copy link

@Utini2000 Utini2000 commented Sep 28, 2016

Nope.. also not with linux-zen (also I re-ran "sensors-detect") working for me:
Kernel: x86_64 Linux 4.7.5-1-zen

sudo systemctl status thermald.service

  • thermald.service - Thermal Daemon Service
    Loaded: loaded (/usr/lib/systemd/system/thermald.service; enabled; vendor preset: disabled)
    Active: active (running) since Wed 2016-09-28 16:54:58 CEST; 23s ago
    Main PID: 438 (thermald)
    Tasks: 2 (limit: 4915)
    CGroup: /system.slice/thermald.service
    `-438 /usr/bin/thermald --no-daemon --dbus-enable

Sep 28 16:54:58 _____ thermald[438]: Polling mode is enabled: 4
Sep 28 16:54:58 _____ thermald[438]: failed to GET LEN on /dev/acpi_thermal_rel
Sep 28 16:54:58 _____ thermald[438]: Using generated /var/run/thermald/thermal-conf.xml.auto
Sep 28 16:54:58 _____ thermald[438]: sysfs write failed enabled
Sep 28 16:54:58 _____ thermald[438]: sysfs read failed constraint_0_max_power_uw
Sep 28 16:54:58 _____ thermald[438]: sysfs read failed max_brightness
Sep 28 16:54:58 _____ thermald[438]: sysfs write failed trip_point_0_temp
Sep 28 16:54:58 _____ thermald[438]: sysfs write failed trip_point_0_temp
Sep 28 16:54:58 _____ thermald[438]: XML zone: invalid sensor type pch_wildcat_point
Sep 28 16:54:58 _____ thermald[438]: Zone update failed: unable to bind

@alium

This comment has been minimized.

Copy link

@alium alium commented Sep 28, 2016

This write me with manually start of thermald (newest git version), Haswell i3-4005U on linux-zen:

[root@toshiba etc]# thermald --no-daemon --loglevel=info
RAPL domain count 1
RAPL domain count 1
13 CPUID levels; family:model:stepping 0x6:45:1 (6:69:1)
Running on a vanilla kernel
Polling mode is enabled: 4
sensor_update: type x86_pkg_temp
thd_read_default_thermal_sensors loaded 1 sensors
dts /sys/devices/platform/coretemp.0/name doesn't exist
failed to open /dev/acpi_thermal_rel
failed to open /dev/acpi_thermal_rel
TRT/ART read failed
Dumping parsed XML Data
*** Index 0 ***
Name: GenericX86LaptopDevice
UUID:
type: 0
Sensor 0
Name: TSKN
Path:
Async Capable: 1
Virtual: 0
Zone 0
Name: SKIN
Trip Point 0
temp 55000
trip type 2
hyst id 0
sensor type TSKN
cdev index 0
type rapl_controller
influence 100
SamplingPeriod 16
cdev index 1
type intel_powerclamp
influence 100
SamplingPeriod 12
*** Index 1 ***
Name: ExamplePlatformName
UUID: ExampleUUID
type: 0
Sensor 0
Name: TSKN
Path:
Async Capable: 1
Virtual: 0
Sensor 1
Name: example_sensor_1
Path: /some_path
Async Capable: 0
Virtual: 0
Sensor 2
Name: example_thermal_sysfs_sensor
Path:
Async Capable: 1
Virtual: 0
Sensor 3
Name: example_virtual_sensor
Path:
Async Capable: 0
Virtual: 1
Link type: example_sensor_1
Link mult: 0,000000
Link offset: 10,000000
Zone 0
Name: ExampleZonetype
Trip Point 0
temp 75000
trip type 1
hyst id 0
sensor type example_sensor_1
cdev index 0
type example_cooling_device
influence 100
SamplingPeriod 12
Cooling Dev 0
Type: example_cooling_device
Path:
Min: 0
Max: 50
Step: 10
AutoDownControl: 0
PID: Kp 0,000000
PID: Ki 0,000000
PID: Kd 0,000000
sensor index:0 x86_pkg_temp /sys/class/thermal/thermal_zone0/ Async:1
sensor index:1 hwmon /sys/class/hwmon/hwmon0/temp1_input Async:0
sensor index:2 hwmon /sys/class/hwmon/hwmon0/temp2_input Async:0
sensor index:3 hwmon /sys/class/hwmon/hwmon0/temp3_input Async:0
thd_read_default_cooling devices loaded 5 cdevs
Default constraint power limit is more than max power 25000000:15000000
powercap RAPL max power limit range 25000000
sysfs write failed enabled
set_pid_param 5 [1000.100,10]
Use Default pstate drv settings
name = package-0
name = core
name = uncore
name = dram
sysfs read failed constraint_0_max_power_uw
dram:powercap RAPL invalid max power limit range
Calculate dynamically phy_max
sysfs read failed max_brightness
0: Processor, C:0 MN: 0 MX:10 ST:1 pt:/sys/class/thermal/ rd_bk 0
1: Processor, C:0 MN: 0 MX:10 ST:1 pt:/sys/class/thermal/ rd_bk 0
2: Processor, C:0 MN: 0 MX:10 ST:1 pt:/sys/class/thermal/ rd_bk 0
3: Processor, C:0 MN: 0 MX:10 ST:1 pt:/sys/class/thermal/ rd_bk 0
4: intel_powerclamp, C:-1 MN: 0 MX:50 ST:5 pt:/sys/class/thermal/ rd_bk 0
5: rapl_controller, C:0 MN: 0 MX:18750000 ST:1250000 pt:/sys/devices/virtual/powercap/intel-rapl/intel-rapl:0/ rd_bk 1
6: intel_pstate, C:0 MN: 0 MX:10 ST:1 pt:/sys/devices/system/cpu/intel_pstate/ rd_bk 1
7: 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
thd_read_default_thermal_zones loaded 0 zones
zone cpu will be created
dts zone /sys/devices/platform/coretemp.0/name doesn't exist
/sys/class/hwmon/hwmon0/name->coretemp
Core temp DTS :critical 100000, max 100000
Buggy max temp: to close to critical 90000
Read set point 0
node type: Element, name: CoolingDevice value: rapl_controller
node type: Element, name: CoolingDevice value: intel_pstate
node type: Element, name: CoolingDevice value: intel_powerclamp
node type: Element, name: CoolingDevice value: cpufreq
node type: Element, name: CoolingDevice value: Processor
CDEVS order specified in thermal-cpu-cdev-order.xml
Sorted trip dump zone index:0 type:cpu:
index 1: type:passive temp:90000 hyst:0 zone id:0 sensor id:65535 cdev size:4
cdev[0] rapl_controller
cdev[1] intel_pstate
cdev[2] intel_powerclamp
cdev[3] Processor
index 0: type:max temp:94000 hyst:0 zone id:0 sensor id:65535 cdev size:4
cdev[0] rapl_controller
cdev[1] intel_pstate
cdev[2] intel_powerclamp
cdev[3] Processor
trip type: 2 temp: 90000
trip type: 1 temp: 94000
Read set point 0
Read set point 0
Zone 0: cpu, Active:1 Bind:0 Sensor_cnt:1
..sensors..
sensor index:0 x86_pkg_temp /sys/class/thermal/thermal_zone0/ Async:1
..trips..
index 1: type:passive temp:90000 hyst:0 zone id:0 sensor id:65535 cdev size:4
cdev[0] rapl_controller
cdev[1] intel_pstate
cdev[2] intel_powerclamp
cdev[3] Processor
index 0: type:max temp:94000 hyst:0 zone id:0 sensor id:65535 cdev size:4
cdev[0] rapl_controller
cdev[1] intel_pstate
cdev[2] intel_powerclamp
cdev[3] Processor
index 2: type:polling temp:74400 hyst:0 zone id:0 sensor id:0 cdev size:0
FD = 7
Current user preference is 0
thd_engine_thread begin

@spandruvada

This comment has been minimized.

Copy link
Contributor

@spandruvada spandruvada commented Sep 28, 2016

On Wed, 2016-09-28 at 07:57 -0700, Utini2000 wrote:

Nope.. also not with linux-zen (also I re-ran "sensors-detect")
working for me:
Kernel: x86_64 Linux 4.7.5-1-zen
sudo systemctl status thermald.service
thermald.service - Thermal Daemon Service Loaded: loaded
(/usr/lib/systemd/system/thermald.service; enabled; vendor preset:
disabled) Active: active (running) since Wed 2016-09-28 16:54:58
CEST; 23s ago Main PID: 438 (thermald) Tasks: 2 (limit: 4915) CGroup:
/system.slice/thermald.service `-438 /usr/bin/thermald --no-daemon --
dbus-enable
Sep 28 16:54:58 _____ thermald[438]: Polling mode is enabled: 4
Sep 28 16:54:58 _____ thermald[438]: failed to GET LEN on
/dev/acpi_thermal_rel
Sep 28 16:54:58 _____ thermald[438]: Using generated
/var/run/thermald/thermal-conf.xml.auto
Sep 28 16:54:58 _____ thermald[438]: sysfs write failed enabled
Sep 28 16:54:58 _____ thermald[438]: sysfs read failed
constraint_0_max_power_uw
Sep 28 16:54:58 _____ thermald[438]: sysfs read failed max_brightness
Sep 28 16:54:58 _____ thermald[438]: sysfs write failed
trip_point_0_temp
Sep 28 16:54:58 _____ thermald[438]: sysfs write failed
trip_point_0_temp
Sep 28 16:54:58 _____ thermald[438]: XML zone: invalid sensor type
pch_wildcat_point

Not everyone will see this error. Your system has some special thermal
relationship table, which is looking for this sensor. There is no
kernel support implemented for this. I have pushed a kernel patch. But
to confirm can you do

#lspci -x

Thanks,
Srinivas

@Utini2000

This comment has been minimized.

Copy link

@Utini2000 Utini2000 commented Sep 29, 2016

Pasted here ( https://dpaste.de/sNgo ) and below:

lspci -x
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor DRAM Controller (rev 06)
00: 86 80 04 0c 06 00 90 20 06 00 00 06 00 00 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 28 10 fe 05
30: 00 00 00 00 e0 00 00 00 00 00 00 00 00 00 00 00

00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller (rev 06)
00: 86 80 01 0c 07 04 10 00 06 00 04 06 10 00 81 00
10: 00 00 00 00 00 00 00 00 00 02 03 00 e0 e0 00 20
20: 00 f6 00 f7 01 e0 f1 f1 00 00 00 00 00 00 00 00
30: 00 00 00 00 88 00 00 00 00 00 00 00 0b 01 10 00

00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
00: 86 80 16 04 07 04 90 00 06 00 00 03 00 00 00 00
10: 04 00 40 f7 00 00 00 00 0c 00 00 d0 00 00 00 00
20: 01 f0 00 00 00 00 00 00 00 00 00 00 28 10 fe 05
30: 00 00 00 00 90 00 00 00 00 00 00 00 0b 01 00 00

00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06)
00: 86 80 0c 0c 06 04 10 00 06 00 03 04 10 00 00 00
10: 04 c0 a1 f7 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 86 80 10 20
30: 00 00 00 00 50 00 00 00 00 00 00 00 0b 01 00 00

00:04.0 Signal processing controller: Intel Corporation Device 0c03 (rev 06)
00: 86 80 03 0c 00 00 90 00 06 00 80 11 00 00 00 00
10: 04 00 a1 f7 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 86 80 10 20
30: 00 00 00 00 90 00 00 00 00 00 00 00 0b 01 00 00

00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 05)
00: 86 80 31 8c 06 04 90 02 05 30 03 0c 00 00 00 00
10: 04 00 a0 f7 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 28 10 fe 05
30: 00 00 00 00 70 00 00 00 00 00 00 00 0b 01 00 00

00:16.0 Communication controller: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 (rev 04)
00: 86 80 3a 8c 06 04 10 00 04 00 80 07 00 00 80 00
10: 04 60 a2 f7 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 28 10 fe 05
30: 00 00 00 00 50 00 00 00 00 00 00 00 0b 01 00 00

00:1a.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 (rev 05)
00: 86 80 2d 8c 06 00 90 02 05 20 03 0c 00 00 00 00
10: 00 40 a2 f7 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 28 10 fe 05
30: 00 00 00 00 50 00 00 00 00 00 00 00 0b 01 00 00

00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 05)
00: 86 80 20 8c 06 04 10 00 05 00 03 04 10 00 00 00
10: 04 80 a1 f7 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 28 10 fe 05
30: 00 00 00 00 50 00 00 00 00 00 00 00 05 01 00 00

00:1c.0 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 (rev d5)
00: 86 80 10 8c 07 04 10 00 d5 00 04 06 10 00 81 00
10: 00 00 00 00 00 00 00 00 00 04 04 00 20 20 00 20
20: 20 cf 30 cf 41 cf 51 cf 00 00 00 00 00 00 00 00
30: 00 00 00 00 40 00 00 00 00 00 00 00 0b 01 10 00

00:1c.2 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #3 (rev d5)
00: 86 80 14 8c 07 04 10 00 d5 00 04 06 10 00 81 00
10: 00 00 00 00 00 00 00 00 00 06 06 00 f0 00 00 00
20: 90 f7 90 f7 f1 ff 01 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 40 00 00 00 00 00 00 00 03 03 10 00

00:1c.3 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #4 (rev d5)
00: 86 80 16 8c 07 04 10 00 d5 00 04 06 10 00 81 00
10: 00 00 00 00 00 00 00 00 00 07 07 00 f0 00 00 00
20: 80 f7 80 f7 f1 ff 01 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 40 00 00 00 00 00 00 00 0a 04 10 00

00:1d.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 (rev 05)
00: 86 80 26 8c 06 00 90 02 05 20 03 0c 00 00 00 00
10: 00 30 a2 f7 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 28 10 fe 05
30: 00 00 00 00 50 00 00 00 00 00 00 00 04 01 00 00

00:1f.0 ISA bridge: Intel Corporation HM87 Express LPC Controller (rev 05)
00: 86 80 4b 8c 07 00 10 02 05 00 01 06 00 00 80 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 28 10 fe 05
30: 00 00 00 00 e0 00 00 00 00 00 00 00 00 00 00 00

00:1f.2 SATA controller: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode](rev 05)
00: 86 80 03 8c 07 04 b0 02 05 01 06 01 00 00 00 00
10: b1 f0 00 00 a1 f0 00 00 91 f0 00 00 81 f0 00 00
20: 61 f0 00 00 00 20 a2 f7 00 00 00 00 28 10 fe 05
30: 00 00 00 00 80 00 00 00 00 00 00 00 0a 02 00 00

00:1f.3 SMBus: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller (rev 05)
00: 86 80 22 8c 03 00 80 02 05 00 05 0c 00 00 00 00
10: 04 10 a2 f7 00 00 00 00 00 00 00 00 00 00 00 00
20: 41 f0 00 00 00 00 00 00 00 00 00 00 28 10 fe 05
30: 00 00 00 00 00 00 00 00 00 00 00 00 03 03 00 00

00:1f.6 Signal processing controller: Intel Corporation 8 Series Chipset Family Thermal Management Controller (rev 05)
00: 86 80 24 8c 00 00 10 00 05 00 80 11 00 00 00 00
10: 04 00 a2 f7 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 28 10 fe 05
30: 00 00 00 00 50 00 00 00 00 00 00 00 03 03 00 00

02:00.0 3D controller: NVIDIA Corporation GK107M [GeForce GT 750M](rev a1)
00: de 10 e4 0f 06 00 10 00 a1 00 02 03 10 00 00 00
10: 00 00 00 f6 0c 00 00 e0 00 00 00 00 0c 00 00 f0
20: 00 00 00 00 01 e0 00 00 00 00 00 00 28 10 fe 05
30: 00 00 00 f7 60 00 00 00 00 00 00 00 0b 01 00 00

06:00.0 Network controller: Intel Corporation Wireless 7260 (rev 6b)
00: 86 80 b1 08 06 04 10 00 6b 00 80 02 10 00 00 00
10: 04 00 90 f7 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 86 80 70 c4
30: 00 00 00 00 c8 00 00 00 00 00 00 00 03 01 00 00

07:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5249 PCI Express Card Reader (rev 01)
00: ec 10 49 52 06 04 10 00 01 00 00 ff 10 00 00 00
10: 00 00 80 f7 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 28 10 fe 05
30: 00 00 00 00 40 00 00 00 00 00 00 00 0a 01 00 00

@spandruvada

This comment has been minimized.

Copy link
Contributor

@spandruvada spandruvada commented Sep 29, 2016

You have different thermal device vendor id than I have. I can't test
that. If I send a kernel patch, Can you apply and test? I can give test
procedure.

Thanks,
Srinivas

On Thu, 2016-09-29 at 07:08 -0700, Utini2000 wrote:

Pasted here ( https://dpaste.de/sNgo ) and below:
lspci -x
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core
Processor DRAM Controller (rev 06)
00: 86 80 04 0c 06 00 90 20 06 00 00 06 00 00 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 28 10 fe 05
30: 00 00 00 00 e0 00 00 00 00 00 00 00 00 00 00 00
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core
Processor PCI Express x16 Controller (rev 06)
00: 86 80 01 0c 07 04 10 00 06 00 04 06 10 00 81 00
10: 00 00 00 00 00 00 00 00 00 02 03 00 e0 e0 00 20
20: 00 f6 00 f7 01 e0 f1 f1 00 00 00 00 00 00 00 00
30: 00 00 00 00 88 00 00 00 00 00 00 00 0b 01 10 00
00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core
Processor Integrated Graphics Controller (rev 06)
00: 86 80 16 04 07 04 90 00 06 00 00 03 00 00 00 00
10: 04 00 40 f7 00 00 00 00 0c 00 00 d0 00 00 00 00
20: 01 f0 00 00 00 00 00 00 00 00 00 00 28 10 fe 05
30: 00 00 00 00 90 00 00 00 00 00 00 00 0b 01 00 00
00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core
Processor HD Audio Controller (rev 06)
00: 86 80 0c 0c 06 04 10 00 06 00 03 04 10 00 00 00
10: 04 c0 a1 f7 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 86 80 10 20
30: 00 00 00 00 50 00 00 00 00 00 00 00 0b 01 00 00
00:04.0 Signal processing controller: Intel Corporation Device 0c03
(rev 06)
00: 86 80 03 0c 00 00 90 00 06 00 80 11 00 00 00 00
10: 04 00 a1 f7 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 86 80 10 20
30: 00 00 00 00 90 00 00 00 00 00 00 00 0b 01 00 00
00:14.0 USB controller: Intel Corporation 8 Series/C220 Series
Chipset Family USB xHCI (rev 05)
00: 86 80 31 8c 06 04 90 02 05 30 03 0c 00 00 00 00
10: 04 00 a0 f7 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 28 10 fe 05
30: 00 00 00 00 70 00 00 00 00 00 00 00 0b 01 00 00
00:16.0 Communication controller: Intel Corporation 8 Series/C220
Series Chipset Family MEI Controller #1 (rev 04)
00: 86 80 3a 8c 06 04 10 00 04 00 80 07 00 00 80 00
10: 04 60 a2 f7 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 28 10 fe 05
30: 00 00 00 00 50 00 00 00 00 00 00 00 0b 01 00 00
00:1a.0 USB controller: Intel Corporation 8 Series/C220 Series
Chipset Family USB EHCI #2 (rev 05)
00: 86 80 2d 8c 06 00 90 02 05 20 03 0c 00 00 00 00
10: 00 40 a2 f7 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 28 10 fe 05
30: 00 00 00 00 50 00 00 00 00 00 00 00 0b 01 00 00
00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset
High Definition Audio Controller (rev 05)
00: 86 80 20 8c 06 04 10 00 05 00 03 04 10 00 00 00
10: 04 80 a1 f7 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 28 10 fe 05
30: 00 00 00 00 50 00 00 00 00 00 00 00 05 01 00 00
00:1c.0 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset
Family PCI Express Root Port #1 (rev d5)
00: 86 80 10 8c 07 04 10 00 d5 00 04 06 10 00 81 00
10: 00 00 00 00 00 00 00 00 00 04 04 00 20 20 00 20
20: 20 cf 30 cf 41 cf 51 cf 00 00 00 00 00 00 00 00
30: 00 00 00 00 40 00 00 00 00 00 00 00 0b 01 10 00
00:1c.2 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset
Family PCI Express Root Port #3 (rev d5)
00: 86 80 14 8c 07 04 10 00 d5 00 04 06 10 00 81 00
10: 00 00 00 00 00 00 00 00 00 06 06 00 f0 00 00 00
20: 90 f7 90 f7 f1 ff 01 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 40 00 00 00 00 00 00 00 03 03 10 00
00:1c.3 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset
Family PCI Express Root Port #4 (rev d5)
00: 86 80 16 8c 07 04 10 00 d5 00 04 06 10 00 81 00
10: 00 00 00 00 00 00 00 00 00 07 07 00 f0 00 00 00
20: 80 f7 80 f7 f1 ff 01 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 40 00 00 00 00 00 00 00 0a 04 10 00
00:1d.0 USB controller: Intel Corporation 8 Series/C220 Series
Chipset Family USB EHCI #1 (rev 05)
00: 86 80 26 8c 06 00 90 02 05 20 03 0c 00 00 00 00
10: 00 30 a2 f7 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 28 10 fe 05
30: 00 00 00 00 50 00 00 00 00 00 00 00 04 01 00 00
00:1f.0 ISA bridge: Intel Corporation HM87 Express LPC Controller
(rev 05)
00: 86 80 4b 8c 07 00 10 02 05 00 01 06 00 00 80 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 28 10 fe 05
30: 00 00 00 00 e0 00 00 00 00 00 00 00 00 00 00 00
00:1f.2 SATA controller: Intel Corporation 8 Series/C220 Series
Chipset Family 6-port SATA Controller 1 AHCI mode
00: 86 80 03 8c 07 04 b0 02 05 01 06 01 00 00 00 00
10: b1 f0 00 00 a1 f0 00 00 91 f0 00 00 81 f0 00 00
20: 61 f0 00 00 00 20 a2 f7 00 00 00 00 28 10 fe 05
30: 00 00 00 00 80 00 00 00 00 00 00 00 0a 02 00 00
00:1f.3 SMBus: Intel Corporation 8 Series/C220 Series Chipset Family
SMBus Controller (rev 05)
00: 86 80 22 8c 03 00 80 02 05 00 05 0c 00 00 00 00
10: 04 10 a2 f7 00 00 00 00 00 00 00 00 00 00 00 00
20: 41 f0 00 00 00 00 00 00 00 00 00 00 28 10 fe 05
30: 00 00 00 00 00 00 00 00 00 00 00 00 03 03 00 00
00:1f.6 Signal processing controller: Intel Corporation 8 Series
Chipset Family Thermal Management Controller (rev 05)
00: 86 80 24 8c 00 00 10 00 05 00 80 11 00 00 00 00
10: 04 00 a2 f7 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 28 10 fe 05
30: 00 00 00 00 50 00 00 00 00 00 00 00 03 03 00 00
02:00.0 3D controller: NVIDIA Corporation GK107M GeForce GT 750M
00: de 10 e4 0f 06 00 10 00 a1 00 02 03 10 00 00 00
10: 00 00 00 f6 0c 00 00 e0 00 00 00 00 0c 00 00 f0
20: 00 00 00 00 01 e0 00 00 00 00 00 00 28 10 fe 05
30: 00 00 00 f7 60 00 00 00 00 00 00 00 0b 01 00 00
06:00.0 Network controller: Intel Corporation Wireless 7260 (rev 6b)
00: 86 80 b1 08 06 04 10 00 6b 00 80 02 10 00 00 00
10: 04 00 90 f7 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 86 80 70 c4
30: 00 00 00 00 c8 00 00 00 00 00 00 00 03 01 00 00
07:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd.
RTS5249 PCI Express Card Reader (rev 01)
00: ec 10 49 52 06 04 10 00 01 00 00 ff 10 00 00 00
10: 00 00 80 f7 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 28 10 fe 05
30: 00 00 00 00 40 00 00 00 00 00 00 00 0a 01 00 00

You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@Utini2000

This comment has been minimized.

Copy link

@Utini2000 Utini2000 commented Sep 29, 2016

Puh.. I am not sure, that means I would have to compile the linux kernel by myself with ABS?
I haven't done that before but I think I could manage it.

Are you somewhere on IRC or any easy place to get in touch with u ?

@ArchangeGabriel

This comment has been minimized.

Copy link
Author

@ArchangeGabriel ArchangeGabriel commented Sep 29, 2016

My lspci -x (supposed to be the same as @Utini2000 I think):

00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor DRAM Controller (rev 06)
00: 86 80 04 0c 06 00 90 20 06 00 00 06 00 00 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 28 10 fe 05
30: 00 00 00 00 e0 00 00 00 00 00 00 00 00 00 00 00

00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller (rev 06)
00: 86 80 01 0c 07 04 10 00 06 00 04 06 10 00 81 00
10: 00 00 00 00 00 00 00 00 00 02 03 00 e0 e0 00 20
20: 00 f6 00 f7 01 e0 f1 f1 00 00 00 00 00 00 00 00
30: 00 00 00 00 88 00 00 00 00 00 00 00 ff 01 10 00

00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
00: 86 80 16 04 07 04 90 00 06 00 00 03 00 00 00 00
10: 04 00 40 f7 00 00 00 00 0c 00 00 d0 00 00 00 00
20: 01 f0 00 00 00 00 00 00 00 00 00 00 28 10 fe 05
30: 00 00 00 00 90 00 00 00 00 00 00 00 ff 01 00 00

00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06)
00: 86 80 0c 0c 06 04 10 00 06 00 03 04 10 00 00 00
10: 04 c0 a1 f7 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 86 80 10 20
30: 00 00 00 00 50 00 00 00 00 00 00 00 ff 01 00 00

00:04.0 Signal processing controller: Intel Corporation Device 0c03 (rev 06)
00: 86 80 03 0c 00 00 90 00 06 00 80 11 00 00 00 00
10: 04 00 a1 f7 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 86 80 10 20
30: 00 00 00 00 90 00 00 00 00 00 00 00 ff 01 00 00

00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 05)
00: 86 80 31 8c 06 04 90 02 05 30 03 0c 00 00 00 00
10: 04 00 a0 f7 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 28 10 fe 05
30: 00 00 00 00 70 00 00 00 00 00 00 00 ff 01 00 00

00:16.0 Communication controller: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 (rev 04)
00: 86 80 3a 8c 06 00 18 00 04 00 80 07 00 00 80 00
10: 04 60 a2 f7 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 28 10 fe 05
30: 00 00 00 00 50 00 00 00 00 00 00 00 ff 01 00 00

00:1a.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 (rev 05)
00: 86 80 2d 8c 06 00 90 02 05 20 03 0c 00 00 00 00
10: 00 40 a2 f7 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 28 10 fe 05
30: 00 00 00 00 50 00 00 00 00 00 00 00 ff 01 00 00

00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 05)
00: 86 80 20 8c 06 04 10 00 05 00 03 04 10 00 00 00
10: 04 80 a1 f7 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 28 10 fe 05
30: 00 00 00 00 50 00 00 00 00 00 00 00 ff 01 00 00

00:1c.0 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 (rev d5)
00: 86 80 10 8c 07 04 10 00 d5 00 04 06 10 00 81 00
10: 00 00 00 00 00 00 00 00 00 04 04 00 20 20 00 20
20: 20 cf 30 cf 41 cf 51 cf 00 00 00 00 00 00 00 00
30: 00 00 00 00 40 00 00 00 00 00 00 00 ff 01 10 00

00:1c.2 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #3 (rev d5)
00: 86 80 14 8c 07 04 10 00 d5 00 04 06 10 00 81 00
10: 00 00 00 00 00 00 00 00 00 06 06 00 f0 00 00 00
20: 90 f7 90 f7 f1 ff 01 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 40 00 00 00 00 00 00 00 ff 03 10 00

00:1c.3 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #4 (rev d5)
00: 86 80 16 8c 07 04 10 00 d5 00 04 06 10 00 81 00
10: 00 00 00 00 00 00 00 00 00 07 07 00 f0 00 00 00
20: 80 f7 80 f7 f1 ff 01 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 40 00 00 00 00 00 00 00 ff 04 10 00

00:1d.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 (rev 05)
00: 86 80 26 8c 06 00 90 02 05 20 03 0c 00 00 00 00
10: 00 30 a2 f7 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 28 10 fe 05
30: 00 00 00 00 50 00 00 00 00 00 00 00 ff 01 00 00

00:1f.0 ISA bridge: Intel Corporation HM87 Express LPC Controller (rev 05)
00: 86 80 4b 8c 07 00 10 02 05 00 01 06 00 00 80 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 28 10 fe 05
30: 00 00 00 00 e0 00 00 00 00 00 00 00 00 00 00 00

00:1f.2 SATA controller: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] (rev 05)
00: 86 80 03 8c 07 04 b0 02 05 01 06 01 00 00 00 00
10: b1 f0 00 00 a1 f0 00 00 91 f0 00 00 81 f0 00 00
20: 61 f0 00 00 00 20 a2 f7 00 00 00 00 28 10 fe 05
30: 00 00 00 00 80 00 00 00 00 00 00 00 ff 02 00 00

00:1f.3 SMBus: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller (rev 05)
00: 86 80 22 8c 03 00 80 02 05 00 05 0c 00 00 00 00
10: 04 10 a2 f7 00 00 00 00 00 00 00 00 00 00 00 00
20: 41 f0 00 00 00 00 00 00 00 00 00 00 28 10 fe 05
30: 00 00 00 00 00 00 00 00 00 00 00 00 ff 03 00 00

00:1f.6 Signal processing controller: Intel Corporation 8 Series Chipset Family Thermal Management Controller (rev 05)
00: 86 80 24 8c 00 00 10 00 05 00 80 11 00 00 00 00
10: 04 00 a2 f7 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 28 10 fe 05
30: 00 00 00 00 50 00 00 00 00 00 00 00 ff 03 00 00

02:00.0 3D controller: NVIDIA Corporation GK107M [GeForce GT 750M] (rev ff)
00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
10: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
20: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff

06:00.0 Network controller: Intel Corporation Wireless 7260 (rev 6b)
00: 86 80 b1 08 06 04 10 00 6b 00 80 02 10 00 00 00
10: 04 00 90 f7 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 86 80 70 c4
30: 00 00 00 00 c8 00 00 00 00 00 00 00 ff 01 00 00

07:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5249 PCI Express Card Reader (rev 01)
00: ec 10 49 52 06 04 10 00 01 00 00 ff 10 00 00 00
10: 00 00 80 f7 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 28 10 fe 05
30: 00 00 00 00 40 00 00 00 00 00 00 00 ff 01 00 00
@spandruvada

This comment has been minimized.

Copy link
Contributor

@spandruvada spandruvada commented Sep 29, 2016

Yes you do.

Thanks,
Srinivas

00:1f.6 Signal processing controller: Intel Corporation 8 Series
Chipset Family Thermal Management Controller (rev 05)
00: 86 80 24 8c 00 00 10 00 05 00 80 11 00 00 00 00
10: 04 00 a2 f7 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 28 10 fe 05
30: 00 00 00 00 50 00 00 00 00 00 00 00 ff 03 00 00

@Utini2000

This comment has been minimized.

Copy link

@Utini2000 Utini2000 commented Sep 29, 2016

Well then, tell us more about your kernel patch fix thingy :P

@spandruvada

This comment has been minimized.

Copy link
Contributor

@spandruvada spandruvada commented Sep 29, 2016

On Thu, 2016-09-29 at 11:01 -0700, Utini2000 wrote:

Well then, tell us more about your kernel patch fix thingy :P

Attached is the patch for kernel. I need some minor change in thermald
to add this to to the list. So first step is to verify that the kernel
part is working.

Download the attachment

git clone https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/li

nux.git

git am "the patch file name"

Copy the latest config-xxx file to .config in your linux folder

Make sure that this is set in the .config
CONFIG_INTEL_PCH_THERMAL=m

make -j4 bzImage; make -j4 modules

Press enter to accept to select default for config questions

sudo make -j4 modules_install

sudo make install

I don't use ARCH so not sure if any more steps are required to add to
gummy boot or to grub boot loader

Reboot and select the latest built kernel

Go to

cd /sys/class/thermal

Inside one of the thermal_zone*/type should see "pch_haswell"

cd to this folder and

cat temp

Make sure this changes when you run some workloads like

stress -c 4

Thanks,
Srinivas

You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@Utini2000

This comment has been minimized.

Copy link

@Utini2000 Utini2000 commented Sep 30, 2016

Tried it but failed. I think I am far from experienced enough to pull this off easily. And unfortenuately I have way too much work at the moment to sit down and do the "try-and-fail-and-try...." :(

Maybe @ArchangeGabriel has some luck with it. Or the testing has to wait a few weeks until I can shift/balancr my workload.

@Utini2000

This comment has been minimized.

Copy link

@Utini2000 Utini2000 commented Oct 24, 2016

systemctl status thermald.service - with the newest version:

  • thermald.service - Thermal Daemon Service
    Loaded: loaded (/usr/lib/systemd/system/thermald.service; enabled; vendor preset: disabled)
    Active: active (running) since Mon 2016-10-24 11:56:42 CEST; 46s ago
    Main PID: 448 (thermald)
    Tasks: 2 (limit: 4915)
    CGroup: /system.slice/thermald.service
    `-448 /usr/bin/thermald --no-daemon --dbus-enable

Oct 24 11:56:42 _____ systemd[1]: Started Thermal Daemon Service.
Oct 24 11:56:42 _____ thermald[448]: 13 CPUID levels; family:model:stepping 0x6:3c:3 (6:60:3)
Oct 24 11:56:42 _____ thermald[448]: Polling mode is enabled: 4
Oct 24 11:56:42 _____ thermald[448]: Using generated /var/run/thermald/thermal-conf.xml.auto
Oct 24 11:56:42 _____ thermald[448]: sysfs write failed /sys/devices/virtual/powercap/intel-rapl/intel-rapl:0/enabled
Oct 24 11:56:42 _____ thermald[448]: sysfs read failed constraint_0_max_power_uw
Oct 24 11:56:42 _____ thermald[448]: XML zone: invalid sensor type pch_wildcat_point
Oct 24 11:56:42 _____ thermald[448]: Zone update failed: unable to bind
Oct 24 11:56:42 _____ thermald[448]: XML zone: invalid sensor type B0D4
Oct 24 11:56:42 _____ thermald[448]: Zone update failed: unable to bind

@spandruvada

This comment has been minimized.

Copy link
Contributor

@spandruvada spandruvada commented Oct 24, 2016

The PCH sensor changed is not yet merged to kernel. So It will not be fixed. For the other
try

rm /var/run/thermald/thermal-conf.xml.auto

and then restart.

@Utini2000

This comment has been minimized.

Copy link

@Utini2000 Utini2000 commented Nov 6, 2016

Since thermald doesnt fully work on my/our unit:

Would it be wiser to simply uninstall/deactivate it or does it still do some magic when installed & running?

@spandruvada

This comment has been minimized.

Copy link
Contributor

@spandruvada spandruvada commented Nov 6, 2016

Did you try the step I suggested "rm /var/run/thermald/thermal-conf.xml.auto"?
The PCH sensor is optional, so I will not worry about that error.

@Utini2000

This comment has been minimized.

Copy link

@Utini2000 Utini2000 commented Nov 6, 2016

I just removed the thermal-conf.xml.auto but the output is still the same:

  • thermald.service - Thermal Daemon Service
    Loaded: loaded (/usr/lib/systemd/system/thermald.service; enabled; vendor preset: disabled)
    Active: active (running) since Sun 2016-11-06 19:17:05 CET; 1min 24s ago
    Main PID: 432 (thermald)
    Tasks: 2 (limit: 4915)
    CGroup: /system.slice/thermald.service
    `-432 /usr/bin/thermald --no-daemon --dbus-enable

Nov 06 19:17:05 _____ systemd[1]: Started Thermal Daemon Service.
Nov 06 19:17:05 _____ thermald[432]: 13 CPUID levels; family:model:stepping 0x6:3c:3 (6:60:3)
Nov 06 19:17:05 _____ thermald[432]: Polling mode is enabled: 4
Nov 06 19:17:05 _____ thermald[432]: Using generated /var/run/thermald/thermal-conf.xml.auto
Nov 06 19:17:05 _____ thermald[432]: sysfs write failed /sys/devices/virtual/powercap/intel-rapl/intel-rapl:0/enabled
Nov 06 19:17:05 _____ thermald[432]: sysfs read failed constraint_0_max_power_uw
Nov 06 19:17:05 _____ thermald[432]: XML zone: invalid sensor type pch_wildcat_point
Nov 06 19:17:05 _____ thermald[432]: Zone update failed: unable to bind
Nov 06 19:17:05 _____ thermald[432]: XML zone: invalid sensor type B0D4
Nov 06 19:17:05 _____ thermald[432]: Zone update failed: unable to bind

Thanks, so I will keep thermald installed :)

@Utini2000

This comment has been minimized.

Copy link

@Utini2000 Utini2000 commented Dec 4, 2016

I wonder if we should generally delete the "/var/run/thermald/thermal-conf.xml.auto" and run "sensors-detect" after each update?
Especially in terms of this missing driver.. in case it ever gets added/fixed ?

@spandruvada

This comment has been minimized.

Copy link
Contributor

@spandruvada spandruvada commented Dec 5, 2016

@ghost

This comment has been minimized.

Copy link

@ghost ghost commented May 24, 2018

I have

sysfs read failed constraint_0_max_power_uw

in my syslog on a Lenovo X1 Carbon Sixth Generation, running Thermald 1.5-2 on Mint 18.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
7 participants
You can’t perform that action at this time.