Hi, Build primary kernel with enabling this config . Please read the documentation for this config for your hardware. CONFIG_PHYSICAL_START=0x1000000 CONFIG_SYSFS=y CONFIG_HIGHMEM4G=y CONFIG_RELOCATABLE=y CONFIG_KEXEC=y CONFIG_DEBUG_INFO=y CONFIG_CRASH_DUMP=y
later you can check the running kernel config by "*zcat* /*proc*/*config*.gz > running.config" , grep this config Regards, Satya . On Sun, Oct 30, 2016 at 1:04 PM, Andrei Borzenkov <arvidj...@gmail.com> wrote: > 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@lists.freedesktop.org > > https://lists.freedesktop.org/mailman/listinfo/systemd-devel > > > > _______________________________________________ > systemd-devel mailing list > systemd-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/systemd-devel >
_______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel