From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?EUC-KR?B?udrAurq0?= Subject: Re: [pvops dom0 xm save failed] Date: Tue, 23 Mar 2010 20:01:42 +0900 Message-ID: References: <20100323090737.GC1878@reaktio.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1365871001==" Return-path: In-Reply-To: <20100323090737.GC1878@reaktio.net> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: =?ISO-8859-1?Q?Pasi_K=E4rkk=E4inen?= Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============1365871001== Content-Type: multipart/alternative; boundary=005045029be918e5d0048275bd5e --005045029be918e5d0048275bd5e Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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=E4rkk=E4inen > On Tue, Mar 23, 2010 at 05:04:59PM +0900, ?????? wrote: > > when I command 'xm save [domainU] [filename]', save process does no= t > > complete with this error message > > > > Error: /usr/lib/xen/bin/xc_save 34 2 0 0 0 failed > > Usage: xm save [-c] > > > > 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=3Dmigrating-ubuntu1 id=3D3 reason=3Dsuspend. > > [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=3D3 > > [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 =3D vif, device =3D 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 =3D console, device =3D > 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 =3D vbd, device =3D vbd/51= 713 > > [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 =3D vbd, device =3D vbd/51= 714 > > [2010-03-23 17:01:11 1023] DEBUG (XendDomainInfo:2212) No device mod= el > > [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 kern= el > > 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 > > --=20 Eunbyung Park --005045029be918e5d0048275bd5e Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
2.6.32.10 domU also failed with same error log..
=A0
Is it exactly domU problem??
=A0
Is there specific kernel configuration related to save/restore??
=A0
any other comments??

2010/3/23 Pasi K=E4rkk=E4inen = <pasik@iki.fi>
On Tue, Mar 23, 2010 at 05:04:59PM +0900, ?????? wrote:
> =A0 =A0when I command 'xm save [domainU] [filena= me]', save process does not
> =A0 =A0complete with this error mes= sage
>
> =A0 =A0Error: /usr/lib/xen/bin/xc_save 34 2 0 0 0 fail= ed
> =A0 =A0Usage: xm save [-c] <Domain> <CheckpointFile>=
>
> =A0 =A0Save a domain state to restore later.
> =A0 =A0 = =A0-c, --checkpoint =A0 =A0 =A0 =A0 =A0 =A0 =A0 Leave domain running after<= br>> =A0 =A0creating
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0 =A0 =A0 =A0 =A0 snapshot
>
> =A0 =A0and /var/log/x= en/xend.log produced below error message.
>
> =A0 =A0[2010-03-23 16:58:07 1023] DEBUG (DevController:643) ho= tplugStatusCallback
> =A0 =A01.
> =A0 =A0[2010-03-23 16:58:07 1= 023] DEBUG (DevController:139) Waiting for devices
> =A0 =A0irq.
&= gt; =A0 =A0[2010-03-23 16:58:07 1023] DEBUG (DevController:139) Waiting for= devices
> =A0 =A0vfb.
> =A0 =A0[2010-03-23 16:58:07 1023] DEBUG (DevContro= ller:139) Waiting for devices
> =A0 =A0pci.
> =A0 =A0[2010-03-2= 3 16:58:07 1023] DEBUG (DevController:139) Waiting for devices
> =A0 = =A0vtpm.
> =A0 =A0[2010-03-23 16:58:07 1023] INFO (XendDomain:1182) D= omain ubuntu1 (3)
> =A0 =A0unpaused.
> =A0 =A0[2010-03-23 16:58:42 1023] DEBUG (Xend= Checkpoint:110) [xc_save]:
> =A0 =A0/usr/lib/xen/bin/xc_save 34 3 0 0= 0
> =A0 =A0[2010-03-23 16:58:42 1023] INFO (XendCheckpoint:417) xc_s= ave: failed to
> =A0 =A0get the suspend evtchn port
> =A0 =A0[2010-03-23 16:58:42= 1023] DEBUG (XendCheckpoint:388) suspend
> =A0 =A0[2010-03-23 16:58:= 42 1023] INFO (XendCheckpoint:417)
> =A0 =A0[2010-03-23 16:58:42 1023= ] DEBUG (XendCheckpoint:113) In saveInputHandler
> =A0 =A0suspend
> =A0 =A0[2010-03-23 16:58:42 1023] DEBUG (XendCh= eckpoint:115) Suspending 3 ...
> =A0 =A0[2010-03-23 16:58:42 1023] DE= BUG (XendDomainInfo:511)
> =A0 =A0XendDomainInfo.shutdown(suspend)> =A0 =A0[2010-03-23 16:58:42 1023] DEBUG (XendDomainInfo:1709)
> =A0 =A0XendDomainInfo.handleShutdownWatch
> =A0 =A0[2010-03-23 1= 6:58:42 1023] DEBUG (XendDomainInfo:1709)
> =A0 =A0XendDomainInfo.han= dleShutdownWatch
> =A0 =A0[2010-03-23 16:58:42 1023] INFO (XendDomain= Info:1903) Domain has shutdown:
> =A0 =A0name=3Dmigrating-ubuntu1 id=3D3 reason=3Dsuspend.
> =A0 = =A0[2010-03-23 16:58:42 1023] INFO (XendCheckpoint:121) Domain 3 suspended.=
> =A0 =A0[2010-03-23 16:58:42 1023] DEBUG (XendCheckpoint:130) Writt= en done
> =A0 =A0[2010-03-23 16:58:42 1023] ERROR (XendCheckpoint:164= ) Save failed on
> =A0 =A0domain ubuntu1 (3) - resuming.
> =A0 =A0Traceback (most r= ecent call last):
> =A0 =A0 =A0File "/usr/lib/python2.6/dist-pac= kages/xen/xend/XendCheckpoint.py", line
> =A0 =A0132, in save> =A0 =A0 =A0 =A0forkHelper(cmd, fd, saveInputHandler, False)
> =A0 =A0 =A0File "/usr/lib/python2.6/dist-packages/xen/xend/XendCh= eckpoint.py", line
> =A0 =A0405, in forkHelper
> =A0 =A0 = =A0 =A0raise XendError("%s failed" % string.join(cmd))
> = =A0 =A0XendError: /usr/lib/xen/bin/xc_save 34 3 0 0 0 failed
> =A0 =A0[2010-03-23 16:58:42 1023] DEBUG (XendDomainInfo:2788)
> = =A0 =A0XendDomainInfo.resumeDomain(3)
> =A0 =A0[2010-03-23 16:58:42 1= 023] DEBUG (XendDomainInfo:2829)
> =A0 =A0XendDomainInfo.resumeDomain= : completed
> =A0 =A0[2010-03-23 17:01:10 1023] DEBUG (XendDomainInfo:2732)
> = =A0 =A0XendDomainInfo.destroy: domid=3D3
> =A0 =A0[2010-03-23 17:01:1= 1 1023] DEBUG (XendDomainInfo:2207) Destroying device
> =A0 =A0model<= br>> =A0 =A0[2010-03-23 17:01:11 1023] DEBUG (XendDomainInfo:2214) Relea= sing devices
> =A0 =A0[2010-03-23 17:01:11 1023] DEBUG (XendDomainInfo:2227) Removing= vif/0
> =A0 =A0[2010-03-23 17:01:11 1023] DEBUG (XendDomainInfo:1134= )
> =A0 =A0XendDomainInfo.destroyDevice: deviceClass =3D vif, device = =3D vif/0
> =A0 =A0[2010-03-23 17:01:11 1023] DEBUG (XendDomainInfo:2227) Removing= console/0
> =A0 =A0[2010-03-23 17:01:11 1023] DEBUG (XendDomainInfo:= 1134)
> =A0 =A0XendDomainInfo.destroyDevice: deviceClass =3D console,= device =3D console/0
> =A0 =A0[2010-03-23 17:01:11 1023] DEBUG (XendDomainInfo:2227) Removing= vbd/51713
> =A0 =A0[2010-03-23 17:01:11 1023] DEBUG (XendDomainInfo:= 1134)
> =A0 =A0XendDomainInfo.destroyDevice: deviceClass =3D vbd, dev= ice =3D vbd/51713
> =A0 =A0[2010-03-23 17:01:11 1023] DEBUG (XendDomainInfo:2227) Removing= vbd/51714
> =A0 =A0[2010-03-23 17:01:11 1023] DEBUG (XendDomainInfo:= 1134)
> =A0 =A0XendDomainInfo.destroyDevice: deviceClass =3D vbd, dev= ice =3D vbd/51714
> =A0 =A0[2010-03-23 17:01:11 1023] DEBUG (XendDomainInfo:2212) No devic= e model
> =A0 =A0[2010-03-23 17:01:11 1023] DEBUG (XendDomainInfo:221= 4) Releasing devices
>
> =A0 =A0my system configuration ( 32bit= machine )
> =A0 =A0xen 3.4.2, dom0( jeremy's pvops kernel 2.6.31.6), domU( van= illa kernel
> =A0 =A02.6.32 with paravirt enabled), distribution( ubu= ntu 9.10 )
> =A0 =A0It does not work well
>
> =A0 =A0what= is the problem??
> =A0 =A0I think current system is quite stable, newtork, disk, and so o= n.
> =A0 =A0Is 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= 9;t yet have the necessary save/restore fixes.

-- Pasi




--
Eunbyung Park
--005045029be918e5d0048275bd5e-- --===============1365871001== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1365871001==--