4b850d2f3a
Some Smart Array (hpsa/cciss) adapters don't support reset, we need to disable kdump on those devices, like rhel6 did. In this patch, the dump target is checked according to below criteria if it's a block device. If it's cciss disk but is resettbale, can be used as dump target. If it's cciss disk but is not resettable, can not be used as dump target. If it's cciss disk and not resettable, but user set OVERRIDE_RESETTABLE to 1 in /etc/sysconfig/kdump, can be taken as dump target. Because user know the situation and want to have a try. In this patch, added codes include 4 parts: 1)Add an option "override_resettable <0 | 1>" into kdump.conf, and add related section into kdump.conf man page. In mkdumprd, will check whether user has set a value, get that value if yes. By default, the value is 0. 2)port utility functions from dracut-functions.sh. 3)The check_resettable function checks if dump target is a resettable block device. This includes the case where default action dump_to_rootfs is set. Signed-off-by: Baoquan He <bhe@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.conf | ||
kdump.conf.5 | ||
kdump.init | ||
kdump.service | ||
kdump.sysconfig | ||
kdump.sysconfig.i386 | ||
kdump.sysconfig.ia64 | ||
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.3-kdump-pass-acpi_rsdp-to-2nd-kernel-for-efi-booting.patch | ||
kexec-tools-2.0.3-Load-bzImages-smaller-than-32-KiB.patch | ||
kexec-tools-2.0.3-ppc-exec-stack-fix.patch | ||
kexec-tools-2.0.3-ppc-ppc64-compile-purgatory-code-with-gcc-option-msoft-float.patch | ||
kexec-tools-2.0.3-vmcore-dmesg-Do-not-write-beyond-end-of-buffer.patch | ||
kexec-tools-2.0.3-vmcore-dmesg-vmcore-dmesg-Make-it-work-with-new-stru.patch | ||
kexec-tools.spec | ||
mkdumprd | ||
mkdumprd.8 | ||
rhcrashkernel-param | ||
sources | ||
zanata-notes.txt |