Homoran Posted May 2, 2017 Posted May 2, 2017 Hi to all, sorry if it is already described anywhere. I found some similar issues but no solution, except ...has to be modified.. or anything similar. Two days ago I updated my Armbian Jessie server on may Cubietruck with apt-get update && apt-get upgrade After that my homeautomation didn't show the SoC temperature any more. first I looked for an error in the software, then after a lot of reboots I noticed the temperature also missing in the armbian startscreen. The command cat /sys/devices/virtual/thermal/thermal_zone0/temp was responsed by cat: /sys/devices/virtual/thermal/thermal_zone0/temp: Invalid argument a commit of tkaiser I found at github (Adjust thermal readouts) but it didn't really help me even the Armbianmonitor says: cubie@ioBroker-Cubie:~$ sudo armbianmonitor -m Stop monitoring using [ctrl]-[c] Time CPU load %cpu %sys %usr %nice %io %irq CPU 18:25:43: 864MHz 2.75 34% 4% 22% 0% 6% 0%/usr/bin/armbianmonitor: line 274: read: read error: 0: Invalid argument /usr/bin/armbianmonitor: line 275: [: -ge: unary operator expected It was working fine for months: Thanks for any help Rainer
Igor Posted May 2, 2017 Posted May 2, 2017 Well, you are using bleeding edge kernel v4.10.12 which can be found only in self build or nightly images. Not recommended for production usage, even tagged with "stable". It looks like regression in kernel - I also noticed. I am sure this will be solved when possible.
zador.blood.stained Posted May 2, 2017 Posted May 2, 2017 @Igor I see 4.10.12 in the stable repository for some reason. Did you push an update accidentally? apt.armbian.com file timestamps are 27 Apr
Igor Posted May 2, 2017 Posted May 2, 2017 Just now, zador.blood.stained said: I see 4.10.12 in the stable repository for some reason. Did you push an update accidentally? apt.armbian.com file timestamps are 27 Apr Upps. I recreate the repository that day and added hostapd ... this kernel fall in by mistake
Homoran Posted May 2, 2017 Author Posted May 2, 2017 Hello Igor, 9 minutes ago, Igor said: you are using bleeding edge kernel v4.10.12 which can be found only in self build or nightly images As Zador.blood.stained mentioned. I didn't do any such things ;-)
Igor Posted May 2, 2017 Posted May 2, 2017 I made new repository handling scripts and those two files were added for testing purposes but I forgot to remove them ... well, I'll fix this. Sorry for troubles.
Homoran Posted May 2, 2017 Author Posted May 2, 2017 8 minutes ago, Igor said: Sorry for troubles. No Problem! So I will revert this by doingt apt-get update && apt-get-upgrade again? Or will I have to do something else? Greets Rainer
Igor Posted May 2, 2017 Posted May 2, 2017 Just now, Homoran said: So I will revert this by doingt apt-get update && apt-get-upgrade again? Yes, only that.
zador.blood.stained Posted May 2, 2017 Posted May 2, 2017 38 minutes ago, Homoran said: So I will revert this by doingt apt-get update && apt-get-upgrade again? No. Once repository is fixed you will need to remove and reinstall the kernel (obviously without rebooting) 37 minutes ago, Igor said: Yes, only that. Downgrade won't be forced if installed package version is higher than in the repository.
Igor Posted May 2, 2017 Posted May 2, 2017 1 minute ago, zador.blood.stained said: Downgrade won't be forced if installed package version is higher than in the repository. Ofc. Previous packaged version is 4.9.7 ... now I am trying to find out when temperature stopped working ... I know it's probably more than that, but what is the best way to go from such case? Simply reverting to 4.9.7 with new package version or invest some time? 4.9.25 has broken temp reading too. That's all I found out.
zador.blood.stained Posted May 2, 2017 Posted May 2, 2017 I remember there were updates related to a conflict between the touchscreen driver and the thermal driver, so after we switch to 4.11.x I'll check the kernel config and will make some tests.
Homoran Posted May 12, 2017 Author Posted May 12, 2017 Just to ask, is there a solution in sight. Thanks again Rainer
Zvone Posted June 1, 2017 Posted June 1, 2017 Hello everbody. Well, it seams that I have also managed to upgrade to 4.10.12 but didn't saw until now that temperature is missing. How to downgrade or "update" to the last version in repository if it is lower then installed? Tried downgrading with the script mentioned in other posts but no luck. zvone@orangepi:~$ wget -q -O - http://upgrade.armbian.com | bash bash: line 1: syntax error near unexpected token `newline' bash: line 1: `<!DOCTYPE html>' zvone@orangepi:~$
Zvone Posted June 6, 2017 Posted June 6, 2017 To answer to my self, in case someone has the same problem and same lack of experience. First remove kernel package: sudo apt-get remove linux-image-next-sunxi This removes v4.10.12, and then (no reboot), install same package (at the moment this installs v4.9.12): sudo apt-get install linux-image-next-sunxi After reboot I have CPU temperature reading.
Recommended Posts