** Description changed:

+ [SRU Justification][XENIAL]
+ f99f2b59fbbca04a13cad3f7d2dbc985bc7ee0cd caused regression
+ where the path to the thermal-conf.xml file was incorrectly changed.
+ 
+ [Fix]
+ This issue is fixed with the following upstream commit:
+ 
+ From 4a890d7e173678644882e6b863f3650e30d33052 Mon Sep 17 00:00:00 2001
+ From: Srinivas Pandruvada <[email protected]>
+ Date: Thu, 18 Feb 2016 11:33:50 -0800
+ Subject: [PATCH] Regression for default config file
+ 
+ f99f2b59fbbca04a13cad3f7d2dbc985bc7ee0cd caused regression
+ 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/thermald/thermal-conf.xml
+ 
+ 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:model:stepping 
0x6:3a:9 (6:58:9)
  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_thermal_rel
  Apr 08 20:24:43 xeelee thermald[950]: failed to open /dev/acpi_thermal_rel
  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/thermald/thermal-conf.xml"
  Apr 08 20:24:43 xeelee thermald[950]: error: could not parse file 
/var/run/thermald/thermal-conf.xml
  Apr 08 20:24:43 xeelee thermald[950]: failed to open /dev/acpi_thermal_rel
  Apr 08 20:24:43 xeelee thermald[950]: failed to open /dev/acpi_thermal_rel
  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/thermald/thermal-conf.xml"
  Apr 08 20:24:43 xeelee thermald[950]: error: could not parse file 
/var/run/thermald/thermal-conf.xml
  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_thermal_rel
  Apr 08 20:24:43 xeelee thermald[950]: failed to open /dev/acpi_thermal_rel
  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/thermald/thermal-conf.xml"
  Apr 08 20:24:43 xeelee thermald[950]: error: could not parse file 
/var/run/thermald/thermal-conf.xml
  
  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: thermald 1.5-2
  Uname: Linux 4.5.0-040500-lowlatency x86_64
  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_DIR=<set>
-  LANG=en_US.UTF-8
-  SHELL=/bin/bash
+  TERM=xterm
+  PATH=(custom, no user)
+  XDG_RUNTIME_DIR=<set>
+  LANG=en_US.UTF-8
+  SHELL=/bin/bash
  SourcePackage: thermald
  UpgradeStatus: Upgraded to xenial on 2016-03-31 (8 days ago)

** Description changed:

  [SRU Justification][XENIAL]
  f99f2b59fbbca04a13cad3f7d2dbc985bc7ee0cd caused regression
  where the path to the thermal-conf.xml file was incorrectly changed.
  
  [Fix]
  This issue is fixed with the following upstream commit:
  
  From 4a890d7e173678644882e6b863f3650e30d33052 Mon Sep 17 00:00:00 2001
  From: Srinivas Pandruvada <[email protected]>
  Date: Thu, 18 Feb 2016 11:33:50 -0800
  Subject: [PATCH] Regression for default config file
  
  f99f2b59fbbca04a13cad3f7d2dbc985bc7ee0cd caused regression
  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/thermald/thermal-conf.xml
  
  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:model:stepping 
0x6:3a:9 (6:58:9)
  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_thermal_rel
  Apr 08 20:24:43 xeelee thermald[950]: failed to open /dev/acpi_thermal_rel
  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/thermald/thermal-conf.xml"
  Apr 08 20:24:43 xeelee thermald[950]: error: could not parse file 
/var/run/thermald/thermal-conf.xml
  Apr 08 20:24:43 xeelee thermald[950]: failed to open /dev/acpi_thermal_rel
  Apr 08 20:24:43 xeelee thermald[950]: failed to open /dev/acpi_thermal_rel
  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/thermald/thermal-conf.xml"
  Apr 08 20:24:43 xeelee thermald[950]: error: could not parse file 
/var/run/thermald/thermal-conf.xml
  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_thermal_rel
  Apr 08 20:24:43 xeelee thermald[950]: failed to open /dev/acpi_thermal_rel
  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/thermald/thermal-conf.xml"
  Apr 08 20:24:43 xeelee thermald[950]: error: could not parse file 
/var/run/thermald/thermal-conf.xml
  
  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: thermald 1.5-2
  Uname: Linux 4.5.0-040500-lowlatency x86_64
  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_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: thermald
  UpgradeStatus: Upgraded to xenial on 2016-03-31 (8 days ago)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1568123

Title:
  error messages about /dev/acpi_thermal_rel and /var/run/thermald
  /thermal-conf.xml

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/thermald/+bug/1568123/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to