[systemd-devel] kexec -p option does not cause a reboot on panic

Andrei Borzenkov arvidjaar at gmail.com
Sun Oct 30 07:34:57 UTC 2016


29.10.2016 03:16, Dey, Megha пишет:
> Hi,
> 
> 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)
> 

It is also using completely different kernel. What makes you think it
has anything to do with systemd?

Anyway, not willing to crash my desktop - the above works fine on
openSUSE Tumbleweed in QEMU.

> 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.
> 
> Thanks,
> Megha
> 
> 
> 
> 
> 
> 
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/systemd-devel
> 



More information about the systemd-devel mailing list