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] bug, bad page free with hvm guest after commits about AMD IO

To: Xen Devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] bug, bad page free with hvm guest after commits about AMD IOMMU
From: Anthony PERARD <anthony.perard@xxxxxxxxxx>
Date: Thu, 5 May 2011 14:31:49 +0100
Cc: Wei Wang <wei.wang2@xxxxxxx>
Delivery-date: Thu, 05 May 2011 06:35:18 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=kxU3sYPB5QBU3Vq70mU/e8bENFy4HTzs0o217fxeprk=; b=uSFm8pMp6g5aNjykQHHVb1yAu+voOFU9axKNYaCJXQcm14FHZ/jDtGSyQzEg0Wd0wP paolb+fM3F0qsdVXJoaWJuc3DpL3P57jNlEBu6xISaWq6XW8b4yLHaJd4Bt3PyRo/Qd6 t38+XV/x+4UDg2iCHq6T30KVFMxTvEhzqkJiY=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:from:date:x-google-sender-auth:message-id :subject:to:cc:content-type; b=kfZgRnYLeahVDVsWnHQV4he8/g+dFSQCjxt/0YE9EwXVDYmGlHSzYVDW6IodoTVSuK N7OQTNJfqHWAhgxSERH4iOkLOHgLlfdDy3PLJxZuUVxeUaLb7K4FqHbztVgYrO/IYRCY 9DW3Mii8kvrqkf5Nat2teHnNWqI6vTzgHWefs=
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
Hi,

With the last xen-unstable, when I try to run a HVM guest, the vgabios
did not display anything on the screen (it is only white), and Xen
print this:

(XEN) mm.c:2137:d0 Error pfn 0: rd=ffff83023e8a0000,
od=ffff83022f5f3000, caf=8000000000000001, taf=7400000000000001
(XEN) memory.c:196:d0 Bad page free for domain 24
(XEN) mm.c:2137:d0 Error pfn 0: rd=ffff83023e8a0000,
od=ffff83022f5f3000, caf=8000000000000001, taf=7400000000000001
(XEN) memory.c:196:d0 Bad page free for domain 24
...

I found the issue come from one of this commits:
5cd3681 x86/mm: Add a generic interface for vtd and amd iommu p2m
sharing. Also introduce a new parameter (iommu=sharept) to enable this
6b3faa6 x86/mm: Implement p2m table sharing for AMD IOMMU.
8d771f6 x86/mm: add AMD IOMMU control bits to p2m entries.
2452ae6 x86/mm: Move p2m type into bits of the PTE that the IOMMU doesn't use.

This happened on two machines:
Intel(R) Core(TM) i7 CPU       M 620  @ 2.67GHz
Intel(R) Xeon(R) CPU           X3450  @ 2.67GHz

-- 
Anthony PERARD

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