From: Randy Thelen Subject: Anybody debugging PAE guest kernels? Date: Wed, 4 Oct 2006 16:53:39 -0700 Message-ID: <3A54ED98-4FDB-42C0-9F75-7B860D083986@netapp.com> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel List-Id: xen-devel@lists.xenproject.org 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@lab.netapp.com) (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