From: Ewan Mellor Subject: Re: "xm save" trouble -- deadlock? Date: Wed, 2 Nov 2005 15:41:03 +0000 Message-ID: <20051102154103.GC408@leeni.uk.xensource.com> References: <43679B4C.3030804@suse.de> <4367A2AF.2090707@suse.de> <20051101185456.GA21507@leeni.uk.xensource.com> <43688610.2010601@suse.de> <20051102100429.GA408@leeni.uk.xensource.com> <4368DCA4.6000709@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <4368DCA4.6000709@suse.de> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Gerd Knorr Cc: xen-devel List-Id: xen-devel@lists.xenproject.org On Wed, Nov 02, 2005 at 04:35:00PM +0100, Gerd Knorr wrote: > >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. In and of itself, this diagnostic message is harmless, despite the comment to the contrary. > "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 It is trying to read two values that are output by the xc_restore helper program on its stdout. Have you inadvertently lost xc_restore's stdout? If not, then xc_restore is broken -- check for corresponding diagnostic information in /var/log/xend.log, /var/log/xend-debug.log, and dmesg. Ewan.