e8f71f38d5
During debugging of another problem issues were noted with the kdump udev rules. The kdump service is restarted on memory add and remove events. These are the wrong events for these types of devices and result in an overly aggressive restarting of the kdump service. There are four udev events to consider, "add", "remove", "online", and "offline". The remove event is a complete removal from the system -- neither the hardware nor the kernel know about the hardware; it has been physically removed. The add event is associated with hardware being physically added to the system. The kernel has some limited knowledge of the device, however, it is not avaiable for the kernel to use until it is brought online. Online events refer to the device being available for the kernel to use. Opposite to that is the offline event, which occurs when a device is no longer in use by the kernel. Note that in all four events the kernel *may* have some remaining information stored about the device. In the case of memory hotplug, kdump should be restarted when a memory module is onlined or offlined. This is because the memory is not in use by the kernel until the memory is onlined, and it is unused when the memory is offlined. Making these modifications results in smooth service on systems that do heavy memory onlining and offlining. Cc: Vivek Goyal <vgoyal@redhat.com> Signed-off-by: Prarit Bhargava <prarit@redhat.com> Acked-by: Vivek Goyal <vgoyal@redhat.com> |
||
---|---|---|
po | ||
.gitignore | ||
98-kexec.rules | ||
dracut-kdump.sh | ||
dracut-module-setup.sh | ||
dracut-monitor_dd_progress | ||
firstboot_kdump.py | ||
kdump-dep-generator.sh | ||
kdump-in-cluster-environment.txt | ||
kdump-lib.sh | ||
kdump.conf | ||
kdump.conf.5 | ||
kdump.service | ||
kdump.sysconfig | ||
kdump.sysconfig.i386 | ||
kdump.sysconfig.ppc64 | ||
kdump.sysconfig.s390x | ||
kdump.sysconfig.x86_64 | ||
kdumpctl | ||
kexec-kdump-howto.txt | ||
kexec-tools-2.0.3-build-makedumpfile-eppic-shared-object.patch | ||
kexec-tools-2.0.3-disable-kexec-test.patch | ||
kexec-tools-2.0.5-vmcore-dmesg-stack-smashing-happend-in-extreme-case.patch | ||
kexec-tools.spec | ||
mkdumprd | ||
mkdumprd.8 | ||
README | ||
rhcrashkernel-param | ||
sources | ||
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