From: Peri Hankey <mpah@thegreen.co.uk>
To: Keir Fraser <Keir.Fraser@cl.cam.ac.uk>
Cc: xen-devel@lists.sourceforge.net
Subject: Re: of cows and clones: creating domains as clones of saved state
Date: Thu, 25 Nov 2004 22:13:44 +0000 [thread overview]
Message-ID: <41A65918.1020505@thegreen.co.uk> (raw)
In-Reply-To: <E1CXR1T-0004qR-00@mta1.cl.cam.ac.uk>
Keir
You had in fact seen this in an earlier thread: 'crash when domain is
restored', which was confirmed as occurring by Charles Coffing. You
suggested I add instrumentation. I haven't yet had a chance to do that,
but I'll first try it with xen-unstable.
But I'll be interested to hear whether you think there is any mileage in
my clone proposal.
Regards
Peri
your comment:
>Looks easy to fix. You might want to instrument up time_resume in
>arch/xen/i386/kernel/time.c, or I may find some time to look later in
>the week.
>
> -- Keir
>
my message:
> I hadn't yet investigated save/restore, but it seems not to work for
> me. Running Mandrakelinux 10.1 (ish - updated not reinstalled) on an
> AMD ATHLON 2400 I have a crash restoring the domain:
>
> root@xen0# xm save aaa aaa.saved
> ...
> root@xen0# xm restore aaa.saved
>
> The console output is as follows:
>
> Unable to handle kernel paging request at virtual address 0000c000
> printing eip:
> *pde = ma 00000000 pa 55555000
> Oops: 0002 [#1]
> PREEMPT
> Modules linked in: loop
> CPU: 0
> EIP: 0061:[<c0311000>] Not tainted VLI
> EFLAGS: 00010206 (2.6.9-xenU)
> EIP is at early_serial_init+0x1c/0x1d5
> eax: c02ca510 ebx: 0000c000 ecx: fbffc000 edx: 00000001
> esi: 00000010 edi: c0102000 ebp: 00000000 esp: c10ebf20
> ds: 0069 es: 0069 ss: 0069
> Process events/0 (pid: 3, threadinfo=c10ea000 task=c10d9020)
> Stack: c010e7c8 00000000 c0109e4d fbffc000 000001d3 00000063 c36a6000
> c10ea000
> 00000000 c02c9580 00000000 c012cd23 00000000 c10ebf74 00000000
> c10ad278
> c0109f4f c10ea000 c10ad268 ffffffff ffffffff 00000001 00000000
> c01195c6
> Call Trace:
> [<c010e7c8>] time_resume+0x12/0x52
>
> [<c0109e4d>] __do_suspend+0x1a0/0x1e1
>
> [<c012cd23>] worker_thread+0x1ea/0x2fe
>
> [<c0109f4f>] __shutdown_handler+0x0/0x48
>
> [<c01195c6>] default_wake_function+0x0/0x12
>
> [<c01195c6>] default_wake_function+0x0/0x12
>
> [<c012cb39>] worker_thread+0x0/0x2fe
>
> [<c0130f94>] kthread+0xa8/0xde
>
> [<c0130eec>] kthread+0x0/0xde
>
> [<c010f091>] kernel_thread_helper+0x5/0xb
>
> Code: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <c0>
> 3b 39 98 00 00 00 02 00 00 1c 7e 00 00 00 00 00 00 00 00 00
Keir Fraser wrote:
>>Xen can already save the state of an established domain and restore it
>>(in theory at least - so far it crashes for me).
>>
>>
>
>How does it crash for you? I can save/restore a 2.6.9-xenU domain
>built from latest 2.0-testing tree with no problems.
>
> -- Keir
>
>
>-------------------------------------------------------
>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@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/xen-devel
>
>
>
>
-------------------------------------------------------
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/
next prev parent reply other threads:[~2004-11-25 22:13 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-15 22:01 copy on write memory Peri Hankey
2004-11-16 0:35 ` Rik van Riel
2004-11-16 9:44 ` Peri Hankey
2004-11-16 9:51 ` Peri Hankey
2004-11-16 15:27 ` urmk
2004-11-16 16:17 ` Mark A. Williamson
2004-11-18 16:56 ` Peri Hankey
2004-11-18 17:11 ` urmk
2004-11-18 17:25 ` Keir Fraser
2004-11-18 18:41 ` Kip Macy
2004-11-18 18:55 ` Keir Fraser
2004-11-18 19:16 ` Kip Macy
2004-11-18 18:15 ` Peri Hankey
2004-11-19 10:35 ` Jacob Gorm Hansen
2004-11-19 10:59 ` Keir Fraser
2004-11-19 12:02 ` Jacob Gorm Hansen
2004-11-19 14:50 ` Keir Fraser
2004-11-22 12:42 ` Jacob Gorm Hansen
2004-11-25 15:01 ` of cows and clones: creating domains as clones of saved state Peri Hankey
2004-11-25 21:19 ` Keir Fraser
2004-11-25 22:13 ` Peri Hankey [this message]
2004-11-25 22:36 ` Keir Fraser
2004-11-25 22:37 ` Ian Pratt
2004-11-16 18:10 ` copy on write memory Adam Heath
2004-11-16 18:09 ` Adam Heath
2004-11-16 18:39 ` Matt Ayres
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=41A65918.1020505@thegreen.co.uk \
--to=mpah@thegreen.co.uk \
--cc=Keir.Fraser@cl.cam.ac.uk \
--cc=xen-devel@lists.sourceforge.net \
/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.