thermald fails to start on AMD Phenom(tm) II X4 945 Processor

Bug #1367946 reported by Timothy G. Rundle
38
This bug affects 7 people
Affects Status Importance Assigned to Milestone
thermald (Ubuntu)
Won't Fix
High
Colin Ian King

Bug Description

after updating to version 1.3-4, thermald now exits with message:

Thermal DTS or hwmon: No Zones present Need to configure manually
config product uuid [ExampleUUID] match with [E0E241EC-8DFE-D511-BCA0-00248CC202C3]
config product name [*] match with [SystemProductName]
Product Name matched [wildcard]
Look for Zone [SKIN]
Added zone index:0
XML zone: invalid sensor type TSKN
Zone update failed: unable to bind
No Thermal Zones found
No thermal sensors found
THD engine start failed:

ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: thermald 1.3-4
ProcVersionSignature: Ubuntu 3.16.0-14.20-generic 3.16.2
Uname: Linux 3.16.0-14-generic x86_64
ApportVersion: 2.14.7-0ubuntu2
Architecture: amd64
CurrentDesktop: Unity
Date: Wed Sep 10 17:39:15 2014
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: thermald
UpgradeStatus: Upgraded to utopic on 2014-06-03 (99 days ago)

Revision history for this message
Timothy G. Rundle (tgrundle) wrote :
Revision history for this message
Timothy G. Rundle (tgrundle) wrote :
Revision history for this message
Colin Ian King (colin-king) wrote :

@Srinivas,

From a previous bug report (bug 1366541) relating to this AMD based system, the discussion was:

"On Wed, 2014-09-10 at 17:33 +0000, Colin Ian King wrote:
> @Srinivas, I don't have any modern AMD kit. What kind of sensor
> information do you require on the AMD platform?
>
Since sensors program able to find it, there are sensors. I don't know
if this program also prints location of those sensors in sysfs.

Thanks,
Srinivas"

strace of sensors shows the following hwmon files are being successfully opened:

/sys/class/hwmon/hwmon0/fan1_input
/sys/class/hwmon/hwmon0/fan1_label
/sys/class/hwmon/hwmon0/fan1_max
/sys/class/hwmon/hwmon0/fan1_min

/sys/class/hwmon/hwmon0/fan2_input
/sys/class/hwmon/hwmon0/fan2_label
/sys/class/hwmon/hwmon0/fan2_max
/sys/class/hwmon/hwmon0/fan2_min

/sys/class/hwmon/hwmon0/fan3_input
/sys/class/hwmon/hwmon0/fan3_label
/sys/class/hwmon/hwmon0/fan3_max
/sys/class/hwmon/hwmon0/fan3_min

/sys/class/hwmon/hwmon0/in0_input
/sys/class/hwmon/hwmon0/in0_label
/sys/class/hwmon/hwmon0/in0_max
/sys/class/hwmon/hwmon0/in0_min

/sys/class/hwmon/hwmon0/in1_input
/sys/class/hwmon/hwmon0/in1_label
/sys/class/hwmon/hwmon0/in1_max
/sys/class/hwmon/hwmon0/in1_min

/sys/class/hwmon/hwmon0/in2_input
/sys/class/hwmon/hwmon0/in2_label
/sys/class/hwmon/hwmon0/in2_max
/sys/class/hwmon/hwmon0/in2_min

/sys/class/hwmon/hwmon0/in3_input
/sys/class/hwmon/hwmon0/in3_label
/sys/class/hwmon/hwmon0/in3_max
/sys/class/hwmon/hwmon0/in3_min

/sys/class/hwmon/hwmon0/name
/sys/class/hwmon/hwmon0/temp1_crit
/sys/class/hwmon/hwmon0/temp1_input
/sys/class/hwmon/hwmon0/temp1_label
/sys/class/hwmon/hwmon0/temp1_max

/sys/class/hwmon/hwmon0/temp2_crit
/sys/class/hwmon/hwmon0/temp2_input
/sys/class/hwmon/hwmon0/temp2_label
/sys/class/hwmon/hwmon0/temp2_max

/sys/class/hwmon/hwmon1/device/name
/sys/class/hwmon/hwmon1/device/temp1_crit_hyst
/sys/class/hwmon/hwmon1/device/temp1_crit
/sys/class/hwmon/hwmon1/device/temp1_input
/sys/class/hwmon/hwmon1/device/temp1_max

/sys/class/hwmon/hwmon2/name
/sys/class/hwmon/hwmon2/temp1_crit_hyst
/sys/class/hwmon/hwmon2/temp1_crit
/sys/class/hwmon/hwmon2/temp1_input

Revision history for this message
Srinivas Pandruvada (srinivas-pandruvada) wrote :

I have attached a thermal-conf.xml. Please copy this to your thermal-conf.xml.
You can search the path for thermal-conf.xml in your installation.
May be in /usr/local/etc/thermald/ or /usr/etc/thermald/

Run thermald from command line with --loglevel=debug

I looked at the driver code, the current name and labels it is getting from ACPI, so may change. Till we have many sample configurations, we can use the thermal-conf.xml for this platform.

Revision history for this message
Srinivas Pandruvada (srinivas-pandruvada) wrote :

There was a bug in the previous thermal-conf.xml, so adding attachment again.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in thermald (Ubuntu):
status: New → Confirmed
Revision history for this message
N1ck 7h0m4d4k15 (nicktux) wrote :

I have an "AMD Athlon(tm) II X4 640 Processor" and I'm affected by this bug as well.

But have a look at cpuinfo, maybe this problem is related to CPU capabilities ? (I'm not sure).

Revision history for this message
N1ck 7h0m4d4k15 (nicktux) wrote :

Also I have run thermald with your .xml file and --loglevel=debug and the matched UUID, but I can't see any success.

Revision history for this message
N1ck 7h0m4d4k15 (nicktux) wrote :

@Srinivas Pandruvada

Apparently, above failure was my mistake, because I didn't change properly the .xml file. I needed to change the PATH as well, from

/sys/class/hwmon/hwmon0/temp1_input

to

/sys/class/hwmon/hwmon0/device/temp1_input

Your .xml configuration works as expected.

Thank you.

Revision history for this message
Timothy G. Rundle (tgrundle) wrote :

Srinivas,

I was able to start thermald and run without issue for over an hour. Attached is the log.

Changed in thermald (Ubuntu):
importance: Undecided → High
Revision history for this message
Colin Ian King (colin-king) wrote :

Is this still an issue, or can we close this bug now?

Changed in thermald (Ubuntu):
status: Confirmed → Incomplete
assignee: nobody → Colin Ian King (colin-king)
Revision history for this message
Timothy G. Rundle (tgrundle) wrote : Re: [Bug 1367946] Re: thermald fails to start on AMD Phenom(tm) II X4 945 Processor

I am no longer experiencing the issue so I think it can be closed.

On Wed, Jul 22, 2015 at 4:25 PM Colin Ian King <email address hidden>
wrote:

> Is this still an issue, or can we close this bug now?
>
> ** Changed in: thermald (Ubuntu)
> Status: Confirmed => Incomplete
>
> ** Changed in: thermald (Ubuntu)
> Assignee: (unassigned) => Colin Ian King (colin-king)
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1367946
>
> Title:
> thermald fails to start on AMD Phenom(tm) II X4 945 Processor
>
> Status in thermald package in Ubuntu:
> Incomplete
>
> Bug description:
> after updating to version 1.3-4, thermald now exits with message:
>
> Thermal DTS or hwmon: No Zones present Need to configure manually
> config product uuid [ExampleUUID] match with
> [E0E241EC-8DFE-D511-BCA0-00248CC202C3]
> config product name [*] match with [SystemProductName]
> Product Name matched [wildcard]
> Look for Zone [SKIN]
> Added zone index:0
> XML zone: invalid sensor type TSKN
> Zone update failed: unable to bind
> No Thermal Zones found
> No thermal sensors found
> THD engine start failed:
>
> ProblemType: Bug
> DistroRelease: Ubuntu 14.10
> Package: thermald 1.3-4
> ProcVersionSignature: Ubuntu 3.16.0-14.20-generic 3.16.2
> Uname: Linux 3.16.0-14-generic x86_64
> ApportVersion: 2.14.7-0ubuntu2
> Architecture: amd64
> CurrentDesktop: Unity
> Date: Wed Sep 10 17:39:15 2014
> ProcEnviron:
> TERM=xterm
> PATH=(custom, no user)
> XDG_RUNTIME_DIR=<set>
> LANG=en_US.UTF-8
> SHELL=/bin/bash
> SourcePackage: thermald
> UpgradeStatus: Upgraded to utopic on 2014-06-03 (99 days ago)
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/thermald/+bug/1367946/+subscriptions
>

Revision history for this message
Srinivas Pandruvada (srinivas-pandruvada) wrote :

With the manual configuration, thermald can work on AMD platform. So I think this can be closed.

Revision history for this message
David Oxland (doxland) wrote :

This is an AMD board fitted in Lenovo H-535, An AMD A10 I believe,
Do not know how to do a manual configuration.

Revision history for this message
Colin Ian King (colin-king) wrote :

@Srinivas,

are there any concise notes for users on how to manually configurations thermald? To my knowledge there is just:

man thermal-conf.xml

Revision history for this message
Srinivas Pandruvada (srinivas-pandruvada) wrote :

On 09/07/2015 07:32 AM, Colin Ian King wrote:
> @Srinivas,
>
> are there any concise notes for users on how to manually configurations
> thermald? To my knowledge there is just:
>
> man thermal-conf.xml
Yes. There is one bugzilla, which was closed last year had example
config for one AMD platform.
Thanks,
Srinivas
>

Revision history for this message
Colin Ian King (colin-king) wrote :

I've tried searching for that, but can't find it. Any other clues?

Revision history for this message
Colin Ian King (colin-king) wrote :

@David,

Is this problem still an issue? If so, I did try out thermald on an AMD device and wrote some notes on how to configure thermald manually on my blog: http://smackerelofopinion.blogspot.co.uk/2015/09/tweaking-thermald-configuration-file.html

There are also some brief how to notes on https://wiki.ubuntu.com/Kernel/PowerManagement/ThermalIssues

Perhaps that will be a useful starting point. Let me know if this helps or not. If I've not heard anything in 6 weeks I will then close this bug.

Changed in thermald (Ubuntu):
status: Incomplete → Opinion
status: Opinion → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.