Bug 249813 - Kernel triggers thousands of PTWR fixups on pte_clear()
Summary: Kernel triggers thousands of PTWR fixups on pte_clear()
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: kernel-xen
Version: 4.5
Hardware: i686
OS: Linux
low
low
Target Milestone: ---
: ---
Assignee: Chris Lalancette
QA Contact: Martin Jenner
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-07-27 09:07 UTC by Ian Campbell
Modified: 2007-11-17 01:14 UTC (History)
2 users (show)

Fixed In Version: RHBA-2007-0791
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-11-15 16:30:53 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2007:0791 0 normal SHIPPED_LIVE Updated kernel packages available for Red Hat Enterprise Linux 4 Update 6 2007-11-14 18:25:55 UTC

Description Ian Campbell 2007-07-27 09:07:21 UTC
pte_clear() is defined in 2.6.9-55.EL as set_pte(...,0). This clears the upper
word before the lower word which means for MFN>4G the PTE value is temporarily
invalid as far as Xen's page type tracking is concerned because the P bit is set
when the top bits are cleared:
(XEN) mm.c:649:d25 Error getting mfn 1f20e (pfn 5555555555555555) from L1 entry
000000001f20e063 for dom25
(XEN) mm.c:3295:d25 ptwr_emulate: fixing up invalid PAE PTE 000000001f20e063
(XEN) printk: 4246 messages suppressed.
etc.

The fix is to define pte_clear to clear the lower word first
http://xenbits.xensource.com/kernels/rhel4x.hg?rev/e2f1456ed7bb

Comment 1 Rik van Riel 2007-07-27 14:39:05 UTC
Thanks for pointing out these bugs, Ian.

This particular one already had a patch submitted internally on May 30th 2007, I
assume that one is already in our tree.

Chris, can this patch go into MODIFIED?

Comment 2 Chris Lalancette 2007-07-27 15:01:44 UTC
Rik,
     Yeah, this has now been committed to our internal CVS, so MODIFIED it is. 
Thanks for the bug report, Ian.

Chris Lalancette

Comment 3 RHEL Program Management 2007-08-06 15:55:59 UTC
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 6 errata-xmlrpc 2007-11-15 16:30:53 UTC
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 the 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-2007-0791.html



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