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 and cr0,cr3,cr4

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] xen and cr0,cr3,cr4
From: Adam Sulmicki <adam@xxxxxxxxxxxx>
Date: Mon, 29 Nov 2004 17:31:01 -0500 (EST)
Cc: Ian Pratt <Ian.Pratt@xxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 29 Nov 2004 22:16:23 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
In-reply-to: <E1CYhKR-0004nC-00@xxxxxxxxxxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
> > All dandy and nice. now the weird part is that if I try to list Page Table
> > entries referenced by by Page Directory in either setup I get an ooops
> > saying that the referneced Page Table is not in memory.
> >
> > No such problems in linux classic... weird.
>
> How are you converting the address in the PDE into something you can
> dereference? You should be using machine_to_virt() (*not*
> phys_to_virt()).

yeah, that definitely helps, in so far that I was able to list low
memory, ie 0-(4gb-64), but it still seems to get confused once it gets
into xen space...

PD 0x313-0x3EE[0x00000000]V:3148M-4028M-1>P:????M-????M-1 S:0880MB F:__
PD 0x3EF-0x3EF[0x02c10067]V:4028M-4032M-1>P:++++M-++++M-1 S:0004MB F:PK
  Printing Page Table (0x3EF)
  PT Base Address (physical): 0x02C10000
  PT Base Address (virtual) : 0xC0010000
  PT 000-2FA V:4028M.0000K-4030M.1004K-1>P:!!!!!!!!!!K-!!!!!!!!!!K-1 S:3052K F:_
  PT 2FB-3FA V:4030M.1004K-4031M.1004K-1>P:0000M.0000K-0001M.0000K-1 S:1024K F:P
  PT 3FB-3FB V:4031M.1004K-4031M.1008K-1>P:!!!!!!!!!!K-!!!!!!!!!!K-1 S:0004K F:_
  PT 3FC-3FC V:4031M.1008K-4031M.1012K-1>P:0005M.0952K-0005M.0956K-1 S:0004K F:P
  PT 3FD-3FD V:4031M.1012K-4031M.1016K-1>P:0060M.0840K-0060M.0844K-1 S:0004K F:P
  PT 3FE-3FF V:4031M.1016K-4032M.0000K-1>P:!!!!!!!!!!K-!!!!!!!!!!K-1 S:0008K F:_
PD 0x3F0-0x3F0[0x004f9021]V:4032M-4036M-1>P:++++M-++++M-1 S:0004MB F:PK
  Printing Page Table (0x3F0)
  PT Base Address (physical): 0x004F9000
  PT Base Address (virtual) : 0x15555000
Unable to handle kernel paging request at virtual address 15555000






-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel