ashkernel '{print $1}'`"-p ./uImage.kdump --append="`cat /proc/cmdline|awk -F cra
Memory for crashkernel is not reserved
Please reserve memory by passing "crashkernel=X@Y" parameter to the kernel
Then try loading kdump kernel
root@localhost:/#
Need to update kexec/kdump tools
1. To generate kexec boot kernel, configuration with:
" --with-template=feature/kexec"
And build the kernel
$ make -C build linux-windriver
2. To generate dump-capture kernel, configuration with:
" --with-template=feature/kdump"
And build the kernel
$ make -C build linux-windriver
3. Copy the kexec boot kernel to rootfs with name "uImage.kexec" and
copy the dump-capture kernel to rootfs with name "uImage.kdump"
4. Test kexec:
Boot the board with the kexec boot kernel. And execute following commands:
$ kexec -l ./uImage.kexec --append="`cat /proc/cmdline`"
$ kexec -e
5. Test kdump:
Boot the board with the kexec boot kernel and append "crashkernel=128M@64M"
to the end of the kernel command line. And execute following commands:
$ kexec -p ./uImage.kdump --append="`cat /proc/cmdline|awk -F crashkernel '{print $1}'`"
$ echo c > /proc/sysrq-trigger