Ubuntu 16.04 LTS : thermald - failures

Asked by SunBear

I notice the following failures related to thermald in my systemlog.
How do I fix these failures?

May 9 16:35:46 Eliot kernel: [ 0.161446] ACPI: \_PR_.CPU0: _OSC native thermal LVT Acked
May 9 16:35:46 Eliot kernel: [ 0.530505] thermal LNXTHERM:00: registered as thermal_zone0
May 9 16:35:46 Eliot kernel: [ 0.530574] thermal LNXTHERM:01: registered as thermal_zone1
May 9 16:35:47 Eliot thermald[947]: 22 CPUID levels; family:model:stepping 0x6:5e:3 (6:94:3)
May 9 16:35:47 Eliot thermald[947]: Polling mode is enabled: 4
May 9 16:35:47 Eliot thermald[947]: failed to open /dev/acpi_thermal_rel
May 9 16:35:47 Eliot thermald[947]: failed to open /dev/acpi_thermal_rel
May 9 16:35:47 Eliot thermald[947]: TRT/ART read failed
May 9 16:35:48 Eliot thermald[947]: I/O warning : failed to load external entity "/var/run/thermald/thermal-conf.xml"
May 9 16:35:48 Eliot thermald[947]: error: could not parse file /var/run/thermald/thermal-conf.xml
May 9 16:35:48 Eliot thermald[947]: failed to open /dev/acpi_thermal_rel
May 9 16:35:48 Eliot thermald[947]: failed to open /dev/acpi_thermal_rel
May 9 16:35:48 Eliot thermald[947]: TRT/ART read failed
May 9 16:35:48 Eliot thermald[947]: I/O warning : failed to load external entity "/var/run/thermald/thermal-conf.xml"
May 9 16:35:48 Eliot thermald[947]: error: could not parse file /var/run/thermald/thermal-conf.xml
May 9 16:35:48 Eliot thermald[947]: sysfs read failed constraint_0_max_power_uw
May 9 16:35:48 Eliot thermald[947]: sysfs write failed trip_point_0_temp
May 9 16:35:48 Eliot thermald[947]: sysfs write failed trip_point_0_temp
May 9 16:35:48 Eliot thermald[947]: failed to open /dev/acpi_thermal_rel
May 9 16:35:48 Eliot thermald[947]: failed to open /dev/acpi_thermal_rel
May 9 16:35:48 Eliot thermald[947]: TRT/ART read failed
May 9 16:35:48 Eliot thermald[947]: I/O warning : failed to load external entity "/var/run/thermald/thermal-conf.xml"
May 9 16:35:48 Eliot thermald[947]: error: could not parse file /var/run/thermald/thermal-conf.xml

Revision history for this message
SunBear (sunbear-c22) said :
#1

I have down downloaded and installed the bug fix provided in https://launchpad.net/ubuntu/+source/thermald/1.5-2ubuntu1.

Executed the following commands as described in README.txt:

Building on Ubuntu
1. Install
 sudo apt-get install autoconf
 sudo apt-get install g++
 sudo apt-get install libglib2.0-dev
 sudo apt-get install libdbus-1-dev
 sudo apt-get install libdbus-glib-1-dev
 sudo apt-get install libxml2-dev
2
Build
 ./autogen.sh
  ./configure prefix=/usr
 make
 sudo make install
(It will give error for systemd configuration, but ignore)
cp data/thermald.conf /etc/init/
3.
Use "sudo start thermald" to start
Use "sudo stop thermald" to stop

However, I could not start thermald on command line. See below
$ sudo cp data/thermald.conf /etc/init/
$ sudo start thermald
start: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused

Appreciate further instructions to resolve this failure.

Revision history for this message
SunBear (sunbear-c22) said :
#2

After rebooting, the same thermald failures in the systemlog appears. Neither can it be started on command line.

Evidence:
May 9 18:48:11 Eliot kernel: [ 0.161486] ACPI: \_PR_.CPU0: _OSC native thermal LVT Acked
May 9 18:48:11 Eliot kernel: [ 0.530495] thermal LNXTHERM:00: registered as thermal_zone0
May 9 18:48:11 Eliot kernel: [ 0.530563] thermal LNXTHERM:01: registered as thermal_zone1
May 9 18:48:12 Eliot thermald[852]: 22 CPUID levels; family:model:stepping 0x6:5e:3 (6:94:3)
May 9 18:48:12 Eliot thermald[852]: Polling mode is enabled: 4
May 9 18:48:12 Eliot thermald[852]: failed to open /dev/acpi_thermal_rel
May 9 18:48:12 Eliot thermald[852]: failed to open /dev/acpi_thermal_rel
May 9 18:48:12 Eliot thermald[852]: TRT/ART read failed
May 9 18:48:12 Eliot thermald[852]: I/O warning : failed to load external entity "/usr/var/run/thermald/thermal-conf.xml"
May 9 18:48:12 Eliot thermald[852]: error: could not parse file /usr/var/run/thermald/thermal-conf.xml
May 9 18:48:12 Eliot thermald[852]: failed to open /dev/acpi_thermal_rel
May 9 18:48:12 Eliot thermald[852]: failed to open /dev/acpi_thermal_rel
May 9 18:48:12 Eliot thermald[852]: TRT/ART read failed
May 9 18:48:12 Eliot thermald[852]: I/O warning : failed to load external entity "/usr/var/run/thermald/thermal-conf.xml"
May 9 18:48:12 Eliot thermald[852]: error: could not parse file /usr/var/run/thermald/thermal-conf.xml
May 9 18:48:12 Eliot thermald[852]: sysfs read failed constraint_0_max_power_uw
May 9 18:48:12 Eliot thermald[852]: sysfs write failed trip_point_0_temp
May 9 18:48:12 Eliot thermald[852]: sysfs write failed trip_point_0_temp
May 9 18:48:12 Eliot thermald[852]: failed to open /dev/acpi_thermal_rel
May 9 18:48:12 Eliot thermald[852]: failed to open /dev/acpi_thermal_rel
May 9 18:48:12 Eliot thermald[852]: TRT/ART read failed
May 9 18:48:12 Eliot thermald[852]: I/O warning : failed to load external entity "/usr/var/run/thermald/thermal-conf.xml"
May 9 18:48:12 Eliot thermald[852]: error: could not parse file /usr/var/run/thermald/thermal-conf.xml
$ sudo start thermald
start: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused

Revision history for this message
SunBear (sunbear-c22) said :
#3

A new thermald update (found in Ubuntu Software Updates) was installed this morning.
After rebooting the system, new thermald failures report in system logs are:

$ cat /var/log/syslog | grep thermald
May 10 07:59:08 Eliot thermald[1022]: 22 CPUID levels; family:model:stepping 0x6:5e:3 (6:94:3)
May 10 07:59:08 Eliot thermald[1022]: Polling mode is enabled: 4
May 10 07:59:08 Eliot thermald[1022]: failed to open /dev/acpi_thermal_rel
May 10 07:59:08 Eliot thermald[1022]: failed to open /dev/acpi_thermal_rel
May 10 07:59:08 Eliot thermald[1022]: TRT/ART read failed
May 10 07:59:08 Eliot thermald[1022]: sysfs read failed constraint_0_max_power_uw
May 10 07:59:08 Eliot thermald[1022]: sysfs write failed trip_point_0_temp
May 10 07:59:08 Eliot thermald[1022]: sysfs write failed trip_point_0_temp
May 10 09:28:53 Eliot thermald[1022]: Terminating ...
May 10 09:40:13 Eliot thermald[1066]: 22 CPUID levels; family:model:stepping 0x6:5e:3 (6:94:3)
May 10 09:40:13 Eliot thermald[1066]: Polling mode is enabled: 4
May 10 09:40:13 Eliot thermald[1066]: failed to open /dev/acpi_thermal_rel
May 10 09:40:13 Eliot thermald[1066]: failed to open /dev/acpi_thermal_rel
May 10 09:40:13 Eliot thermald[1066]: TRT/ART read failed
May 10 09:40:13 Eliot thermald[1066]: sysfs read failed constraint_0_max_power_uw
May 10 09:40:13 Eliot thermald[1066]: sysfs write failed trip_point_0_temp
May 10 09:40:13 Eliot thermald[1066]: sysfs write failed trip_point_0_temp

I have checked /dev directory. The file /dev/acpi_thermal_rel does not exist after executing ls -la.

Can you help with this problem?

Provide an answer of your own, or ask SunBear for more information if necessary.

To post a message you must log in.