From: Peri Hankey Subject: Re: of cows and clones: creating domains as clones of saved state Date: Thu, 25 Nov 2004 22:13:44 +0000 Message-ID: <41A65918.1020505@thegreen.co.uk> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: xen-devel-admin@lists.sourceforge.net Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Keir Fraser Cc: xen-devel@lists.sourceforge.net List-Id: xen-devel@lists.xenproject.org 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:[] 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: > [] time_resume+0x12/0x52 > > [] __do_suspend+0x1a0/0x1e1 > > [] worker_thread+0x1ea/0x2fe > > [] __shutdown_handler+0x0/0x48 > > [] default_wake_function+0x0/0x12 > > [] default_wake_function+0x0/0x12 > > [] worker_thread+0x0/0x2fe > > [] kthread+0xa8/0xde > > [] kthread+0x0/0xde > > [] 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 > 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/