[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] bug, bad page free with hvm guest after commits about AMD IOMMU


  • To: Xen Devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.