LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-10-2019, 09:29 PM   #1
phalange
Member
 
Registered: May 2018
Distribution: Slackware, Centos, Alpine, Arch
Posts: 104

Rep: Reputation: Disabled
Thermald fail 14.2, Round II


This post:https://www.linuxquestions.org/quest...-a-4175643733/ fixed it, but on a new install of 14.2 using the newly patched slackbuild from SBo, I'm getting an issue.

The patch seems to apply fine in the build sequence, but on restart thermald doesn't launch despite executing it from rc.local, and doesn't launch manually either.

Last edited by phalange; 01-10-2019 at 10:27 PM.
 
Old 01-10-2019, 10:30 PM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 3,898

Rep: Reputation: 1154Reputation: 1154Reputation: 1154Reputation: 1154Reputation: 1154Reputation: 1154Reputation: 1154Reputation: 1154Reputation: 1154
have you installed all the patches from -stable?
we always test using the latest -stable updates
 
Old 01-11-2019, 01:25 AM   #3
phalange
Member
 
Registered: May 2018
Distribution: Slackware, Centos, Alpine, Arch
Posts: 104

Original Poster
Rep: Reputation: Disabled
It appears so, and I just double checked to be sure. No updates available and I have the slackware.com 14.2 mirror enabled.
 
Old 01-11-2019, 02:48 AM   #4
Arrabiata
LQ Newbie
 
Registered: May 2010
Location: Ancona, Italy
Distribution: Slackware-14.2 x86_64, Laptop & Router
Posts: 20

Rep: Reputation: 20
which error message do you receive?

Quote:
thermald --no-daemon --loglevel=info
 
Old 01-11-2019, 02:05 PM   #5
phalange
Member
 
Registered: May 2018
Distribution: Slackware, Centos, Alpine, Arch
Posts: 104

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Arrabiata View Post
which error message do you receive?
Code:
bash-4.3# thermald --no-daemon --loglevel=info
RAPL domain count 0
RAPL domain count 1
20 CPUID levels; family:model:stepping 0x6:4f:1 (6:79:1)
 Need Linux PowerCap sysfs 
failed to open /dev/acpi_thermal_rel 
failed to open /dev/acpi_thermal_rel 
TRT/ART read failed
I/O warning : failed to load external entity "/etc/thermald/thermal-conf.xml"
error: could not parse file /etc/thermald/thermal-conf.xml
Unsupported cpu model, use thermal-conf.xml file or run with --ignore-cpuid-check 
THD engine start failed
I'm sure the 'unsupported CPU' a red herring, being that thermald has run on this CPU before (intel i7-6850)

I'm not running ACPI - this is a stock install and I haven't added much to it yet.
 
Old 01-11-2019, 02:23 PM   #6
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 5,632

Rep: Reputation: 3389Reputation: 3389Reputation: 3389Reputation: 3389Reputation: 3389Reputation: 3389Reputation: 3389Reputation: 3389Reputation: 3389Reputation: 3389Reputation: 3389
It's complaining about not being able to find /etc/thermald/thermal-conf.xml

There is a /etc/thermald/thermal-cpu-cdev-order.xml and I wonder if that is what it is actually looking for. Might be worth copying or renaming it to match what the program is looking for and see if it fixes your issue.
 
Old 01-11-2019, 03:07 PM   #7
phalange
Member
 
Registered: May 2018
Distribution: Slackware, Centos, Alpine, Arch
Posts: 104

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by bassmadrigal View Post
It's complaining about not being able to find /etc/thermald/thermal-conf.xml
That didn't end up working, but I did try running it with --ignore-cpuid-check and that does appear to solve it. On restart, with that option added to rc.local, thermald is active.

It seems to implicate my device, but oddly this particular box has run thermald without a fuss in the past.

There are some git issues of cpu ids being absent from thermald, thus generating the erroneous 'unsupported' error. It's a subtle problem because without a manual check (e.g. ps or htop) it's not evident the daemon has failed to run, and the functionality is not apparent in regular use. I wonder if others have installed thermald and assumed it to be working?

Question to the group: are the frequency scaling controls in the kernel enough on their own; i.e. is thermald superfluous?
 
Old 01-11-2019, 03:47 PM   #8
Arrabiata
LQ Newbie
 
Registered: May 2010
Location: Ancona, Italy
Distribution: Slackware-14.2 x86_64, Laptop & Router
Posts: 20

Rep: Reputation: 20
Quote:
Originally Posted by phalange View Post
[CODE]bash-4.3# thermald --no-daemon --loglevel=info
.....................
Unsupported cpu model, use thermal-conf.xml file or run with --ignore-cpuid-check
THD engine start failed
(..stepping 0x6:4f:1 (6:79:1))

../Thermald-1.8/thermal_daemon-1.8/src/thd_engine.cpp
Code:
static supported_ids_t id_table[] = {
                { 6, 0x2a }, // Sandybridge
                { 6, 0x3a }, // IvyBridge
                { 6, 0x3c }, // Haswell
                { 6, 0x45 }, // Haswell ULT
                { 6, 0x46 }, // Haswell ULT
                { 6, 0x3d }, // Broadwell
                { 6, 0x47 }, // Broadwell-GT3E
                { 6, 0x37 }, // Valleyview BYT
                { 6, 0x4c }, // Brasewell
                { 6, 0x4e }, // skylake
                { 6, 0x5e }, // skylake
                { 6, 0x5c }, // Broxton
                { 6, 0x7a }, // Gemini Lake
                { 6, 0x8e }, // kabylake
                { 6, 0x9e }, // kabylake
                { 6, 0x66 }, // Cannonlake
                { 0, 0 } // Last Invalid entry
Your CPU-ID > { 6, 0x4f }, // Broadwell-phalange

and ..
create "thermal-conf.xml", otherwise thermald doesn't know what to do.

Example for my Thinkpad
Code:
<?xml version="1.0"?>
<ThermalConfiguration>
  <Platform>
    <Name>Generic X86 Laptop Device</Name>
    <ProductName>Thinkpad T430</ProductName>
    <Preference>QUIET</Preference>
    <ThermalZones>
      <ThermalZone>
        <Type>TSKN</Type>
        <TripPoints>
          <TripPoint>
            <Temperature>30000</Temperature>
            <type>passive</type>
            <ControlType>SEQUENTIAL</ControlType>
          </TripPoint>
        </TripPoints>
      </ThermalZone>
    </ThermalZones>
  </Platform>
</ThermalConfiguration>
 
Old 01-11-2019, 04:51 PM   #9
phalange
Member
 
Registered: May 2018
Distribution: Slackware, Centos, Alpine, Arch
Posts: 104

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Arrabiata View Post
(..stepping 0x6:4f:1 (6:79:1))
Thank you, this is very helpful. I am running ok without the thermal-conf.xml, I'm guessing it's not vital?


Quote:
Originally Posted by willysr View Post
we always test using the latest -stable updates
Is it worth noting the --ignore-cpuid-check on slackbuild readme?

++

Thanks again to everyone for your suggestions; I'm marking solved.
 
Old 01-11-2019, 05:44 PM   #10
Arrabiata
LQ Newbie
 
Registered: May 2010
Location: Ancona, Italy
Distribution: Slackware-14.2 x86_64, Laptop & Router
Posts: 20

Rep: Reputation: 20
Quote:
Originally Posted by phalange View Post
Thank you, this is very helpful. I am running ok without the thermal-conf.xml, I'm guessing it's not vital?
you can control the CPU better. test it with passive mode and active mode, you can see it.
 
1 members found this post helpful.
Old 01-11-2019, 07:21 PM   #11
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 3,898

Rep: Reputation: 1154Reputation: 1154Reputation: 1154Reputation: 1154Reputation: 1154Reputation: 1154Reputation: 1154Reputation: 1154Reputation: 1154
Quote:
Originally Posted by phalange View Post
Is it worth noting the --ignore-cpuid-check on slackbuild readme?
Sure, thanks for the report
 
Old 01-12-2019, 12:44 AM   #12
Arrabiata
LQ Newbie
 
Registered: May 2010
Location: Ancona, Italy
Distribution: Slackware-14.2 x86_64, Laptop & Router
Posts: 20

Rep: Reputation: 20
I inform the developer the CPU ID is missing. The developer will update it.

Last edited by Arrabiata; 01-12-2019 at 12:49 AM.
 
2 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Thermald build fail Slack 14.2 phalange Slackware 3 12-07-2018 10:16 AM
[SOLVED] if [[ -n "$1" ]]; then FAIL FAIL FAIL rbees Programming 7 03-25-2015 03:39 PM
PS2 mouse goes crazy [it goes round n round n round...] goci Linux - Hardware 2 10-09-2003 09:15 AM
Mon Jul 30 2nd round of Free Sklyarov rallies odat General 1 07-30-2001 04:48 PM
Another round of updates - PLEASE watch for bugs! jeremy LQ Suggestions & Feedback 0 11-07-2000 02:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration