Jump to content

Cubietruck SoC temperature vanished


Homoran

Recommended Posts

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.

SOC_Temp01.jpg.8624305464043b2a24b55c9b04be971c.jpg

 

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.

SOC_Temp02.jpg.9f553b685edb931c0d9f6b40e17ba9ee.jpg

 

 

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:

03a_Master.thumb.jpg.e6962d7d0a180aaa5dc3afe0184ce231.jpg

 

 

Thanks for any help

Rainer

 

 

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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 :( 

Link to comment
Share on other sites

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 ;-)

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

 

Just now, Homoran said:

So I will revert this by doingt apt-get update && apt-get-upgrade again?

 

Yes, only that.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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:~$ 

 

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines