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] PAE xen + linux kernel boots ...

To: Gerd Knorr <kraxel@xxxxxxxxxxx>
Subject: Re: [Xen-devel] PAE xen + linux kernel boots ...
From: Scott Parish <srparish@xxxxxxxxxx>
Date: Sat, 30 Apr 2005 09:01:17 +0000
Delivery-date: Sat, 30 Apr 2005 09:25:34 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <87ll74o29m.fsf@xxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20050425172624.GB22076@bytesex> <87ll74o29m.fsf@xxxxxxxxxxx>
Resent-date: Sat, 30 Apr 2005 09:12:54 +0000
Resent-from: srp@xxxxxxxxxx
Resent-message-id: <20050430091254.GD16883@xxxxxxxxxx>
Resent-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: mutt-ng 1.5.9i (Linux)
On Wed, Apr 27, 2005 at 02:03:17PM +0200, Gerd Knorr wrote:

> Well, now it does, boots up to a login prompt ;)

I'm still not quite there, but the attached patch gets me a lot
closer.

The hypervisor was taking a pagefault in ptwr_emulated_update() when
pl1e (a map_domain_mem() mapped page) was dereferenced to be
copied. pl1e is a 64 bit type with pae, but only the first 4 bytes
were getting mapped, and there was a case where pl1e would straddle
a page boundary, so it was all over when the high bits were read.

There's probably a better solution, but this at least got me past
linux's kernel_physical_mapping_init(), which is where i was
consistently crashing.

sRp

-- 
Scott Parish

Attachment: map-pairs.diff
Description: Text document

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