error messages about /dev/acpi_thermal_rel and /var/run/thermald/thermal-conf.xml
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
thermald (Ubuntu) |
Fix Released
|
Medium
|
Colin Ian King | ||
Xenial |
Fix Released
|
Medium
|
Colin Ian King | ||
Bionic |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
[SRU Justification]
f99f2b59fbbca04
where the path to the thermal-conf.xml file was incorrectly changed.
[Fix]
This issue is fixed with the following upstream commit:
From 4a890d7e1736786
From: Srinivas Pandruvada <email address hidden>
Date: Thu, 18 Feb 2016 11:33:50 -0800
Subject: [PATCH] Regression for default config file
f99f2b59fbbca04
where for Android the default path is changed to TDRUNDIR.
This will cause issue to upgrade thermald.
[Testcase]
Without the fix, the systemd log can be observed to complain about the config file not being parse:
error: could not parse file /var/run/
With the fix the path is correct and the error is not logged.
[Regression Potential]
Minimal. The fixes are minimal upstream changes to the log path. I have been testing this fix for the past 2 hours with no observed regressions.
-------
Hi,
here are the error messages (with some context):
$ journalctl | grep therm
Apr 08 20:23:49 xeelee kernel: thermal LNXTHERM:00: registered as thermal_zone0
Apr 08 20:23:49 xeelee kernel: thermal LNXTHERM:01: registered as thermal_zone1
Apr 08 20:24:43 xeelee sensors[977]: SYSTIN: +34.0°C (high = +0.0°C, hyst = +0.0°C) ALARM sensor = thermistor
Apr 08 20:24:43 xeelee sensors[977]: CPUTIN: +56.5°C (high = +80.0°C, hyst = +75.0°C) sensor = thermistor
Apr 08 20:24:43 xeelee sensors[977]: AUXTIN: +40.5°C (high = +80.0°C, hyst = +75.0°C) sensor = thermistor
Apr 08 20:24:43 xeelee thermald[950]: 13 CPUID levels; family:
Apr 08 20:24:43 xeelee thermald[950]: Polling mode is enabled: 4
Apr 08 20:24:43 xeelee thermald[950]: failed to open /dev/acpi_
Apr 08 20:24:43 xeelee thermald[950]: failed to open /dev/acpi_
Apr 08 20:24:43 xeelee thermald[950]: TRT/ART read failed
Apr 08 20:24:43 xeelee thermald[950]: I/O warning : failed to load external entity "/var/run/
Apr 08 20:24:43 xeelee thermald[950]: error: could not parse file /var/run/
Apr 08 20:24:43 xeelee thermald[950]: failed to open /dev/acpi_
Apr 08 20:24:43 xeelee thermald[950]: failed to open /dev/acpi_
Apr 08 20:24:43 xeelee thermald[950]: TRT/ART read failed
Apr 08 20:24:43 xeelee thermald[950]: I/O warning : failed to load external entity "/var/run/
Apr 08 20:24:43 xeelee thermald[950]: error: could not parse file /var/run/
Apr 08 20:24:43 xeelee thermald[950]: sysfs write failed trip_point_0_temp
Apr 08 20:24:43 xeelee thermald[950]: sysfs write failed trip_point_0_temp
Apr 08 20:24:43 xeelee thermald[950]: failed to open /dev/acpi_
Apr 08 20:24:43 xeelee thermald[950]: failed to open /dev/acpi_
Apr 08 20:24:43 xeelee thermald[950]: TRT/ART read failed
Apr 08 20:24:43 xeelee thermald[950]: I/O warning : failed to load external entity "/var/run/
Apr 08 20:24:43 xeelee thermald[950]: error: could not parse file /var/run/
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: thermald 1.5-2
Uname: Linux 4.5.0-040500-
ApportVersion: 2.20.1-0ubuntu1
Architecture: amd64
CurrentDesktop: KDE
Date: Fri Apr 8 22:01:54 2016
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: thermald
UpgradeStatus: Upgraded to xenial on 2016-03-31 (8 days ago)
Changed in thermald (Ubuntu): | |
status: | Incomplete → In Progress |
description: | updated |
description: | updated |
Changed in thermald (Ubuntu Xenial): | |
status: | New → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → Colin Ian King (colin-king) |
Can you attach a copy of /etc/thermald/ thermal- conf.xml to the bug report