Go to file
Vivek Goyal b8b1667e2c udev-rules: Restart kdump service on cpu ADD/REMOVE events
This patch changes restart of kdump service from cpu online/offline events
to cpu add/remove events.

Some people have complained that they are running cpu online/offline tests
at high frequency and kdump restarts at high frequency and systemd disables
the service. As a temporary fix, we committed a patch to never disable
kdump service.

In general it probably is a good idea to restart kdump service on cpu
add/remove events.

Toshi Kani confirmed following.

- File for /sys/devices/system/cpu/cpuX/crash_notes will be created first
  before ADD event goes out. That means we can not miss creating EFL notes
  for newly created cpu.

- For REMOVE event files under /sys/devices/system/cpu/cpuX/ are removed
  first and then REMOVE event goes out. That means we will remove the elf
  note header for removed cpu.

- There are some race conditions like a cpu is removed but system crashes
  before kdump service restarts. In that case vmcore.c has to be more robust
  to be able to inspect elf notes and discard empty ones.

  Also it is possible that after cpu remove, crash notes memory got reused
  for something else and after crash vmcore.c might see some random data.
  It does basic size checks and discards elf notes if checks don't pass.

  Above rance conditions can happen even with OFFLINE event and there is
  no good way to remove these altogether. So making vmcore.c more robust
  is the right solution here.

Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
Acked-by: WANG Chao <chaowang@redhat.com>
2014-09-15 21:55:07 +08:00
anaconda-addon Rename the subpackage kdump-anaconda-addon 2014-05-22 18:32:43 +08:00
.gitignore update to kdump-anaconda-addon-003.tar.gz 2014-08-29 13:02:18 +08:00
98-kexec.rules udev-rules: Restart kdump service on cpu ADD/REMOVE events 2014-09-15 21:55:07 +08:00
dracut-kdump-capture.service Introduce kdump capture service 2014-08-05 13:13:32 +08:00
dracut-kdump-emergency.service kdump-emergency.service: executable uses absolute path 2014-08-28 13:05:56 +08:00
dracut-kdump-error-handler.service Introduce kdump error handling service 2014-08-05 13:13:32 +08:00
dracut-kdump-error-handler.sh Introduce kdump error handling service 2014-08-05 13:13:32 +08:00
dracut-kdump.sh Introduce kdump capture service 2014-08-05 13:13:32 +08:00
dracut-module-setup.sh dracut-module-setup: allow short hostname in cluster configuration 2014-08-12 13:16:08 +08:00
dracut-monitor_dd_progress
fadump-howto.txt kdump: Add firmware-assisted dump howto document 2014-07-28 13:03:51 +08:00
kdump-dep-generator.sh
kdump-in-cluster-environment.txt
kdump-lib-initramfs.sh Let systemd handle unmount 2014-08-06 12:02:59 +08:00
kdump-lib.sh
kdump.conf
kdump.conf.5
kdump.service Disable the ratelimit of kdump service on hotplug events 2014-05-04 17:08:14 +08:00
kdump.sysconfig
kdump.sysconfig.i386
kdump.sysconfig.ppc64
kdump.sysconfig.s390x
kdump.sysconfig.x86_64
kdumpctl kdumpctl: Use kexec file based syscall for secureboot enabled machines 2014-09-10 10:45:46 +08:00
kexec-kdump-howto.txt
kexec-tools-2.0.3-disable-kexec-test.patch
kexec-tools-2.0.4-makedumpfile-Fix-free-bitmap_buffer_cyclic-error.patch Fix free bitmap_buffer_cyclic error. 2014-07-16 14:57:00 +08:00
kexec-tools-2.0.4-makedumpfile-Fix-Makefile-for-eppic_makedumpfile.so-build.patch makedumpfile: Fix Makefile for eppic_makedumpfile.so build 2014-06-13 13:17:56 +08:00
kexec-tools-2.0.4-makedumpfile-Introduce-the-mdf_pfn_t-type.patch Introduce the mdf_pfn_t type. 2014-07-16 14:56:41 +08:00
kexec-tools-2.0.4-makedumpfile-Move-counting-pfn_memhole-for-cyclic-mode.patch Move counting pfn_memhole for cyclic mode. 2014-07-16 14:57:18 +08:00
kexec-tools-2.0.4-makedumpfile-Remove-the-1st-bitmap-buffer-from-the-ELF-.patch Remove the 1st bitmap buffer from the ELF path in cyclic mode. 2014-07-16 14:57:15 +08:00
kexec-tools-2.0.4-makedumpfile-Stop-maximizing-the-bitmap-buffer-to-reduc.patch Stop maximizing the bitmap buffer to reduce the risk of OOM. 2014-07-16 14:57:21 +08:00
kexec-tools-2.0.7-kexec-ppc64-disabling-exception-handling-when-buildi.patch kexec/ppc64: disabling exception handling when building the purgatory 2014-09-15 21:55:02 +08:00
kexec-tools-2.0.7-kexec-ppc64-move-to-device-tree-version-17.patch kexec/ppc64: move to device tree version 17 2014-09-15 21:54:47 +08:00
kexec-tools-2.0.7-ppc64-kdump-Fix-ELF-header-endianess.patch ppc64/kdump: Fix ELF header endianess 2014-09-15 21:55:04 +08:00
kexec-tools-2.0.7-Provide-an-option-to-use-new-kexec-system-call.patch kexec: Provide an option to use new kexec system call 2014-09-10 10:44:24 +08:00
kexec-tools.spec ppc64/kdump: Fix ELF header endianess 2014-09-15 21:55:04 +08:00
mkdumprd mkdumprd: append "x-initrd.mount" to the mount options. 2014-08-05 13:13:32 +08:00
mkdumprd.8
README
rhcrashkernel-param
sources Removing firstboot module 2014-08-29 13:17:14 +08:00
zanata-notes.txt

Adding a patch to kexec-tools
=============================
There is a mailing list kexec@lists.fedoraproject.org where all the dicussion
related to fedora kexec-tools happen. All the patches are posted there for
inclusion and committed to kexec-tools after review.

So if you want your patches to be included in fedora kexec-tools package,
post these to kexec@lists.fedoraproject.org.

One can subscribe to list and browse through archives here.

https://admin.fedoraproject.org/mailman/listinfo/kexec