View: 28050|Reply: 58

CPU3 killed off for thermal budget?

[Copy link]

2

threads

9

posts

82

credits

Registered member

Rank: 2

credits
82
Published in 2015-5-6 01:00:09 | Show all floors |Read mode
Hi folks, I've managed to get my Orange Pi Plus to boot up using the Raspbian image, but I'm seeing some odd messages in dmesg:
[   12.240082] CPU Budget: Temperature: 71 Limit state:1 item[1200000,3,-1,0 0]
[   12.240096] CPU Budget:Try to down cpu 3, cluster0 online 4, limit 3
[   12.241068] CPU3: shutdown
[   12.241088] [hotplug]: cpu(0) try to kill cpu(3)
[   12.242156] [hotplug]: cpu3 is killed! .
[   12.243116] [ddrfreq] temperature=71 C, ddr freq up
[   12.243150] CPU Budget:update CPU 0 cpufreq max to 1200000 min to 480000
[   12.535813] [DISP] disp_ioctl,line:1322:para err in disp_ioctl, cmd = 0x0,screen id = 65536
[   13.250053] CPU Budget: Temperature: 63 Limit state:0 item[1200000,4,-1,0 0]
[   13.250072] [ddrfreq] temperature=63 C, ddr freq up
[   13.250109] CPU Budget:update CPU 0 cpufreq max to 1200000 min to 480000

So it's killing off one of the cores because its over temperature. I can verify this by looking in /proc/cpuinfo:
root@orangepi:~# less /proc/cpuinfo
Processor       : ARMv7 Processor rev 5 (v7l)
processor       : 0
BogoMIPS        : 4800.00

processor       : 1
BogoMIPS        : 4800.00

processor       : 2
BogoMIPS        : 4800.00

Features        : swp half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xc07
CPU revision    : 5

Hardware        : sun8i
Revision        : 0000
Serial          : 34005190070010350c8c

Any ideas? Do I need to fit a little heatsink to the CPU?  I have placed the full dmesg output here:  https://gist.github.com/nickludlam/a84585ce257ee4b15256

3

threads

84

posts

274

credits

Intermediate member

Rank: 3Rank: 3

credits
274
Published in 2015-5-6 05:26:58 | Show all floors
I doubt the thermistor would lie.... but

There is two possibilities here.

1. The system is set to use a different thermistor thus the load difference is screwing up the reading and saying its high.

2. The thermistor isnt lieing. In which cause those temps are HIGH ASF. If thats the case buy some artic alumina and a copper heatsink that will fit and paste that baby on.

It shouldnt get that hot that instantly, so im pretty sure its the case of the thermistor not being set correctly in the Raspian image.

But I could be wrong about all of that. Just speculation

2

threads

9

posts

82

credits

Registered member

Rank: 2

credits
82
 Author| Published in 2015-5-6 17:55:56 | Show all floors
Thanks KingNyx, I think you're right about it being a bug. The Debian image doesn't exhibit the same problem so I'm going to stick with running that for now.

0

threads

5

posts

45

credits

Novice

Rank: 1

credits
45
Published in 2015-5-7 14:15:10 | Show all floors
nickludlam replied at 2015-5-6 17:55
Thanks KingNyx, I think you're right about it being a bug. The Debian image doesn't exhibit the same ...

I had bought Orange Pi Plus and I have the same problem with Debian and Raspbian.
CPU Budget: Temperature: 73 Limit state:1 item[1200000,3,-1,0 0]
[67060.240105] CPU Budget:Try to down cpu 3, cluster0 online 4, limit 3
[67060.241096] CPU3: shutdown
[67060.241136] [hotplug]: cpu(0) try to kill cpu(3)
[67060.242205] [hotplug]: cpu3 is killed! .


2

threads

9

posts

82

credits

Registered member

Rank: 2

credits
82
 Author| Published in 2015-5-7 20:18:24 | Show all floors
Yeah I can confirm this has now happened to me in the Debian image too. It looks like the board might need a small heatsink.

0

threads

4

posts

54

credits

Registered member

Rank: 2

credits
54
Published in 2015-6-3 17:56:14 | Show all floors
It happen to my Orange Pi Plus too, cpu3 & cpu2 killed!. Agree with KingNyx might be problem with thermistor configuration.

0

threads

4

posts

54

credits

Registered member

Rank: 2

credits
54
Published in 2015-6-4 06:57:49 | Show all floors
Cpu3 & Cpu2 was killed with my Raspbian image

[  483.240081] CPU Budget: Temperature: 70 Limit state:1 item[1200000,3,-1,0 0]
[  483.240097] CPU Budget:Try to down cpu 3, cluster0 online 4, limit 3
[  483.241123] CPU3: shutdown
[  483.241140] [hotplug]: cpu(0) try to kill cpu(3)
[  483.242207] [hotplug]: cpu3 is killed! .
[  483.266544] [ddrfreq] temperature=70 C, ddr freq up
[  483.266589] CPU Budget:update CPU 0 cpufreq max to 1200000 min to 480000
[  483.770068] CPU Budget: Temperature: 80 Limit state:2 item[1200000,2,-1,0 0]
[  483.770087] CPU Budget:Try to down cpu 2, cluster0 online 3, limit 2
[  483.771230] CPU2: shutdown
[  483.771252] [hotplug]: cpu(0) try to kill cpu(2)
[  483.772321] [hotplug]: cpu2 is killed! .

0

threads

4

posts

54

credits

Registered member

Rank: 2

credits
54
Published in 2015-6-4 10:13:09 | Show all floors
zhao_steven, any solution for this problem?

11

threads

30

posts

50

credits

Registered member

Rank: 2

credits
50
Published in 2015-7-10 13:53:18 | Show all floors
Isn't OrangePiPlus supposed to be quad core?

`top` then pressing '1' shows Cpu0 Cpu1 Cpu2... No Cpu3 or higher; after the reboot, it now shows Cpu3
`nproc` shows '3'; after the reboot it now shows '4'
`lscpu` shows 'CPU(s):4', even before reboot
`cat /sys/class/thermal/thermal_zone0/temp /sys/class/thermal/thermal_zone1/temp` shows 2 cpu temperatures
`cat /sys/class/thermal/thermal_zone2/temp` says 'cat: /sys/class/thermal/thermal_zone2/temp: No such file or directory'

What's the maximum temperature safe for the OrangePiPlus to reach without shutting down cores?

1

threads

5

posts

589

credits

Senior member

Rank: 4

credits
589
Published in 2015-7-14 16:26:21 | Show all floors
I think the zone temp readings are for zones on the motherboard, not cpu cores.

I have 2 OPi+  both with heatsinks, one with a ceramic heatsink that are used on the RPi and A20 and a 14mm square x 10mm high aluminium finned one.
The ceramic one is running at 51c and the aluminium one at 38c. Both boards have all 4 cores enabled and running. The one with the ceramic heatsink and the higher temp is doing a bit more work than the other.
I think I paid about $3 for 10 of the aluminium heatsinks. I used a thermal adhesive pad to attach it.
I'm not having any problems with cores shutting down.
Hope this helps


This thread contains more resources

You need to Log in to download or view,No account?    Register

x
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list