Package Details: thermald 1.5.3-1

Git Clone URL: https://aur.archlinux.org/thermald.git (read-only)
Package Base: thermald
Description: The Linux Thermal Daemon program from 01.org
Upstream URL: https://github.com/01org/thermal_daemon
Keywords: CPU-thermals
Licenses: GPL2
Conflicts: thermald
Provides: thermald
Submitter: wallnuss
Maintainer: ArchangeGabriel
Last Packager: ArchangeGabriel
Votes: 169
Popularity: 11.097151
First Submitted: 2013-07-02 21:21
Last Updated: 2016-03-06 20:48

Required by (0)

Sources (2)

Latest Comments

Utini commented on 2016-03-16 14:25

Quick update:
According to the thermald develoeper there is no kernel driver avalible for Haswell CPU's.
Someone has first to develop the kernel driver for Haswell CPU's in order for thermald to work correctly with Haswell CPU's :/

See: https://github.com/01org/thermal_daemon/issues/82#issuecomment-197047545

francoism90 commented on 2016-03-12 09:53

@kang: https://www.archlinux.org/groups/x86_64/base-devel/
---

A lot of updates lately, seems development has been started again. :)

$ 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 za 2016-03-12 10:47:53 CET; 3min 58s ago
Main PID: 604 (thermald)
Tasks: 2 (limit: 512)
CGroup: /system.slice/thermald.service
└─604 /usr/bin/thermald --no-daemon --dbus-enable

mrt 12 10:47:53 desktop1 systemd[1]: Starting Thermal Daemon Service...
mrt 12 10:47:53 desktop1 thermald[604]: 13 CPUID levels; family:model:stepping 0x6:2a:7 (6:42:7)
mrt 12 10:47:53 desktop1 systemd[1]: Started Thermal Daemon Service.
mrt 12 10:47:53 desktop1 thermald[604]: Polling mode is enabled: 4
mrt 12 10:47:53 desktop1 thermald[604]: failed to open /dev/acpi_thermal_rel
mrt 12 10:47:53 desktop1 thermald[604]: failed to open /dev/acpi_thermal_rel
mrt 12 10:47:53 desktop1 thermald[604]: TRT/ART read failed
mrt 12 10:47:53 desktop1 thermald[604]: sysfs write failed enabled
mrt 12 10:47:53 desktop1 thermald[604]: sysfs write failed trip_point_0_temp
mrt 12 10:47:53 desktop1 thermald[604]: sysfs write failed trip_point_0_temp

Don't know if they are warnings and simple should be ignored.
Anyway, so far it seems to work.

Thanks.

kang commented on 2016-03-11 22:24

basic build deps which arent listed:
autoconf
automake
make
binutils
pkgconfig
gcc

Utini commented on 2016-02-20 03:48

Lol good to know, thanks. I posted on github.

So the "Zone update failed: unable to bind" is nothing to worry about ?

ArchangeGabriel commented on 2016-02-19 18:58

@Utini: Your problem is rather this “thermald[472]: XML zone: invalid sensor type TPCH“. Please follow instructions here https://github.com/01org/thermal_daemon/issues/82#issuecomment-185988891 and add the result to the linked issue.

Utini commented on 2016-02-19 18:37

Thanks for the update. This is my sytemctl status of thermald.service now:

* 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

Is the "thermald[472]: Zone update failed: unable to bind" a problem? :o

ArchangeGabriel commented on 2016-02-18 23:55

Should be fixed in 1.5.1.

Utini commented on 2016-02-18 09:47

Hmm works for me. I updated, did systemctl daemon-reload and also "systemctl stop thermald.service" and then "systemctl start thermald.service". Runs just fine.

"systemctl restart thermald.service" didn't work.

Also re-run "sensors-detect" from the package "lm_sensors" before starting thermald.service?

ArchangeGabriel commented on 2016-02-18 08:54

As a workaround, you can add "--config-file /etc/thermald/thermal-conf.xml" to the thermald command in systemd unit.

ArchangeGabriel commented on 2016-02-18 08:51

This is the because of https://github.com/01org/thermal_daemon/commit/f99f2b59fbbca04a13cad3f7d2dbc985bc7ee0cd

Reporting upstream.

smirky commented on 2016-02-18 05:22

● thermald.service - Thermal Daemon Service
Loaded: loaded (/usr/lib/systemd/system/thermald.service; disabled; vendor preset: disabled)
Active: active (running) since чт 2016-02-18 07:20:48 EET; 3s ago
Main PID: 18044 (thermald)
Tasks: 2 (limit: 512)
CGroup: /system.slice/thermald.service
└─18044 /usr/bin/thermald --no-daemon --dbus-enable

фев 18 07:20:48 archy thermald[18044]: failed to open /dev/acpi_thermal_rel
фев 18 07:20:48 archy thermald[18044]: TRT/ART read failed
фев 18 07:20:48 archy thermald[18044]: I/O warning : failed to load external entity "/usr/var/run/thermald/thermal-conf.xml"
фев 18 07:20:48 archy thermald[18044]: error: could not parse file /usr/var/run/thermald/thermal-conf.xml
фев 18 07:20:48 archy thermald[18044]: failed to open /dev/acpi_thermal_rel
фев 18 07:20:48 archy thermald[18044]: failed to open /dev/acpi_thermal_rel
фев 18 07:20:48 archy thermald[18044]: TRT/ART read failed
фев 18 07:20:48 archy thermald[18044]: I/O warning : failed to load external entity "/usr/var/run/thermald/thermal-conf.xml"
фев 18 07:20:48 archy thermald[18044]: error: could not parse file /usr/var/run/thermald/thermal-conf.xml
фев 18 07:20:48 archy systemd[1]: Started Thermal Daemon Service.

Those files seem to be elsewhere, seems like it's not configured properly.

ArchangeGabriel commented on 2016-02-17 22:07

@smirky: There is already the flag function for this, no need to comment. You can even click on the flag link to see why it’s currently flagged: https://aur.archlinux.org/pkgbase/thermald/flag-comment/

smirky commented on 2016-02-17 21:54

Please update to 1.5
https://github.com/01org/thermal_daemon/releases

hadrons123 commented on 2015-11-10 05:07

Will update and do requested lib changes with the next release version.

Utini commented on 2015-10-11 17:57

I agree.. this should be atelast in the official repo if not already installed in arch out-of-the-box.

A must have for modern (well my laptop is 3 years old and depends on this) !

gammel.holte commented on 2015-06-21 23:37

Hopefully a TU that is subscribed to this package reads us and decides to chip in and adopt the package.

IMHO, it should be in the official repos. It's highly recommended by Intel in its new architectures (>= Sandybridge). It's even in Ubuntu LTS now, so quite a mainstream thing.

hadrons123 commented on 2015-06-21 22:16

I recently adopted this package since it was an orphan. But if there is a TU interested in maintaining in the offcial repos, I happily welcome that!

hadrons123 commented on 2015-06-21 22:13



I recently adopted this package since it was an orphan. But if there is a TU interested in maintaining in the offcial repos, I would happily welcome that!

hadrons123 commented on 2015-06-21 22:12

I recently adopted this package since it was an orphan. But if there is a TU interested in maintaining in the offcial repos, I would be happily welcome that!

gammel.holte commented on 2015-06-21 22:07

It'd be great to promote this to extra. It's a system package, it's quite stable, no license issues, so it should be there.

Thanks for the PKGBUILD BTW.

ArchangeGabriel commented on 2015-06-02 08:58

If you take this package, please update it, 1.4.2 has been out for 3 weeks.

hadrons123 commented on 2015-06-01 23:40

Thanks Siosm!

Siosm commented on 2015-05-08 14:49

Updated PKGBUILD: https://github.com/Siosm/siosm-aur/blob/master/thermald/PKGBUILD

pyamsoft commented on 2015-05-07 22:01

As of 6 days ago, thermald 1.4 has been released.

FadeMind commented on 2015-03-02 16:54

Please using lastest git commit with fixes instead default lastest release tarball.
Lastest commit: https://github.com/01org/thermal_daemon/commit/8adac91619e0b5e77a973f554f12697345b604d4
Improved PKGBUILD code: https://pastebin.com/0ribBk3t

hadrons123 commented on 2014-11-26 21:44

What would be that error message, If I may ask?

cfr42 commented on 2014-11-26 21:42

Should this be rebuilt against each new kernel? (I thought it just wouldn't work if that was the case but it does. I'm trying to track down the source of an error message concerning pstate, I think, which appears on boot but doesn't make it into the journal, that I can tell.)

Siosm commented on 2014-10-21 10:29

@smirky: https://wiki.archlinux.org/index.php/AUR#Prerequisites

smirky commented on 2014-10-21 10:25

Please add 'autoconf' and 'automake' as dependencies, since they are required in build().

smirky commented on 2014-10-21 10:23

Please add 'autoconf' as a dependency, since it's required in build().

hadrons123 commented on 2014-08-13 07:17

Package versioning number is bit weird.

warning: downgrading package thermald (1.3.rc1-7 => 1.3-1)
resolving dependencies...
looking for inter-conflicts...

Any idea why its a downgrade?

gammel.holte commented on 2014-08-03 02:19

==> Validating source files with md5sums...
thermald-1.3.rc1.tar.gz ... Passed
modules-load-thermald.conf ... Passed
00-hotfix-seqfaults.patch ... FAILED
==> ERROR: One or more files did not pass the validity check!

codebam commented on 2014-07-31 04:06

I get this error when running "makepkg -s" http://sprunge.us/iSFj

ValdikSS commented on 2014-07-20 17:02

Btw, https://bbs.archlinux.org/viewtopic.php?id=184483

wallnuss commented on 2014-07-20 14:51

@WonderWoofy

I incoperated your suggestions. Thanks.

WonderWoofy commented on 2014-07-20 14:39

I wish you could edit comments here... but you should also quote any variables throughout the PKGBUILD.

WonderWoofy commented on 2014-07-20 14:36

Instead of the sbin -> bin mv in package(), simply add '--sbindir=/usr/bin' to the ./configure line in build().

Also, I think any patching should actually go in a prepare() function.

ValdikSS commented on 2014-07-20 07:35

> I gather it is gonna be in the next upstream release
Yes, it's already in the development branch. Thanks for the update!

orschiro commented on 2014-07-20 05:50

@wallnuss

Thanks for the update! I restared the thermald.service and it runs fine.

qwerty12 commented on 2014-07-20 01:44

I removed /etc/systemd/system/thermald.service (and had /etc/systemd/system/multi-user.target.wants/thermald.service point back to the service file in /usr), my modules-load.d file in etc, upgraded and restarted. Seems to be working fine.

wallnuss commented on 2014-07-19 23:48

@qwerty12

Could you test the new release I just made? Remove /etc/modules-load.d/thermald_coretemp.conf and install it.

The new version should load coretemp on startup.

@all sorry for the noise I try not to make 6 releases in one day :(

qwerty12 commented on 2014-07-19 23:01

It fails to load on startup because coretemp isn't loaded at that point. I worked around it by doing this:

/etc/systemd/system/thermald.service:
.include /usr/lib/systemd/system/thermald.service
[Unit]
Requires=systemd-modules-load.service
After=systemd-modules-load.service

(Disable and enable thermald to use the system file from /etc)

/etc/modules-load.d/thermald_coretemp.conf:
coretemp

It works for me after doing that, anyway:
● thermald.service - Thermal Daemon Service
Loaded: loaded (/etc/systemd/system/thermald.service; enabled)
Active: active (running) since Sat 2014-07-19 07:59:32 BST; 16h ago
Main PID: 203 (thermald)
CGroup: /system.slice/thermald.service
└─203 /usr/sbin/thermald --no-daemon --dbus-enable

Jul 19 07:59:32 Minitrue thermald[203]: cdev[1] intel_pstate
Jul 19 07:59:32 Minitrue thermald[203]: cdev[2] Processor
Jul 19 07:59:32 Minitrue thermald[203]: index 0: type:max temp:95000 hyst:0 zone id:0 sensor id:65535 cdev size:3
Jul 19 07:59:32 Minitrue thermald[203]: cdev[0] rapl_controller
Jul 19 07:59:32 Minitrue thermald[203]: cdev[1] intel_pstate
Jul 19 07:59:32 Minitrue thermald[203]: cdev[2] Processor
Jul 19 07:59:32 Minitrue thermald[203]: FD = 7
Jul 19 07:59:32 Minitrue thermald[203]: Current user preference is 0
Jul 19 07:59:32 Minitrue thermald[203]: thd_engine_thread begin
Jul 19 07:59:32 Minitrue thermald[203]: Set : 95000, 63000, 4, 0, 26250

wallnuss commented on 2014-07-19 12:05

@ValdikSS

I added the patch to the PKGBUILD, thanks alot. I gather it is gonna be in the next upstream release?

@crf42 and @CharlesAtum
I sadly can't provide any kind of support for thermald besides build and arch specific problems. Your best bet is to head over to https://github.com/01org/thermal_daemon and file an issue.

ValdikSS commented on 2014-07-19 11:41

Please apply this patch:
https://github.com/01org/thermal_daemon/commit/add12bc11865ba854849cff907d0babe928dfe2e.patch

commit:
https://github.com/01org/thermal_daemon/commit/add12bc11865ba854849cff907d0babe928dfe2e

This fixes multiple trip points. Without this patch, it segfaults.

DeltaKilo commented on 2014-06-20 20:47

as a temporary solution i suggest to build master branch inplace by editing PKGBUILD with folowing changes:
_srcdir=$_name-master
source=(${url}/archive/master.tar.gz
'modules-load-msr.conf')
md5sums=('SKIP'
'3f8abd21c1be92e631fd9f557c61355b')

DeltaKilo commented on 2014-06-20 20:22

Can you please backport this patch to properly support 3.14 and 3.15 kernels? https://github.com/01org/thermal_daemon/commit/92131b53c74f11f724e26678d09a6642b792c807

CharlesAtum commented on 2014-06-19 00:05

From journalctl -b -u thermald:

Jun 18 20:48:34 mateus-arch systemd[1]: Starting Thermal Daemon Service...
Jun 18 20:48:36 mateus-arch thermald[544]: sysfs read failed /sys/class/powercap/intel-rapl/power/name
Jun 18 20:48:36 mateus-arch thermald[544]: sysfs read failed /sys/class/powercap/intel-rapl/enabled/name
Jun 18 20:48:36 mateus-arch systemd[1]: Started Thermal Daemon Service.
Jun 18 20:48:36 mateus-arch thermald[544]: sysfs read failed /sys/class/powercap/intel-rapl/intel-rapl:0/name/name
Jun 18 20:48:36 mateus-arch thermald[544]: sysfs read failed /sys/class/powercap/intel-rapl/intel-rapl:0/power/name
Jun 18 20:48:36 mateus-arch thermald[544]: sysfs read failed /sys/class/powercap/intel-rapl/intel-rapl:0/constraint_0_time_window_us/name
Jun 18 20:48:36 mateus-arch thermald[544]: sysfs read failed /sys/class/powercap/intel-rapl/intel-rapl:0/constraint_1_power_limit_uw/name
Jun 18 20:48:36 mateus-arch thermald[544]: sysfs read failed /sys/class/powercap/intel-rapl/intel-rapl:0/enabled/name
Jun 18 20:48:36 mateus-arch thermald[544]: sysfs read failed /sys/class/powercap/intel-rapl/intel-rapl:0/device/name
Jun 18 20:48:36 mateus-arch thermald[544]: sysfs read failed /sys/class/powercap/intel-rapl/intel-rapl:0/constraint_0_power_limit_uw/name
Jun 18 20:48:36 mateus-arch thermald[544]: sysfs read failed /sys/class/powercap/intel-rapl/intel-rapl:0/subsystem/name
Jun 18 20:48:36 mateus-arch thermald[544]: sysfs read failed /sys/class/powercap/intel-rapl/intel-rapl:0/constraint_0_name/name
Jun 18 20:48:36 mateus-arch thermald[544]: sysfs read failed /sys/class/powercap/intel-rapl/intel-rapl:0/constraint_1_name/name
Jun 18 20:48:36 mateus-arch thermald[544]: sysfs read failed /sys/class/powercap/intel-rapl/intel-rapl:0/energy_uj/name
Jun 18 20:48:36 mateus-arch thermald[544]: sysfs read failed /sys/class/powercap/intel-rapl/intel-rapl:0/constraint_1_max_power_uw/name
Jun 18 20:48:36 mateus-arch thermald[544]: sysfs read failed /sys/class/powercap/intel-rapl/intel-rapl:0/uevent/name
Jun 18 20:48:36 mateus-arch thermald[544]: sysfs read failed /sys/class/powercap/intel-rapl/intel-rapl:0/max_energy_range_uj/name
Jun 18 20:48:36 mateus-arch thermald[544]: sysfs read failed /sys/class/powercap/intel-rapl/intel-rapl:0/constraint_0_max_power_uw/name
Jun 18 20:48:36 mateus-arch thermald[544]: sysfs read failed /sys/class/powercap/intel-rapl/intel-rapl:0/constraint_1_time_window_us/name
Jun 18 20:48:36 mateus-arch thermald[544]: RAPL domain count 0
Jun 18 20:48:36 mateus-arch thermald[544]: sysfs read failed /sys/class/powercap/intel-rapl/subsystem/name
Jun 18 20:48:36 mateus-arch thermald[544]: sysfs read failed /sys/class/powercap/intel-rapl/uevent/name
Jun 18 20:48:36 mateus-arch thermald[544]: RAPL domain count 1
Jun 18 20:48:36 mateus-arch thermald[544]: 13 CPUID levels; family:model:stepping 0x6:3a:9 (6:58:9)
Jun 18 20:48:36 mateus-arch thermald[544]: Polling mode is enabled: 4
Jun 18 20:48:36 mateus-arch thermald[544]: sensor_update: type acpitz
Jun 18 20:48:36 mateus-arch thermald[544]: sensor_update: type acpitz
Jun 18 20:48:36 mateus-arch thermald[544]: sensor_update: type x86_pkg_temp
Jun 18 20:48:36 mateus-arch thermald[544]: thd_read_default_thermal_sensors loaded 3 sensors
Jun 18 20:48:36 mateus-arch thermald[544]: Thermal DTS: No coretemp sysfs, trying hwmon
Jun 18 20:48:36 mateus-arch thermald[544]: Dumping parsed XML Data
Jun 18 20:48:36 mateus-arch thermald[544]: *** Index 0 ***
Jun 18 20:48:36 mateus-arch thermald[544]: Name: Generic X86 Laptop Device
Jun 18 20:48:36 mateus-arch thermald[544]: UUID:
Jun 18 20:48:36 mateus-arch thermald[544]: type: 0
Jun 18 20:48:36 mateus-arch thermald[544]: Zone 0
Jun 18 20:48:36 mateus-arch thermald[544]: Name: Surface
Jun 18 20:48:36 mateus-arch thermald[544]: Trip Point 0
Jun 18 20:48:36 mateus-arch thermald[544]: temp id 47000
Jun 18 20:48:36 mateus-arch thermald[544]: trip type 1
Jun 18 20:48:36 mateus-arch thermald[544]: hyst id 0
Jun 18 20:48:36 mateus-arch thermald[544]: *** Index 1 ***
Jun 18 20:48:36 mateus-arch thermald[544]: Name: Example Platform Name
Jun 18 20:48:36 mateus-arch thermald[544]: UUID: Example UUID
Jun 18 20:48:36 mateus-arch thermald[544]: type: 0
Jun 18 20:48:36 mateus-arch thermald[544]: Sensor 0
Jun 18 20:48:36 mateus-arch thermald[544]: Name: example_sensor_1
Jun 18 20:48:36 mateus-arch thermald[544]: Path: /some_path
Jun 18 20:48:36 mateus-arch thermald[544]: Async Capable: 0
Jun 18 20:48:36 mateus-arch thermald[544]: Sensor 1
Jun 18 20:48:36 mateus-arch thermald[544]: Name: example_thermal_sysfs_sensor
Jun 18 20:48:36 mateus-arch thermald[544]: Path:
Jun 18 20:48:36 mateus-arch thermald[544]: Async Capable: 1
Jun 18 20:48:36 mateus-arch thermald[544]: Zone 0
Jun 18 20:48:36 mateus-arch thermald[544]: Name: Example Zone type
Jun 18 20:48:36 mateus-arch thermald[544]: Trip Point 0
Jun 18 20:48:36 mateus-arch thermald[544]: temp id 75000
Jun 18 20:48:36 mateus-arch thermald[544]: trip type 1
Jun 18 20:48:36 mateus-arch thermald[544]: hyst id 0
Jun 18 20:48:36 mateus-arch thermald[544]: Trip id 0
Jun 18 20:48:36 mateus-arch thermald[544]: type example_cooling_device
Jun 18 20:48:36 mateus-arch thermald[544]: influence 100
Jun 18 20:48:36 mateus-arch thermald[544]: SamplingPeriod 12
Jun 18 20:48:36 mateus-arch thermald[544]: Cooling Dev 0
Jun 18 20:48:36 mateus-arch thermald[544]: Type: example_cooling_device
Jun 18 20:48:36 mateus-arch thermald[544]: Path:
Jun 18 20:48:36 mateus-arch thermald[544]: Min: 0
Jun 18 20:48:36 mateus-arch thermald[544]: Max: 50
Jun 18 20:48:36 mateus-arch thermald[544]: Step: 10
Jun 18 20:48:36 mateus-arch thermald[544]: AutoDownControl: 0
Jun 18 20:48:36 mateus-arch thermald[544]: PID: Kp 0,000000
Jun 18 20:48:36 mateus-arch thermald[544]: PID: Ki 0,000000
Jun 18 20:48:36 mateus-arch thermald[544]: PID: Kd 0,000000
Jun 18 20:48:36 mateus-arch thermald[544]: UUID is [44454C4C-3200-1056-805A-B4C04F325631]
Jun 18 20:48:36 mateus-arch thermald[544]: product name is[Inspiron 5420]
Jun 18 20:48:36 mateus-arch thermald[544]: Product Name matched [wildcard]
Jun 18 20:48:36 mateus-arch thermald[544]: sensor index:0 acpitz Async:0
Jun 18 20:48:36 mateus-arch thermald[544]: sensor index:1 acpitz Async:0
Jun 18 20:48:36 mateus-arch thermald[544]: sensor index:2 x86_pkg_temp Async:0
Jun 18 20:48:36 mateus-arch thermald[544]: sensor index:3 hwmon Async:0
Jun 18 20:48:36 mateus-arch systemd[1]: thermald.service: main process exited, code=exited, status=1/FAILURE
Jun 18 20:48:36 mateus-arch systemd[1]: Unit thermald.service entered failed state.

I checked and most of theses name "files" don't exist.

cfr42 commented on 2014-06-18 21:14

I'm getting failures since updating to kernel 3.15. I figured out I had an old PKGBUILD despite the newer version number so I updated and reinstalled but still get this:

● thermald.service - Thermal Daemon Service
Loaded: loaded (/usr/lib/systemd/system/thermald.service; enabled)
Active: failed (Result: exit-code) since Mer 2014-06-18 22:00:26 BST; 9min ago
Process: 6877 ExecStart=/usr/sbin/thermald --no-daemon --dbus-enable (code=exited, status=1/FAILURE)
Main PID: 6877 (code=exited, status=1/FAILURE)

Meh 18 22:00:26 MyComputer thermald[6877]: RAPL domain count 1
Meh 18 22:00:26 MyComputer thermald[6877]: 13 CPUID levels; family:model:stepping 0x6:2a:7 (6:42:7)
Meh 18 22:00:26 MyComputer thermald[6877]: Polling mode is enabled: 4
Meh 18 22:00:26 MyComputer thermald[6877]: sensor_update: type acpitz
Meh 18 22:00:26 MyComputer thermald[6877]: sensor_update: type x86_pkg_temp
Meh 18 22:00:26 MyComputer thermald[6877]: thd_read_default_thermal_sensors loaded 2 sensors
Meh 18 22:00:26 MyComputer thermald[6877]: Thermal DTS: No coretemp sysfs, trying hwmon
Meh 18 22:00:26 MyComputer thermald[6877]: sensor id 2: No temp sysfs for reading raw temp
Meh 18 22:00:26 MyComputer thermald[6877]: Thermal sysfs Error in reading sensors
Meh 18 22:00:26 MyComputer thermald[6877]: THD engine start failed:

I've tried rebuilding thermald, rerunning sensors-detect and restarting thermald's service multiple times but it doesn't find what it needs.

sensors gives this output:

thinkpad-isa-0000
Adapter: ISA adapter
fan1: 531 RPM
temp1: +57.0°C
temp2: +0.0°C
temp3: +57.0°C
temp4: +0.0°C
temp5: +0.0°C
temp6: +0.0°C
temp7: +29.0°C
temp8: +0.0°C

coretemp-isa-0000
Adapter: ISA adapter
Physical id 0: +60.0°C (high = +86.0°C, crit = +100.0°C)
Core 0: +60.0°C (high = +86.0°C, crit = +100.0°C)
Core 1: +57.0°C (high = +86.0°C, crit = +100.0°C)

So it certainly should find something (and did before the kernel upgrade).

cfr42 commented on 2014-06-18 20:52

I'm getting failures since updating to the new 3.15 kernel:

● thermald.service - Thermal Daemon Service
Loaded: loaded (/usr/lib/systemd/system/thermald.service; enabled)
Active: failed (Result: exit-code) since Mer 2014-06-18 21:49:13 BST; 1min 28s ago
Process: 4848 ExecStart=/usr/bin/thermald --no-daemon --dbus-enable (code=exited, status=1/FAILURE)
Main PID: 4848 (code=exited, status=1/FAILURE)

Meh 18 21:49:13 MyComputer thermald[4848]: Polling mode is enabled: 4
Meh 18 21:49:13 MyComputer thermald[4848]: powercap RAPL max power limit range 17000000
Meh 18 21:49:13 MyComputer thermald[4848]: Found Intel pstate driver
Meh 18 21:49:13 MyComputer thermald[4848]: DTS temperature path not found
Meh 18 21:49:13 MyComputer thermald[4848]: Thermal DTS: No coretemp sysfs, trying hwmon
Meh 18 21:49:13 MyComputer thermald[4848]: DTS temperature path not found
Meh 18 21:49:13 MyComputer thermald[4848]: Thermal DTS or hwmon: No Zones present:
Meh 18 21:49:13 MyComputer thermald[4848]: No thermal sensors foundTHD engine start failed:
Meh 18 21:49:13 MyComputer systemd[1]: thermald.service: main process exited, code=exited, status=1/FAILURE
Meh 18 21:49:13 MyComputer systemd[1]: Unit thermald.service entered failed state.

I've tried rebuilding thermald, rerunning sensors-detect and restarting thermald's service multiple times but it doesn't find what it needs.

jro commented on 2014-06-09 20:38

Fails to build. Missing dependency?

autoreconf: Entering directory `.'
[...]
./configure: line 2759: PKG_PROG_PKG_CONFIG: command not found
./configure: line 2765: --variable=systemdsystemunitdir: command not found
[...]
[...]

checking for dbus_glib_global_set_disable_legacy_property_access in -ldbus-glib-1... yes
./configure: line 3888: syntax error near unexpected token `DBUS,'
./configure: line 3888: `PKG_CHECK_MODULES(DBUS, dbus-1 >= 1.1 dbus-glib-1 >= 0.94)'
==> FEHLER: Ein Fehler geschah in build().
Breche ab ...
==> ERROR: Makepkg was unable to build thermald.

jro commented on 2014-06-09 20:36

Fails to build: Missing dependency?

autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal
autoreconf: configure.ac: tracing
autoreconf: configure.ac: creating directory build-aux
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf
autoreconf: running: /usr/bin/autoheader
autoreconf: running: automake --add-missing --copy --no-force
configure.ac:56: installing 'build-aux/compile'
configure.ac:13: installing 'build-aux/install-sh'
configure.ac:13: installing 'build-aux/missing'
Makefile.am: installing 'build-aux/depcomp'
autoreconf: Leaving directory `.'
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
./configure: line 2759: PKG_PROG_PKG_CONFIG: command not found
./configure: line 2765: --variable=systemdsystemunitdir: command not found

System paths:
prefix: /usr
exec_prefix: NONE
systemdunitdir:
tdbinary: ${exec_prefix}/sbin/thermald
tdconfdir: /etc/thermald
tdrundir: ${prefix}/var/run/thermald

checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for dbus_glib_global_set_disable_legacy_property_access in -ldbus-glib-1... yes
./configure: line 3888: syntax error near unexpected token `DBUS,'
./configure: line 3888: `PKG_CHECK_MODULES(DBUS, dbus-1 >= 1.1 dbus-glib-1 >= 0.94)'
==> FEHLER: Ein Fehler geschah in build().
Breche ab ...
==> ERROR: Makepkg was unable to build thermald.
==> Restart building thermald ? [y/N]
==> ---------------------------------
==>


wallnuss commented on 2014-06-08 11:40

Thanks @amish and @aaditya your changes are incorporated into the new version.

amish commented on 2014-06-08 05:03

pkgver=1.2.01

is the latest version released.

Also ARCH does not use upstart. So we need to add this line in package() function:
rm -rf "${pkgdir}/etc/init"

aaditya commented on 2014-06-05 08:49

By default thermald installs the binary in /usr/sbin.

Adding the following lines at the end of the package function takes care of that:

# use bin instead of sbin
mv "${pkgdir}/usr/sbin" "${pkgdir}/usr/bin"

aaditya commented on 2014-06-05 08:49

By default thermald installs the binary in /usr/sbin.

Adding the following lines in the package function takes care of that:

# use bin instead of sbin
mv "${pkgdir}/usr/sbin" "${pkgdir}/usr/bin"

snakeroot commented on 2014-05-13 22:53

The problems for kernels 3.14+ are related to temperature data moving from /sys/devices/platform/coretemp.0 to /sys/class/hwmon/hwmonX.

This change was made on May 5 or so. Commit is here:

https://github.com/01org/thermal_daemon/commit/92131b53c74f11f724e26678d09a6642b792c807

Updating to current git solved the problem; sensors-detect didn't.

hadrons123 commented on 2014-05-07 23:32

Thanks hoverboy. Running sensors-detect did the trick.

hoverboy commented on 2014-04-20 10:44

Just thought I'd mention that since upgrading to kernel 3.14 thermald failed to start at boot until I installed lm_sensors and ran sensors-detect once.


These are the errors I was getting:

thermald[257]: NO RAPL sysfs present
thermald[257]: 13 CPUID levels; family:model:stepping 0x6:3a:9 (6:58:9)
thermald[257]: Polling mode is enabled: 4
thermald[257]: sensor_update: type acpitz
thermald[257]: sensor_update: type acpitz
thermald[257]: sensor_update: type x86_pkg_temp
thermald[257]: thd_read_default_thermal_sensors loaded 3 sensors
thermald[257]: Thermal DTS: No coretemp sysfs, trying hwmon
thermald[257]: sensor id 3: No temp sysfs for reading raw temp
thermald[257]: Thermal sysfs Error in reading sensors
thermald[257]: THD engine start failed:
systemd[1]: thermald.service: main process exited, code=exited, status=1/FAILURE
systemd[1]: Unit thermald.service entered failed state.


And this is the thread where I found my resolution: https://forum.manjaro.org/index.php?PHPSESSID=fqmakjit6s934lo857ov2l62e3&topic=12327.msg111145#msg111145

hadrons123 commented on 2014-04-13 06:04

@orschiro
thermald is suited for sandybridge and above series.

orschiro commented on 2014-02-22 06:57

Hello together,

Is thermald on suited for Sandy Bridge and newer or also for older hardware such as an Intel Core 2 Duo SL9400?

Thanks!

julroy67 commented on 2014-02-13 14:31

1.1rc3 is out

hadrons123 commented on 2014-01-10 07:27

Anybody know why I am getting this?

hadrons123 commented on 2014-01-10 07:27

[root@archbox ~]# systemctl status thermald.service -l
thermald.service - Thermal Daemon Service
Loaded: loaded (/usr/lib/systemd/system/thermald.service; enabled)
Active: failed (Result: core-dump) since Fri 2014-01-10 07:23:48 IST; 1min 26s ago
Process: 968 ExecStart=/usr/bin/thermald --no-daemon --dbus-enable (code=dumped, signal=SEGV)
Main PID: 968 (code=dumped, signal=SEGV)
CGroup: /system.slice/thermald.service

Jan 10 07:23:48 archbox thermald[968]: 7: Processor, C:0 MN: 0 MX:10 ST:1 pt:/sys/class/thermal/ rd_bk 1
Jan 10 07:23:48 archbox thermald[968]: 8: Processor, C:0 MN: 0 MX:10 ST:1 pt:/sys/class/thermal/ rd_bk 1
Jan 10 07:23:48 archbox thermald[968]: 9: intel_powerclamp, C:-1 MN: 0 MX:50 ST:5 pt:/sys/class/thermal/ rd_bk 0
Jan 10 07:23:48 archbox thermald[968]: 10: rapl_controller, C:0 MN: 0 MX:0 ST:2250 pt:/sys/devices/system/cpu/ rd_bk 1
Jan 10 07:23:48 archbox thermald[968]: 11: intel_pstate, C:0 MN: 0 MX:10 ST:1 pt:/sys/devices/system/cpu/intel_pstate/ rd_bk 1
Jan 10 07:23:48 archbox thermald[968]: trip type: 0 temp: 127000
Jan 10 07:23:48 archbox thermald[968]: trip type: 1 temp: 127000
Jan 10 07:23:48 archbox systemd[1]: thermald.service: main process exited, code=dumped, status=11/SEGV
Jan 10 07:23:48 archbox systemd-coredump[980]: Process 968 (thermald) dumped core.
Jan 10 07:23:48 archbox systemd[1]: Unit thermald.service entered failed state.
[root@archbox ~]#

zappafrank commented on 2013-11-08 20:53

oops...sorry...
i read now the README.txt in src folder, now compile correctly... :)

zappafrank commented on 2013-11-08 18:58

it doesn't compile:

./autogen.sh: line 3: autoreconf: command not found

there is no autoreconf command in my path and no pacman pkgs...
where is the problem?

thanx

wallnuss commented on 2013-10-04 07:16

@kicka sorry for that. Fixed it now, it seems like I tried to debug something and didn't revert the PKGBUILD

kicka commented on 2013-10-04 06:01

It doesn't compile... I needed to change the sourcedir from

cd $_srcdir

to

cd $srcdir/thermal_daemon-$pkgver

Both under build() [line24] and package() [line 32] section. After that everything works as expected and the package is buildable

aaditya commented on 2013-10-04 05:43

Thanks wallnuss :)

wallnuss commented on 2013-10-04 05:37

Updated to 1.03
@aaditya Thanks for the notice

aaditya commented on 2013-10-04 04:30

@wallnuss, this package is outdated. current version of thermald available is 1.03. Please update it :)