when playing rauc on maaxboard (from imx8mqevk) ,the kernel 5.4 will crash! any reasons or patches?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

when playing rauc on maaxboard (from imx8mqevk) ,the kernel 5.4 will crash! any reasons or patches?

1,119 Views
gonewithwind-peter
Senior Contributor I

Hi all,

sorry to bother you again.

I am playing rauc on  maaxboard (from imx8mqevk) with yocto zeus ,kernel 5.4 ,

but when I run :rauc install , it will make kernel crash. I posted the issue at github rauc https://github.com/rauc/rauc/issues/995

the supporter said, It should be the kernel bug or RAM issue, I changed a new board, but the  issue still happened.

any help? any patches for the kernel?

Thank you very much.

 

rauc install media/sda1/lite-image-bundle-rauc-maaxboard-ddr4-2g-sdcard-20221025154232.raucb
installing
  0% Installing
  0% Determining slot states
 20% Determining slot states done.
 20% Checking bundle
 20% Verifying signature
[   88.562769] Unable to handle kernel paging request at virtual address ffff800011813060
[   88.564556] Unable to handle kernel paging request at virtual address ffff800011813070
[   88.570720] Mem abort info:
[   88.570724]   ESR = 0x96000046
[   88.576426] Unable to handle kernel paging request at virtual address ebccd8e5f5aee452
[   88.576428] Mem abort info:
[   88.576430]   ESR = 0x96000044
[   88.576433]   EC = 0x25: DABT (current EL), IL = 32 bits
[   88.576435]   SET = 0, FnV = 0
[   88.576437]   EA = 0, S1PTW = 0
[   88.576438] Data abort info:
[   88.576440]   ISV = 0, ISS = 0x00000044
[   88.576442]   CM = 0, WnR = 1
[   88.576445] [ebccd8e5f5aee452] address between user and kernel address ranges
[   88.576449] Internal error: Oops: 96000044 [#1] PREEMPT SMP
[   88.576452] Modules linked in: brcmfmac crct10dif_ce brcmutil ov5640_camera_mipi_v2 overlay
[   88.576468] CPU: 2 PID: 0 Comm: swapper/2 Not tainted 5.4.24-2.1.0+g491748038398 #1           8�1�F����?�~�X�HR� ʘ�A�bT(
[   88.576472] ��U�rv�Rg���T:�k0�"��������H�2�����Q�NݒN݇&b��E_k$�Xq�3�CL���|g�k�@N'�$Q�DL]�+�
[   88.576472] ��=�
[   88.576475] pstate: 20000085 (nzCv daIf -PAN -UAO)
[   88.576489] pc : sysctr_set_next_event+0x1c/0x88
[   88.576496] lr : clockevents_program_event+0xa4/0x118
[   88.576498] sp : ffff800011cebde0
[   88.576500] x29: ffff800011cebde0 x28: 0000000000000000 
[   88.576504] x27: ffff800011b9d010 x26: 0000000000000000 
[   88.576509] x25: 0000000000000002 x24: 0000000000000004 
[   88.576513] x23: ffff0000bd9bbf00 x22: ffff800011ae5900 
[   88.576517] x21: 0000000000000001 x20: 000081cf10cc1b10 
[   88.576521] x19: ffff800011ae5900 x18: 000000000000000e 
[   88.576525] x17: 0000000000000001 x16: 0000000000000019 
[   88.576529] x15: 00000000000000c1 x14: 0000000000000000 
[   88.576533] x13: 0000000000000003 x12: 00000000000000c1 
[   88.576537] x11: 071c71c71c71c71c x10: 0000000000000abb 
[   88.576541] x9 : ffff0000bd9b5f08 x8 : 00000000000008e7 
[   88.576545] x7 : 0000000000000f67 x6 : 000000002eb0828e 
[   88.576550] x5 : ffff800011c54de0 x4 : ebccd8e5f5aee452 
[   88.576554] x3 : ffff800011c54000 x2 : ebccd8e5f5ade426 
[   88.576558] x1 : 000000004db9c77b x0 : 00000000000081cf 
[   88.576562] Call trace:
[   88.576567]  sysctr_set_next_event+0x1c/0x88
[   88.576571]  tick_broadcast_set_event+0x40/0xe0
[   88.576576]  __tick_broadcast_oneshot_control+0x294/0x328
[   88.576579]  tick_broadcast_oneshot_control+0x30/0x38
[   88.576587]  cpuidle_enter_state+0x174/0x360
[   88.576590]  cpuidle_enter+0x34/0x48
[   88.576596]  call_cpuidle+0x18/0x38
[   88.576599]  do_idle+0x1e0/0x280
[   88.576603]  cpu_startup_entry+0x20/0x40
[   88.576611]  secondary_start_kernel+0x154/0x190
[   88.576619] Code: b94de061 f94004a2 91404044 9100b084 (b9000081) 
[   88.576629] ---[ end trace cf9d7d44aeb3635b ]---
[   88.576634] Kernel panic - not syncing: Attempted to kill the idle task!
[   88.576638] SMP: stopping secondary CPUs
[   88.578667] Kernel Offset: disabled
[   88.578671] CPU features: 0x0002,2000200c
[   88.578672] Memory Limit: none
[   88.842116] ---[ end Kernel panic - not syncing: Attempted to kill the idle task! ]---

0 Kudos
Reply
2 Replies

1,073 Views
gonewithwind-peter
Senior Contributor I

yocto zeus kernel 5.x maaxboard stress test crashed

stress-ng --cpu 4 --vm 2 --fork 8 --timeout 200m --metrics

...

 

..

 

Allow Online CPU3, devfreq state: 1
[ 7797.153644] Detected VIPT I-cache on CPU3
[ 7797.153684] GICv3: CPU3: found redistributor 3 region 0:0x00000000388e0000
[ 7797.153743] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[ 7797.185679] System is a little hot. GPU3D clock will work at 32/64
[ 7797.192569] hantro receive hot notification event: 1
[ 7800.688493] Unable to handle kernel paging request at virtual address 0008
[ 7800.696446] Mem abort info:
[ 7800.699248] ESR = 0x96000004
[ 7800.702393] EC = 0x25: DABT (current EL), IL = 32 bits
[ 7800.707752] SET = 0, FnV = 0
[ 7800.710841] EA = 0, S1PTW = 0
[ 7800.713994] Data abort info:
[ 7800.716884] ISV = 0, ISS = 0x00000004
[ 7800.720729] CM = 0, WnR = 0
[ 7800.723701] [0001020408102098] address between user and kernel address ras
[ 7800.730874] Internal error: Oops: 96000004 [#1] PREEMPT SMP
[ 7800.736452] Modules linked in: brcmfmac brcmutil crct10dif_ce ov5640_came2
[ 7800.744126] CPU: 2 PID: 10294 Comm: stress-ng-cpu Not tainted 5.4.24-2.1.1
�C��hG���t:����v;��g|>�����T*�E�Q���k��m�[�G���t:�c��l6�g���v;�5�M�S��j�
[ 7800.752499] �A�P(�|>����@�����{��o���r9�N'����x<����z=�O���p8��b1 ��
�C����{��ok��m�[�֬V+��e�Y�W���u�]��d2�F#����y�^/�`0
������~?�L&��b1�X,��a�@����v;��g�a�X,�&��b1�L0

 

 

 

 

 

 

 

 

 


�C���o����{��~?�����G���t:�8���p�g���v;���e�Y�V+z=�O����q�\.�����r9�N'U�UB!�(
[ 7800.752509] pstate: a0000005 (NzCv daif -PAN -UAO)
[ 7800.839013] pc : kmem_cache_free+0x254/0x2e0
[ 7800.843300] lr : radix_tree_node_rcu_free+0x44/0x50
[ 7800.848181] sp : ffff800010013de0
[ 7800.851496] x29: ffff800010013de0 x28: 0000000000000000
[ 7800.856811] x27: ffff800011a22b80 x26: 0000000000000000
[ 7800.862123] x25: ffff0000a4447000 x24: 000000000000000a
[ 7800.867436] x23: ffff80001107d39c x22: ffff0000b6cc6b58
[ 7800.872748] x21: ffff0000b8004400 x20: fffffe0002bb3180
[ 7800.878062] x19: 8001020408102040 x18: 0000000000000000
[ 7800.883376] x17: 0000000000000000 x16: 0000000000000000
[ 7800.888689] x15: 0000000000000000 x14: 0000000000000000
[ 7800.894002] x13: 013725fc09799f2c x12: 0000000000000001
[ 7800.899317] x11: 0000000000000001 x10: 0000000000000000
[ 7800.904630] x9 : 0000000000000000 x8 : ffff0000b6cc6d80
[ 7800.909943] x7 : 0000000000000000 x6 : 000000000000003f
[ 7800.915256] x5 : 0000000000000040 x4 : ffff800011b4d62a
[ 7800.920569] x3 : 0000000000000004 x2 : fffffe0002b85500
[ 7800.925881] x1 : 0ffff00000010200 x0 : 0000000000000000
[ 7800.931197] Call trace:
[ 7800.933652] kmem_cache_free+0x254/0x2e0
[ 7800.937581] radix_tree_node_rcu_free+0x44/0x50
[ 7800.942118] rcu_core+0x2b4/0x4b0
[ 7800.945435] rcu_core_si+0xc/0x18
[ 7800.945667] Unable to handle kernel paging request at virtual address 0008
[ 7800.948753] __do_softirq+0x120/0x23c
[ 7800.948763] irq_exit+0xb8/0xd8
[ 7800.956675] Mem abort info:
[ 7800.960338] __handle_domain_irq+0x64/0xb8
[ 7800.963470] ESR = 0x96000004
[ 7800.966261] gic_handle_irq+0x5c/0x148
[ 7800.970353] EC = 0x25: DABT (current EL), IL = 32 bits
[ 7800.973404] el0_irq_naked+0x4c/0x54
[ 7800.977147] SET = 0, FnV = 0
[ 7800.982462] Code: 39400480 34000060 aa1503f3 17ffff7f (f9402e62)
[ 7800.986024] EA = 0, S1PTW = 0
[ 7800.989084] ---[ end trace 8d2825fd5fdd6708 ]---
[ 7800.995162] Data abort info:
[ 7800.998302] Kernel panic - not syncing: Fatal exception in interrupt
[ 7801.002914] ISV = 0, ISS = 0x00000004
[ 7801.005790] SMP: stopping secondary CPUs
[ 7801.012139] CM = 0, WnR = 0
[ 7801.022854] [0001020408102048] address between user and kernel address ras
[ 7801.975978] SMP: failed to stop secondary CPUs 1-3
[ 7801.980768] Kernel Offset: disabled
[ 7801.984257] CPU features: 0x0002,2000200c
[ 7801.988265] Memory Limit: none
[ 7801.991326] ---[ end Kernel panic - not syncing: Fatal exception in inter-

 

0 Kudos
Reply

1,080 Views
gonewithwind-peter
Senior Contributor I

I have a similar  to here https://community.nxp.com/t5/i-MX-Processors/SDHCI-REGISTER-DUMP/td-p/1006566

error  on maaxboard with yocto sumo (linux 4.14)

rauc install /run/media/sda1/
Image
ProdRec/
dump.sdcard
dump.sdcard_2
dump_188416.sdcard
dump_both.sdcard
dump_s.sdcard
fram.dat
fsl-image-validation-imx-bundle-rauc-imx8mqevk.raucb
json/
lite-image-bundle-rauc-maaxboard-ddr4-2g-sdcard-20221025154232.raucb
lite-image-bundle-rauc-maaxboard-ddr4-2g-sdcard-20221026142737.raucb
lite-image-bundle-rauc-maaxboard-mini-ddr4-2g-sdcard-zeus.raucb
lite-image-bundle-rauc-maaxboard-mini-ddr4-2g-sdcard.raucb
lite-image-bundle-rauc-maaxboard-mini-ddr4-2g-sdcard_old.raucb
log/
lost+found/
srv/
mqevk.raucbuc install /run/media/sda1/fsl-image-validation-imx-bundle-rauc-imx8
rauc-Message: installing /run/media/sda1/fsl-image-validation-imx-bundle-rauc-imx8mqevk.raucb: installing
rauc-Message: installing /run/media/sda1/fsl-image-validation-imx-bundle-rauc-imx8mqevk.raucb: 0% Installing
rauc-Message: installing /run/media/sda1/fsl-image-validation-imx-bundle-rauc-imx8mqevk.raucb: 0% Determining slot states
rauc-Message: installing /run/media/sda1/fsl-image-validation-imx-bundle-rauc-imx8mqevk.raucb: 20% Determining slot states done.
rauc-Message: installing /run/media/sda1/fsl-image-validation-imx-bundle-rauc-imx8mqevk.raucb: 20% Checking bundle
rauc-Message: installing /run/media/sda1/fsl-image-validation-imx-bundle-rauc-imx8mqevk.raucb: 20% Verifying signature
[70378.756453] audit: type=1006 audit(1662730201.667:43): pid=24611 uid=0 old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=42 res=1
[70378.769096] audit: type=1006 audit(1662730201.671:44): pid=24610 uid=0 old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=43 res=1
[70378.781735] audit: type=1701 audit(1662730202.083:45): auid=4294967295 uid=998 gid=996 ses=4294967295 pid=3418 comm="systemd-timesyn" exe="/lib/systemd/systemd-timesyncd" sig=6 res=1
[70378.798011] audit: type=1701 audit(1662730202.083:46): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=3232 comm="systemd-udevd" exe="/lib/systemd/systemd-udevd" sig=6 res=1
[70378.813417] audit: type=1701 audit(1662730202.083:47): auid=4294967295 uid=997 gid=995 ses=4294967295 pid=3265 comm="systemd-network" exe="/lib/systemd/systemd-networkd" sig=6 res=1
[70378.961457] audit: type=1006 audit(1662730202.315:48): pid=24609 uid=0 old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=44 res=1
[70378.974106] audit: type=1701 audit(1662730202.319:49): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=3426 comm="systemd-logind" exe="/lib/systemd/systemd-logind" sig=6 res=1
[70388.896346] mmc0: Timeout waiting for hardware interrupt.
[70388.901754] mmc0: sdhci: ============ SDHCI REGISTER DUMP ===========
[70388.908197] mmc0: sdhci: Sys addr: 0x00000028 | Version: 0x00000002
[70388.914638] mmc0: sdhci: Blk size: 0x00000200 | Blk cnt: 0x00000000
[70388.921079] mmc0: sdhci: Argument: 0x0064bbc0 | Trn mode: 0x0000003b
[70388.927520] mmc0: sdhci: Present: 0x01f88008 | Host ctl: 0x00000013
[70388.933960] mmc0: sdhci: Power: 0x00000002 | Blk gap: 0x00000080
[70388.940401] mmc0: sdhci: Wake-up: 0x00000008 | Clock: 0x0000007f
[70388.946841] mmc0: sdhci: Timeout: 0x0000008f | Int stat: 0x00000003
[70388.953282] mmc0: sdhci: Int enab: 0x107f100b | Sig enab: 0x107f100b
[70388.959722] mmc0: sdhci: AC12 err: 0x00000000 | Slot int: 0x00008402
[70388.966163] mmc0: sdhci: Caps: 0x07eb0000 | Caps_1: 0x0000b400
[70388.972603] mmc0: sdhci: Cmd: 0x0000123a | Max curr: 0x00ffffff
[70388.979044] mmc0: sdhci: Resp[0]: 0x00000900 | Resp[1]: 0x00775f7f
[70388.985484] mmc0: sdhci: Resp[2]: 0x325b5900 | Resp[3]: 0x00000900
[70388.991924] mmc0: sdhci: Host ctl2: 0x00000000
[70388.996368] mmc0: sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x4411a218
[70389.002808] mmc0: sdhci: ============================================
[70919.956919] audit: type=1701 audit(1662730743.314:50): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=25979 comm="systemd-udevd" exe="/lib/systemd/systemd-udevd" sig=11 res=1
[70919.972511] audit: type=1701 audit(1662730743.314:51): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=25980 comm="systemd-logind" exe="/lib/systemd/systemd-logind" sig=11 res=1
[71100.469507] audit: type=1701 audit(1662730923.828:52): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=26522 comm="systemd-udevd" exe="/lib/systemd/systemd-udevd" sig=11 res=1
[71190.716612] audit: type=1701 audit(1662731014.075:53): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=26797 comm="systemd-logind" exe="/lib/systemd/systemd-logind" sig=11 res=1
[71280.956012] audit: type=1701 audit(1662731104.310:54): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=27071 comm="systemd-udevd" exe="/lib/systemd/systemd-udevd" sig=11 res=1
[71461.456892] audit: type=1701 audit(1662731284.812:55): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=27614 comm="systemd-udevd" exe="/lib/systemd/systemd-udevd" sig=11 res=1
[71461.472484] audit: type=1701 audit(1662731284.812:56): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=27615 comm="systemd-logind" exe="/lib/systemd/systemd-logind" sig=11 res=1
[71641.969324] audit: type=1701 audit(1662731465.326:57): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=28159 comm="systemd-udevd" exe="/lib/systemd/systemd-udevd" sig=11 res=1
[71732.216477] audit: type=1701 audit(1662731555.573:58): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=28433 comm="systemd-logind" exe="/lib/systemd/systemd-logind" sig=11 res=1
[71822.456061] audit: type=1701 audit(1662731645.813:59): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=28707 comm="systemd-udevd" exe="/lib/systemd/systemd-udevd" sig=11 res=1
[72002.956998] audit: type=1701 audit(1662731826.311:60): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=29250 comm="systemd-udevd" exe="/lib/systemd/systemd-udevd" sig=11 res=1
[72002.972588] audit: type=1701 audit(1662731826.311:61): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=29251 comm="systemd-logind" exe="/lib/systemd/systemd-logind" sig=11 res=1
[72183.469694] audit: type=1701 audit(1662732006.829:62): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=29793 comm="systemd-udevd" exe="/lib/systemd/systemd-udevd" sig=11 res=1
[73978.345381] audit: type=1006 audit(1662733801.699:63): pid=29975 uid=0 old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=45 res=1
[73978.364712] audit: type=1006 audit(1662733801.719:64): pid=29974 uid=0 old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=46 res=1
[71485.677721] audit: type=1701 audit(1662735707.080:65): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=30007 comm="systemd-logind" exe="/lib/systemd/systemd-logind" sig=11 res=1
[71575.912477] audit: type=1701 audit(1662735797.315:66): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=30287 comm="systemd-udevd" exe="/lib/systemd/systemd-udevd" sig=11 res=1
[72207.659866] audit: type=1701 audit(1662736429.061:67): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=32190 comm="systemd-logind" exe="/lib/systemd/systemd-logind" sig=11 res=1
[72207.675654] audit: type=1701 audit(1662736429.065:68): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=32191 comm="systemd-udevd" exe="/lib/systemd/systemd-udevd" sig=11 res=1
[73180.327539] audit: type=1006 audit(1662737401.727:69): pid=2966 uid=0 old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=47 res=1
[73180.346808] audit: type=1006 audit(1662737401.747:70): pid=2965 uid=0 old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=48 res=1
[73290.670634] audit: type=1701 audit(1662737512.074:71): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=3029 comm="systemd-udevd" exe="/lib/systemd/systemd-udevd" sig=11 res=1
[73380.930947] audit: type=1701 audit(1662737602.333:72): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=3175 comm="systemd-logind" exe="/lib/systemd/systemd-logind" sig=11 res=1

 

 

 

 

 

0 Kudos
Reply