Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 461614

Summary: Align kdump initscript with new xen /proc layout
Product: Red Hat Enterprise Linux 5 Reporter: Jay Turner <jturner>
Component: kexec-toolsAssignee: Neil Horman <nhorman>
Status: CLOSED NOTABUG QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: 5.3CC: riek, srevivo
Target Milestone: betaKeywords: Regression
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-09-10 18:04:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
kexec-tools patch none

Description Jay Turner 2008-09-09 14:00:44 UTC
Created attachment 316187 [details]
kexec-tools patch

Description of problem:
With the latest kernels, the /proc layout for xen has actually changed in that the /proc/xen directory exists even when not running the xen kernel.  kexec-tools has a check in the code to sort out if the i686 PAE kernel needs to be used and that check uses the existence of /proc/xen.  This conditional needs to be updated to check for /proc/xen/capabilities which only exists in the case the xen kernel is running.

Version-Release number of selected component (if applicable):
1.102pre-35.el5

Comment 1 Jay Turner 2008-09-09 14:02:49 UTC
As a result of this defect, kdump will not start on a system running the standard i686 kernel where the corresponding PAE kernel isn't also installed.  Even in the case the PAE kernel is installed, I suspect the resulting kdump image might not work well as it would be compiled with the PAE kernel when the standard kernel was actually executing at the time.

Comment 2 Neil Horman 2008-09-10 18:04:05 UTC
As per email discussion, this is actually a xen bug, since we now have a /proc/xen directory even on non xen kernels.  The decision has been made to remove that directory, and when it is gone, this will start working again.  So I'll close this as NOTABUG