All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joe Laws <jlaws@andrew.cmu.edu>
To: Keir Fraser <Keir.Fraser@cl.cam.ac.uk>
Cc: xen-devel@lists.xensource.com
Subject: Re: Re: Adding PTE Flag during Page Fault
Date: Tue, 17 Apr 2007 10:53:56 -0400	[thread overview]
Message-ID: <4624DF84.2000701@andrew.cmu.edu> (raw)
In-Reply-To: <C247C452.D511%Keir.Fraser@cl.cam.ac.uk>

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@andrew.cmu.edu> 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
>
>
>
>   

  reply	other threads:[~2007-04-17 14:53 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-14  6:24 nat does not work with hvm Erdem Bayer
2007-04-14  9:37 ` Keir Fraser
2007-04-14  6:56   ` Erdem Bayer
2007-04-14 10:08     ` Keir Fraser
2007-04-14 20:50 ` Adding PTE Flag during Page Fault Joe Laws
2007-04-14 21:29   ` Joe Laws
2007-04-15 11:00     ` Keir Fraser
2007-04-17 14:53       ` Joe Laws [this message]
2007-04-15 11:05   ` Keir Fraser

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4624DF84.2000701@andrew.cmu.edu \
    --to=jlaws@andrew.cmu.edu \
    --cc=Keir.Fraser@cl.cam.ac.uk \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.