Bug 717637 - kexec not loading due to "UNABLE TO GATHER EFI DATA"
Summary: kexec not loading due to "UNABLE TO GATHER EFI DATA"
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: kexec-tools
Version: 6.1
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: rc
: ---
Assignee: Cong Wang
QA Contact: Caspar Zhang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-29 12:47 UTC by Jaroslav Kortus
Modified: 2013-09-30 02:26 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-09-29 11:49:02 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Jaroslav Kortus 2011-06-29 12:47:33 UTC
Description of problem:
with correct crashkernel settings and kdump.conf in place, service kdump start claims that everything is set up properly (green [OK]).

If you try running kexec -e, it says that nothing has been loaded. Adding -x to the initscript the following line is produced. I tried running it directly in the shell:

$ /sbin/kexec -p --command-line='ro root=/dev/mapper/vg_marathon01-lv_root rd_LVM_LV=vg_marathon01/lv_root rd_LVM_LV=vg_marathon01/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us console=ttyS0,115200n8 console=ttyS0,115200n8 irqpoll maxcpus=1 reset_devices cgroup_disable=memory ' --initrd=/boot/initrd-2.6.32-131.6.1.el6.x86_64kdump.img /boot/vmlinuz-2.6.32-131.6.1.el6.x86_64
UNABLE TO GATHER EFI DATA

$ echo $?
0

So even if kexec can't gather EFI data, it still exits with 0 pretending that everything is correct.

Version-Release number of selected component (if applicable):
kexec-tools-2.0.0-188.el6.x86_64

How reproducible:
100%

Steps to Reproduce:
1. service kdump start (this must return green [OK])
2. kexec -e does nothing
3. cat /sys/kernel/kexec_loaded shows 0
  
Actual results:
crashkernel not loaded

Expected results:
crashkernel loaded or exit code >0, red [FAILED] etc :)

Additional info:
2.6.32-131.6.1.el6.x86_64

I tried additional kernel params (virtefi, noefi), but still no success in loading the crashkernel.

Comment 2 Qian Cai 2011-06-30 01:10:37 UTC
Why do you want to run kexec -e directly? This is a kdump, so the capture kernel should be automatically executed in case of system crash (like echo c >/proc/sysrq-trigger).

Comment 3 Jaroslav Kortus 2011-06-30 12:03:14 UTC
I wanted to make sure that the kernel is able to boot (as it was not doing it after panics (real or sysrq)).

Comment 4 Qian Cai 2011-09-28 01:01:02 UTC
Can you try the latest kexec-tools, kernel and 6.2 tree? There supposes to have fixes for kdump on UEFI systems.

Comment 5 Jaroslav Kortus 2011-09-29 10:42:33 UTC
works with kexec-tools-2.0.0-203.el6.x86_64 and kernel-2.6.32-201.el6.x86_64


Note You need to log in before you can comment on or make changes to this bug.