Rodrigo Matias Posted July 11, 2018 Share Posted July 11, 2018 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 Link to comment Share on other sites More sharing options...
tkaiser Posted July 11, 2018 Share Posted July 11, 2018 Can you provide the output of the following please: ls -la /etc/armbianmonitor/datasources/soctemp cat /etc/armbianmonitor/datasources/soctemp armbianmonitor -u Link to comment Share on other sites More sharing options...
Rodrigo Matias Posted July 11, 2018 Author Share Posted July 11, 2018 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 Link to comment Share on other sites More sharing options...
tkaiser Posted July 11, 2018 Share Posted July 11, 2018 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 Link to comment Share on other sites More sharing options...
lzb Posted April 25, 2019 Share Posted April 25, 2019 Sorry for grave digging, but I have the same error messages in BananaPi M1: root@bananapi:~# armbianmonitor -m >> armmon.log /usr/bin/armbianmonitor: line 385: read: read error: 0: Connection timed out /usr/bin/armbianmonitor: line 386: [: 43.5: integer expression expected /usr/bin/armbianmonitor: line 385: read: read error: 0: Connection timed out /usr/bin/armbianmonitor: line 386: [: 43.3: integer expression expected /usr/bin/armbianmonitor: line 385: read: read error: 0: Connection timed out /usr/bin/armbianmonitor: line 386: [: 43.2: integer expression expected /usr/bin/armbianmonitor: line 385: read: read error: 0: Connection timed out /usr/bin/armbianmonitor: line 386: [: 43.2: integer expression expected /usr/bin/armbianmonitor: line 385: read: read error: 0: Connection timed out /usr/bin/armbianmonitor: line 386: [: 43.4: integer expression expected /usr/bin/armbianmonitor: line 385: read: read error: 0: Connection timed out /usr/bin/armbianmonitor: line 386: [: 43.4: integer expression expected *snip* root@bananapi:~# dmesg | tail [74843.472544] thermal thermal_zone0: failed to read out thermal zone (-110) [74961.592838] thermal thermal_zone0: failed to read out thermal zone (-110) [80058.430841] thermal thermal_zone0: failed to read out thermal zone (-110) [81036.963935] thermal thermal_zone0: failed to read out thermal zone (-110) [83488.688937] thermal thermal_zone0: failed to read out thermal zone (-110) [84273.576483] thermal thermal_zone0: failed to read out thermal zone (-110) [85252.109538] thermal thermal_zone0: failed to read out thermal zone (-110) [85553.122760] thermal thermal_zone0: failed to read out thermal zone (-110) [85660.618355] thermal thermal_zone0: failed to read out thermal zone (-110) [86133.835726] thermal thermal_zone0: failed to read out thermal zone (-110) root@bananapi:~# armbianmonitor -u System diagnosis information will now be uploaded to http://ix.io/1HbP Please post the URL in the forum where you've been asked for. Not that I care about those errors, but maybe it can be pushed to fix some bug. I'm running armbianmonitor >> file because my BananaPi setup has small uptime (like, it freezes and I need to restart it - that's another story). PS Keep up the good work on Armbian! Link to comment Share on other sites More sharing options...
Igor Posted April 25, 2019 Share Posted April 25, 2019 30 minutes ago, lzb said: Not that I care about those errors, but maybe it can be pushed to fix some bug. Hmm, from some strange reason, your temperature is not read ... I can't reproduce this error on none of my A20 boards, which are on my desk. None of them is M1, but they are very similar. All work fine. 31 minutes ago, lzb said: Keep up the good work on Armbian! Thanks and welcome to join. Link to comment Share on other sites More sharing options...
guidol Posted April 25, 2019 Share Posted April 25, 2019 3 hours ago, lzb said: Sorry for grave digging, but I have the same error messages in BananaPi M1: Not that I care about those errors, but maybe it can be pushed to fix some bug. I'm running armbianmonitor >> file because my BananaPi setup has small uptime (like, it freezes and I need to restart it - that's another story). PS Keep up the good work on Armbian! I did test a fresh compiled armbian-stretch mainline without any problems - much cooler and mine does show 4.94V-4.97V not 4.76V login as: root root@192.168.6.120's password: ____ ____ _ | __ ) __ _ _ __ __ _ _ __ __ _ | _ \(_) | _ \ / _` | '_ \ / _` | '_ \ / _` | | |_) | | | |_) | (_| | | | | (_| | | | | (_| | | __/| | |____/ \__,_|_| |_|\__,_|_| |_|\__,_| |_| |_| Welcome to ARMBIAN 5.83 user-built Debian GNU/Linux 9 (stretch) 4.19.36-sunxi package bsp-kernel[5.83] u-boot[5.83] dtb[5.83] firmware[5.83] config[5.83] System load: 1.64 0.44 0.15 Up time: 0 min Memory usage: 5 % of 997MB IP: 192.168.6.120 CPU temp: 35°C Usage of /: 13% of 7.2G [ General system configuration (beta): armbian-config ] Last login: Thu Apr 25 22:05:22 2019 from 192.168.6.17 root@bpi-m1(192.168.6.120):~# armbianmonitor -m Stop monitoring using [ctrl]-[c] Time CPU load %cpu %sys %usr %nice %io %irq CPU PMIC DC-IN C.St. 22:25:11: 960MHz 1.53 50% 24% 23% 0% 2% 0% 33.8°C 37.5°C 4.97V 0/6 22:25:16: 960MHz 1.49 7% 6% 0% 0% 0% 0% 33.7°C 37.2°C 4.96V 0/6 22:25:22: 960MHz 1.33 11% 10% 0% 0% 0% 0% 33.8°C 37.1°C 4.97V 0/6 22:25:28: 528MHz 1.31 6% 6% 0% 0% 0% 0% 33.7°C 37.0°C 4.97V 0/6 22:25:33: 960MHz 1.20 10% 10% 0% 0% 0% 0% 33.4°C 37.1°C 4.94V 0/6 22:25:39: 528MHz 1.10 7% 6% 0% 0% 0% 0% 33.7°C 36.7°C 4.97V 0/6 22:25:44: 528MHz 1.02 11% 10% 0% 0% 0% 0% 33.8°C 36.9°C 4.97V 0/6 22:25:50: 960MHz 0.93 8% 7% 0% 0% 0% 0% 33.7°C 36.8°C 4.97V 0/6 22:25:55: 960MHz 1.02 11% 11% 0% 0% 0% 0% 33.6°C 36.7°C 4.97V 0/6 22:26:01: 960MHz 0.94 23% 15% 8% 0% 0% 0% 34.1°C 36.9°C 4.96V 0/6 22:26:06: 528MHz 0.86 14% 13% 0% 0% 0% 0% 33.7°C 36.8°C 4.97V 0/6 22:26:12: 960MHz 0.88 7% 6% 0% 0% 0% 0% 33.6°C 36.8°C 4.96V 0/6 22:26:17: 960MHz 0.81 14% 13% 0% 0% 0% 0% 33.5°C 36.6°C 4.97V 0/6 22:26:23: 528MHz 0.74 10% 9% 0% 0% 0% 0% 33.7°C 36.8°C 4.97V 0/6 and with conservative-governor: Time CPU load %cpu %sys %usr %nice %io %irq CPU PMIC DC-IN C.St. 22:58:46: 528MHz 0.43 13% 8% 4% 0% 0% 0% 31.8°C 33.6°C 4.98V 0/6 22:58:51: 528MHz 0.39 7% 7% 0% 0% 0% 0% 31.5°C 33.5°C 4.98V 0/6 22:58:57: 528MHz 0.44 11% 11% 0% 0% 0% 0% 31.4°C 33.5°C 4.98V 0/6 22:59:02: 528MHz 0.49 7% 7% 0% 0% 0% 0% 31.4°C 33.3°C 4.97V 0/6 22:59:08: 528MHz 0.45 12% 11% 0% 0% 0% 0% 31.7°C 33.7°C 4.98V 0/6 22:59:14: 528MHz 0.49 7% 7% 0% 0% 0% 0% 31.5°C 33.6°C 4.98V 0/6 22:59:19: 528MHz 0.57 12% 11% 0% 0% 0% 0% 31.2°C 33.3°C 4.98V 0/6 22:59:25: 528MHz 0.52 7% 7% 0% 0% 0% 0% 31.4°C 33.7°C 4.98V 0/6 22:59:31: 528MHz 0.48 11% 11% 0% 0% 0% 0% 31.5°C 33.4°C 4.98V 0/6 22:59:36: 528MHz 0.44 7% 7% 0% 0% 0% 0% 31.3°C 33.5°C 4.98V 0/6 22:59:43: 528MHz 0.40 9% 8% 0% 0% 0% 0% 31.4°C 33.4°C 4.98V 0/6 22:59:48: 528MHz 0.37 12% 11% 0% 0% 0% 0% 31.5°C 33.7°C 4.97V 0/6 22:59:54: 528MHz 0.47 7% 7% 0% 0% 0% 0% 31.2°C 33.4°C 4.97V 0/6 22:59:59: 528MHz 0.43 12% 11% 0% 0% 0% 0% 31.3°C 33.6°C 4.98V 0/6 So maybe the bugs are alread fixed in the newer versions? Link to comment Share on other sites More sharing options...
lzb Posted April 26, 2019 Share Posted April 26, 2019 @guidol I can spot some difference in uptime and "a board just booted" and "a board with some uptime doing things". My is running urbackup (mostly active two or three times a day) and nextcloud (mostly idle at the moment). I had issues running this setup for more than 24h (freezes), but it seems to improve: root@bananapi:~# uptime 08:56:57 up 2 days, 8:13, 3 users, load average: 0.59, 0.56, 0.55 And current uptime is still growing after some serious testing (running stress, running btrfs scrub and btrfs balance to simulate "typical" workload). 11 hours ago, guidol said: much cooler and mine does show 4.94V-4.97V not 4.76V Not sure where this 4.76V came from? (cant see it in the uploaded log) I've changed governor and min_freq as the board is idle most of the time (as mentioned above). I think that my power supply isnt that bad: root@bananapi:~# grep -v Time armmon.log | cut -d\. -f1,4,5 | cut -d\ -f8 | sed '/^$/d' | sort | uniq -c 1 4.84V 1 4.85V 6 4.86V 2 4.87V 6 4.88V 24 4.89V 32 4.90V 69 4.91V 107 4.92V 85 4.93V 210 4.94V 335 4.95V 339 4.96V 458 4.97V 929 4.98V 1739 4.99V 3566 5.00V 7853 5.01V 8978 5.02V 7890 5.03V 2703 5.04V 367 5.05V 21 5.06V root@bananapi:~# wc -l armmon.log 38129 armmon.log I sure can try newer kernel if that can help. I can also ignore it as my uptime finally hit over 24h, but would be nice to solve that bug. Link to comment Share on other sites More sharing options...
lzb Posted May 8, 2019 Share Posted May 8, 2019 A little update, as I've updated and rebooted the board, but it's still here: root@bananapi:~# armbianmonitor -m >> armmon.log /usr/bin/armbianmonitor: line 385: read: read error: 0: Connection timed out /usr/bin/armbianmonitor: line 386: [: 43.2: integer expression expected /usr/bin/armbianmonitor: line 385: read: read error: 0: Connection timed out /usr/bin/armbianmonitor: line 386: [: 43.0: integer expression expected /usr/bin/armbianmonitor: line 385: read: read error: 0: Connection timed out /usr/bin/armbianmonitor: line 386: [: 43.1: integer expression expected /usr/bin/armbianmonitor: line 385: read: read error: 0: Connection timed out /usr/bin/armbianmonitor: line 386: [: 43.0: integer expression expected /usr/bin/armbianmonitor: line 385: read: read error: 0: Connection timed out /usr/bin/armbianmonitor: line 386: [: 42.9: integer expression expected /usr/bin/armbianmonitor: line 385: read: read error: 0: Connection timed out *snip* root@bananapi:~# dmesg *snip* [216532.441032] thermal thermal_zone0: failed to read out thermal zone (-110) [216618.559142] thermal thermal_zone0: failed to read out thermal zone (-110) [217500.285255] thermal thermal_zone0: failed to read out thermal zone (-110) [217887.448338] thermal thermal_zone0: failed to read out thermal zone (-110) [218005.568728] thermal thermal_zone0: failed to read out thermal zone (-110) [218091.686665] thermal thermal_zone0: failed to read out thermal zone (-110) [218295.924984] thermal thermal_zone0: failed to read out thermal zone (-110) [218392.699797] thermal thermal_zone0: failed to read out thermal zone (-110) [218478.817813] thermal thermal_zone0: failed to read out thermal zone (-110) [218876.637673] thermal thermal_zone0: failed to read out thermal zone (-110) [219080.876099] thermal thermal_zone0: failed to read out thermal zone (-110) [219274.425570] thermal thermal_zone0: failed to read out thermal zone (-110) [219371.232445] thermal thermal_zone0: failed to read out thermal zone (-110) [219554.125184] thermal thermal_zone0: failed to read out thermal zone (-110) [219672.245547] thermal thermal_zone0: failed to read out thermal zone (-110) [219962.601960] thermal thermal_zone0: failed to read out thermal zone (-110) [220156.183531] thermal thermal_zone0: failed to read out thermal zone (-110) root@bananapi:~# uname -a Linux bananapi 4.19.38-sunxi #5.83 SMP Fri May 3 18:05:49 CEST 2019 armv7l GNU/Linux root@bananapi:~# armbianmonitor -u System diagnosis information will now be uploaded to http://ix.io/1Ipx Please post the URL in the forum where you've been asked for. Link to comment Share on other sites More sharing options...
Igor Posted May 8, 2019 Share Posted May 8, 2019 50 minutes ago, lzb said: A little update, as I've updated and rebooted the board, but it's still here: Only kernel received an update, board support package is building atm. Link to comment Share on other sites More sharing options...
Recommended Posts