Recently, I try to use kdump on ls1046a(32bit), but because of the CONFIG_PHYS_ADDR_T_64BIT has been enabled by CONFIG_PAE, kdump can't work normally.
So, I disabled CONFIG_PAE and try kdump again, but the 1st kernel can't start. It is blocked after output messages as following:
......
[ 0.321310] EDAC MC: Ver: 3.0.0
[ 0.324833] bman-fbpr addr 0xfa000000 size 0x1000000
[ 0.329849] Bman err interrupt handler present
[ 0.334637] Bman portal (shared) initialised, cpu 0
[ 0.339539] Bman portal (slave) initialised, cpu 1
[ 0.344357] Bman portal (slave) initialised, cpu 2
[ 0.349172] Bman portal (slave) initialised, cpu 3
[ 0.353986] Bman portals initialised
[ 0.358467] Qman err interrupt handler present
[ 0.363242] Qman portal (shared) initialised, cpu 0
[ 0.368148] Qman portal (slave) initialised, cpu 1
[ 0.372963] Qman portal (slave) initialised, cpu 2
[ 0.377777] Qman portal (slave) initialised, cpu 3
[ 0.382594] Qman portals initialised
[ 0.386230] Bman: BPID allocator includes range 32:32
[ 0.391333] Qman: FQID allocator includes range 256:256
[ 0.396588] Qman: FQID allocator includes range 32768:32768
[ 0.402219] Qman: CGRID allocator includes range 0:256
......
Is there any one give me some suggestions about how to disable PAE mode or how to use kdump on ls1046a?
Hello lei maohui,
I confirmed with the LSDK testing team, kexec/kdump is not support in ARMv8 32bit Kernel. I just verified the 32bit Kernel, and found that crashkernel memory couldn't be reserved successfully, please refer to the following boot information.
root@TinyDistro:~# dmesg | grep -i "crashkernel"
[ 0.000000] crashkernel reservation failed - No suitable area found.
[ 0.000000] Kernel command line: console=ttyS0,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0500 mtdparts=1550000.quadspi:1m(rcw),15m(u-boot),48m(kernel.itb);
7e800000.flash:16m(nand_uboot),48m(nand_kernel),448m(nand_free) crashkernel=512M
Please refer to the following information in 64bit mode Kernel.
root@TinyDistro:~# dmesg | grep -i "crashkernel"
[ 0.000000] crashkernel reserved: 0x00000009e0000000 - 0x0000000a00000000 (512 MB)
[ 0.000000] Kernel command line: console=ttyS0,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0500 mtdparts=1550000.quadspi:1m(rcw),15m(u-boot),48m(kernel.itb);7e800000.flash:16m(nand_uboot),48m(nand_kernel),448m(nand_free) crashkernel=512M
Have a great day,
TIC
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------