Hello, I refer to the document AN13750 to build a multi-core boot program that can run on the S32G-VNP-RDB2 development board. However, when I run it on our self-designed board, I execute the following command: insmod ipc shm sample_multi instance. ko;
The following error message appears:
root@s32g274ardb2:~# insmod ipc-shm-dev.ko
root@s32g274ardb2:~# insmod ipc-shm-sample_multi-instance.ko
[ 6.307528] random: crng init done
[ 94.859702] ipc_shm_dev: loading out-of-tree module taints kernel.
[ 116.712077] SError Interrupt on CPU1, code 0xbf000002 -- SError
[ 116.712101] CPU: 1 PID: 348 Comm: insmod Tainted: G O 5.10.109-rt65 #2
[ 116.712111] Hardware name: NXP S32G274A-RDB2 (DT)
[ 116.712115] pstate: 60000005 (nZCv daif -PAN -UAO -TCO BTYPE=--)
[ 116.712125] pc : ipc_shm_init+0x328/0x834 [ipc_shm_dev]
[ 116.712147] lr : ipc_shm_init+0x118/0x834 [ipc_shm_dev]
[ 116.712161] sp : ffffffc013d339b0
[ 116.712165] x29: ffffffc013d339b0 x28: 0000000000000000
[ 116.712177] x27: ffffffc00886d050 x26: ffffffc008865380
[ 116.712185] x25: ffffffc008865380 x24: 0000000000000030
[ 116.712196] x23: 0000000000000003 x22: ffffffc00886d260
[ 116.712206] x21: ffffffc008865388 x20: 0000000000000000
[ 116.712215] x19: 00000000000008d0 x18: ffffffffffffffff
[ 116.712224] x17: 0000000000000001 x16: 0000000000000002
[ 116.712232] x15: ffffffc093d3387d x14: ffffffffffffffff
[ 116.712241] x13: ffff000000000000 x12: 0000000000000018
[ 116.712250] x11: 0101010101010101 x10: ffffffff7f7f7f7f
[ 116.712260] x9 : 0000000000000000 x8 : ffffff8800cc9180
[ 116.712270] x7 : 0000000000000000 x6 : 0000000000000008
[ 116.712279] x5 : ffffff8800cc9088 x4 : ffffff8800e3c688
[ 116.712289] x3 : 0000000000000000 x2 : ffffffc013b80008
[ 116.712297] x1 : 0000000000000003 x0 : 0000000000000001
[ 116.712308] Kernel panic - not syncing:
[ 116.712311] Asynchronous SError Interrupt
[ 117.712414] SMP: stopping secondary CPUs
[ 117.850798] Kernel Offset: disabled
[ 117.854264] CPU features: 0x08040022,2000200c
[ 117.858604] Memory Limit: none
[ 117.861648] ---[ end Kernel panic - not syncing: Asynchronous SError Interrupt ]---
IPCF:4.6.0;RTD:3.0.2 HF01 ;BSP :33.0.
Can you provide some help? Thank you!
Hello, @LB666
Thanks for the question.
I understand that you are running with the IPCF 4.6 samples following AN13750, and it works fine from your side to run it on RDB2, is it right?
But the same code triggered the error from your custom board?
Best Regards
Chenyin