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] Anybody debugging PAE guest kernels?

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Anybody debugging PAE guest kernels?
From: Randy Thelen <rthelen@xxxxxxxxxx>
Date: Wed, 4 Oct 2006 16:53:39 -0700
Delivery-date: Wed, 04 Oct 2006 16:54:17 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Folks --

I'm porting FreeBSD to support PAE on xen-unstable. (Is anybody else doing this?) The kernel image I have properly communicates to Xend that the kernel is PAE aware and supports [extended-cr3] semantics (which I now fully understand; thanks Keir!).

My kernel gets loaded into guest memory and I attach gdbserver-xen to it. So far so good. I can view registers, I can step, I can look at global and local registers. All is good.

But, if I attempt to modify memory, e.g., setting a break point, XEN coughs up an error:

(XEN) DOM0: (file=mm.c, line=1750) Bad type (saw 2e000001 != exp e0000000) for mfn fa693 (pfn 572) (XEN) DOM0: (file=mm.c, line=618) Error getting mfn fa693 (pfn 572) from L1 entry 00000000fa693027 for dom7

Is anybody doing this?  Or, am I out here alone ... again?

Xen version 3.0-unstable (root@xxxxxxxxxxxxxx) (gcc version 4.0.3 (Ubuntu 4.0.3-1ubuntu5)) Mon Aug 28 17:24:36 PDT 2006
Latest ChangeSet: Thu Aug 24 01:49:41 2006 +0100 11249:1ff4cc298bec

(I'm going to update my hg repository, but I still have the question about anybody else using gdbserver w/ PAE guests.)

-- Randy

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

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