Header Shadow Image


Saving random seed failed. / No kdump initial ramdisk found. / Failed to run mkdumprd

Kdump doesn't start?

[root@mbpc-pc grub]# service kdump restart
Memory for crashkernel is not reserved
Please reserve memory by passing "crashkernel=X@Y" parameter to the kernel
Stopping kdump:                                            [FAILED]
No kdump initial ramdisk found.                            [WARNING]
Rebuilding /boot/initrd-4.8.4kdump.img
Saving random seed failed.
Failed to run mkdumprd
[root@mbpc-pc grub]#

Then create the ramdom-seed file like this:

dd if=/dev/urandom of=/var/lib/random-seed bs=1024 count=1

Run

bash -x /etc/init.d/kdump start

to get the command line or simply:

[root@mbpc-pc grub]# /sbin/mkdumprd -d -f –allow-missing /boot/initrd-4.8.4kdump.img 4.8.4
[root@mbpc-pc grub]# ls -altri /boot/initrd-4.8.4kdump.img
71 -rw——-. 1 root root 8852315 Apr 22 12:46 /boot/initrd-4.8.4kdump.img
[root@mbpc-pc grub]#

to get an initial kdump.img going.  Try to restart the kdump daemon:

[root@mbpc-pc grub]# /etc/init.d/kdump restart
Memory for crashkernel is not reserved
Please reserve memory by passing "crashkernel=X@Y" parameter to the kernel
Stopping kdump:                                            [FAILED]
Memory for crashkernel is not reserved
Please reserve memory by passing "crashkernel=X@Y" parameter to the kernel
Starting kdump:                                            [FAILED]
[root@mbpc-pc grub]#

So I checked /boot/grub/grub.conf and had this:

crashkernel=256M

Instead of:

crashkernel=256M@32M

Make the change and restart the system because we need to reload the kernel to take the change into effect.  Now also be careful what values you pick as many sites will suggest variations:

Picking:

crashkernel=256M@16M

results in:

crashkernel reservation failed – memory is in use.

Using:

crashkernel=auto

results in:

kexec_core: crashkernel: memory value expected

Specifying:

Reserving 256MB of memory at 592MB for crashkernel (System RAM: 4092MB)

actually autoallocates a free 256MB chunk at an auto determined offset.  However still get's us the familiar startup message above.  So we need to dig deeper.  We try bash -x /etc/init.d/kdump start to see what the issue is and to our surprise, things start up just fine:

[root@mbpc-pc ~]# /etc/init.d/kdump start
Memory for crashkernel is not reserved
Please reserve memory by passing "crashkernel=X@Y" parameter to the kernel
Starting kdump:                                            [FAILED]
[root@mbpc-pc ~]#
[root@mbpc-pc ~]#
[root@mbpc-pc ~]#
[root@mbpc-pc ~]# bash -x /etc/init.d/kdump start
+ . /etc/init.d/functions
++ TEXTDOMAIN=initscripts
++ umask 022
++ PATH=/sbin:/usr/sbin:/bin:/usr/bin
++ export PATH
++ '[' -z '' ']'
++ COLUMNS=80
++ '[' -z '' ']'
+++ /sbin/consoletype
++ CONSOLETYPE=pty
++ '[' -f /etc/sysconfig/i18n -a -z '' -a -z '' ']'
++ . /etc/profile.d/lang.sh
++ unset LANGSH_SOURCED
++ '[' -z '' ']'
++ '[' -f /etc/sysconfig/init ']'
++ . /etc/sysconfig/init
+++ BOOTUP=color
+++ RES_COL=60
+++ MOVE_TO_COL='echo -en \033[60G'
+++ SETCOLOR_SUCCESS='echo -en \033[0;32m'
+++ SETCOLOR_FAILURE='echo -en \033[0;31m'
+++ SETCOLOR_WARNING='echo -en \033[0;33m'
+++ SETCOLOR_NORMAL='echo -en \033[0;39m'
+++ PROMPT=yes
+++ AUTOSWAP=no
+++ ACTIVE_CONSOLES='/dev/tty[1-6]'
+++ SINGLE=/sbin/sushell
++ '[' pty = serial ']'
++ __sed_discard_ignored_files='/\(~\|\.bak\|\.orig\|\.rpmnew\|\.rpmorig\|\.rpmsave\)$/d'
+++ cat /proc/cmdline
++ strstr 'ro root=/dev/mapper/mbpcvg-rootlv rd_LVM_LV=mbpcvg/rootlv rd_LVM_LV=VGEntertain/olv_swap rd_LVM_LV=mbpcvg/swaplv rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb nomodeset irqpoll pcie_aspm=off amd_iommu=on crashkernel=256M pci=nomsi' rc.debug
++ '[' 'ro root=/dev/mapper/mbpcvg-rootlv rd_LVM_LV=mbpcvg/rootlv rd_LVM_LV=VGEntertain/olv_swap rd_LVM_LV=mbpcvg/swaplv rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb nomodeset irqpoll pcie_aspm=off amd_iommu=on crashkernel=256M pci=nomsi' = 'ro root=/dev/mapper/mbpcvg-rootlv rd_LVM_LV=mbpcvg/rootlv rd_LVM_LV=VGEntertain/olv_swap rd_LVM_LV=mbpcvg/swaplv rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb nomodeset irqpoll pcie_aspm=off amd_iommu=on crashkernel=256M pci=nomsi' ']'
++ return 1
+ KEXEC=/sbin/kexec
+ BOOTDIR=/boot
+ KDUMP_KERNELVER=
+ KDUMP_COMMANDLINE=
+ KDUMP_IDE_NOPROBE_COMMANDLINE=
+ KEXEC_ARGS=
+ KDUMP_CONFIG_FILE=/etc/kdump.conf
+ MEM_RESERVED=
+ MKDUMPRD_ARGS=
+ CLUSTER_CONFIG_FILE=/etc/cluster/cluster.conf
+ FENCE_KDUMP_CONFIG=/etc/sysconfig/fence_kdump
+ SSH_KEY_LOCATION=/root/.ssh/kdump_id_rsa
+ DEFAULT_DUMP_MODE=kdump
+ LOGGER='/usr/bin/logger -p info -t kdump'
+ standard_kexec_args=-p
+ '[' -f /etc/sysconfig/kdump ']'
+ . /etc/sysconfig/kdump
++ KDUMP_KERNELVER=
++ KDUMP_COMMANDLINE=
++ KDUMP_COMMANDLINE_APPEND='irqpoll nr_cpus=1 reset_devices cgroup_disable=memory mce=off acpi_no_memhotplug'
++ MKDUMPRD_ARGS=–allow-missing
++ KEXEC_ARGS=
++ KDUMP_BOOTDIR=/boot
++ KDUMP_IMG=vmlinuz
++ KDUMP_IMG_EXT=
+ single_instance_lock
+ exec
+ flock 9
+ determine_dump_mode
+ fadump_enabled_sys_node=/sys/kernel/fadump_enabled
+ '[' -f /sys/kernel/fadump_enabled ']'
+ case "$1" in
+ '[' kdump == fadump ']'
+ '[' -s /proc/vmcore ']'
+ start
+ sestatus
+ grep -q 'SELinux status.*enabled'
+ selinux_relabel
+ local _path _i _attr
++ path_to_be_relabeled
++ local _path _target _mnt=/ _rmnt
++ is_dump_target_configured
++ local _target
+++ egrep '^ext[234]|^xfs|^btrfs|^raw|^ssh|^nfs|^nfs4|^net' /etc/kdump.conf
++ _target=
++ '[' -n '' ']'
+++ get_save_path
++++ grep '^path' /etc/kdump.conf
++++ awk '{print $2}'
+++ local _save_path=/var/crash
+++ '[' -z /var/crash ']'
+++ echo /var/crash
++ _path=/var/crash
+++ df ///var/crash
+++ tail -1
+++ awk '{ print $NF }'
++ _rmnt=/
++ [[ / == \/ ]]
++ echo ///var/crash
+ _path=///var/crash
+ '[' -z ///var/crash ']'
+ '[' -d ///var/crash ']'
++ find ///var/crash
+ for _i in '$(find $_path)'
++ getfattr -m security.selinux ///var/crash
+ _attr='# file: var/crash
security.selinux'
+ '[' -z '# file: var/crash
security.selinux' ']'
+ save_raw
++ awk '$1 ~ /^raw$/ { print $2; }' /etc/kdump.conf
+ local raw_part=
+ local kdump_dir
+ '[' '' ']'
+ return 0
+ '[' 0 -ne 0 ']'
+ status
+ '[' kdump == fadump ']'
+ '[' '!' -e /sys/kernel/kexec_crash_loaded ']'
+ in_xen_pv_guest
+ grep -q 'xen-percpu-virq  *timer0' /proc/interrupts
+ in_xen_hvm_guest
+ grep -q xen /sys/hypervisor/type
++ cat /sys/kernel/kexec_crash_loaded
+ rc=0
+ '[' 0 == 1 ']'
+ return 1
+ rc=1
+ '[' 1 == 2 ']'
+ '[' 1 == 0 ']'
+ '[' kdump '!=' fadump ']'
+ check_kernel_parameter
+ '[' -z '' ']'
++ cat /proc/cmdline
+ KDUMP_COMMANDLINE='ro root=/dev/mapper/mbpcvg-rootlv rd_LVM_LV=mbpcvg/rootlv rd_LVM_LV=VGEntertain/olv_swap rd_LVM_LV=mbpcvg/swaplv rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb nomodeset irqpoll pcie_aspm=off amd_iommu=on crashkernel=256M pci=nomsi'
++ cat /sys/kernel/kexec_crash_size
+ MEM_RESERVED=268435456
+ '[' 268435456 -eq 0 ']'
+ return 0
+ '[' 0 '!=' 0 ']'
+ check_config
+ '[' kdump == fadump ']'
+ check_kdump_config
+ local modified_files=
+ local force_rebuild=0
+ MKDUMPRD='/sbin/mkdumprd -d -f –allow-missing'
++ grep '^force_rebuild' /etc/kdump.conf
++ cut '-d ' -f2
+ force_rebuild=
+ '[' -n '' ']'
+ '[' -z '' ']'
++ uname -r
+ local running_kernel=4.8.4
++ echo 4.8.4
++ sed s/smp//g
+ kdump_kver=4.8.4
+ kdump_kernel=/boot/vmlinuz-4.8.4
+ kdump_initrd=/boot/initrd-4.8.4kdump.img
+ '[' '!' -f /boot/vmlinuz-4.8.4 ']'
+ '[' '!' -f /boot/initrd-4.8.4kdump.img ']'
+ '[' -z '' ']'
++ stat -c %Y /boot/initrd-4.8.4kdump.img
+ image_time=1524415601
++ grep '^kdump_post' /etc/kdump.conf
++ cut '-d ' -f2
+ EXTRA_FILES=
++ grep '^kdump_pre' /etc/kdump.conf
++ cut '-d ' -f2
+ CHECK_FILE=
+ EXTRA_FILES=' '
++ grep '^extra_modules' /etc/kdump.conf
++ cut '-d ' -f2-
+ CHECK_FILE=
+ EXTRA_FILES='  '
++ grep '^extra_bins' /etc/kdump.conf
++ cut '-d ' -f2-
+ CHECK_FILE=
+ EXTRA_FILES='   '
++ grep '^extra_modules' /etc/kdump.conf
+ FORCE_REBUILD=
+ files='/etc/kdump.conf /boot/vmlinuz-4.8.4    '
+ grep -q '^fence_kdump_nodes' /etc/kdump.conf
+ '[' -f /etc/cluster/cluster.conf ']'
+ for file in '$files'
+ time_stamp=0
+ '[' -f /etc/kdump.conf ']'
++ stat -c %Y /etc/kdump.conf
+ time_stamp=1524414829
+ '[' 1524414829 -gt 1524415601 ']'
+ for file in '$files'
+ time_stamp=0
+ '[' -f /boot/vmlinuz-4.8.4 ']'
++ stat -c %Y /boot/vmlinuz-4.8.4
+ time_stamp=1477845416
+ '[' 1477845416 -gt 1524415601 ']'
+ '[' -n '' -a '!= ' ']'
+ '[' -n '' -a '!= ' ']'
+ in_xen_hvm_guest
+ grep -q xen /sys/hypervisor/type
+ return 0
+ return 0
+ '[' 0 '!=' 0 ']'
+ start_dump
+ '[' kdump == fadump ']'
+ load_kdump
++ uname -m
+ ARCH=x86_64
++ awk '/Slab:.*/ {print $2}' /proc/meminfo
+ KMEMINUSE=152036
++ dc '-e268435456 1024 / p'
+ MEM_RESERVED=262144
++ dc '-e262144 .7 * 10 * 10 / p'
+ MEM_RESERVED=183500
+ '[' x86_64 '!=' i686 -a x86_64 '!=' i386 -a x86_64 '!=' x86_64 ']'
+ '[' x86_64 == i686 -o x86_64 == i386 ']'
+ '[' -f /sys/firmware/efi/systab ']'
+ echo 'irqpoll nr_cpus=1 reset_devices cgroup_disable=memory mce=off acpi_no_memhotplug'
+ grep -q nr_cpus
++ uname -r
+ ver=4.8.4
++ echo 4.8.4
++ cut -d- -f1
+ maj=4.8.4
++ echo 4.8.4
++ cut -d- -f2
+ min=4.8.4
+ min=4
+ '[' 4.8.4 = 2.6.32 ']'
++ prepare_cmdline
++ local cmdline
++ '[' -z 'ro root=/dev/mapper/mbpcvg-rootlv rd_LVM_LV=mbpcvg/rootlv rd_LVM_LV=VGEntertain/olv_swap rd_LVM_LV=mbpcvg/swaplv rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb nomodeset irqpoll pcie_aspm=off amd_iommu=on crashkernel=256M pci=nomsi' ']'
++ cmdline='ro root=/dev/mapper/mbpcvg-rootlv rd_LVM_LV=mbpcvg/rootlv rd_LVM_LV=VGEntertain/olv_swap rd_LVM_LV=mbpcvg/swaplv rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb nomodeset irqpoll pcie_aspm=off amd_iommu=on crashkernel=256M pci=nomsi'
+++ remove_cmdline_param 'ro root=/dev/mapper/mbpcvg-rootlv rd_LVM_LV=mbpcvg/rootlv rd_LVM_LV=VGEntertain/olv_swap rd_LVM_LV=mbpcvg/swaplv rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb nomodeset irqpoll pcie_aspm=off amd_iommu=on crashkernel=256M pci=nomsi' crashkernel mem hugepages hugepagesz
+++ local 'cmdline=ro root=/dev/mapper/mbpcvg-rootlv rd_LVM_LV=mbpcvg/rootlv rd_LVM_LV=VGEntertain/olv_swap rd_LVM_LV=mbpcvg/swaplv rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb nomodeset irqpoll pcie_aspm=off amd_iommu=on crashkernel=256M pci=nomsi'
+++ shift
+++ for arg in '$@'
++++ echo ro root=/dev/mapper/mbpcvg-rootlv rd_LVM_LV=mbpcvg/rootlv rd_LVM_LV=VGEntertain/olv_swap rd_LVM_LV=mbpcvg/swaplv rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb nomodeset irqpoll pcie_aspm=off amd_iommu=on crashkernel=256M pci=nomsi
++++ sed -e 's/\bcrashkernel=[^ ]*\b//g' -e 's/\bcrashkernel\b//g'
+++ cmdline='ro root=/dev/mapper/mbpcvg-rootlv rd_LVM_LV=mbpcvg/rootlv rd_LVM_LV=VGEntertain/olv_swap rd_LVM_LV=mbpcvg/swaplv rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb nomodeset irqpoll pcie_aspm=off amd_iommu=on  pci=nomsi'
+++ for arg in '$@'
++++ echo ro root=/dev/mapper/mbpcvg-rootlv rd_LVM_LV=mbpcvg/rootlv rd_LVM_LV=VGEntertain/olv_swap rd_LVM_LV=mbpcvg/swaplv rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb nomodeset irqpoll pcie_aspm=off amd_iommu=on pci=nomsi
++++ sed -e 's/\bmem=[^ ]*\b//g' -e 's/\bmem\b//g'
+++ cmdline='ro root=/dev/mapper/mbpcvg-rootlv rd_LVM_LV=mbpcvg/rootlv rd_LVM_LV=VGEntertain/olv_swap rd_LVM_LV=mbpcvg/swaplv rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb nomodeset irqpoll pcie_aspm=off amd_iommu=on pci=nomsi'
+++ for arg in '$@'
++++ echo ro root=/dev/mapper/mbpcvg-rootlv rd_LVM_LV=mbpcvg/rootlv rd_LVM_LV=VGEntertain/olv_swap rd_LVM_LV=mbpcvg/swaplv rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb nomodeset irqpoll pcie_aspm=off amd_iommu=on pci=nomsi
++++ sed -e 's/\bhugepages=[^ ]*\b//g' -e 's/\bhugepages\b//g'
+++ cmdline='ro root=/dev/mapper/mbpcvg-rootlv rd_LVM_LV=mbpcvg/rootlv rd_LVM_LV=VGEntertain/olv_swap rd_LVM_LV=mbpcvg/swaplv rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb nomodeset irqpoll pcie_aspm=off amd_iommu=on pci=nomsi'
+++ for arg in '$@'
++++ echo ro root=/dev/mapper/mbpcvg-rootlv rd_LVM_LV=mbpcvg/rootlv rd_LVM_LV=VGEntertain/olv_swap rd_LVM_LV=mbpcvg/swaplv rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb nomodeset irqpoll pcie_aspm=off amd_iommu=on pci=nomsi
++++ sed -e 's/\bhugepagesz=[^ ]*\b//g' -e 's/\bhugepagesz\b//g'
+++ cmdline='ro root=/dev/mapper/mbpcvg-rootlv rd_LVM_LV=mbpcvg/rootlv rd_LVM_LV=VGEntertain/olv_swap rd_LVM_LV=mbpcvg/swaplv rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb nomodeset irqpoll pcie_aspm=off amd_iommu=on pci=nomsi'
+++ echo ro root=/dev/mapper/mbpcvg-rootlv rd_LVM_LV=mbpcvg/rootlv rd_LVM_LV=VGEntertain/olv_swap rd_LVM_LV=mbpcvg/swaplv rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb nomodeset irqpoll pcie_aspm=off amd_iommu=on pci=nomsi
++ cmdline='ro root=/dev/mapper/mbpcvg-rootlv rd_LVM_LV=mbpcvg/rootlv rd_LVM_LV=VGEntertain/olv_swap rd_LVM_LV=mbpcvg/swaplv rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb nomodeset irqpoll pcie_aspm=off amd_iommu=on pci=nomsi'
++ cmdline='ro root=/dev/mapper/mbpcvg-rootlv rd_LVM_LV=mbpcvg/rootlv rd_LVM_LV=VGEntertain/olv_swap rd_LVM_LV=mbpcvg/swaplv rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb nomodeset irqpoll pcie_aspm=off amd_iommu=on pci=nomsi irqpoll nr_cpus=1 reset_devices cgroup_disable=memory mce=off acpi_no_memhotplug'
++ avoid_cdrom_drive
++ local DRIVE=
++ local MEDIA=
++ IDE_DRIVES=(`echo hd{a,b,c,d}`)
+++ echo hda hdb hdc hdd
++ local IDE_DRIVES
++ local COUNTER=0
++ for DRIVE in '${IDE_DRIVES[@]}'
+++ echo 'ro root=/dev/mapper/mbpcvg-rootlv rd_LVM_LV=mbpcvg/rootlv rd_LVM_LV=VGEntertain/olv_swap rd_LVM_LV=mbpcvg/swaplv rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb nomodeset irqpoll pcie_aspm=off amd_iommu=on crashkernel=256M pci=nomsi'
+++ grep -q hda=
++ '[' -f /proc/ide/hda/media ']'
++ for DRIVE in '${IDE_DRIVES[@]}'
+++ echo 'ro root=/dev/mapper/mbpcvg-rootlv rd_LVM_LV=mbpcvg/rootlv rd_LVM_LV=VGEntertain/olv_swap rd_LVM_LV=mbpcvg/swaplv rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb nomodeset irqpoll pcie_aspm=off amd_iommu=on crashkernel=256M pci=nomsi'
+++ grep -q hdb=
++ '[' -f /proc/ide/hdb/media ']'
++ for DRIVE in '${IDE_DRIVES[@]}'
+++ echo 'ro root=/dev/mapper/mbpcvg-rootlv rd_LVM_LV=mbpcvg/rootlv rd_LVM_LV=VGEntertain/olv_swap rd_LVM_LV=mbpcvg/swaplv rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb nomodeset irqpoll pcie_aspm=off amd_iommu=on crashkernel=256M pci=nomsi'
+++ grep -q hdc=
++ '[' -f /proc/ide/hdc/media ']'
++ for DRIVE in '${IDE_DRIVES[@]}'
+++ echo 'ro root=/dev/mapper/mbpcvg-rootlv rd_LVM_LV=mbpcvg/rootlv rd_LVM_LV=VGEntertain/olv_swap rd_LVM_LV=mbpcvg/swaplv rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb nomodeset irqpoll pcie_aspm=off amd_iommu=on crashkernel=256M pci=nomsi'
+++ grep -q hdd=
++ '[' -f /proc/ide/hdd/media ']'
++ '[' 0 -eq 0 ']'
++ KDUMP_IDE_NOPROBE_COMMANDLINE=
++ KDUMP_COMMANDLINE='ro root=/dev/mapper/mbpcvg-rootlv rd_LVM_LV=mbpcvg/rootlv rd_LVM_LV=VGEntertain/olv_swap rd_LVM_LV=mbpcvg/swaplv rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb nomodeset irqpoll pcie_aspm=off amd_iommu=on crashkernel=256M pci=nomsi '
+++ get_bootcpu_initial_apicid
+++ awk '                                                       \
        BEGIN { CPU = "-1"; }                                   \
        $1=="processor" && $2==":"      { CPU = $NF; }          \
        CPU=="0" && /initial apicid/    { print $NF; }          \
        ' /proc/cpuinfo
++ local id=0
++ '[' '!' -z 0 ']'
+++ append_cmdline 'ro root=/dev/mapper/mbpcvg-rootlv rd_LVM_LV=mbpcvg/rootlv rd_LVM_LV=VGEntertain/olv_swap rd_LVM_LV=mbpcvg/swaplv rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb nomodeset irqpoll pcie_aspm=off amd_iommu=on pci=nomsi irqpoll nr_cpus=1 reset_devices cgroup_disable=memory mce=off acpi_no_memhotplug' disable_cpu_apicid 0
+++ local 'cmdline=ro root=/dev/mapper/mbpcvg-rootlv rd_LVM_LV=mbpcvg/rootlv rd_LVM_LV=VGEntertain/olv_swap rd_LVM_LV=mbpcvg/swaplv rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb nomodeset irqpoll pcie_aspm=off amd_iommu=on pci=nomsi irqpoll nr_cpus=1 reset_devices cgroup_disable=memory mce=off acpi_no_memhotplug'
+++ local 'newstr=ro root=/dev/mapper/mbpcvg-rootlv rd_LVM_LV=mbpcvg/rootlv rd_LVM_LV=VGEntertain/olv_swap rd_LVM_LV=mbpcvg/swaplv rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb nomodeset irqpoll pcie_aspm=off amd_iommu=on pci=nomsi irqpoll nr_cpus=1 reset_devices cgroup_disable=memory mce=off acpi_no_memhotplug'
+++ '[' 'ro root=/dev/mapper/mbpcvg-rootlv rd_LVM_LV=mbpcvg/rootlv rd_LVM_LV=VGEntertain/olv_swap rd_LVM_LV=mbpcvg/swaplv rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb nomodeset irqpoll pcie_aspm=off amd_iommu=on pci=nomsi irqpoll nr_cpus=1 reset_devices cgroup_disable=memory mce=off acpi_no_memhotplug' == 'ro root=/dev/mapper/mbpcvg-rootlv rd_LVM_LV=mbpcvg/rootlv rd_LVM_LV=VGEntertain/olv_swap rd_LVM_LV=mbpcvg/swaplv rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb nomodeset irqpoll pcie_aspm=off amd_iommu=on pci=nomsi irqpoll nr_cpus=1 reset_devices cgroup_disable=memory mce=off acpi_no_memhotplug' ']'
+++ cmdline='ro root=/dev/mapper/mbpcvg-rootlv rd_LVM_LV=mbpcvg/rootlv rd_LVM_LV=VGEntertain/olv_swap rd_LVM_LV=mbpcvg/swaplv rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb nomodeset irqpoll pcie_aspm=off amd_iommu=on pci=nomsi irqpoll nr_cpus=1 reset_devices cgroup_disable=memory mce=off acpi_no_memhotplug disable_cpu_apicid=0'
+++ echo ro root=/dev/mapper/mbpcvg-rootlv rd_LVM_LV=mbpcvg/rootlv rd_LVM_LV=VGEntertain/olv_swap rd_LVM_LV=mbpcvg/swaplv rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb nomodeset irqpoll pcie_aspm=off amd_iommu=on pci=nomsi irqpoll nr_cpus=1 reset_devices cgroup_disable=memory mce=off acpi_no_memhotplug disable_cpu_apicid=0
++ cmdline='ro root=/dev/mapper/mbpcvg-rootlv rd_LVM_LV=mbpcvg/rootlv rd_LVM_LV=VGEntertain/olv_swap rd_LVM_LV=mbpcvg/swaplv rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb nomodeset irqpoll pcie_aspm=off amd_iommu=on pci=nomsi irqpoll nr_cpus=1 reset_devices cgroup_disable=memory mce=off acpi_no_memhotplug disable_cpu_apicid=0'
++ echo ro root=/dev/mapper/mbpcvg-rootlv rd_LVM_LV=mbpcvg/rootlv rd_LVM_LV=VGEntertain/olv_swap rd_LVM_LV=mbpcvg/swaplv rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb nomodeset irqpoll pcie_aspm=off amd_iommu=on pci=nomsi irqpoll nr_cpus=1 reset_devices cgroup_disable=memory mce=off acpi_no_memhotplug disable_cpu_apicid=0
+ KDUMP_COMMANDLINE='ro root=/dev/mapper/mbpcvg-rootlv rd_LVM_LV=mbpcvg/rootlv rd_LVM_LV=VGEntertain/olv_swap rd_LVM_LV=mbpcvg/swaplv rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb nomodeset irqpoll pcie_aspm=off amd_iommu=on pci=nomsi irqpoll nr_cpus=1 reset_devices cgroup_disable=memory mce=off acpi_no_memhotplug disable_cpu_apicid=0'
+ grep -q /sys/kernel/debug /proc/mounts
+ mount -t debugfs debug /sys/kernel/debug
+ MNTDEBUG=/sys/kernel/debug
+ /sbin/kexec -p '–command-line=ro root=/dev/mapper/mbpcvg-rootlv rd_LVM_LV=mbpcvg/rootlv rd_LVM_LV=VGEntertain/olv_swap rd_LVM_LV=mbpcvg/swaplv rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb nomodeset irqpoll pcie_aspm=off amd_iommu=on pci=nomsi irqpoll nr_cpus=1 reset_devices cgroup_disable=memory mce=off acpi_no_memhotplug disable_cpu_apicid=0' –initrd=/boot/initrd-4.8.4kdump.img /boot/vmlinuz-4.8.4
+ '[' 0 == 0 ']'
+ umount /sys/kernel/debug
+ /usr/bin/logger -p info -t kdump 'kexec: loaded kdump kernel'
+ return 0
+ return 0
+ '[' 0 '!=' 0 ']'
+ echo -n 'Starting kdump:'
Starting kdump:+ success
+ '[' color '!=' verbose -a -z '' ']'
+ echo_success
+ '[' color = color ']'
+ echo -en '\033[60G'
                                                           + echo -n '['
[+ '[' color = color ']'
+ echo -en '\033[0;32m'
+ echo -n '  OK  '
  OK  + '[' color = color ']'
+ echo -en '\033[0;39m'

+ echo -n ']'
]+ echo -ne '\r'
+ return 0
+ return 0
+ echo

+ /usr/bin/logger -p info -t kdump 'started up'
+ exit 0
[root@mbpc-pc ~]#

Weird.  What's going on then?  This is likely a bash conditional issue somewhere.  Why else would it work if we specify bash -x.  But let's investigate further:

/var/log/messages
Apr 22 15:30:21 mbpc-pc kdump: kexec: failed to load kdump kernel
Apr 22 15:30:21 mbpc-pc kdump: failed to start up
Apr 22 15:30:49 mbpc-pc kdump: kexec: failed to load kdump kernel
Apr 22 15:30:49 mbpc-pc kdump: failed to start up

shows us that kexec failed to load the kdump kernel when running without bash -x.

[root@mbpc-pc ~]# cat /etc/init.d/kdump|grep kexec
KEXEC=/sbin/kexec
standard_kexec_args="-p"
        MEM_RESERVED=`cat /sys/kernel/kexec_crash_size`
        $KEXEC $KEXEC_ARGS $standard_kexec_args \
                $LOGGER "kexec: loaded kdump kernel"
                $LOGGER "kexec: failed to load kdump kernel"
        if [ ! -e /sys/kernel/kexec_crash_loaded ]
        rc=`cat /sys/kernel/kexec_crash_loaded`
                $LOGGER "kexec: failed to unload kdump kernel"
        $LOGGER "kexec: unloaded kdump kernel"
[root@mbpc-pc ~]# cat /sys/kernel/kexec_crash_size
268435456
[root@mbpc-pc ~]#

After a few more hours of digging, we're not that much further along.  So we employ the dirty fix for the time being till we can spend more time and figure out the rest.  Here's the result of the testing:

[root@mbpc-pc ~]# /etc/init.d/kdump start
start(): Calling save_raw() …
KDUMP_COMMANDLINE=
MEM_RESERVED=268435456
Running check_config …
start_dump(): DEFAULT_DUMP_MODE=kdump
load_kdump(): KDUMP_COMMANDLINE_APPEND=irqpoll nr_cpus=1 reset_devices cgroup_disable=memory mce=off acpi_no_memhotplug
load_kdump(): Running /sbin/kexec  -p –command-line=ro root=/dev/mapper/mbpcvg-rootlv rd_LVM_LV=mbpcvg/rootlv rd_LVM_LV=VGEntertain/olv_swap rd_LVM_LV=mbpcvg/swaplv rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb nomodeset irqpoll pcie_aspm=off amd_iommu=on pci=nomsi irqpoll nr_cpus=1 reset_devices cgroup_disable=memory mce=off acpi_no_memhotplug disable_cpu_apicid=0 –initrd=/boot/initrd-4.8.4kdump.img /boot/vmlinuz-4.8.4 …
+ /sbin/kexec -p '–command-line=ro root=/dev/mapper/mbpcvg-rootlv rd_LVM_LV=mbpcvg/rootlv rd_LVM_LV=VGEntertain/olv_swap rd_LVM_LV=mbpcvg/swaplv rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb nomodeset irqpoll pcie_aspm=off amd_iommu=on pci=nomsi irqpoll nr_cpus=1 reset_devices cgroup_disable=memory mce=off acpi_no_memhotplug disable_cpu_apicid=0' –initrd=/boot/initrd-4.8.4kdump.img /boot/vmlinuz-4.8.4
Memory for crashkernel is not reserved
Please reserve memory by passing "crashkernel=X@Y" parameter to the kernel
Then try loading kdump kernel
+ RETV=1
+ set +x
load_kdump(): RETV=1
Starting kdump:                                            [FAILED]
[root@mbpc-pc ~]#
[root@mbpc-pc ~]#
[root@mbpc-pc ~]# bash -x /etc/init.d/kdump status 2>/dev/null
Kdump is not operational
[root@mbpc-pc ~]# /sbin/kexec -p '–command-line=ro root=/dev/mapper/mbpcvg-rootlv rd_LVM_LV=mbpcvg/rootlv rd_LVM_LV=VGEntertain/olv_swap rd_LVM_LV=mbpcvg/swaplv rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb nomodeset irqpoll pcie_aspm=off amd_iommu=on pci=nomsi irqpoll nr_cpus=1 reset_devices cgroup_disable=memory mce=off acpi_no_memhotplug disable_cpu_apicid=0' –initrd=/boot/initrd-4.8.4kdump.img /boot/vmlinuz-4.8.4
[root@mbpc-pc ~]#
[root@mbpc-pc ~]# bash -x /etc/init.d/kdump status 2>/dev/null                                                                                 Kdump is operational
[root@mbpc-pc ~]#
[root@mbpc-pc ~]#
[root@mbpc-pc ~]# bash -x /etc/init.d/kdump stop 2>/dev/null
Stopping kdump:                                            [  OK  ]
[root@mbpc-pc ~]# bash -x /etc/init.d/kdump status 2>/dev/null
Kdump is not operational
[root@mbpc-pc ~]#
[root@mbpc-pc ~]#
[root@mbpc-pc ~]# bash -x /etc/init.d/kdump start 2>/dev/null
start(): Calling save_raw() …
KDUMP_COMMANDLINE=
MEM_RESERVED=268435456
Running check_config …
start_dump(): DEFAULT_DUMP_MODE=kdump
load_kdump(): KDUMP_COMMANDLINE_APPEND=irqpoll nr_cpus=1 reset_devices cgroup_disable=memory mce=off acpi_no_memhotplug
load_kdump(): Running /sbin/kexec  -p –command-line=ro root=/dev/mapper/mbpcvg-rootlv rd_LVM_LV=mbpcvg/rootlv rd_LVM_LV=VGEntertain/olv_swap rd_LVM_LV=mbpcvg/swaplv rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb nomodeset irqpoll pcie_aspm=off amd_iommu=on pci=nomsi irqpoll nr_cpus=1 reset_devices cgroup_disable=memory mce=off acpi_no_memhotplug disable_cpu_apicid=0 –initrd=/boot/initrd-4.8.4kdump.img /boot/vmlinuz-4.8.4 …
load_kdump(): RETV=0
Starting kdump:                                            [  OK  ]
[root@mbpc-pc ~]#
[root@mbpc-pc ~]# bash -x /etc/init.d/kdump status 2>/dev/null
Kdump is operational
[root@mbpc-pc ~]#

 

And the vimdiff of the strace of each piece gives:

  + /usr/bin/strace /sbin/kexec -p '–command-line=ro root=/dev/mapper/|  + /usr/bin/strace /sbin/kexec -p –command-line=ro root=/dev/mapper/m
  execve("/sbin/kexec", ["/sbin/kexec", "-p", "--command-line=ro root=/|  execve("/sbin/kexec", ["/sbin/kexec", "-p", "--command-line=ro", "roo
  brk(0)                                  = 0x1eea000                  |  brk(0)                                  = 0x1e76000
  mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,|  mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
  access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or |  access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or
  open("/etc/ld.so.cache", O_RDONLY)      = 3                          |  open("/etc/ld.so.cache", O_RDONLY)      = 3
  fstat(3, {st_mode=S_IFREG|0644, st_size=114634, ...}) = 0            |  fstat(3, {st_mode=S_IFREG|0644, st_size=114634, ...}) = 0
  mmap(NULL, 114634, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f0fc92b5000    |  mmap(NULL, 114634, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f5b26cfb000
  close(3)                                = 0                          |  close(3)                                = 0
  open("/lib64/libz.so.1", O_RDONLY)      = 3                          |  open("/lib64/libz.so.1", O_RDONLY)      = 3
  read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 !\240z3\0\0\0|  read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 !\240z3\0\0\0
  fstat(3, {st_mode=S_IFREG|0755, st_size=91096, ...}) = 0             |  fstat(3, {st_mode=S_IFREG|0755, st_size=91096, ...}) = 0
  mmap(0x337aa00000, 2183696, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENY|  mmap(0x337aa00000, 2183696, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENY
  mprotect(0x337aa15000, 2093056, PROT_NONE) = 0                       |  mprotect(0x337aa15000, 2093056, PROT_NONE) = 0
+ +--  4 lines: mmap(0x337ac14000, 8192, PROT_READ|PROT_WRITE, MAP_PRIV|+ +--  4 lines: mmap(0x337ac14000, 8192, PROT_READ|PROT_WRITE, MAP_PRIV
  fstat(3, {st_mode=S_IFREG|0755, st_size=1926480, ...}) = 0           |  fstat(3, {st_mode=S_IFREG|0755, st_size=1926480, ...}) = 0
  mmap(0x3379600000, 3750152, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENY|  mmap(0x3379600000, 3750152, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENY
  mprotect(0x337978a000, 2097152, PROT_NONE) = 0                       |  mprotect(0x337978a000, 2097152, PROT_NONE) = 0
  mmap(0x337998a000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|  mmap(0x337998a000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED
  mmap(0x337998f000, 18696, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|  mmap(0x337998f000, 18696, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED
  close(3)                                = 0                          |  close(3)                                = 0
  mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,|  mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
  mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,|  mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
  mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,|  mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
  arch_prctl(ARCH_SET_FS, 0x7f0fc92b3700) = 0                          |  arch_prctl(ARCH_SET_FS, 0x7f5b26cf9700) = 0
  mprotect(0x337ac14000, 4096, PROT_READ) = 0                          |  mprotect(0x337ac14000, 4096, PROT_READ) = 0
  mprotect(0x337998a000, 16384, PROT_READ) = 0                         |  mprotect(0x337998a000, 16384, PROT_READ) = 0
  mprotect(0x337941f000, 4096, PROT_READ) = 0                          |  mprotect(0x337941f000, 4096, PROT_READ) = 0
  munmap(0x7f0fc92b5000, 114634)          = 0                          |  munmap(0x7f5b26cfb000, 114634)          = 0
  brk(0)                                  = 0x1eea000                  |  brk(0)                                  = 0x1e76000
  brk(0x1f0b000)                          = 0x1f0b000                  |  brk(0x1e97000)                          = 0x1e97000
  open("/proc/iomem", O_RDONLY)           = 3                          |  open("/proc/iomem", O_RDONLY)           = 3
  fstat(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0                 |  fstat(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
  mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,|  mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
  read(3, "00000000-00000fff : reserved\n000"..., 1024) = 1024         |  read(3, "00000000-00000000 : reserved\n000"..., 1024) = 1024
  read(3, "08\n    fc000000-fc7fffff : 0000:"..., 1024) = 1024         |  read(3, "08\n    00000000-00000000 : 0000:"..., 1024) = 1024
  read(3, "       fdb40000-fdb7ffff : 0000:"..., 1024) = 1024          |  read(3, "       00000000-00000000 : 0000:"..., 1024) = 1024
  read(3, "-fe02afff : ohci_hcd\n  fe02b000-"..., 1024) = 610          |  read(3, "-00000000 : ohci_hcd\n  00000000-"..., 1024) = 608
  read(3, "", 1024)                       = 0                          |  read(3, "", 1024)                       = 0
  close(3)                                = 0                          |  close(3)                                = 0
  munmap(0x7f0fc92d0000, 4096)            = 0                          |  munmap(0x7f5b26d16000, 4096)            = 0
  open("/boot/vmlinuz-4.8.4", O_RDONLY)   = 3                          |  fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0
  fstat(3, {st_mode=S_IFREG|0644, st_size=5045696, ...}) = 0           |  mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
  mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,|  write(1, "Memory for crashkernel is not re"..., 39Memory for crashker
  read(3, "\352\5\0\300\7\214\310\216\330\216\300\216\3201\344\373\374\|  ) = 39
  lseek(3, 0, SEEK_CUR)                   = 16384                      |  write(1, "Please reserve memory by passing"..., 75Please reserve memo
  read(3, "1\300\216\330\216\300\216\320\216\340\216\350H\215-\355\375\|  ) = 75
a.txt                                                26,1           Top b.txt                                                26,1           Top

 

And a better visual in image format:

Kexec Strace and Vimdiff

So then a temporary solution for now is to use the following:

[root@mbpc-pc ~]# cat /etc/rc.local |grep -Ei "kdump|random-seed"
# Create a random seed for kdump. – Tom K.
dd if=/dev/urandom of=/var/lib/random-seed bs=1024 count=1
# kexec of kdump can't start when bash -x isn't used.  So this is a hack.
bash -x /etc/init.d/kdump start 2>/dev/null;
bash -x /etc/init.d/kdump status 2>/dev/null
[root@mbpc-pc ~]#

But unfortunately, that didn't stick either.  Only one choice then to resolve a kernel panic seen earlier on my system and that was to install the latest 4.X Kernel:

[root@mbpc-pc ~]# rpm –import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
[root@mbpc-pc yum.repos.d]# yum –enablerepo=elrepo-kernel install kernel-ml

Cheers,
Tom

Comments are closed.


     
  Copyright © 2003 - 2013 Tom Kacperski (microdevsys.com). All rights reserved.

Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 Unported License