Re: [systemd-devel] kexec -p option does not cause a reboot on panic
On Sat, 29.10.16 00:16, Dey, Megha (megha@intel.com) wrote: > Hi, > > I was testing kexec on systemd (Ubuntu 16.04). Here are the steps I follow: systemd is not involved with crash dumping on kernel crashes. Please contact your distro maintainers or the crash dumping maintainers for help, we can't really help you there. Sorry, Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] kexec -p option does not cause a reboot on panic
Hi, Build primary kernel with enabling this config . Please read the documentation for this config for your hardware. CONFIG_PHYSICAL_START=0x100 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 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= --reuse-cmdline > > > > 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
Re: [systemd-devel] kexec -p option does not cause a reboot on panic
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= --reuse-cmdline > > 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] kexec -p option does not cause a reboot on panic
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= --reuse-cmdline 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. Thanks, Megha ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel