[systemd-devel] kexec -p option does not cause a reboot on panic
satya.naik.dev at gmail.com
Mon Oct 31 05:20:37 UTC 2016
Build primary kernel with enabling this config . Please read the
documentation for this config for your hardware.
later you can check the running kernel config by "*zcat* /*proc*/*config*.gz
> running.config" , grep this config
On Sun, Oct 30, 2016 at 1:04 PM, Andrei Borzenkov <arvidjaar at gmail.com>
> 29.10.2016 03:16, Dey, Megha пишет:
> > Hi,
> > I was testing kexec on systemd (Ubuntu 16.04). Here are the steps I
> > 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
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the systemd-devel