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] xen crash during Dom0 boot

To: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Subject: Re: [Xen-devel] xen crash during Dom0 boot
From: Christoph Egger <Christoph.Egger@xxxxxxx>
Date: Thu, 14 Apr 2011 16:44:20 +0200
Cc: Tim, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Deegan <Tim.Deegan@xxxxxxxxxx>
Delivery-date: Thu, 14 Apr 2011 07:55:21 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20110414133326.GI5548@xxxxxxxxxxxx>
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: <201104141318.31679.Christoph.Egger@xxxxxxx> <20110414133326.GI5548@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; NetBSD amd64; en-US; rv:1.9.2.13) Gecko/20110202 Lightning/1.0b3pre Thunderbird/3.1.7
On 04/14/11 15:33, Konrad Rzeszutek Wilk wrote:


The reason is that guest_walk_tables() in xen/arch/x86/mm/guest_walk.c  fakes
l1e entries for 2mb pages but not for 1gb pages.
A workaround is to assign the Dom0 not more than 2 GB RAM  via
the dom0_mem  xen boot parameter.

But if you use 4KB pages then the workaround is not neccessary, right?

Right. Same counts for 2MB pages.

This can only be reproduced with Dom0 kernels which use the autotranslation
feature (Linux Dom0 does, NetBSD Dom0 doesn't, don't know about other Dom0).

Autotranslation feature.. you mean that pagetables are not updated via
the Linux kernel, but instead by the Xen hypervisor?

With the autotranslation feature the pv guest does not need to be aware about the fact that the guest physical address space is not the host physical address. Xen maintains a shadow page table for it.

W/o the autotranslation feature the pv guest is aware of it and handles
the translation itself.

Christoph

--
---to satisfy European Law for business letters:
Advanced Micro Devices GmbH
Einsteinring 24, 85689 Dornach b. Muenchen
Geschaeftsfuehrer: Alberto Bozzo, Andrew Bowd
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632


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

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