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

RE: [Xen-devel] "Iomem mapping not permitted" during windows crash dump

To: "Paul Durrant" <paul.durrant@xxxxxxxxxx>
Subject: RE: [Xen-devel] "Iomem mapping not permitted" during windows crash dump under GPLPV
From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Date: Tue, 2 Feb 2010 22:07:40 +1100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Keir Fraser <Keir.Fraser@xxxxxxxxxxxxx>
Delivery-date: Tue, 02 Feb 2010 03:08:07 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4B680662.1060201@xxxxxxxxxx>
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>
References: <C789AD6B.814C%keir.fraser@xxxxxxxxxxxxx> <4B67FD59.2050801@xxxxxxxxxx> <AEC6C66638C05B468B556EA548C1A77D01898F42@trantor> <4B680662.1060201@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acqj91lDD18ENjX2RJmHPwUiLgKhpAAABd5g
Thread-topic: [Xen-devel] "Iomem mapping not permitted" during windows crash dump under GPLPV
> James Harper wrote:
> >> Keir Fraser wrote:
> >>> On 30/01/2010 08:30, "James Harper"
<james.harper@xxxxxxxxxxxxxxxx>
> > wrote:
> >>>> So there is definitely nothing I could tell Xen to do with a DomU
> > PFN
> >>>> that would remove the p2m mapping?
> >>> If you balloon out a page, that would do it.
> >>>
> >> Yes, it certainly would and I've seen it many times. I'm fairly
sure
> >> that by just ignoring the failed block writes coming back from
> >> blkback/tap and carrying on you still end up with a usable
MEMORY.DMP
> >> after reboot.
> >>
> >
> > Yes, that works. I still eye the error messages with contempt though
:)
> >
> 
> If you wanted to be clean, I guess you could check the data buffer
addr
> passed to you by Windows against a map of ballooned out pages and
> substitute a dummy buffer in this case... but then you have the
> 'interesting' problem of making the dump driver aware of that map.
> 

Someone on the ntdev list suggested that one approach could be to
allocate a single page at setup time and map that into each 'hole' I
leave behind by ballooning pages out. I haven't checked if Xen supports
a HVM DomU randomly mapping pages like that and if it will let it map
the same page multiple times, but it would remove the errors and keep
everything happy.

James


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