LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 03-14-2020, 06:59 PM   #1
SLACKER1
LQ Newbie
 
Registered: Mar 2020
Posts: 22

Rep: Reputation: Disabled
[SOLVED] Problem to start thermald


hello
i install thermald with Sbopkg
i have this error:
Code:
# thermald start
Ready to serve requests: Daemonizing.. 1
how to enable and start thermald?
Thanks

Last edited by SLACKER1; 03-16-2020 at 09:40 AM.
 
Old 03-14-2020, 07:16 PM   #2
average_user
Member
 
Registered: Dec 2010
Location: Warsaw, Poland
Distribution: Slackware
Posts: 560

Rep: Reputation: 220Reputation: 220Reputation: 220
Why do you think it's error? I don't know thermald but I did the same and it's running:
Code:
$ ps aux | grep '[t]hermald'
root      7932  0.0  0.0 120336  6020 ?        Ssl  01:14   0:00 thermald start
And I don't think you even need start. In README it says:
Quote:
Since this is a daemon, it can be started at boot via /etc/rc.d/rc.local: /sbin/thermald
 
Old 03-15-2020, 02:34 AM   #3
SLACKER1
LQ Newbie
 
Registered: Mar 2020
Posts: 22

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by average_user View Post
Why do you think it's error? I don't know thermald but I did the same and it's running:
Code:
$ ps aux | grep '[t]hermald'
root      7932  0.0  0.0 120336  6020 ?        Ssl  01:14   0:00 thermald start
And I don't think you even need start. In README it says:
i don't have this file /etc/rc.d/rc.local
 
Old 03-15-2020, 08:45 AM   #4
SLACKER1
LQ Newbie
 
Registered: Mar 2020
Posts: 22

Original Poster
Rep: Reputation: Disabled
➜ ~ ps aux | grep '[t]hermald'
Nothing

Code:
➜  ~ cd /etc/rc.local  
cd: no such file or directory: /etc/rc.local
➜  ~ cat /etc/rc.local      
cat: /etc/rc.local: No such file or directory

help please
 
Old 03-15-2020, 09:44 AM   #5
average_user
Member
 
Registered: Dec 2010
Location: Warsaw, Poland
Distribution: Slackware
Posts: 560

Rep: Reputation: 220Reputation: 220Reputation: 220
OK, first let's make sure that you have installed thermald from Slackbuilds.org. Show output of this command:
Code:
grep /sbin/thermald /var/log/packages/thermald-1.9-x86_64-2_SBo
It should say usr/sbin/thermald.

Second, make sure you run it with root:
Code:
$ su -
Password:

Try the Moo Shu Pork.  It is especially good today.

root@comp:~# thermald
Ready to serve requests: Daemonizing.. 1
root@comp:~# ps aux | grep '[t]hermald'
root      5720  0.0  0.0 120132  4372 ?        Ssl  15:42   0:00
thermald
Third, try with --no-daemon and check what happens:
Code:
root@comp:~# thermald --no-daemon
[WARN]13 CPUID levels; family:model:stepping 0x6:3c:3 (6:60:3)
[WARN]Polling mode is enabled: 4
[WARN]sensor id 6 : No temp sysfs for reading raw temp
[WARN]sensor id 6 : No temp sysfs for reading raw temp
[WARN]sensor id 6 : No temp sysfs for reading raw temp
I/O warning : failed to load external entity "/etc/thermald/thermal-conf.xml"
[WARN]error: could not parse file /etc/thermald/thermal-conf.xml
[WARN]sysfs open failed
I/O warning : failed to load external entity "/etc/thermald/thermal-conf.xml"
[WARN]error: could not parse file /etc/thermald/thermal-conf.xml
I/O warning : failed to load external entity "/etc/thermald/thermal-conf.xml"
[WARN]error: could not parse file /etc/thermald/thermal-conf.xml
As you I get some warnings and errors but thermald is running nonetheless.
 
Old 03-15-2020, 10:02 AM   #6
SLACKER1
LQ Newbie
 
Registered: Mar 2020
Posts: 22

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by average_user View Post
OK, first let's make sure that you have installed thermald from Slackbuilds.org. Show output of this command:
Code:
grep /sbin/thermald /var/log/packages/thermald-1.9-x86_64-2_SBo
It should say usr/sbin/thermald.

Second, make sure you run it with root:
Code:
$ su -
Password:

Try the Moo Shu Pork.  It is especially good today.

root@comp:~# thermald
Ready to serve requests: Daemonizing.. 1
root@comp:~# ps aux | grep '[t]hermald'
root      5720  0.0  0.0 120132  4372 ?        Ssl  15:42   0:00
thermald
Third, try with --no-daemon and check what happens:
Code:
root@comp:~# thermald --no-daemon
[WARN]13 CPUID levels; family:model:stepping 0x6:3c:3 (6:60:3)
[WARN]Polling mode is enabled: 4
[WARN]sensor id 6 : No temp sysfs for reading raw temp
[WARN]sensor id 6 : No temp sysfs for reading raw temp
[WARN]sensor id 6 : No temp sysfs for reading raw temp
I/O warning : failed to load external entity "/etc/thermald/thermal-conf.xml"
[WARN]error: could not parse file /etc/thermald/thermal-conf.xml
[WARN]sysfs open failed
I/O warning : failed to load external entity "/etc/thermald/thermal-conf.xml"
[WARN]error: could not parse file /etc/thermald/thermal-conf.xml
I/O warning : failed to load external entity "/etc/thermald/thermal-conf.xml"
[WARN]error: could not parse file /etc/thermald/thermal-conf.xml
As you I get some warnings and errors but thermald is running nonetheless.
yes.if run it with root thermald working
Code:
➜  ~ ps aux | grep '[t]hermald'
root      1743  0.0  0.0  93852  5408 ?        Ssl  18:35   0:00 thermald start
root      2497  0.0  0.0  93936  8048 pts/0    Tl   18:48   0:00 thermald --no-daemon
i have same erorr with thermald --no-daemon
Code:
root@darkstar:~# thermald --no-daemon
[WARN]13 CPUID levels; family:model:stepping 0x6:3a:9 (6:58:9)
[WARN]Polling mode is enabled: 4
[WARN]sensor id 5 : No temp sysfs for reading raw temp
[WARN]sensor id 5 : No temp sysfs for reading raw temp
[WARN]sensor id 5 : No temp sysfs for reading raw temp
I/O warning : failed to load external entity "/etc/thermald/thermal-conf.xml"
[WARN]error: could not parse file /etc/thermald/thermal-conf.xml
I/O warning : failed to load external entity "/etc/thermald/thermal-conf.xml"
[WARN]error: could not parse file /etc/thermald/thermal-conf.xml
I/O warning : failed to load external entity "/etc/thermald/thermal-conf.xml"
[WARN]error: could not parse file /etc/thermald/thermal-conf.xml
thanks for your help
now how i can set thermald start at boot?
becuse this file not available:
Code:
/etc/rc.local
and i have this problem also:
i edit grub and write this:
Code:
GRUB_CMDLINE_LINUX_DEFAULT="intel_pstate=passive acpi_osi=Linux acpi_osi='!Windows 2012' acpi=force acpi_enforce_resources=lax acpi_mask_gpe=0x17"
but not working:
Code:
➜  ~ cat /proc/cmdline    
BOOT_IMAGE=dev000:\EFI\Slackware\vmlinuz  root=/dev/sda2 vga=normal ro ro
Thanks
 
Old 03-15-2020, 10:09 AM   #7
average_user
Member
 
Registered: Dec 2010
Location: Warsaw, Poland
Distribution: Slackware
Posts: 560

Rep: Reputation: 220Reputation: 220Reputation: 220
I'm confused - if thermald is run as non-root user it emits an error:
Code:
$ thermald start
You must be root to run thermald!
Did you run 'thermald start's as root in your first post? If yes, how is it possible that you didn't get this message?
Quote:
Originally Posted by SLACKER1 View Post
and i have this problem also:
i edit grub and write this:
Code:
GRUB_CMDLINE_LINUX_DEFAULT="intel_pstate=passive acpi_osi=Linux acpi_osi='!Windows 2012' acpi=force acpi_enforce_resources=lax acpi_mask_gpe=0x17"
but not working:
Code:
➜  ~ cat /proc/cmdline    
BOOT_IMAGE=dev000:\EFI\Slackware\vmlinuz  root=/dev/sda2 vga=normal ro ro
One question at a time - start a new topic for a new problem.
 
Old 03-15-2020, 11:03 AM   #8
SLACKER1
LQ Newbie
 
Registered: Mar 2020
Posts: 22

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by average_user View Post
I'm confused - if thermald is run as non-root user it emits an error:
Code:
$ thermald start
You must be root to run thermald!
Did you run 'thermald start's as root in your first post? If yes, how is it possible that you didn't get this message?

One question at a time - start a new topic for a new problem.
In first post i use thermald with root
How to start thermald as boot?
This file not available on system /etc/rc.local
For grub i will start new topic
Thanks
 
Old 03-15-2020, 11:17 AM   #9
average_user
Member
 
Registered: Dec 2010
Location: Warsaw, Poland
Distribution: Slackware
Posts: 560

Rep: Reputation: 220Reputation: 220Reputation: 220
Quote:
Originally Posted by SLACKER1 View Post
In first post i use thermald with root
And you didn't see thermald runing but now you did exactly the same and now you see it?
Quote:
Originally Posted by SLACKER1 View Post
How to start thermald as boot?
This file not available on system /etc/rc.local
It's /etc/rc.d/rc.local, NOT /etc/rc.local.
 
Old 03-15-2020, 11:18 AM   #10
0XBF
Member
 
Registered: Nov 2018
Distribution: Slackware
Posts: 788

Rep: Reputation: 909Reputation: 909Reputation: 909Reputation: 909Reputation: 909Reputation: 909Reputation: 909Reputation: 909
I think you mean /etc/rc.d/rc.local
Its a script file that gets run at boot time. You can edit it and add custom entries to start, like your thermald application I suppose (although I've never used it).

Too slow... :P

Last edited by 0XBF; 03-15-2020 at 11:19 AM.
 
Old 03-15-2020, 12:31 PM   #11
SLACKER1
LQ Newbie
 
Registered: Mar 2020
Posts: 22

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by average_user View Post
And you didn't see thermald runing but now you did exactly the same and now you see it?

It's /etc/rc.d/rc.local, NOT /etc/rc.local.
That time i thinking thermald not working because temperature 60° to 65° and now with start thermald not different still 60° to 65°
In manjaro temperature at 50° to 55°
And i didn't know how to check services status in slackware

And for rc.local i mistake to write location file. This file not available at /etc/rc.d/
 
Old 03-15-2020, 12:33 PM   #12
SLACKER1
LQ Newbie
 
Registered: Mar 2020
Posts: 22

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by 0XBF View Post
I think you mean /etc/rc.d/rc.local
Its a script file that gets run at boot time. You can edit it and add custom entries to start, like your thermald application I suppose (although I've never used it).

Too slow... :P
File not available at this address /etc/rc.d/
You mean better not use this file?
 
Old 03-15-2020, 02:24 PM   #13
0XBF
Member
 
Registered: Nov 2018
Distribution: Slackware
Posts: 788

Rep: Reputation: 909Reputation: 909Reputation: 909Reputation: 909Reputation: 909Reputation: 909Reputation: 909Reputation: 909
The scripts in /etc/rc.d/ are installed there by the sysvinit-scripts package from slackware's 'a' series of packages. I'm not sure what you have installed if it's missing, or how you are booting slackware with that directory missing.
 
Old 03-15-2020, 04:47 PM   #14
SLACKER1
LQ Newbie
 
Registered: Mar 2020
Posts: 22

Original Poster
Rep: Reputation: Disabled
sorry

/etc/rc.d/rc.local is available

sorry my mistake.

Code:
cat /etc/rc.d/rc.local 
#!/bin/sh
#
# /etc/rc.d/rc.local:  Local system initialization script.
#
# Put any local startup commands in here.  Also, if you have
# anything that needs to be run at shutdown time you can
# make an /etc/rc.d/rc.local_shutdown script and put those
# commands in there.
now how add thermald to this file for start at boot?

Thanks
 
Old 03-15-2020, 04:57 PM   #15
average_user
Member
 
Registered: Dec 2010
Location: Warsaw, Poland
Distribution: Slackware
Posts: 560

Rep: Reputation: 220Reputation: 220Reputation: 220
You need to learn to read documentation, it will save you and other users a lot of time. There are the relevant lines from README:

Code:
Since this is a daemon, it can be started at boot via /etc/rc.d/rc.local:
  /usr/sbin/thermald

An entry could be added to /etc/rc.d/rc.local_shutdown as well:
  killall thermald
 
  


Reply



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
Error message on start up that reads System Problem Detected when i click report problem it disappears but returns the nest time I start my JDWheel Linux - Newbie 5 03-02-2020 04:37 PM
[SOLVED] Thermald fail 14.2, Round II phalange Slackware 11 01-11-2019 11:44 PM
[SOLVED] Thermald build fail Slack 14.2 phalange Slackware 3 12-07-2018 09:16 AM
I have RHEL 5.0 and MySQL start problem, my MySQL server doesn't start rsatya Linux - Enterprise 4 02-03-2009 12:04 PM
Start/stop services on start-up koyi Slackware 5 08-04-2003 08:20 AM

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

All times are GMT -5. The time now is 06:02 PM.

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
Open Source Consulting | Domain Registration