Bug 425411
Summary: | [RHEL5.2]: i386 PV guests on x86_64 HV fail "xm save" | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Chris Lalancette <clalance> |
Component: | xen | Assignee: | Jiri Denemark <jdenemar> |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 5.2 | CC: | alain.richard, bburns, cward, dblack, ddomingo, emcnabb, gozen, herrold, jdenemar, joey, matteo.sessa, pep, tao, xen-maint, yoyzhang |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2009-09-02 10:07:08 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: | |||
Bug Blocks: | 383211, 391221, 448899, 480118 | ||
Attachments: |
Description
Chris Lalancette
2007-12-14 20:31:22 UTC
Created attachment 289421 [details]
Full xend.log when trying to save an i386 domain
Setting this as a blocker for bz 383211 as this will prevent fully supporting 32 bit PV guests on x86_64. Patch posted today to fix some 32-on-64 save/restore problems: http://lists.xensource.com/archives/html/xen-devel/2008-02/msg00425.html OK. In order to get this working, we need at least the following upstream xen-unstable changesets: 15706 15917 Plus the changeset mentioned in the mailing list in the last post. I was able to take these 3 patches and apply them to the current RHEL5.2 tree (with some fuzz). I'll attach the patches here. Using a libxenguest.so.3.0.0 built with these changes, I was able to successfully save a RHEL-4 i386 guest. However, the restore failed (no error message on the console, of course). xend.log says: VmError: (4, 'Out of memory', "xc_dom_boot_mem_init: can't allocate low memory for domain\n") So there is still a bug to shake out with the restore stuff, but this is a better start. Chris Lalancette Created attachment 295727 [details]
PATCH 1 to fix 32-on-64 save/restore issue
Created attachment 295728 [details]
PATCH 2 to fix 32-on-64 save/restore issue
Created attachment 295729 [details]
PATCH 3 to fix 32-on-64 save/restore issue
This release note is related to the one for bz 383211: While 32 bit para-virtualized guests can be installed on x86_64 save/restore and migration are not functional and should not be attempted. revised note: <quote> You can now run 32-bit guests on 64-bit hosts. This capability is now included as a technology preview. Note, that the ability to save, restore, and migrate 32-bit guests on 64-bit hosts is not functional, and as such should not be attempted. </quote> please advise if any further revisions are required. thanks! Hi, the RHEL5.2 release notes will be dropped to translation on April 15, 2008, at which point no further additions or revisions will be entertained. a mockup of the RHEL5.2 release notes can be viewed at the following link: http://intranet.corp.redhat.com/ic/intranet/RHEL5u2relnotesmockup.html please use the aforementioned link to verify if your bugzilla is already in the release notes (if it needs to be). each item in the release notes contains a link to its original bug; as such, you can search through the release notes by bug number. Cheers, Don This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release. Comment on attachment 295727 [details]
PATCH 1 to fix 32-on-64 save/restore issue
This patch is already included in current xen package.
Comment on attachment 295727 [details]
PATCH 1 to fix 32-on-64 save/restore issue
Included in xen RPM since 3.0.3-64.el5.2_4 and 3.0.3-71.el5
Created attachment 329322 [details]
Patch to fix 32-on-64 save/restore issue
This is a rebased combination of PATCH 2 and PATCH 3. Works for me with both RHEL-5 and RHEL-4 PV guests.
Assigning to Jiri since he is working on the 32-on-64 userspace issues. Chris Lalancette This is mainly caused by different size of structures used for 32b and 64b guests. So far libxc ignored this for when saving/restoring a guest and treated all structures as 64b ones. The attached patch makes libxc honor the difference. The patch is a rebased combination of two xen-unstable changesets: 15917 http://xenbits.xensource.com/xen-unstable.hg?rev/4c8394e3b011 17036 http://xenbits.xensource.com/xen-unstable.hg?rev/0164d924ceba Tested successfully with both RHEL-4 and RHEL-5 guests with about 6GB of memory. Tested the patch with CentOS 5.2. Successfully able to live migrate a 3GB 32-bit CentOS 5.2 guest between two 64-bit hosts. A test package which fixes this issue (and several others as well) has been made available at: http://people.redhat.com/jdenemar/xen/ Could the reporter try it out and report if it fixes the problem or not? Thank you for your cooperation. Fix built into xen-3.0.3-81.el5 I am experiencing the same issue under RHEL 5.3 with current official xen-3.0.3-80.el5_3.3.x86_64 After installing xen-3.0.3-85.el5jd2.x86_64 that incorporates the patches for this bug, I can confirm that the problem is solved. Regards, Alain Richard I can confirm xen-3.0.3-85.el5jd2.x86_64.rpm fix this issue. 32-bit guests now save/restore/migrate smoothly. /Matteo Sessa ~~ Attention - RHEL 5.4 Beta Released! ~~ RHEL 5.4 Beta has been released! There should be a fix present in the Beta release that addresses this particular request. Please test and report back results here, at your earliest convenience. RHEL 5.4 General Availability release is just around the corner! If you encounter any issues while testing Beta, please describe the issues you have encountered and set the bug into NEED_INFO. If you encounter new issues, please clone this bug to open a new issue and request it be reviewed for inclusion in RHEL 5.4 or a later update, if it is not of urgent severity. Please do not flip the bug status to VERIFIED. Only post your verification results, and if available, update Verified field with the appropriate value. Questions can be posted to this bug or your customer or partner representative. Verified on xen-3.0.3-91.el5 and PASS 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-2009-1328.html |