[systemd-devel] kexec -p option does not cause a reboot on panic
megha.dey at intel.com
Sat Oct 29 00:16:42 UTC 2016
I was testing kexec on systemd (Ubuntu 16.04). Here are the steps I follow:
1. Install a kexec aware kernel (all the configs needed for kexec are enabled)
2. Give the following command after making sure we have set up crash memory: kexec -p --initrd=<initrd> --reuse-cmdline <vmlinuz>
3. Check /sys/kernel/kexec_crash_loaded(it is 1)
4. Generate a panic: echo c >/proc/sysrq-trigger
Even after waiting for a while, I see that no reboot is happening. However, the kexec -e option works just fine.
Kexec -p works as expected on Ubuntu 14.04(which uses systemv)
Has anyone seen this issue before? Is there any additional step required that I may have missed? It would be great if I could get some pointers.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the systemd-devel