Please select To the mobile version | Continue to access the desktop computer version

OrangePi

 Login            
 Register            
Search
Hot search: orangepi
View: 2588|Reply: 6

armbian for Orange Pi Zero Plus 2

[Copy link]

2

Threads

4

Posts

36

Credits

Novice

Rank: 1

Credits
36
Post time 2018-2-24 11:36:04 | Show all posts |Read mode
Hi

I know I'm sort of cross-posting... but i wanted to see if anyone attempt to build the kernel of armbian for the Zero Plus 2?
I'm encountering below instability, the system crashed randomly with Insufficient stack space to handle exception!
I'm trying twaek on different build configurations and see if I can locate the issue. there're lots of build options, and I'm sort of hit and miss....

Any ideas?

[ 5336.489446] Insufficient stack space to handle exception!
[ 5336.489455] ESR: 0x9a000000 -- SP Alignment
[ 5336.499040] FAR: 0x0000aaab157f06c0
[ 5336.502541] Task stack:     [0xffff000008df8000..0xffff000008dfc000]
[ 5336.502543] IRQ stack:      [0xffff000008010000..0xffff000008014000]
[ 5336.502546] Overflow stack: [0xffff800017f9d0b0..0xffff800017f9e0b0]
[ 5336.502556] CPU: 2 PID: 0 Comm: swapper/2 Not tainted 4.14.18-sunxi64 #26
[ 5336.502558] Hardware name: Xunlong Orange Pi Zero Plus2 (DT)
[ 5336.502561] task: ffff800016969b00 task.stack: ffff000008df8000
[ 5336.502575] PC is at cpu_needs_another_gp+0x5c/0x80
orangepizeroplus2 login: [ 2808.322852] Insufficient stack space to handle exception!
[ 2808.322863] ESR: 0x9a000000 -- SP Alignment
[ 2808.332442] FAR: 0x0000ffff93b3fd25
[ 2808.335926] Task stack:     [0xffff000008df8000..0xffff000008dfc000]
[ 2808.342270] IRQ stack:      [0xffff000008010000..0xffff000008014000]
[ 2808.348614] Overflow stack: [0xffff800017f9d0b0..0xffff800017f9e0b0]
[ 2808.354963] CPU: 2 PID: 0 Comm: swapper/2 Not tainted 4.14.18-sunxi64 #26
[ 2808.361740] Hardware name: Xunlong Orange Pi Zero Plus2 (DT)
[ 2808.367391] task: ffff800016969b00 task.stack: ffff000008df8000
[ 2808.373314] PC is at cpu_needs_another_gp+0x5c/0x80
armbian@orangepizeroplus2:/boot$ [ 3604.982936] Insufficient stack space to handle exception!
[ 3604.982946] ESR: 0x9a000000 -- SP Alignment
[ 3604.992526] FAR: 0x0000ffffc68c9bb0
[ 3604.996009] Task stack:     [0xffff000008df8000..0xffff000008dfc000]
[ 3605.002354] IRQ stack:      [0xffff000008010000..0xffff000008014000]
[ 3605.008698] Overflow stack: [0xffff800017f9d0b0..0xffff800017f9e0b0]
[ 3605.015046] CPU: 2 PID: 0 Comm: swapper/2 Not tainted 4.14.18-sunxi64 #26
[ 3605.021824] Hardware name: Xunlong Orange Pi Zero Plus2 (DT)
[ 3605.027475] task: ffff800016969b00 task.stack: ffff000008df8000
[ 3605.033395] PC is at el1_sync+0x0/0xb0
[    5.311930] Insufficient stack space to handle exception!
[    5.311938] ESR: 0x9a000000 -- SP Alignment
[    5.321515] FAR: 0x0000ffffb2e7a210
[    5.324998] Task stack:     [0xffff000008df8000..0xffff000008dfc000]
[    5.331342] IRQ stack:      [0xffff000008010000..0xffff000008014000]
[    5.337686] Overflow stack: [0xffff800017f9d0b0..0xffff800017f9e0b0]
[    5.344035] CPU: 2 PID: 0 Comm: swapper/2 Not tainted 4.14.18-sunxi64 #26
[    5.350812] Hardware name: Xunlong Orange Pi Zero Plus2 (DT)
[    5.356463] task: ffff800016969b00 task.stack: ffff000008df8000
[    5.362383] PC is at el1_sync+0x0/0xb0
armbian@orangepizeroplus2:~$ [  450.420907] Insufficient stack space to handle exception!
[  450.420920] ESR: 0x9a000000 -- SP Alignment
[  450.430498] FAR: 0x0000ffffaec494c8
[  450.433982] Task stack:     [0xffff000008df8000..0xffff000008dfc000]
[  450.440326] IRQ stack:      [0xffff000008010000..0xffff000008014000]
[  450.446670] Overflow stack: [0xffff800017f9d0b0..0xffff800017f9e0b0]
[  450.453019] CPU: 2 PID: 0 Comm: swapper/2 Not tainted 4.14.18-sunxi64 #26
[  450.459796] Hardware name: Xunlong Orange Pi Zero Plus2 (DT)
[  450.465449] task: ffff800016969b00 task.stack: ffff000008df8000
[  450.471370] PC is at invoke_rcu_core+0x0/0x50
armbian@orangepizeroplus2:~$ [27696.023824] Insufficient stack space to handle exception!
[27696.023838] ESR: 0x9a000000 -- SP Alignment
[27696.033419] FAR: 0x00000000348e1c64
[27696.036902] Task stack:     [0xffff000008df8000..0xffff000008dfc000]
[27696.043247] IRQ stack:      [0xffff000008010000..0xffff000008014000]
[27696.049591] Overflow stack: [0xffff800017f9d0b0..0xffff800017f9e0b0]
[27696.055941] CPU: 2 PID: 0 Comm: swapper/2 Not tainted 4.14.18-sunxi64 #26
[27696.062718] Hardware name: Xunlong Orange Pi Zero Plus2 (DT)
[27696.068370] task: ffff800016969b00 task.stack: ffff000008df8000
[27696.074293] PC is at invoke_rcu_core+0x0/0x50

orangepizeroplus2 login: [   23.856944] Insufficient stack space to handle exception!
[   23.856959] ESR: 0x96000044 -- DABT (current EL)
[   23.866974] FAR: 0x00000000001efef0
[   23.870457] Task stack:     [0xffff000008df8000..0xffff000008dfc000]
[   23.876801] IRQ stack:      [0xffff000008010000..0xffff000008014000]
[   23.883146] Overflow stack: [0xffff800017f9d0b0..0xffff800017f9e0b0]
[   23.889495] CPU: 2 PID: 0 Comm: swapper/2 Not tainted 4.14.18-sunxi64 #26
[   23.896272] Hardware name: Xunlong Orange Pi Zero Plus2 (DT)
[   23.901923] task: ffff800016969b00 task.stack: ffff000008df8000
[   23.907847] PC is at wakeup_softirqd+0x0/0x38

orangepizeroplus2 login: [ 6210.617130] Unable to handle kernel NULL pointer dereference at virtual address 00000008
[ 6210.625227] Mem abort info:
[ 6210.628017]   Exception class = DABT (current EL), IL = 32 bits
[ 6210.633928]   SET = 0, FnV = 0
[ 6210.636976]   EA = 0, S1PTW = 0
[ 6210.640110] Data abort info:
[ 6210.642985]   ISV = 0, ISS = 0x00000004
[ 6210.646814]   CM = 0, WnR = 0
[ 6210.649778] user pgtable: 4k pages, 48-bit VAs, pgd = ffff800014f60000
[ 6210.656296] [0000000000000008] *pgd=0000000000000000
[ 6210.661257] Internal error: Oops: 96000004 [#1] SMP
[ 6210.666128] Modules linked in: snd_soc_hdmi_codec rc_cec dw_hdmi_i2s_audio dw_hdmi_cec cdc_ether usbnet r8152 sun8i_dw_hdmi dw_hdmi cec rc_core spidev sun8i_codec_analog sun4i_gpadc_iio snd_soc_simple_card snd_soc_simple_card_utils snd_soc_core snd_pcm_dmaengine snd_pcm snd_timer sun8i_mixer sun4i_tcon iio_hwmon sun4i_drm industrialio usb_f_acm u_serial g_serial libcomposite brcmfmac brcmutil cfg80211 rfkill sunxi musb_hdrc
[ 6210.703673] CPU: 2 PID: 0 Comm: swapper/2 Not tainted 4.14.18-sunxi64 #26
[ 6210.710450] Hardware name: Xunlong Orange Pi Zero Plus2 (DT)
[ 6210.716100] task: ffff800016969b00 task.stack: ffff000008df8000
[ 6210.722021] PC is at rcu_segcblist_future_gp_needed+0x0/0x48

2

Threads

4

Posts

22

Credits

Novice

Rank: 1

Credits
22
Post time 2018-3-1 02:52:22 | Show all posts
+1, please help

2

Threads

4

Posts

36

Credits

Novice

Rank: 1

Credits
36
 Author| Post time 2018-3-3 20:33:02 | Show all posts
I've just posted it in armbian forum. I've found that the CPU clock is keeping at 1152Mhz, that have caused the random restart. I set the highest CPU to 1000Mhz and it keeps running at 960mHz and it's stable. Looks like the current step up/down on the ondemand governor does not work well yet.
Anyway if you need it to run stable, lower the CPU clock.

0

Threads

3

Posts

56

Credits

Registered member

Rank: 2

Credits
56
Post time 2018-6-18 22:07:01 From the mobile phone | Show all posts
@sywong2000 I am with the same issuea and thanks for your post. How can i lower the CPU clock? I am newbie on armbian.

8

Threads

607

Posts

4078

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
4078
Post time 2018-6-18 23:14:29 | Show all posts
You can limit it with editing /etc/default/cpufrequtils any restarting this service or reboot.

0

Threads

3

Posts

56

Credits

Registered member

Rank: 2

Credits
56
Post time 2018-6-24 20:41:32 From the mobile phone | Show all posts
@igorpec. Thank you, but the issue persist. I already change the microsd, power supply and remove the expansion board, but this sh*t board dont work. Any other suggestion?

8

Threads

607

Posts

4078

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
4078
Post time 2018-6-24 21:26:03 | Show all posts
Any other suggestion?


Changing to the beta repository and switching to latest DEV kernel (4.17.y)
You have to log in before you can reply Login | Register

Points Rules

Archiver|Mobile edition|Darkroom|OrangePi En ( 粤ICP备14086627号-2

2019-8-18 10:37 GMT+8 , Processed in 0.029355 second(s), 22 queries .

Powered by Discuz! X3.2

© 2014-2015 orangepibbs en.

Quick Reply To Top Return to the list