IMX8MP : Insufficient stack space to handle exception!

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

IMX8MP : Insufficient stack space to handle exception!

1,466 次查看
shravankumaralugala
Contributor II

In my yocto image I have added the below package 

wayland , chromium and docker 

{no format }

CORE_IMAGE_EXTRA_INSTALL += "chromium-ozone-wayland"

IMAGE_INSTALL += wayland psplash docker icu"

{no format}

and executing my container and the launching chromium is giving the error as "Insufficient stack space to handle exception!"

Need help how to resolve this error. 

 

Below is the log : 

root@thermo-imx8mp:/home/weston/files_imx# ls

Dockerfile               citius-cert.pfx          export_path.sh           loaddockerimages         netcoreapp2.1            publish_arm

certificate_config.json  exec_script.sh           load_ui_docker_img.sh    myscript_docker_cmd      publish                  ui.service

root@thermo-imx8mp:/home/weston/files_imx# docker run -it --network host img-ui

[ 2172.645829] Insufficient stack space to handle exception!

[ 2172.645839] ESR: 0x96000047 -- DABT (current EL)

[ 2172.645845] FAR: 0xffff80001d267ff0

[ 2172.645847] Task stack:     [0xffff80001d268000..0xffff80001d26c000]

[ 2172.645850] IRQ stack:      [0xffff800009f28000..0xffff800009f2c000]

[ 2172.645853] Overflow stack: [0xffff0001793d82f0..0xffff0001793d92f0]

[ 2172.645857] CPU: 2 PID: 977 Comm: ThreadPoolForeg Tainted: G         C        5.15.52+g4fd74faa7ae9 #1

[ 2172.645864] Hardware name: NXP i.MX8MPlus EVK board (DT)

[ 2172.645867] pstate: 800003c5 (Nzcv DAIF -PAN -UAO -TCO -DIT -SSBS BTYPE=--)

[ 2172.645872] pc : do_undefinstr+0x4/0x2e0

[ 2172.645886] Insufficient stack space to handle exception!

[ 2172.645888] ESR: 0x96000047 -- DABT (current EL)

[ 2172.645885] lr : el1_undef+0x2c/0x4c

[ 2172.645891] FAR: 0xffff80000a10fff0

[ 2172.645893] sp : ffff80001d268040

[ 2172.645893] Task stack:     [0xffff80000a110000..0xffff80000a114000]

[ 2172.645894] x29: ffff80001d268040

[ 2172.645895] IRQ stack:      [0xffff800008000000..0xffff800008004000]

[ 2172.645897]  x28: ffff0000cd1a8000

[ 2172.645898] Overflow stack: [0xffff0001793b02f0..0xffff0001793b12f0]

[ 2172.645900]  x27: 0000000000000000

[ 2172.645901] CPU: 0 PID: 978 Comm: Chrome_InProcGp Tainted: G         C        5.15.52+g4fd74faa7ae9 #1

[ 2172.645904] x26: 0000000000000000 x25: 0000000000000000

[ 2172.645906] Hardware name: NXP i.MX8MPlus EVK board (DT)

[ 2172.645908]  x24: 0000000000000000

[ 2172.645908] pstate: 800003c5 (Nzcv DAIF -PAN -UAO -TCO -DIT -SSBS BTYPE=--)

[ 2172.645911] x23: 00000000000003c5 x22: ffff8000080356f0 x21: ffff80001d2681c0

[ 2172.645913] pc : do_undefinstr+0x4/0x2e0

[ 2172.645916]

[ 2172.645918] x20: 00000000f2000800 x19: ffff80001d268070 x18: 0000000000000000

[ 2172.645920] lr : el1_undef+0x2c/0x4c

[ 2172.645923]

[ 2172.645924] x17: 0000000000000000

[ 2172.645925] sp : ffff80000a110040

[ 2172.645926]  x16: 0000000000000000

[ 2172.645927] x29: ffff80000a110040

[ 2172.645928]  x15: 0000000000000000

[ 2172.645929]  x28: ffff0000c1eb8000

[ 2172.645930] x14: 0000000000000000

[ 2172.645931]  x27: 0000000000000000

[ 2172.645932]  x13: 0000000000000000

[ 2172.645933]

[ 2172.645934] x26: 0000000000000000

[ 2172.645935]  x12: 0000000000000000

[ 2172.645936]  x25: 0000000000000000

[ 2172.645937] x11: 0000000000000000

[ 2172.645939]  x24: 0000000000000000

[ 2172.645939]  x10: 0000000000000000

[ 2172.645941]

[ 2172.645941]  x9 : 0000000000000000

[ 2172.645942] x23: 00000000000003c5

[ 2172.645943]

[ 2172.645944] x8 : 0000000000000000

[ 2172.645944]  x22: ffff8000080356f0

[ 2172.645946]  x7 : 0000000000000000

[ 2172.645946]  x21: ffff80000a1101c0

[ 2172.645948]  x6 : 0000000000000000

[ 2172.645949] x20: 00000000f2000800

[ 2172.645950]

[ 2172.645951] x5 : ffff80001d268070

[ 2172.645952]  x19: ffff80000a110070

[ 2172.645953]  x4 : fffffffffefffffe

[ 2172.645954]  x18: 0000000000000000

[ 2172.645955]  x3 : fffffffffefffffe

[ 2172.645957] x17: 0000000000000000

[ 2172.645957]

[ 2172.645958] x2 : ffff80001d268200

[ 2172.645958]  x16: 0000000000000000 x15: 0000000000000000

[ 2172.645960]  x1 : 0000000002000000

[ 2172.645962]

[ 2172.645962]  x0 : ffff80001d268070

[ 2172.645963] x14: 0000000000000000

[ 2172.645964]

[ 2172.645965]  x13: 0000000000000000 x12: 0000000000000000

[ 2172.645968] Kernel panic - not syncing: kernel stack overflow

[ 2172.645969]

[ 2172.645970] x11: 0000000000000000 x10: 0000000000000000

[ 2172.645971] CPU: 2 PID: 977 Comm: ThreadPoolForeg Tainted: G         C        5.15.52+g4fd74faa7ae9 #1

[ 2172.645973]  x9 : 0000000000000000

[ 2172.645976] Hardware name: NXP i.MX8MPlus EVK board (DT)

[ 2172.645976] x8 : 0000000000000000 x7 : 0000000000000000

[ 2172.645978] Call trace:

[ 2172.645980]  x6 : 0000000000000000

[ 2172.645982] x5 : ffff80000a110070

[ 2172.645979]  dump_backtrace+0x0/0x1a0

[ 2172.645984]  x4 : fffffffffefffffe x3 : fffffffffefffffe

[ 2172.645989] x2 : ffff80000a110200

[ 2172.645987]  show_stack+0x1c/0x70

[ 2172.645991]  x1 : 0000000002000000 x0 : ffff80000a110070

[ 2172.645993]  dump_stack_lvl+0x68/0x84

[ 2172.645999]  dump_stack+0x1c/0x38

[ 2172.646005]  panic+0x15c/0x31c

[ 2172.646010]  add_taint+0x0/0xb0

[ 2172.646017]  panic_bad_stack+0x108/0x124

[ 2172.646021]  handle_bad_stack+0x38/0x70

[ 2172.646027]  __bad_stack+0x8c/0x90

[ 2172.646031]  do_undefinstr+0x4/0x2e0

[ 2172.646036]  el1h_64_sync_handler+0x88/0xd4

[ 2172.646042]  el1h_64_sync+0x78/0x7c

[ 2172.646046]  do_debug_exception+0x0/0x120

[ 2172.646052]  el1h_64_sync_handler+0x98/0xd4

[ 2172.646058]  el1h_64_sync+0x78/0x7c

[ 2172.646061]  do_undefinstr+0x2bc/0x2e0

[ 2172.646067]  el1_undef+0x2c/0x4c

[ 2172.646072]  el1h_64_sync_handler+0x88/0xd4

[ 2172.646078]  el1h_64_sync+0x78/0x7c

[ 2172.646082]  do_debug_exception+0x0/0x120

[ 2172.646087]  el1h_64_sync_handler+0x98/0xd4

[ 2172.646092]  el1h_64_sync+0x78/0x7c

[ 2172.646096]  do_undefinstr+0x2bc/0x2e0

[ 2172.646102]  el1_undef+0x2c/0x4c

[ 2172.646107]  el1h_64_sync_handler+0x88/0xd4

[ 2172.646112]  el1h_64_sync+0x78/0x7c

[ 2172.646116]  do_debug_exception+0x0/0x120

[ 2172.646121]  el1h_64_sync_handler+0x98/0xd4

[ 2172.646127]  el1h_64_sync+0x78/0x7c

[ 2172.646130]  do_undefinstr+0x2bc/0x2e0

[ 2172.646136]  el1_undef+0x2c/0x4c

[ 2172.646141]  el1h_64_sync_handler+0x88/0xd4

[ 2172.646147]  el1h_64_sync+0x78/0x7c

[ 2172.646150]  do_debug_exception+0x0/0x120

[ 2172.646155]  el1h_64_sync_handler+0x98/0xd4

[ 2172.646161]  el1h_64_sync+0x78/0x7c

[ 2172.646165]  do_undefinstr+0x2bc/0x2e0

[ 2172.646170]  el1_undef+0x2c/0x4c

[ 2172.646175]  el1h_64_sync_handler+0x88/0xd4

[ 2172.646181]  el1h_64_sync+0x78/0x7c

[ 2172.646185]  do_debug_exception+0x0/0x120

[ 2172.646190]  el1h_64_sync_handler+0x98/0xd4

[ 2172.646196]  el1h_64_sync+0x78/0x7c

[ 2172.646199]  do_undefinstr+0x2bc/0x2e0

[ 2172.646205]  el1_undef+0x2c/0x4c

[ 2172.646210]  el1h_64_sync_handler+0x88/0xd4

[ 2172.646216]  el1h_64_sync+0x78/0x7c

[ 2172.646219]  do_debug_exception+0x0/0x120

[ 2172.646224]  el1h_64_sync_handler+0x98/0xd4

[ 2172.646230]  el1h_64_sync+0x78/0x7c

[ 2172.646234]  do_undefinstr+0x2bc/0x2e0

[ 2172.646239]  el1_undef+0x2c/0x4c

[ 2172.646244]  el1h_64_sync_handler+0x88/0xd4

[ 2172.646250]  el1h_64_sync+0x78/0x7c

[ 2172.646254]  do_debug_exception+0x0/0x120

[ 2172.646258]  el1h_64_sync_handler+0x98/0xd4

[ 2172.646265]  el1h_64_sync+0x78/0x7c

[ 2172.646268]  do_undefinstr+0x2bc/0x2e0

[ 2172.646274]  el1_undef+0x2c/0x4c

[ 2172.646279]  el1h_64_sync_handler+0x88/0xd4

[ 2172.646285]  el1h_64_sync+0x78/0x7c

[ 2172.646288]  do_debug_exception+0x0/0x120

[ 2172.646293]  el1h_64_sync_handler+0x98/0xd4

[ 2172.646299]  el1h_64_sync+0x78/0x7c

[ 2172.646303]  do_undefinstr+0x2bc/0x2e0

[ 2172.646308]  el1_undef+0x2c/0x4c

[ 2172.646314]  el1h_64_sync_handler+0x88/0xd4

[ 2172.646319]  el1h_64_sync+0x78/0x7c

[ 2172.646323]  do_debug_exception+0x0/0x120

[ 2172.646328]  el1h_64_sync_handler+0x98/0xd4

[ 2172.646333]  el1h_64_sync+0x78/0x7c

[ 2172.646337]  do_undefinstr+0x2bc/0x2e0

[ 2172.646343]  el1_undef+0x2c/0x4c

[ 2172.646348]  el1h_64_sync_handler+0x88/0xd4

[ 2172.646353]  el1h_64_sync+0x78/0x7c

[ 2172.646357]  do_debug_exception+0x0/0x120

[ 2172.646362]  el1h_64_sync_handler+0x98/0xd4

[ 2172.646368]  el1h_64_sync+0x78/0x7c

[ 2172.646372]  do_undefinstr+0x2bc/0x2e0

[ 2172.646377]  el1_undef+0x2c/0x4c

[ 2172.646382]  el1h_64_sync_handler+0x88/0xd4

[ 2172.646388]  el1h_64_sync+0x78/0x7c

[ 2172.646392]  do_debug_exception+0x0/0x120

[ 2172.646397]  el1h_64_sync_handler+0x98/0xd4

[ 2172.646402]  el1h_64_sync+0x78/0x7c

[ 2172.646406]  do_undefinstr+0x2bc/0x2e0

[ 2172.646412]  el1_undef+0x2c/0x4c

[ 2172.646417]  el1h_64_sync_handler+0x88/0xd4

[ 2172.646423]  el1h_64_sync+0x78/0x7c

[ 2172.646426]  do_debug_exception+0x0/0x120

[ 2172.646431]  el1h_64_sync_handler+0x98/0xd4

[ 2172.646437]  el1h_64_sync+0x78/0x7c

[ 2172.646441]  do_undefinstr+0x2bc/0x2e0

[ 2172.646446]  el1_undef+0x2c/0x4c

[ 2172.646452]  el1h_64_sync_handler+0x88/0xd4

[ 2172.646457]  el1h_64_sync+0x78/0x7c

[ 2172.646461]  do_debug_exception+0x0/0x120

[ 2172.646466]  el1h_64_sync_handler+0x98/0xd4

[ 2172.646472]  el1h_64_sync+0x78/0x7c

[ 2172.646475]  do_undefinstr+0x2bc/0x2e0

[ 2172.646481]  el1_undef+0x2c/0x4c

[ 2172.646486]  el1h_64_sync_handler+0x88/0xd4

[ 2172.646492]  el1h_64_sync+0x78/0x7c

[ 2172.646495]  do_debug_exception+0x0/0x120

[ 2172.646501]  el1h_64_sync_handler+0x98/0xd4

[ 2172.646506]  el1h_64_sync+0x78/0x7c

[ 2172.646510]  do_undefinstr+0x2bc/0x2e0

[ 2172.646515]  el1_undef+0x2c/0x4c

[ 2172.646521]  el1h_64_sync_handler+0x88/0xd4

[ 2172.646526]  el1h_64_sync+0x78/0x7c

[ 2172.646530]  do_debug_exception+0x0/0x120

[ 2172.646535]  el1h_64_sync_handler+0x98/0xd4

[ 2172.646541]  el1h_64_sync+0x78/0x7c

[ 2172.646545]  do_undefinstr+0x2bc/0x2e0

[ 2172.646550]  el1_undef+0x2c/0x4c

[ 2172.646555]  el1h_64_sync_handler+0x88/0xd4

[ 2172.646561]  el1h_64_sync+0x78/0x7c

[ 2172.646565]  do_debug_exception+0x0/0x120

[ 2172.646570]  el1h_64_sync_handler+0x98/0xd4

[ 2172.646575]  el1h_64_sync+0x78/0x7c

[ 2172.646579]  do_undefinstr+0x2bc/0x2e0

[ 2172.646585]  el1_undef+0x2c/0x4c

[ 2172.646590]  el1h_64_sync_handler+0x88/0xd4

[ 2172.646596]  el1h_64_sync+0x78/0x7c

[ 2172.646599]  do_debug_exception+0x0/0x120

[ 2172.646604]  el1h_64_sync_handler+0x98/0xd4

[ 2172.646610]  el1h_64_sync+0x78/0x7c

[ 2172.646613]  do_undefinstr+0x2bc/0x2e0

[ 2172.646619]  el1_undef+0x2c/0x4c

[ 2172.646624]  el1h_64_sync_handler+0x88/0xd4

[ 2172.646630]  el1h_64_sync+0x78/0x7c

[ 2172.646634]  do_debug_exception+0x0/0x120

[ 2172.646638]  el1h_64_sync_handler+0x98/0xd4

[ 2172.646644]  el1h_64_sync+0x78/0x7c

[ 2172.646648]  do_undefinstr+0x2bc/0x2e0

[ 2172.646653]  el1_undef+0x2c/0x4c

[ 2172.646659]  el1h_64_sync_handler+0x88/0xd4

[ 2172.646664]  el1h_64_sync+0x78/0x7c

[ 2172.646668]  do_mem_abort+0x0/0xbc

[ 2172.646673]  el0t_64_sync_handler+0xec/0x130

[ 2172.646678]  el0t_64_sync+0x1a0/0x1a4

[ 2172.646685] SMP: stopping secondary CPUs

[ 2172.646691] Kernel Offset: disabled

[ 2172.646693] CPU features: 0x00002001,20000846

[ 2172.646696] Memory Limit: none

[ 2173.541524] ---[ end Kernel panic - not syncing: kernel stack overflow ]---

 

CTRL-A Z for help | 115200 8N1 | APP | Minicom 2.8 | VT102 | Offline | ttyUSB0                                                                                                        

 

0 项奖励
回复
2 回复数

1,446 次查看
shravankumaralugala
Contributor II

On IMX8MP board if I run the docker command it is given the below error. Need help to resolve this.

 

docker build . -f Dockerfile -t img-ui

docker run -it --network host img-ui
root@thermo-imx8mp:/home/weston/files_imx# ls
Dockerfile citius-cert.pfx export_path.sh loaddockerimages net6.0 publish
certificate_config.json exec_script.sh load_ui_docker_img.sh myscript_docker_cmd netcoreapp2.1 ui.service
root@thermo-imx8mp:/home/weston/files_imx# docker build . -f Dockerfile -t img-ui
[ 60.417434] imx-sdma 30bd0000.dma-controller: firmware found.
[ 60.423388] imx-sdma 30bd0000.dma-controller: loaded firmware 4.6

[ 64.477083] cfg80211: failed to load regulatory.db
[ 65.753544] ------------[ cut here ]------------
[ 65.756838] Unable to handle kernel paging request at virtual address fffffffffffffe77
[ 65.758179] Unable to handle kernel paging request at virtual address 002d2d2d2d2d2e09
[ 65.766090] Mem abort info:
[ 65.774000] Mem abort info:
[ 65.776788] ESR = 0x96000004
[ 65.779576] ESR = 0x96000004

 

Docker file content :

root@thermo-imx8mp:/home/weston/files_imx# cat Dockerfile
ARG REPO=mcr.microsoft.com/dotnet/aspnet
FROM $REPO:6.0.16-bullseye-slim-arm64v8 AS build-env

 

0 项奖励
回复

1,401 次查看
joanxie
NXP TechSupport
NXP TechSupport

if you need build docker, pls refer to this

"https://github.com/nxp-imx/imx-docker"

0 项奖励
回复