Unnamed repository
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 Update translation file po/it.po 2013-01-28 14:02:09 +08:00
.gitignore Support for eppic language as a subpackage 2013-03-14 14:42:55 +08:00
98-kexec.rules udev rules fix 2012-05-28 09:50:47 +08:00
dracut-kdump.sh Remove "-F" in CORE_COLLECTOR when dump_to_rootfs 2013-03-14 11:20:57 +08:00
dracut-module-setup.sh dracut-module-setup.sh: remove UUID/LABEL quotes before using it 2013-03-14 10:42:15 +08:00
dracut-monitor_dd_progress remove dracut-files.tbz2 [v2] 2012-05-03 10:06:05 +08:00
firstboot_kdump.py firstboot:fix reserve mem ui spinbox step size 2012-12-12 17:15:10 +08:00
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 - Fix a syntax error in kdump init script 2010-06-13 21:54:34 +00:00
kdump.service Fixup sysytemd service file (bug 741272) 2012-02-14 10:13:06 -07:00
kdump.sysconfig do not mount root twice 2012-07-12 11:15:35 +08:00
kdump.sysconfig.i386 tune sysconfig to save memory usage 2013-02-27 10:16:14 +08:00
kdump.sysconfig.ia64 Mass Update of RHEL5 patches 2008-06-05 15:18:53 +00:00
kdump.sysconfig.ppc64 tune sysconfig to save memory usage 2013-02-27 10:16:14 +08:00
kdump.sysconfig.s390x tune sysconfig to save memory usage 2013-02-27 10:16:14 +08:00
kdump.sysconfig.x86_64 tune sysconfig to save memory usage 2013-02-27 10:16:14 +08:00
kdumpctl Deprecate blacklist option 2013-04-02 10:26:39 +08:00
kexec-kdump-howto.txt Change dump_to_rootfs to be a default option and reboot to be default action 2013-03-14 11:13:18 +08:00
kexec-tools-2.0.3-Load-bzImages-smaller-than-32-KiB.patch Pull two patches from upstream 2012-10-25 17:07:19 +08:00
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 Disable kexec_test 2012-01-21 16:56:07 +08:00
kexec-tools-2.0.3-kdump-pass-acpi_rsdp-to-2nd-kernel-for-efi-booting.patch Pull two patches from upstream 2012-10-25 17:07:19 +08:00
kexec-tools-2.0.3-ppc-exec-stack-fix.patch Pull patch kexec-tools-2.0.3-ppc-exec-stack-fix.patch 2012-12-21 15:19:55 +08:00
kexec-tools-2.0.3-ppc-ppc64-compile-purgatory-code-with-gcc-option-msoft-float.patch ppc/ppc64: compile purgatory with gcc option msoft-float 2012-09-29 13:15:36 +08:00
kexec-tools-2.0.3-vmcore-dmesg-Do-not-write-beyond-end-of-buffer.patch Pull vmcore-dmesg patches from vivek 2012-09-29 13:19:03 +08:00
kexec-tools-2.0.3-vmcore-dmesg-vmcore-dmesg-Make-it-work-with-new-stru.patch Pull vmcore-dmesg patches from vivek 2012-09-29 13:19:03 +08:00
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 Remove comma which is redundant 2013-02-16 15:19:41 +08:00
rhcrashkernel-param rhcrashkernel-param: echo crashkernel=auto for rhel7 2012-08-20 15:01:47 +08:00
sources Change rules related to eppic in kexec-tools.spec 2013-03-18 10:56:45 +08:00
zanata-notes.txt Add a notes for zanata process 2012-12-05 01:23:09 -05:00