Bug 603027
| Summary: | [RHEL5] crash needs to support (or distinguish between) both upstream version 9 and RHEL5 version 9 | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Paolo Bonzini <pbonzini> | ||||||||
| Component: | crash | Assignee: | Dave Anderson <anderson> | ||||||||
| Status: | CLOSED ERRATA | QA Contact: | Red Hat Kernel QE team <kernel-qe> | ||||||||
| Severity: | medium | Docs Contact: | |||||||||
| Priority: | low | ||||||||||
| Version: | 5.5 | CC: | mkenneth, phan, qcai, quintela, virt-maint, ykaul | ||||||||
| Target Milestone: | rc | ||||||||||
| Target Release: | --- | ||||||||||
| Hardware: | x86_64 | ||||||||||
| OS: | Linux | ||||||||||
| Whiteboard: | |||||||||||
| Fixed In Version: | crash-4.1.2-6.el5 | Doc Type: | Bug Fix | ||||||||
| Doc Text: |
The crash utility has been updated to recognize the "__rhel5" marker that flags the difference between the upstream and Red Hat KVM "virsh dump" CPU device format in the dump file header.
|
Story Points: | --- | ||||||||
| Clone Of: | 603026 | ||||||||||
| : | 603142 (view as bug list) | Environment: | |||||||||
| Last Closed: | 2011-01-13 22:50:43 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: | |||||||||||
| Bug Depends On: | 603026 | ||||||||||
| Bug Blocks: | 603142 | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Paolo Bonzini
2010-06-11 10:37:01 UTC
Created attachment 423247 [details]
patch to add support for RHEL5.6 and RHEL6
This patch is relative to crash5.0.4p12, and it adds complete support for RHEL5.6 and RHEL6.
With this patch it is also possible to load the registers for all CPUs, which may be useful---maybe crash can show the values to the user?
Created attachment 423248 [details]
incremental RHEL-only patch
This patch, on top of the previous, is suitable for RHEL5.5.z, RHEL5.6, and RHEL6 as it allows reading dumps that do not have a __rhel5 marker. It is not suitable for upstream.
Created attachment 423250 [details] patch to add support for RHEL5.6 and RHEL6 fixed version of attachment 423247 [details] > This patch, on top of the previous, is suitable for RHEL5.5.z, RHEL5.6, and
> RHEL6 as it allows reading dumps that do not have a __rhel5 marker. It is not
> suitable for upstream.
In off-line discussions, it's been noted that the upstream version of crash
should *always* work with RHEL dumpfiles, so both patches will be applied
upstream, and the RHEL5 and RHEL6 versions of crash will follow upstream.
I have tested the patches against a RHEL5 KVM guest dumpfile taken from
a RHEL6 host, and it works OK.
I do not have a sample RHEL5 KVM guest dumpfile taken from a RHEL5 host,
but Paolo has indicated that he will make one available to me for testing.
When that dumpfile is available for testing, I'll devel_ack this BZ and continue
the process.
I'll also clone this BZ for RHEL6.
Thanks,
Dave
Paolo's patch has been applied upstream in crash version 5.0.5, and in RHEL6.0 version 5.0.0-19.el6 for the cloned BZ #603142.
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
New Contents:
The crash utility has been updated to recognize the "__rhel5" marker that flags the difference between the upstream and Red Hat KVM "virsh dump" CPU device format in the dump file header.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2011-0059.html |