Thinkfan - how to configure?

If you are new to Linux or new to Sabayon Linux and just not sure where to post, here ya go. Post without fear of being told to RTFM :)

Moderator: Moderators

kris-kris
Baby Hen
Posts: 19
Joined: Mon May 04, 2020 19:45
Location: Poland, Warsaw

Re: Thinkfan - how to configure?

Post by kris-kris » Fri May 22, 2020 15:48

I combine as much as I can and I understand the instructions and I can't run Thinkfan. I don't have good English and Linux, so it's possible that I'm doing something wrong because I misunderstood.
I do not understand the error information on the terminal.

I don't know what's wrong with this file or how it should be. ERROR: /etc/thinkfan.conf: Invalid entryInvalid entry. Anyone have any idea? Does it work for someone? Enter your entry in this file, I will copy and paste it at home and see if it works.

Code: Select all

$ sudo thinkfan -q                             
Hasło: 

ERROR: Unhandled thinkfan::Bug: Segmentation fault..
errno = No such file or directory.
Backtrace:
thinkfan(+0x2f453) [0x563cec6c6453]
thinkfan(thinkfan::handle_uncaught()+0x18f) [0x563cec6c6f0f]
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/libstdc++.so.6(+0xb7486) [0x7f6b9c49e486]
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/libstdc++.so.6(+0xb64e9) [0x7f6b9c49d4e9]
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/libstdc++.so.6(__gxx_personality_v0+0x2e8) [0x7f6b9c49de98]
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/libgcc_s.so.1(+0x10d73) [0x7f6b9c3ddd73]
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/libgcc_s.so.1(_Unwind_RaiseException+0x2b1) [0x7f6b9c3de2d1]
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/libstdc++.so.6(__cxa_throw+0x37) [0x7f6b9c49e6e7]
thinkfan(thinkfan::sig_handler(int)+0x10a) [0x563cec6b0caa]
/lib64/libc.so.6(+0x39100) [0x7f6b9c230100]
thinkfan(YAML::convert<YAML::wtf_ptr<thinkfan::Config> >::decode(YAML::Node const&, YAML::wtf_ptr<thinkfan::Config>&)+0x5b) [0x563cec6c8d4b]
thinkfan(thinkfan::Config::try_read_config(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)+0x261) [0x563cec6b5cf1]
thinkfan(thinkfan::Config::read_config(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&)+0x2a) [0x563cec6b717a]
thinkfan(main+0x1f9) [0x563cec6afb99]
/lib64/libc.so.6(__libc_start_main+0xeb) [0x7f6b9c21ae4b]
thinkfan(_start+0x2a) [0x563cec6b098a]

This is probably a bug. Please consider reporting this at https://github.com/vmatare/thinkfan/issues. Thanks.
Przerwane

Edit: 29.07.2020

Code: Select all

# systemctl status thinkfan.service
● thinkfan.service - Thinkfan, the minimalist fan control program
   Loaded: loaded (/lib/systemd/system/thinkfan.service; enabled; vendor preset: enabled)
  Drop-In: /etc/systemd/system/thinkfan.service.d
           └─override.conf
   Active: failed (Result: exit-code) since Wed 2020-07-29 08:32:56 CEST; 17s ago
  Process: 18351 ExecStart=/usr/sbin/thinkfan $THINKFAN_ARGS (code=exited, status=1/FAILURE)

lip 29 08:32:56 sabayon systemd[1]: Starting Thinkfan, the minimalist fan control program...
lip 29 08:32:56 sabayon thinkfan[18351]: ERROR: /etc/thinkfan.conf: Invalid entryInvalid entry.
lip 29 08:32:56 sabayon systemd[1]: thinkfan.service: Control process exited, code=exited, status=1/FAILURE
lip 29 08:32:56 sabayon systemd[1]: thinkfan.service: Failed with result 'exit-code'.
lip 29 08:32:56 sabayon systemd[1]: Failed to start Thinkfan, the minimalist fan control program.

Code: Select all

# journalctl -xe
-- 
-- Identyfikator zadania: 4356.
lip 29 08:32:56 sabayon thinkfan[18351]: ERROR: /etc/thinkfan.conf: Invalid entryInvalid entry.
lip 29 08:32:56 sabayon systemd[1]: thinkfan.service: Control process exited, code=exited, status=1/FAILURE
-- Subject: Proces jednostki zakończył działanie
-- Defined-By: systemd
-- Support: https://gentoo.org/support/
-- 
-- Proces ExecStart= należący do jednostki thinkfan.service zakończył działanie.
-- 
-- Kod wyjścia procesu: „exited”, jego stan wyjścia: 1.
lip 29 08:32:56 sabayon systemd[1]: thinkfan.service: Failed with result 'exit-code'.
-- Subject: Jednostka się nie powiodła
-- Defined-By: systemd
-- Support: https://gentoo.org/support/
-- 
-- Jednostka thinkfan.service przeszła do stanu „failed” (niepowodzenia)
-- z wynikiem „exit-code”.
lip 29 08:32:56 sabayon systemd[1]: Failed to start Thinkfan, the minimalist fan control program.
-- Subject: Zadanie uruchamiania dla jednostki thinkfan.service się nie powiodło
-- Defined-By: systemd
-- Support: https://gentoo.org/support/
-- 
-- Zadanie uruchamiania dla jednostki thinkfan.service zostało ukończone z niepowodzeniem.
-- 
-- Identyfikator zadania: 4356, wynik zadania: failed.
lip 29 08:33:21 sabayon wpa_supplicant[765]: wlp2s0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-52 noise=9999 txrate=65000

Code: Select all

~ $ sudo /usr/sbin/thinkfan
Hasło: 

ERROR: /etc/thinkfan.conf: Invalid entryInvalid entry.

Code: Select all

~ $ sudo thinkfan -q

ERROR: /etc/thinkfan.conf: Invalid entryInvalid entry.

Post Reply