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] "xm save" trouble -- deadlock?

To: Ewan Mellor <ewan@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] "xm save" trouble -- deadlock?
From: Gerd Knorr <kraxel@xxxxxxx>
Date: Wed, 02 Nov 2005 16:35:00 +0100
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 02 Nov 2005 15:32:06 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20051102100429.GA408@xxxxxxxxxxxxxxxxxxxxxx>
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: <43679B4C.3030804@xxxxxxx> <4367A2AF.2090707@xxxxxxx> <20051101185456.GA21507@xxxxxxxxxxxxxxxxxxxxxx> <43688610.2010601@xxxxxxx> <20051102100429.GA408@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.6 (X11/20050715)
I've done a threaded fix already.  You're welcome to have a go at doing it
without a thread if you want, but I think it'll be messy.

Ok, wile waiting for the fix show up in the public mercurial tree I've workarounded the issue with a wrapper script which redirects xc_save stderr to a file. There I get this:

FNI 21 : [10000003,768] pte=25fae063, mfn=00025fae, pfn=00001b00 [mfn]=deadbeef FNI 21 : [10000003,769] pte=25faf063, mfn=00025faf, pfn=00001b01 [mfn]=deadbeef FNI 21 : [10000003,770] pte=25fb0063, mfn=00025fb0, pfn=00001b02 [mfn]=deadbeef
   [ ... many more of these ... ]

In the source code there where message is printed I find a comment saying "/* I don't think this should ever happen */". Hmm. It does. And probably it is a problem. "xm save" works now, but I can't restore the domain:

  master-xen root /tmp# xm restore /vm/ttylinux/suspend.img
  Error: Could not read store/console MFN

Ideas anyone?  This is a ttylinux instance running out of a ramdisk.

  Gerd

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