Centos6 kernel upgrade to 4.4 - kdump failed to start

General support questions
Post Reply
logtech
Posts: 88
Joined: 2010/04/22 18:34:34

Centos6 kernel upgrade to 4.4 - kdump failed to start

Post by logtech » 2018/06/02 02:00:15

experts,

I have upgraded kernel to 4.4 on Centos6 and now kdump can't start when booting VM:

Starting kdump: [FAILED]

Code: Select all

 # grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,0)
#          kernel /vmlinuz-version ro root=/dev/sda3
#          initrd /initrd-[generic-]version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (4.4.135-1.el6.elrepo.x86_64)
	root (hd0,0)
	kernel /vmlinuz-4.4.135-1.el6.elrepo.x86_64 ro root=UUID=ad4edc9d-4e4c-4818-9132-e09d1766cbcc rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=auto  KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet
	initrd /initramfs-4.4.135-1.el6.elrepo.x86_64.img
title CentOS (2.6.32-696.30.1.el6.x86_64)
	root (hd0,0)
	kernel /vmlinuz-2.6.32-696.30.1.el6.x86_64 ro root=UUID=ad4edc9d-4e4c-4818-9132-e09d1766cbcc rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=128M  KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet
	initrd /initramfs-2.6.32-696.30.1.el6.x86_64.img
title CentOS (2.6.32-696.30.1.el6.x86_64.debug)
	root (hd0,0)
	kernel /vmlinuz-2.6.32-696.30.1.el6.x86_64.debug ro root=UUID=ad4edc9d-4e4c-4818-9132-e09d1766cbcc rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=128M  KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet
	initrd /initramfs-2.6.32-696.30.1.el6.x86_64.debug.img
title CentOS (2.6.32-573.3.1.el6.x86_64.debug)
	root (hd0,0)
	kernel /vmlinuz-2.6.32-573.3.1.el6.x86_64.debug ro root=UUID=ad4edc9d-4e4c-4818-9132-e09d1766cbcc rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=128M  KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet
	initrd /initramfs-2.6.32-573.3.1.el6.x86_64.debug.img
title CentOS (2.6.32-573.3.1.el6.x86_64)
	root (hd0,0)
	kernel /vmlinuz-2.6.32-573.3.1.el6.x86_64 ro root=UUID=ad4edc9d-4e4c-4818-9132-e09d1766cbcc rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=128M  KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet
	initrd /initramfs-2.6.32-573.3.1.el6.x86_64.img
title CentOS (2.6.32-504.16.2.el6.x86_64.debug)
	root (hd0,0)
	kernel /vmlinuz-2.6.32-504.16.2.el6.x86_64.debug ro root=UUID=ad4edc9d-4e4c-4818-9132-e09d1766cbcc rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=128M  KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet
	initrd /initramfs-2.6.32-504.16.2.el6.x86_64.debug.img
title CentOS (2.6.32-504.16.2.el6.x86_64)
	root (hd0,0)
	kernel /vmlinuz-2.6.32-504.16.2.el6.x86_64 ro root=UUID=ad4edc9d-4e4c-4818-9132-e09d1766cbcc rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=128M  KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet
	initrd /initramfs-2.6.32-504.16.2.el6.x86_64.img
title CentOS (2.6.32-504.12.2.el6.x86_64.debug)
	root (hd0,0)
	kernel /vmlinuz-2.6.32-504.12.2.el6.x86_64.debug ro root=UUID=ad4edc9d-4e4c-4818-9132-e09d1766cbcc rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=128M  KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet
	initrd /initramfs-2.6.32-504.12.2.el6.x86_64.debug.img
title CentOS (2.6.32-504.12.2.el6.x86_64)
	root (hd0,0)
	kernel /vmlinuz-2.6.32-504.12.2.el6.x86_64 ro root=UUID=ad4edc9d-4e4c-4818-9132-e09d1766cbcc rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=128M  KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet
	initrd /initramfs-2.6.32-504.12.2.el6.x86_64.img
title CentOS 6 (2.6.32-504.el6.x86_64)
	root (hd0,0)
	kernel /vmlinuz-2.6.32-504.el6.x86_64 ro root=UUID=ad4edc9d-4e4c-4818-9132-e09d1766cbcc rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=128M  KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet
	initrd /initramfs-2.6.32-504.el6.x86_64.img
 
I have tried chnaged crashkernel=auto to 128M 512M and no luck

logtech
Posts: 88
Joined: 2010/04/22 18:34:34

Re: Centos6 kernel upgrade to 4.4 - kdump failed to start

Post by logtech » 2018/06/02 02:05:27

Code: Select all

grep: /var/log/boot: No such file or directory
/var/log/messages:Jun  1 20:29:12 centos4 kernel: Command line: ro root=UUID=ad4edc9d-4e4c-4818-9132-e09d1766cbcc rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=128M  KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet
/var/log/messages:Jun  1 20:29:12 centos4 kernel: Reserving 128MB of memory at 736MB for crashkernel (System RAM: 4047MB)
/var/log/messages:Jun  1 20:29:12 centos4 kernel: Kernel command line: ro root=UUID=ad4edc9d-4e4c-4818-9132-e09d1766cbcc rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=128M  KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet
/var/log/messages:Jun  1 20:29:35 centos4 kdump: kexec: failed to load kdump kernel
/var/log/messages:Jun  1 20:29:35 centos4 kdump: failed to start up
/var/log/messages:Jun  1 20:32:26 centos4 kernel: Command line: ro root=UUID=ad4edc9d-4e4c-4818-9132-e09d1766cbcc rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=128M  KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet
/var/log/messages:Jun  1 20:32:26 centos4 kernel: Reserving 128MB of memory at 736MB for crashkernel (System RAM: 4047MB)
/var/log/messages:Jun  1 20:32:26 centos4 kernel: Kernel command line: ro root=UUID=ad4edc9d-4e4c-4818-9132-e09d1766cbcc rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=128M  KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet
/var/log/messages:Jun  1 20:32:38 centos4 kdump: kexec: failed to load kdump kernel
/var/log/messages:Jun  1 20:32:38 centos4 kdump: failed to start up
/var/log/messages:Jun  1 20:41:03 centos4 kernel: Command line: ro root=UUID=ad4edc9d-4e4c-4818-9132-e09d1766cbcc rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=512M  KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet
/var/log/messages:Jun  1 20:41:03 centos4 kernel: Reserving 512MB of memory at 352MB for crashkernel (System RAM: 4047MB)
/var/log/messages:Jun  1 20:41:03 centos4 kernel: Kernel command line: ro root=UUID=ad4edc9d-4e4c-4818-9132-e09d1766cbcc rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=512M  KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet
/var/log/messages:Jun  1 20:41:15 centos4 kdump: kexec: failed to load kdump kernel
/var/log/messages:Jun  1 20:41:15 centos4 kdump: failed to start up
/var/log/messages:Jun  1 20:48:12 centos4 kdump: kexec: failed to load kdump kernel
/var/log/messages:Jun  1 20:48:12 centos4 kdump: failed to start up
/var/log/messages:Jun  1 20:48:54 centos4 kdump: kexec: failed to load kdump kernel
/var/log/messages:Jun  1 20:48:54 centos4 kdump: failed to start up
/var/log/messages:Jun  1 20:49:52 centos4 kdump: kexec: failed to load kdump kernel
/var/log/messages:Jun  1 20:49:52 centos4 kdump: failed to start up
/var/log/messages:Jun  1 20:54:08 centos4 kdump: kexec: failed to load kdump kernel
/var/log/messages:Jun  1 20:54:08 centos4 kdump: failed to start up
/var/log/messages:Jun  1 20:54:59 centos4 kernel: Command line: ro root=UUID=ad4edc9d-4e4c-4818-9132-e09d1766cbcc rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=auto  KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet
/var/log/messages:Jun  1 20:54:59 centos4 kernel: kexec_core: crashkernel: memory value expected
/var/log/messages:Jun  1 20:54:59 centos4 kernel: Kernel command line: ro root=UUID=ad4edc9d-4e4c-4818-9132-e09d1766cbcc rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=auto  KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet
/var/log/messages:Jun  1 20:55:12 centos4 kdump: No crashkernel parameter specified for running kernel
/var/log/messages:Jun  1 20:56:03 centos4 kdump: No crashkernel parameter specified for running kernel
/var/log/messages:Jun  1 20:56:09 centos4 kdump: No crashkernel parameter specified for running kernel
/var/log/messages:Jun  1 21:01:55 centos4 kdump: No crashkernel parameter specified for running kernel
/var/log/messages:Jun  1 21:02:41 centos4 kernel: Command line: ro root=UUID=ad4edc9d-4e4c-4818-9132-e09d1766cbcc rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=auto  KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet
/var/log/messages:Jun  1 21:02:41 centos4 kernel: kexec_core: crashkernel: memory value expected
/var/log/messages:Jun  1 21:02:41 centos4 kernel: Kernel command line: ro root=UUID=ad4edc9d-4e4c-4818-9132-e09d1766cbcc rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=auto  KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet
/var/log/messages:Jun  1 21:02:53 centos4 kdump: No crashkernel parameter specified for running kernel

logtech
Posts: 88
Joined: 2010/04/22 18:34:34

Re: Centos6 kernel upgrade to 4.4 - kdump failed to start

Post by logtech » 2018/06/02 02:12:15

when I chnage it back to 2.6 kernell kdump starts without any problems

User avatar
toracat
Site Admin
Posts: 7518
Joined: 2006/09/03 16:37:24
Location: California, US
Contact:

Re: Centos6 kernel upgrade to 4.4 - kdump failed to start

Post by toracat » 2018/06/02 22:34:38

In the /boot directory, do you see an initramfs-xxxkdump.img file for the 4.4 kernel?

[EDIT] Err, this is CentOS 6. So I expect to find initrd-4.4xxxkdump.img in /boot .
CentOS Forum FAQ

logtech
Posts: 88
Joined: 2010/04/22 18:34:34

Re: Centos6 kernel upgrade to 4.4 - kdump failed to start

Post by logtech » 2018/06/02 23:18:59

yes I can see initramfs-4.4.135-1.el6.elrepo.x86_64.img

User avatar
toracat
Site Admin
Posts: 7518
Joined: 2006/09/03 16:37:24
Location: California, US
Contact:

Re: Centos6 kernel upgrade to 4.4 - kdump failed to start

Post by toracat » 2018/06/02 23:33:29

Not that file but a dump.img file.
CentOS Forum FAQ

logtech
Posts: 88
Joined: 2010/04/22 18:34:34

Re: Centos6 kernel upgrade to 4.4 - kdump failed to start

Post by logtech » 2018/06/02 23:49:37

i see - no there is no such file

Post Reply