I’m trying to use the Kdump tool for jetson TX2 (L4T 32.3.1). For the this purpose, I have to re-configure the kernel by modifying these kernel features:
CONFIG_CRASH_DUMP=y
CONFIG_KEXEC=y
CONFIG_DEBUG_INFO=y
CONFIG_RELOCATABLE=y
The problem is that I couldn’t found the “CONFIG_CRASH_DUMP” from menuconfig for the version of the kernel I’m using. Any suggestions?
Thank you for reply. I did configure it but I still have another problem. To be able use a dump kernel we have to add “crashkernel=X@Y” parameter to the kernel cmdline to reserve a specific space in the main memory for the kernel that will be loaded in case of kernel panic problem. I’ve successfully added this parameter and I could check it by cat /proc/cmdline after reboot. The problem is I’m still getting this error from the kdump service about reserving memory for the dump kernel:
Sep 20 10:44:01 Fedi systemd[1]: Starting Reboot and dump vmcore via kexec…
Sep 20 10:44:01 Fedi kdump-helper[410]: Memory for crashkernel is not reserved
Sep 20 10:44:01 Fedi kdump-helper[410]: Please reserve memory by passing"crashkernel=X@Y" parameter to kernel
Sep 20 10:44:01 Fedi kdump-helper[410]: Then try to loading kdump kernel
Sep 20 10:44:01 Fedi kdump-helper[403]: Failed to load kdump kernel!
Sep 20 10:44:01 Fedi kdump[412]: Failed to load kdump kernel!
Sep 20 10:44:01 Fedi systemd[1]: kdump.service: Main process exited, code=exited, status=1/FAILURE
Sep 20 10:44:01 Fedi systemd[1]: kdump.service: Failed with result ‘exit-code’.
Sep 20 10:44:01 Fedi systemd[1]: Failed to start Reboot and dump vmcore via kexec.