0
Rodrigo Matias

armbianmonitor error

Recommended Posts

Hi,

 

I have some armbian 5.38 (kernel 4.11.5) installations and recently updated them. With this update I got kernel 4.14.18.

When I executed command "armbianmonitor -m" I used to get something like this:

 

:~# armbianmonitor -m

Stop monitoring using [ctrl]-[c]

Time        CPU    load %cpu %sys %usr %nice %io %irq   CPU   PMIC

10:52:13:  528MHz  0.35  21%   2%  18%   0%   0%   0% 40.8°C 41.0°C

10:52:18:  528MHz  0.52  21%   2%  18%   0%   0%   0% 40.7°C 41.0°C

10:52:24:  528MHz  0.47  21%   2%  18%   0%   0%   0% 40.7°C 41.0°C

 

Now after update, and kernel 4.14.18 among other new packets, I got this:

 

:~# armbianmonitor -m

Stop monitoring using [ctrl]-[c]

Time        CPU    load %cpu %sys %usr %nice %io %irq   CPU   PMIC   DC-IN  C.St.

 

08:53:25:  720MHz  0.88  46%  12%  33%   0%   0%   0% 57.5°C 59.3°C   4.76V  0/6

08:53:31:  720MHz  1.19  21%   6%  14%   0%   0%   0%/usr/bin/armbianmonitor: line 351: read: read error: 0: Connection timed out

/usr/bin/armbianmonitor: line 352: [: 57.5: integer expression expected

 57.5°C 59.0°C   4.76V  0/6

08:53:39:  720MHz  1.09  21%   6%  14%   0%   0%   0%/usr/bin/armbianmonitor: line 351: read: read error: 0: Connection timed out

/usr/bin/armbianmonitor: line 352: [: 57.5: integer expression expected

 57.5°C 59.3°C   4.77V  0/6

08:53:45:  720MHz  1.30  21%   6%  14%   0%   0%   0%^C/usr/bin/armbianmonitor: line 351: read: read error: 0: Connection timed out

 

Are there any broken links among the files that this command looks for or other bugs?

I also realised that now CPU frequency is higher and cpu temperature. Nothing as changed and behaviour is completely different.

 

Any help is appreciated! Thanks.

 

Regards,

Rodrigo Matias

 

 

Share this post


Link to post
Share on other sites

Hi,

 

I exceuted your commands. Result was:

 

:~# ls -la /etc/armbianmonitor/datasources/soctemp
lrwxrwxrwx 1 root root 47 Sep 22  2017 /etc/armbianmonitor/datasources/soctemp -> /sys/devices/virtual/thermal/thermal_zone0/temp
:~# cat /etc/armbianmonitor/datasources/soctemp
cat: /etc/armbianmonitor/datasources/soctemp: Connection timed out
:~# armbianmonitor -u
System diagnosis information will now be uploaded to /usr/bin/armbianmonitor: line 351: read: read error: 0: Connection timed out
/usr/bin/armbianmonitor: line 352: [: -ge: unary operator expected
/usr/bin/armbianmonitor: line 351: read: read error: 0: Connection timed out
/usr/bin/armbianmonitor: line 352: [: -ge: unary operator expected
/usr/bin/armbianmonitor: line 351: read: read error: 0: Connection timed out
/usr/bin/armbianmonitor: line 352: [: -ge: unary operator expected
/usr/bin/armbianmonitor: line 351: read: read error: 0: Connection timed out
/usr/bin/armbianmonitor: line 352: [: 57.6: integer expression expected
/usr/bin/armbianmonitor: line 351: read: read error: 0: Connection timed out
/usr/bin/armbianmonitor: line 352: [: -ge: unary operator expected
/usr/bin/armbianmonitor: line 1: echo: write error: Broken pipe

 

Thanks,

Rodrigo Matias

 

Share this post


Link to post
Share on other sites
42 minutes ago, Rodrigo Matias said:

cat: /etc/armbianmonitor/datasources/soctemp: Connection timed out

 

Never seen this before but obviously thermal readouts are (once again) broken for whatever reasons after a kernel update. I already added code to better cope with this but seems it doesn't work in this situation.

 

Log upload failed due to this timeout issue (how long does it take until the command gets back with that error message?) so could you please do the following instead (capital U this time) and upload the results to https://pastebin.com?

armbianmonitor -U

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
0