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] [pvops dom0 xm save failed]

To: Pasi Kärkkäinen <pasik@xxxxxx>
Subject: Re: [Xen-devel] [pvops dom0 xm save failed]
From: 박은병 <peb1611@xxxxxxxxx>
Date: Tue, 23 Mar 2010 20:01:42 +0900
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 23 Mar 2010 04:03:15 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=XR1qrGomleFbBJVyG+nVshWBhn+O3RJ+D6PEGtWk6pw=; b=rQTZM/eEW821Ay6QALdmwdW/JhMFQAj9oWrOlUqgR02hssnGBrgsjz+UI4Q7Ae09FH 8WhFWrgRzHkmOiCXgsiPq9AUkRCmbe7t3/L8Gx/d8rZovc8LJg9ogbXdKvcIX52kZSK2 JipXiRtczP4QEwb2Eyy/J2K3qsEZCUguQ2CeM=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=NM9HATKJ8/60v9Vzk73pQ6EJxLJIO3OrxwU75ocCfOilxmT0lvDq0hop32aaAfAB3N kc3yJn3KrBHwSyvxdtADLHTwqCEnGHVZOtEzeIECU4aSsgYIfDKWCVJx/Q2eRmWsCaHz DB9s6XAMCRD4hag5S2Bz4Io2Fs8Jnb20wqz8I=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100323090737.GC1878@xxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <ebf0d9031003230104s3fd12a71n34d15d733bbf1ba3@xxxxxxxxxxxxxx> <20100323090737.GC1878@xxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
2.6.32.10 domU also failed with same error log..
 
Is it exactly domU problem??
 
Is there specific kernel configuration related to save/restore??
 
any other comments??

2010/3/23 Pasi Kärkkäinen <pasik@xxxxxx>
On Tue, Mar 23, 2010 at 05:04:59PM +0900, ?????? wrote:
>    when I command 'xm save [domainU] [filename]', save process does not
>    complete with this error message
>
>    Error: /usr/lib/xen/bin/xc_save 34 2 0 0 0 failed
>    Usage: xm save [-c] <Domain> <CheckpointFile>
>
>    Save a domain state to restore later.
>      -c, --checkpoint               Leave domain running after
>    creating
>                                     snapshot
>
>    and /var/log/xen/xend.log produced below error message.
>
>    [2010-03-23 16:58:07 1023] DEBUG (DevController:643) hotplugStatusCallback
>    1.
>    [2010-03-23 16:58:07 1023] DEBUG (DevController:139) Waiting for devices
>    irq.
>    [2010-03-23 16:58:07 1023] DEBUG (DevController:139) Waiting for devices
>    vfb.
>    [2010-03-23 16:58:07 1023] DEBUG (DevController:139) Waiting for devices
>    pci.
>    [2010-03-23 16:58:07 1023] DEBUG (DevController:139) Waiting for devices
>    vtpm.
>    [2010-03-23 16:58:07 1023] INFO (XendDomain:1182) Domain ubuntu1 (3)
>    unpaused.
>    [2010-03-23 16:58:42 1023] DEBUG (XendCheckpoint:110) [xc_save]:
>    /usr/lib/xen/bin/xc_save 34 3 0 0 0
>    [2010-03-23 16:58:42 1023] INFO (XendCheckpoint:417) xc_save: failed to
>    get the suspend evtchn port
>    [2010-03-23 16:58:42 1023] DEBUG (XendCheckpoint:388) suspend
>    [2010-03-23 16:58:42 1023] INFO (XendCheckpoint:417)
>    [2010-03-23 16:58:42 1023] DEBUG (XendCheckpoint:113) In saveInputHandler
>    suspend
>    [2010-03-23 16:58:42 1023] DEBUG (XendCheckpoint:115) Suspending 3 ...
>    [2010-03-23 16:58:42 1023] DEBUG (XendDomainInfo:511)
>    XendDomainInfo.shutdown(suspend)
>    [2010-03-23 16:58:42 1023] DEBUG (XendDomainInfo:1709)
>    XendDomainInfo.handleShutdownWatch
>    [2010-03-23 16:58:42 1023] DEBUG (XendDomainInfo:1709)
>    XendDomainInfo.handleShutdownWatch
>    [2010-03-23 16:58:42 1023] INFO (XendDomainInfo:1903) Domain has shutdown:
>    name=migrating-ubuntu1 id=3 reason=suspend.
>    [2010-03-23 16:58:42 1023] INFO (XendCheckpoint:121) Domain 3 suspended.
>    [2010-03-23 16:58:42 1023] DEBUG (XendCheckpoint:130) Written done
>    [2010-03-23 16:58:42 1023] ERROR (XendCheckpoint:164) Save failed on
>    domain ubuntu1 (3) - resuming.
>    Traceback (most recent call last):
>      File "/usr/lib/python2.6/dist-packages/xen/xend/XendCheckpoint.py", line
>    132, in save
>        forkHelper(cmd, fd, saveInputHandler, False)
>      File "/usr/lib/python2.6/dist-packages/xen/xend/XendCheckpoint.py", line
>    405, in forkHelper
>        raise XendError("%s failed" % string.join(cmd))
>    XendError: /usr/lib/xen/bin/xc_save 34 3 0 0 0 failed
>    [2010-03-23 16:58:42 1023] DEBUG (XendDomainInfo:2788)
>    XendDomainInfo.resumeDomain(3)
>    [2010-03-23 16:58:42 1023] DEBUG (XendDomainInfo:2829)
>    XendDomainInfo.resumeDomain: completed
>    [2010-03-23 17:01:10 1023] DEBUG (XendDomainInfo:2732)
>    XendDomainInfo.destroy: domid=3
>    [2010-03-23 17:01:11 1023] DEBUG (XendDomainInfo:2207) Destroying device
>    model
>    [2010-03-23 17:01:11 1023] DEBUG (XendDomainInfo:2214) Releasing devices
>    [2010-03-23 17:01:11 1023] DEBUG (XendDomainInfo:2227) Removing vif/0
>    [2010-03-23 17:01:11 1023] DEBUG (XendDomainInfo:1134)
>    XendDomainInfo.destroyDevice: deviceClass = vif, device = vif/0
>    [2010-03-23 17:01:11 1023] DEBUG (XendDomainInfo:2227) Removing console/0
>    [2010-03-23 17:01:11 1023] DEBUG (XendDomainInfo:1134)
>    XendDomainInfo.destroyDevice: deviceClass = console, device = console/0
>    [2010-03-23 17:01:11 1023] DEBUG (XendDomainInfo:2227) Removing vbd/51713
>    [2010-03-23 17:01:11 1023] DEBUG (XendDomainInfo:1134)
>    XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/51713
>    [2010-03-23 17:01:11 1023] DEBUG (XendDomainInfo:2227) Removing vbd/51714
>    [2010-03-23 17:01:11 1023] DEBUG (XendDomainInfo:1134)
>    XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/51714
>    [2010-03-23 17:01:11 1023] DEBUG (XendDomainInfo:2212) No device model
>    [2010-03-23 17:01:11 1023] DEBUG (XendDomainInfo:2214) Releasing devices
>
>    my system configuration ( 32bit machine )
>    xen 3.4.2, dom0( jeremy's pvops kernel 2.6.31.6), domU( vanilla kernel
>    2.6.32 with paravirt enabled), distribution( ubuntu 9.10 )
>    It does not work well
>
>    what is the problem??
>    I think current system is quite stable, newtork, disk, and so on.
>    Is there anyone who know this or has experience??
>

You need to update your domU kernel to the latest stable update (2.6.32.10),
and that'll fix the problem. 2.6.32(.0) doesn't yet have the necessary save/restore fixes.

-- Pasi




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