WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] audit_p2m errors, p2m_mmio_direct turns into p2m_ram_logdirt

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] audit_p2m errors, p2m_mmio_direct turns into p2m_ram_logdirty
From: Olaf Hering <olaf@xxxxxxxxx>
Date: Tue, 2 Nov 2010 17:54:29 +0100
Delivery-date: Tue, 02 Nov 2010 09:55:31 -0700
Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1288716875; l=1320; s=domk; d=aepfle.de; h=Content-Type:MIME-Version:Subject:To:From:Date:X-RZG-CLASS-ID: X-RZG-AUTH; bh=gxjURQTs0B8tiWUVLFQ9Cum959Q=; b=TzzM422VDv8wU+379VxpC9gJmbXj9BQAEqZAD1rsTwTkJSGJC2GbUDJxoV0j7ieaFq9 dC4fiCoIstykg/LG2hNm6Mo/dz0uCF22d4pEi9sQ/KOfuZpbN2xG9zCtefcwnFFua/64L RmJzCz9UZzMQr/Tu+INxE5QvgYHshZ7NyRQ=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.20 (2009-06-14)
Hello,

audit_p2m appears to be unmaintained, given that it did not even compile
up to a few weeks ago (and it still does not compile in 4.0 tree).

Today I tried it again in the hope to get some help for xenpaging
debugging in xen-4.0, but it ran into a BUG right away.
For some reason the p2m type set by set_mmio_p2m_entry for gfn 0xfee00
is 2 instead of 5 when audit_p2m checks it.

How can the BUG get fixed properly?

(I turned all P2M_PRINTK into printk, and dumped the p2mt in a few
places):

(XEN) p2m: p2m_alloc_table(1645): allocating p2m table
(XEN) p2m: p2m_alloc_table(1669): populating p2m table
(XEN) p2m: p2m_alloc_table(1697): p2m table initialised (0 pages)
(XEN) p2mdebug: set_mmio_p2m_entry(2399): set mmio fee00 134012
(XEN) cpupool_add_domain(dom=1,pool=0) n_dom 2
(XEN) p2m: audit_p2m(1762): p2m audit starts
(XEN) p2m: audit_p2m(1777): auditing guest page, mfn=0x133b86
(XEN) p2m: audit_p2m(1821): map mismatch mfn 0x133b86 -> gfn 0xed47f -> mfn 
0xffffffffffffffff (-> gfn 0xffffffff) p2mt 4
(XEN) p2m: audit_p2m(1839): OK: mfn=0x133b86, gfn=0xed47f, 
p2mfn=0xffffffffffffffff, lp2mfn=0x0
(XEN) p2m: audit_p2m(1941): mismatch: gfn 0xfee00 -> mfn 0x134012 -> gfn 
0xffffffffffffffff (p2mt 2)
(XEN) Xen BUG at p2m.c:1942
(XEN) Debugging connection not set up.


Olaf


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>