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] Re: Adding PTE Flag during Page Fault

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] Re: Adding PTE Flag during Page Fault
From: Joe Laws <jlaws@xxxxxxxxxxxxxx>
Date: Tue, 17 Apr 2007 10:53:56 -0400
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 17 Apr 2007 07:52:33 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C247C452.D511%Keir.Fraser@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/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: <C247C452.D511%Keir.Fraser@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.10 (X11/20070302)
Thanks for the suggestion Keir, unfortunately my kernel lacks the option
for kexec, despite the fact that all the source files are included. 
Anyway, I was able to get the information I need by passing certain args
to the xen kernel via grub:

kernel /xen.gz noreboot console=vga vga=keep xencons=tty

Using this output I managed to get my stuff working this morning also. 
I was surprised to learn that of the ~90K pages saved (for a 380MB
memory image) only ~1500 are needed for the system to start up and
continue running.  Granted every time something is done another 10-20
pages get loaded, the fact that less than 2% only need to be present to
start the VM again is crazy.  This means that only ~6MB of the memory
image needs to be present to resume. 

-Joe

Keir Fraser wrote:
>
> On 14/4/07 22:29, "Joe Laws" <jlaws@xxxxxxxxxxxxxx> wrote:
>
>   
>> Now it just causes Xen to crash and my computer to reboot.
>> Unfortunately I can only see the output to the log by doing xm dmesg,
>> which gets cleared on every reboot.  Are there any efficient techniques
>> to get the latest xm dmesg output to file before the system crashes?
>>     
>
> You can use kdump (basically chain boot into a special crash-dump Linux
> kernel with block or net drivers which will scrape memory for things like
> Xen heap and Xen logging output).
>
>  -- Keir
>
>
>
>   


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