Go to file
Baoquan 4b850d2f3a Check if block device as dump target is resettable
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>
2013-04-02 10:38:35 +08:00
po
.gitignore Support for eppic language as a subpackage 2013-03-14 14:42:55 +08:00
98-kexec.rules
dracut-kdump.sh
dracut-module-setup.sh
dracut-monitor_dd_progress
firstboot_kdump.py
kdump.conf Check if block device as dump target is resettable 2013-04-02 10:38:35 +08:00
kdump.conf.5 Check if block device as dump target is resettable 2013-04-02 10:38:35 +08:00
kdump.init
kdump.service
kdump.sysconfig
kdump.sysconfig.i386
kdump.sysconfig.ia64
kdump.sysconfig.ppc64
kdump.sysconfig.s390x
kdump.sysconfig.x86_64
kdumpctl Deprecate blacklist option 2013-04-02 10:26:39 +08:00
kexec-kdump-howto.txt
kexec-tools-2.0.3-build-makedumpfile-eppic-shared-object.patch Support for eppic language as a subpackage 2013-03-14 14:42:55 +08:00
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 Release 2.0.3-71 2013-03-27 10:44:43 +08:00
mkdumprd Check if block device as dump target is resettable 2013-04-02 10:38:35 +08:00
mkdumprd.8
rhcrashkernel-param
sources Change rules related to eppic in kexec-tools.spec 2013-03-18 10:56:45 +08:00
zanata-notes.txt