11-20-2018, 08:00 PM
(11-20-2018, 06:42 PM)tuxd3v Wrote:(11-20-2018, 03:31 PM)Drago Wrote: I tried installing the master version and still no luck.
Ok, no problem,
When you install the master branch version, what is the output you get?
I have tested with debian and with ubuntu versions, you are in DietPi, its nice if you could help me, so that I also improve compatibility with DietPi
EDIT: Also what do you get in the logs?
Check with this command:
Code:journalctl -u ats
Here's the output after trying to install the master version:
Code:
Cloning into 'ats'...
remote: Enumerating objects: 16, done.
remote: Counting objects: 100% (16/16), done.
remote: Compressing objects: 100% (15/15), done.
remote: Total 16 (delta 1), reused 6 (delta 0), pack-reused 0
Receiving objects: 100% (16/16), 95.96 KiB | 0 bytes/s, done.
Resolving deltas: 100% (1/1), done.
Warning: variable CFLAGS was not passed in build_variables
gcc -c -march=armv8-a+crc -mtune=cortex-a72.cortex-a53 -fPIC -Wall -Werror -O3 -g -I/usr/include/lua5.3 -o src/ats.o src/ats.c
gcc -shared -Wl,-soname,ats.so.0 -llua5.3 -o ats.so.0.2 src/ats.o
Install ATS Tool ..................: ats in /usr/local/sbin
Install ATS Service File ..........: ats.service in systemd
Remove previous ATS Library .......: ats.so.* from /usr/local/lib/lua/5.3
Install new ATS Library ...........: ats.so.0.2 in /usr/local/lib/lua/5.3
Create soname symLink .............: ats.so in /usr/local/lib/lua/5.3
Starting ATS Service..
\u25cf ats.service - ATS - Active Thermal Service
Loaded: loaded (/lib/systemd/system/ats.service; enabled; vendor preset: enab
led)
Active: activating (auto-restart) (Result: exit-code) since Tue 2018-11-20 20
:51:53 EST; 1s ago
Process: 16998 ExecStart=/usr/local/sbin/ats (code=exited, status=1/FA
ILURE)
Main PID: 16998 (code=exited, status=1/FAILURE)
Nov 20 20:51:53 DietPi systemd[1]: ats.service: Failed with result 'exit
-code'.
Makefile:46: recipe for target 'install' failed
make: *** [install] Error 3
Error: Build error: Failed installing.
And here's what I get in the logs:
Code:
Nov 20 20:58:43 DietPi ats[17492]: exit 1
Nov 20 20:58:43 DietPi systemd[1]: ats.service: Main process exited, code=exited, status=1/FAILURE
Nov 20 20:58:43 DietPi systemd[1]: ats.service: Unit entered failed state.
Nov 20 20:58:43 DietPi systemd[1]: ats.service: Failed with result 'exit-code'.
Nov 20 20:58:51 DietPi systemd[1]: ats.service: Service hold-off time over, scheduling restart.
Nov 20 20:58:51 DietPi systemd[1]: Stopped ATS - Active Thermal Service.
Nov 20 20:58:51 DietPi systemd[1]: Started ATS - Active Thermal Service.
Nov 20 20:58:51 DietPi ats[17503]: getConditions: Warning, Values { THERMAL0_CTL, THERMAL1_CTL, FAN_CTL }: /sys/class/thermal/thermal_zone0/temp, /sys/class/
thermal/thermal_zone1/temp, ERROR