Bug 465914
Summary: | rhel4 PV guest installations busted on rhel 5.3 i386 intel dom0 | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | Gurhan Ozen <gozen> | ||||
Component: | kernel-xen | Assignee: | Chris Lalancette <clalance> | ||||
Status: | CLOSED ERRATA | QA Contact: | Martin Jenner <mjenner> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | urgent | ||||||
Version: | 4.7 | CC: | clalance, dhoward, duck, ijc, jburke, jplans, kmoriwak, martin.wilck, qcai, rlerch, syeghiay, tao, vmayatsk, xen-maint | ||||
Target Milestone: | rc | Keywords: | ZStream | ||||
Target Release: | --- | ||||||
Hardware: | i386 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2009-05-18 19:06:02 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: | 458752, 483748 | ||||||
Attachments: |
|
Description
Gurhan Ozen
2008-10-07 05:29:43 UTC
I tested this out on an Intel machine locally: Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz With kernel -118 and xen -73, and wasn't able to reproduce the problem. I also tried with kernel -117 and xen -73, and also wasn't able to reproduce the problem. So it's probably hardware specific. We'll have to jump on the RHTS machine that Gurhan mentioned in the initial description and reproduce it there. Chris Lalancette Well, the good news here is that I'm pretty sure this is a RHEL-4 Xen guest bug, not a dom0 bug. I wasn't able to start the install *at all* with 5.2 on this particular hardware, and on 5.3 stuff I get the crash here. So it will have to be looked at for 4.8, but I don't think (at the moment) this is a RHEL-5 blocker. I'm going to update the component to reflect this. Chris Lalancette OK, I found it. We've been missing a patch that's been in upstream Xen dom kernels basically forever; RHEL-5 has this patch, but we do not. It basically makes it so that we can take a "spurious" page fault, when the hypervisor has changed the pte mapping underneath us from R/0 -> R/W; that's exactly what is happening in this sequence in arch/i386/mm/pgtable-xen.c: make_lowmem_page_writable( pmd, XENFEAT_writable_page_tables); memset(pmd, 0, PTRS_PER_PMD*sizeof(pmd_t)); It all makes sense; the only thing I don't understand is why we've gotten away with it up until this point. Maybe this processor family changes something with the way TLB's are done, or something like that, which is why we only see it here. Anyway, I'll attach a backport of upstream Xen c/s 10425 which fixes the issue for me; I've only tested it on i386 so far, but I'll also need to test it on x86_64. Chris Lalancette Created attachment 319854 [details]
Backport of upstream Xen c/s 10425, to fix the RHEL-4 crash
*** Bug 466932 has been marked as a duplicate of this bug. *** Committed in 78.16.EL . RPMS are available at http://people.redhat.com/vgoyal/rhel4/ Just as an update, I was able to manually install 4.8 guest on rhel5.3 release kernel without an issue. I won't verify the bug just yet, however so far things are looking good: [root@dhcp71-25 ~]# uname -a Linux dhcp71-25.rhts.bos.redhat.com 2.6.9-80.ELxenU #1 SMP Fri Jan 23 16:57:22 EST 2009 i686 i686 i386 GNU/Linux 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/RHSA-2009-1024.html |