Skip to contentSkip to conversation

[pvops dom0 xm save failed]

pvops dom0 xm save failed 박은병 2 participants 13 messages Mar 23, 2010

lore
Share & tools
lore

박은병

author
#0 lore raw

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??

Signature · 1 line
Eunbyung Park

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw
Quoted 78 lines · ??????
   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
Quoted 9 lines
   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

author
#2 lore raw

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 <[email protected]>

Quoted 115 lines · ??????
Quoted 6 lines

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>

Quoted 8 lines

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

Quoted 2 lines
   1.
   [2010-03-23 16:58:07 1023] DEBUG (DevController:139) Waiting for

devices

Quoted 2 lines
   irq.
   [2010-03-23 16:58:07 1023] DEBUG (DevController:139) Waiting for

devices

Quoted 2 lines
   vfb.
   [2010-03-23 16:58:07 1023] DEBUG (DevController:139) Waiting for

devices

Quoted 2 lines
   pci.
   [2010-03-23 16:58:07 1023] DEBUG (DevController:139) Waiting for

devices

Quoted 6 lines
   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

Quoted 4 lines
   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

Quoted 9 lines
   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:

Quoted 2 lines

name=migrating-ubuntu1 id=3 reason=suspend. [2010-03-23 16:58:42 1023] INFO (XendCheckpoint:121) Domain 3

suspended.

Quoted 5 lines

[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

Quoted 3 lines

132, in save
forkHelper(cmd, fd, saveInputHandler, False)
File "/usr/lib/python2.6/dist-packages/xen/xend/XendCheckpoint.py",

line

Quoted 10 lines
   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

Quoted 2 lines
   model
   [2010-03-23 17:01:11 1023] DEBUG (XendDomainInfo:2214) Releasing

devices

Quoted 4 lines
   [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

Quoted 2 lines

[2010-03-23 17:01:11 1023] DEBUG (XendDomainInfo:1134) XendDomainInfo.destroyDevice: deviceClass = console, device =

console/0

Quoted 1 line
   [2010-03-23 17:01:11 1023] DEBUG (XendDomainInfo:2227) Removing

vbd/51713

Quoted 3 lines
   [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

Quoted 4 lines
   [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

Quoted 10 lines

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

Signature · 1 line
Eunbyung Park

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#3 lore raw
Quoted 3 lines · ??????

2.6.32.10 domU also failed with same error log.. Is it exactly domU problem??

For PV guests it is _usually_ a domU kernel problem.

Quoted 3 lines

Is there specific kernel configuration related to save/restore?? any other comments??

I tested using 2.6.32.9 in the domU 1 month ago (or so), and I could save/restore just fine.

I tried both 32bit and 64bit guests, and both single-vcpu and multi-vcpu. my .config was based on Fedora kernel .config.

Please paste your /etc/xen/<guest> cfgfile?

-- Pasi

Quoted 130 lines
   2010/3/23 Pasi Kärkkäinen <[1][email protected]>

     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

References

Visible links
1. mailto:[email protected]

author
#4 lore raw

this is my domU config file
there is nothing special....

==============================================================
kernel = "/boot/vmlinuz-2.6.32.10-domU"
ramdisk = "/boot/initrd.img-2.6.32.10-domU"
memory = 1024
name = "ubuntu1"
vcpus = 1
vif = [ 'mac=00:16:3e:48:ef:5c, bridge=eth0' ]
disk = [ 'file:/root/xen/domainU/ubuntu1/ubuntu1.img,xvda1,w','file:/root/xen/domainU/ubuntu1/ubuntu1_swap.img,xvda2,w' ]
hostname= "ubuntu1"
root = "/dev/xvda1 ro"
extra = "console=hvc0 earlyprintk=xen"
==============================================================

and I also used Ubuntu distribution .config file which was created at Ubuntu install time for domU build

2010/3/23 Pasi Kärkkäinen <[email protected]>

Quoted 171 lines · ??????
Quoted 3 lines

2.6.32.10 domU also failed with same error log.. Is it exactly domU problem??

For PV guests it is _usually_ a domU kernel problem.

Quoted 3 lines

Is there specific kernel configuration related to save/restore?? any other comments??

I tested using 2.6.32.9 in the domU 1 month ago (or so), and I could save/restore just fine.

I tried both 32bit and 64bit guests, and both single-vcpu and multi-vcpu. my .config was based on Fedora kernel .config.

Please paste your /etc/xen/<guest> cfgfile?

-- Pasi

Quoted 4 lines
   2010/3/23 Pasi Kärkkäinen <[1][email protected]>

     On Tue, Mar 23, 2010 at 05:04:59PM +0900, ?????? wrote:
     >    when I command 'xm save [domainU] [filename]', save process

does

Quoted 9 lines
     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
Quoted 8 lines
     >                                     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

Quoted 3 lines
     devices
     >    irq.
     >    [2010-03-23 16:58:07 1023] DEBUG (DevController:139) Waiting

for

Quoted 3 lines
     devices
     >    vfb.
     >    [2010-03-23 16:58:07 1023] DEBUG (DevController:139) Waiting

for

Quoted 3 lines
     devices
     >    pci.
     >    [2010-03-23 16:58:07 1023] DEBUG (DevController:139) Waiting

for

Quoted 3 lines
     devices
     >    vtpm.
     >    [2010-03-23 16:58:07 1023] INFO (XendDomain:1182) Domain

ubuntu1

Quoted 3 lines
     (3)
     >    unpaused.
     >    [2010-03-23 16:58:42 1023] DEBUG (XendCheckpoint:110)

[xc_save]:

Quoted 10 lines
     >    /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

Quoted 8 lines
     ...
     >    [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

Quoted 5 lines
     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

Quoted 1 line
     >    [2010-03-23 16:58:42 1023] ERROR (XendCheckpoint:164) Save

failed

Quoted 11 lines

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))

Quoted 8 lines

> 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

Quoted 3 lines
     device
     >    model
     >    [2010-03-23 17:01:11 1023] DEBUG (XendDomainInfo:2214)

Releasing

Quoted 6 lines
     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
Quoted 8 lines
     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

Quoted 4 lines
     >    [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

Quoted 1 line
     >    [2010-03-23 17:01:11 1023] DEBUG (XendDomainInfo:2212) No

device

Quoted 2 lines
     model
     >    [2010-03-23 17:01:11 1023] DEBUG (XendDomainInfo:2214)

Releasing

Quoted 10 lines

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.

Quoted 6 lines

> 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

Quoted 11 lines
     save/restore fixes.

     -- Pasi
   --
   Eunbyung Park

References

Visible links
1. mailto:[email protected]

Signature · 1 line
Eunbyung Park

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#5 lore raw
Quoted 12 lines · ??????
   this is my domU config file
   there is nothing special....

   ==============================================================
   kernel = "/boot/vmlinuz-2.6.32.10-domU"
   ramdisk = "/boot/initrd.img-2.6.32.10-domU"
   memory = 1024
   name = "ubuntu1"
   vcpus = 1
   vif = [ 'mac=00:16:3e:48:ef:5c, bridge=eth0' ]
   disk = [
   'file:/root/xen/domainU/ubuntu1/ubuntu1.img,xvda1,w','file:/root/xen/domainU/ubuntu1/ubuntu1_swap.img,xvda2,w'
Quoted 9 lines
   ]
   hostname= "ubuntu1"
   root = "/dev/xvda1 ro"
   extra = "console=hvc0 earlyprintk=xen"
   ==============================================================

   and I also used Ubuntu distribution .config file which was created at
   Ubuntu install time for domU build

Ok. Is it 32bit or 64bit?

-- Pasi

Quoted 194 lines
   2010/3/23 Pasi Kärkkäinen <[1][email protected]>

     On Tue, Mar 23, 2010 at 08:01:42PM +0900, ?????? wrote:
     >    2.6.32.10 domU also failed with same error log..
     >    Is it exactly domU problem??
     >

     For PV guests it is _usually_ a domU kernel problem.
     >    Is there specific kernel configuration related to save/restore??
     >    any other comments??
     >

     I tested using 2.6.32.9 in the domU 1 month ago (or so),
     and I could save/restore just fine.

     I tried both 32bit and 64bit guests, and both single-vcpu and
     multi-vcpu.
     my .config was based on Fedora kernel .config.

     Please paste your /etc/xen/<guest> cfgfile?

     -- Pasi

     >    2010/3/23 Pasi Kärkkäinen <[1][2][email protected]>
     >
     >      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
     >
     > References
     >
     >    Visible links
     >    1. mailto:[3][email protected]

   --
   Eunbyung Park

References

Visible links
1. mailto:[email protected]
2. mailto:[email protected]
3. mailto:[email protected]

author
#6 lore raw

32bit.

CPU is Genuine Intel(R) CPU T2300 @ 1.66GHz.

any problem here??

2010/3/23 Pasi Kärkkäinen <[email protected]>

Quoted 243 lines · ??????
Quoted 12 lines

this is my domU config file
there is nothing special....

   ==============================================================
   kernel = "/boot/vmlinuz-2.6.32.10-domU"
   ramdisk = "/boot/initrd.img-2.6.32.10-domU"
   memory = 1024
   name = "ubuntu1"
   vcpus = 1
   vif = [ 'mac=00:16:3e:48:ef:5c, bridge=eth0' ]
   disk = [

'file:/root/xen/domainU/ubuntu1/ubuntu1.img,xvda1,w','file:/root/xen/domainU/ubuntu1/ubuntu1_swap.img,xvda2,w'

Quoted 9 lines

]
hostname= "ubuntu1"
root = "/dev/xvda1 ro"
extra = "console=hvc0 earlyprintk=xen"
==============================================================

and I also used Ubuntu distribution .config file which was created at Ubuntu install time for domU build

Ok. Is it 32bit or 64bit?

-- Pasi

Quoted 9 lines

2010/3/23 Pasi Kärkkäinen <[1][email protected]>

On Tue, Mar 23, 2010 at 08:01:42PM +0900, ?????? wrote:
> 2.6.32.10 domU also failed with same error log..
> Is it exactly domU problem??
>

For PV guests it is _usually_ a domU kernel problem.
> Is there specific kernel configuration related to

save/restore??

Quoted 10 lines

> any other comments??
>

I tested using 2.6.32.9 in the domU 1 month ago (or so), and I could save/restore just fine.

I tried both 32bit and 64bit guests, and both single-vcpu and multi-vcpu.
my .config was based on Fedora kernel .config.

Quoted 8 lines

Please paste your /etc/xen/<guest> cfgfile?

-- Pasi

> 2010/3/23 Pasi Kärkkäinen <[1][2][email protected]>
>
> On Tue, Mar 23, 2010 at 05:04:59PM +0900, ?????? wrote:
> > when I command 'xm save [domainU] [filename]', save

process

Quoted 9 lines

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

Quoted 9 lines
     >      >    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

Quoted 4 lines

for
> devices
> > irq.
> > [2010-03-23 16:58:07 1023] DEBUG (DevController:139)

Waiting

Quoted 4 lines

for
> devices
> > vfb.
> > [2010-03-23 16:58:07 1023] DEBUG (DevController:139)

Waiting

Quoted 4 lines

for
> devices
> > pci.
> > [2010-03-23 16:58:07 1023] DEBUG (DevController:139)

Waiting

Quoted 22 lines
     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
Quoted 8 lines
     >      ...
     >      >    [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

Quoted 4 lines

has
> shutdown:
> > name=migrating-ubuntu1 id=3 reason=suspend.
> > [2010-03-23 16:58:42 1023] INFO (XendCheckpoint:121)

Domain

Quoted 5 lines
     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

Quoted 6 lines

failed
> on
> > domain ubuntu1 (3) - resuming.
> > Traceback (most recent call last):
> > File
>

"/usr/lib/python2.6/dist-packages/xen/xend/XendCheckpoint.py",

Quoted 5 lines

line
> > 132, in save
> > forkHelper(cmd, fd, saveInputHandler, False)
> > File
>

"/usr/lib/python2.6/dist-packages/xen/xend/XendCheckpoint.py",

Quoted 14 lines

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

Quoted 8 lines

> > [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

=

Quoted 6 lines
     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

Quoted 7 lines
     =
     >      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

=

Quoted 6 lines
     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

=

Quoted 2 lines
     vbd/51714
     >      >    [2010-03-23 17:01:11 1023] DEBUG (XendDomainInfo:2212)

No

Quoted 11 lines

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

)

Quoted 4 lines
     >      >    It does not work well
     >      >
     >      >    what is the problem??
     >      >    I think current system is quite stable, newtork, disk,

and

Quoted 5 lines

so on.
> > Is there anyone who know this or has experience??
> >
>
> You need to update your domU kernel to the latest stable

update

Quoted 24 lines
     >      (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
     >
     > References
     >
     >    Visible links
     >    1. mailto:[3][email protected]
   --
   Eunbyung Park

References

Visible links
1. mailto:[email protected]
2. mailto:[email protected]
3. mailto:[email protected]

Signature · 1 line
Eunbyung Park

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#7 lore raw
Quoted 6 lines · ??????
   32bit.

   CPU is Genuine Intel(R) CPU T2300  @ 1.66GHz.

   any problem here??

Try using this config:
http://pasik.reaktio.net/fedora/config-2.6.32.9-70.fc12.i686.PAE

That's the default fedora 32bit kernel .config.
copy it as .config and then do "make oldconfig".

that worked for me with 2.6.32.9.

-- Pasi

Quoted 279 lines

2010/3/23 Pasi Kärkkäinen <[1][email protected]>

On Tue, Mar 23, 2010 at 08:27:46PM +0900, ?????? wrote:
> this is my domU config file
> there is nothing special....
>
> ==============================================================
> kernel = "/boot/vmlinuz-2.6.32.10-domU"
> ramdisk = "/boot/initrd.img-2.6.32.10-domU"
> memory = 1024
> name = "ubuntu1"
> vcpus = 1
> vif = [ 'mac=00:16:3e:48:ef:5c, bridge=eth0' ]
> disk = [
>
'file:/root/xen/domainU/ubuntu1/ubuntu1.img,xvda1,w','file:/root/xen/domainU/ubuntu1/ubuntu1_swap.img,xvda2,w'
> ]
> hostname= "ubuntu1"
> root = "/dev/xvda1 ro"
> extra = "console=hvc0 earlyprintk=xen"
> ==============================================================
>
> and I also used Ubuntu distribution .config file which was created
at
> Ubuntu install time for domU build
>

Ok. Is it 32bit or 64bit?
-- Pasi

> 2010/3/23 Pasi Kärkkäinen <[1][2][email protected]>
>
> On Tue, Mar 23, 2010 at 08:01:42PM +0900, ?????? wrote:
> > 2.6.32.10 domU also failed with same error log..
> > Is it exactly domU problem??
> >
>
> For PV guests it is _usually_ a domU kernel problem.
> > Is there specific kernel configuration related to
save/restore??
> > any other comments??
> >
>
> I tested using 2.6.32.9 in the domU 1 month ago (or so),
> and I could save/restore just fine.
>
> I tried both 32bit and 64bit guests, and both single-vcpu and
> multi-vcpu.
> my .config was based on Fedora kernel .config.
>
> Please paste your /etc/xen/<guest> cfgfile?
>
> -- Pasi
>
> > 2010/3/23 Pasi Kärkkäinen <[1][2][3][email protected]>
> >
> > 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
> >
> > References
> >
> > Visible links
> > 1. mailto:[3][4][email protected]
>
> --
> Eunbyung Park
>
> References
>
> Visible links
> 1. mailto:[5][email protected]
> 2. mailto:[6][email protected]
> 3. mailto:[7][email protected]

   --
   Eunbyung Park

References

Visible links
1. mailto:[email protected]
2. mailto:[email protected]
3. mailto:[email protected]
4. mailto:[email protected]
5. mailto:[email protected]
6. mailto:[email protected]
7. mailto:[email protected]

author
#8 lore raw

Thanks for your favor..:-)

it works well.

So, It turns out that PV guest's configuration is somehow problematic.

I have not found faults about my domU's configuration.

Anyway, But soem problem yet remains.

'xm save [domain] [file]' and 'xm restore [file]' command works well.

'xm save -c [domain] [file]' command doesn't work well.
As you know, '-c' option means "leaving domain running after creating snapshot"

but after snapshot, domU state is bad

xm console [domain] after snapshot,

WARNING: g.e. still in use!
WARNING: g.e. still in use!
WARNING: g.e. still in use!
WARNING: g.e. still in use!

this message appeared and any response cannot be found.
after destroy domU, I try to restore by snapshoted file and it seems to work well.

what is the problem??

and, I think that the snapshoted file contains memory contents. where is the snapshoted virtual disk file?? xen use COW disk for checkpoint??, If so, where is it?

2010/3/23 Pasi Kärkkäinen <[email protected]>

Quoted 325 lines · ??????
Quoted 6 lines
   32bit.

   CPU is Genuine Intel(R) CPU T2300  @ 1.66GHz.

   any problem here??

Try using this config:
http://pasik.reaktio.net/fedora/config-2.6.32.9-70.fc12.i686.PAE

That's the default fedora 32bit kernel .config.
copy it as .config and then do "make oldconfig".

that worked for me with 2.6.32.9.

-- Pasi

Quoted 7 lines
   2010/3/23 Pasi Kärkkäinen <[1][email protected]>

     On Tue, Mar 23, 2010 at 08:27:46PM +0900, ?????? wrote:
     >    this is my domU config file
     >    there is nothing special....
     >
     >    ==============================================================
Quoted 9 lines
     >    kernel = "/boot/vmlinuz-2.6.32.10-domU"
     >    ramdisk = "/boot/initrd.img-2.6.32.10-domU"
     >    memory = 1024
     >    name = "ubuntu1"
     >    vcpus = 1
     >    vif = [ 'mac=00:16:3e:48:ef:5c, bridge=eth0' ]
     >    disk = [
     >

'file:/root/xen/domainU/ubuntu1/ubuntu1.img,xvda1,w','file:/root/xen/domainU/ubuntu1/ubuntu1_swap.img,xvda2,w'

Quoted 7 lines
     >    ]
     >    hostname= "ubuntu1"
     >    root = "/dev/xvda1 ro"
     >    extra = "console=hvc0 earlyprintk=xen"
     >    ==============================================================

>
> and I also used Ubuntu distribution .config file which was

created

Quoted 34 lines

at
> Ubuntu install time for domU build
>

Ok. Is it 32bit or 64bit?
-- Pasi

> 2010/3/23 Pasi Kärkkäinen <[1][2][email protected]>
>
> On Tue, Mar 23, 2010 at 08:01:42PM +0900, ?????? wrote:
> > 2.6.32.10 domU also failed with same error log..
> > Is it exactly domU problem??
> >
>
> For PV guests it is _usually_ a domU kernel problem.
> > Is there specific kernel configuration related to
save/restore??
> > any other comments??
> >
>
> I tested using 2.6.32.9 in the domU 1 month ago (or so),
> and I could save/restore just fine.
>
> I tried both 32bit and 64bit guests, and both single-vcpu and
> multi-vcpu.
> my .config was based on Fedora kernel .config.
>
> Please paste your /etc/xen/<guest> cfgfile?
>
> -- Pasi
>
> > 2010/3/23 Pasi Kärkkäinen <[1][2][3][email protected]>
> >
> > On Tue, Mar 23, 2010 at 05:04:59PM +0900, ??????

Quoted 1 line · wrote:

> > > when I command 'xm save [domainU] [filename]',

save

Quoted 10 lines

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

Quoted 8 lines

after
> > > creating
> > > snapshot
> > >
> > > and /var/log/xen/xend.log produced below error
message.
> > >
> > > [2010-03-23 16:58:07 1023] DEBUG

(DevController:643)

Quoted 3 lines
     >      >      hotplugStatusCallback
     >      >      >    1.
     >      >      >    [2010-03-23 16:58:07 1023] DEBUG

(DevController:139)

Quoted 5 lines

Waiting
> for
> > devices
> > > irq.
> > > [2010-03-23 16:58:07 1023] DEBUG

(DevController:139)

Quoted 5 lines

Waiting
> for
> > devices
> > > vfb.
> > > [2010-03-23 16:58:07 1023] DEBUG

(DevController:139)

Quoted 5 lines

Waiting
> for
> > devices
> > > pci.
> > > [2010-03-23 16:58:07 1023] DEBUG

(DevController:139)

Quoted 10 lines

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)

Quoted 3 lines
     >      [xc_save]:
     >      >      >    /usr/lib/xen/bin/xc_save 34 3 0 0 0
     >      >      >    [2010-03-23 16:58:42 1023] INFO

(XendCheckpoint:417)

Quoted 4 lines
     >      xc_save:
     >      >      failed to
     >      >      >    get the suspend evtchn port
     >      >      >    [2010-03-23 16:58:42 1023] DEBUG

(XendCheckpoint:388)

Quoted 2 lines
     >      suspend
     >      >      >    [2010-03-23 16:58:42 1023] INFO

(XendCheckpoint:417)

Quoted 1 line
     >      >      >    [2010-03-23 16:58:42 1023] DEBUG

(XendCheckpoint:113)

Quoted 4 lines

In
> > saveInputHandler
> > > suspend
> > > [2010-03-23 16:58:42 1023] DEBUG

(XendCheckpoint:115)

Quoted 3 lines
     >      Suspending 3
     >      >      ...
     >      >      >    [2010-03-23 16:58:42 1023] DEBUG

(XendDomainInfo:511)

Quoted 8 lines
     >      >      >    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)

Quoted 5 lines

Domain
> has
> > shutdown:
> > > name=migrating-ubuntu1 id=3 reason=suspend.
> > > [2010-03-23 16:58:42 1023] INFO

(XendCheckpoint:121)

Quoted 4 lines

Domain
> 3
> > suspended.
> > > [2010-03-23 16:58:42 1023] DEBUG

(XendCheckpoint:130)

Quoted 2 lines

> Written done
> > > [2010-03-23 16:58:42 1023] ERROR

(XendCheckpoint:164)

Quoted 9 lines

Save
> failed
> > on
> > > domain ubuntu1 (3) - resuming.
> > > Traceback (most recent call last):
> > > File
> >
"/usr/lib/python2.6/dist-packages/xen/xend/XendCheckpoint.py",
> line

Quoted 8 lines

> > > 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))

Quoted 1 line

> > > XendError: /usr/lib/xen/bin/xc_save 34 3 0 0 0

failed

Quoted 26 lines
     >      >      >    [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 =
Quoted 8 lines
     >      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,

Quoted 28 lines
     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
Quoted 8 lines
     >      >      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

Quoted 11 lines

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

Quoted 3 lines

update
> > (2.6.32.10),
> > and that'll fix the problem. 2.6.32(.0) doesn't yet

have

Quoted 37 lines
     the
     >      necessary
     >      >      save/restore fixes.
     >      >
     >      >      -- Pasi
     >      >
     >      >    --
     >      >    Eunbyung Park
     >      >
     >      > References
     >      >
     >      >    Visible links
     >      >    1. mailto:[3][4][email protected]
     >
     >    --
     >    Eunbyung Park
     >
     > References
     >
     >    Visible links
     >    1. mailto:[5][email protected]
     >    2. mailto:[6][email protected]
     >    3. mailto:[7][email protected]
   --
   Eunbyung Park

References

Visible links
1. mailto:[email protected]
2. mailto:[email protected]
3. mailto:[email protected]
4. mailto:[email protected]
5. mailto:[email protected]
6. mailto:[email protected]
7. mailto:[email protected]

Signature · 1 line
Eunbyung Park

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#9 lore raw
Quoted 6 lines · ??????

Thanks for your favor..:-)

it works well.
So, It turns out that PV guest's configuration is somehow problematic. I have not found faults about my domU's configuration.

Ok, good to hear it works. Did you use 2.6.32.9 or 2.6.32.10 ?

Quoted 16 lines

Anyway, But soem problem yet remains.
'xm save [domain] [file]' and 'xm restore [file]' command works well.

'xm save -c [domain] [file]' command doesn't work well. As you know, '-c' option means "leaving domain running after creating snapshot"

but after snapshot, domU state is bad

xm console [domain] after snapshot,

WARNING: g.e. still in use!
WARNING: g.e. still in use!
WARNING: g.e. still in use!
WARNING: g.e. still in use!

Quoted 6 lines

this message appeared and any response cannot be found. after destroy domU, I try to restore by snapshoted file and it seems to work well.

what is the problem??

Ok, this sounds like another problem..

Quoted 4 lines

and, I think that the snapshoted file contains memory contents. where is the snapshoted virtual disk file?? xen use COW disk for checkpoint??, If so, where is it?

Only the memory is snapshotted, not disk.

-- Pasi

Quoted 360 lines

2010/3/23 Pasi Kärkkäinen <[1][email protected]>

On Tue, Mar 23, 2010 at 08:32:37PM +0900, ?????? wrote:
> 32bit.
>
> CPU is Genuine Intel(R) CPU T2300 @ 1.66GHz.
>
> any problem here??
>

Try using this config:
[2]http://pasik.reaktio.net/fedora/config-2.6.32.9-70.fc12.i686.PAE

That's the default fedora 32bit kernel .config. copy it as .config and then do "make oldconfig".

that worked for me with 2.6.32.9.
-- Pasi

> 2010/3/23 Pasi Kärkkäinen <[1][3][email protected]>
>
> On Tue, Mar 23, 2010 at 08:27:46PM +0900, ?????? wrote:
> > this is my domU config file
> > there is nothing special....
> >
> >
==============================================================
> > kernel = "/boot/vmlinuz-2.6.32.10-domU"
> > ramdisk = "/boot/initrd.img-2.6.32.10-domU"
> > memory = 1024
> > name = "ubuntu1"
> > vcpus = 1
> > vif = [ 'mac=00:16:3e:48:ef:5c, bridge=eth0' ]
> > disk = [
> >
> 'file:/root/xen/domainU/ubuntu1/ubuntu1.img,xvda1,w','file:/root/xen/domainU/ubuntu1/ubuntu1_swap.img,xvda2,w'
> > ]
> > hostname= "ubuntu1"
> > root = "/dev/xvda1 ro"
> > extra = "console=hvc0 earlyprintk=xen"
> >
==============================================================
> >
> > and I also used Ubuntu distribution .config file which was
created
> at
> > Ubuntu install time for domU build
> >
>
> Ok. Is it 32bit or 64bit?
> -- Pasi
>
> > 2010/3/23 Pasi Kärkkäinen <[1][2][4][email protected]>
> >
> > On Tue, Mar 23, 2010 at 08:01:42PM +0900, ?????? wrote:
> > > 2.6.32.10 domU also failed with same error log..
> > > Is it exactly domU problem??
> > >
> >
> > For PV guests it is _usually_ a domU kernel problem.
> > > Is there specific kernel configuration related to
> save/restore??
> > > any other comments??
> > >
> >
> > I tested using 2.6.32.9 in the domU 1 month ago (or so),
> > and I could save/restore just fine.
> >
> > I tried both 32bit and 64bit guests, and both single-vcpu
and
> > multi-vcpu.
> > my .config was based on Fedora kernel .config.
> >
> > Please paste your /etc/xen/<guest> cfgfile?
> >
> > -- Pasi
> >
> > > 2010/3/23 Pasi Kärkkäinen <[1][2][3][5][email protected]>
> > >
> > > 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
> > >
> > > References
> > >
> > > Visible links
> > > 1. mailto:[3][4][6][email protected]
> >
> > --
> > Eunbyung Park
> >
> > References
> >
> > Visible links
> > 1. mailto:[5][7][email protected]
> > 2. mailto:[6][8][email protected]
> > 3. mailto:[7][9][email protected]
>
> --
> Eunbyung Park
>
> References
>
> Visible links
> 1. mailto:[10][email protected]
> 2. mailto:[11][email protected]
> 3. mailto:[12][email protected]
> 4. mailto:[13][email protected]
> 5. mailto:[14][email protected]
> 6. mailto:[15][email protected]
> 7. mailto:[16][email protected]

   --
   Eunbyung Park

References

Visible links
1. mailto:[email protected]
2. http://pasik.reaktio.net/fedora/config-2.6.32.9-70.fc12.i686.PAE
3. mailto:[email protected]
4. mailto:[email protected]
5. mailto:[email protected]
6. mailto:[email protected]
7. mailto:[email protected]
8. mailto:[email protected]
9. mailto:[email protected]
10. mailto:[email protected]
11. mailto:[email protected]
12. mailto:[email protected]
13. mailto:[email protected]
14. mailto:[email protected]
15. mailto:[email protected]
16. mailto:[email protected]

author
#10 lore raw

I used 2.6.32.10.

but, build is perfect with just only 1 section missmatches.

2010/3/23 Pasi Kärkkäinen <[email protected]>

Quoted 431 lines · ??????
Quoted 6 lines

Thanks for your favor..:-)

it works well.
So, It turns out that PV guest's configuration is somehow problematic. I have not found faults about my domU's configuration.

Ok, good to hear it works. Did you use 2.6.32.9 or 2.6.32.10 ?

Quoted 11 lines

Anyway, But soem problem yet remains.
'xm save [domain] [file]' and 'xm restore [file]' command works well.

'xm save -c [domain] [file]' command doesn't work well. As you know, '-c' option means "leaving domain running after creating snapshot"

but after snapshot, domU state is bad

xm console [domain] after snapshot,

Quoted 7 lines

WARNING: g.e. still in use!
WARNING: g.e. still in use!
WARNING: g.e. still in use!
WARNING: g.e. still in use!

this message appeared and any response cannot be found. after destroy domU, I try to restore by snapshoted file and it seems

to

Quoted 4 lines

work well.

what is the problem??

Ok, this sounds like another problem..

Quoted 1 line

and, I think that the snapshoted file contains memory contents. where

is

Quoted 1 line

the snapshoted virtual disk file?? xen use COW disk for checkpoint??,

If

Quoted 2 lines

so, where is it?

Only the memory is snapshotted, not disk.

-- Pasi

Quoted 28 lines
   2010/3/23 Pasi Kärkkäinen <[1][email protected]>

     On Tue, Mar 23, 2010 at 08:32:37PM +0900, ?????? wrote:
     >    32bit.
     >
     >    CPU is Genuine Intel(R) CPU T2300  @ 1.66GHz.
     >
     >    any problem here??
     >

     Try using this config:
     [2]http://pasik.reaktio.net/fedora/config-2.6.32.9-70.fc12.i686.PAE

     That's the default fedora 32bit kernel .config.
     copy it as .config and then do "make oldconfig".

     that worked for me with 2.6.32.9.
     -- Pasi

     >    2010/3/23 Pasi Kärkkäinen <[1][3][email protected]>
     >
     >      On Tue, Mar 23, 2010 at 08:27:46PM +0900, ?????? wrote:
     >      >    this is my domU config file
     >      >    there is nothing special....
     >      >
     >      >
      ==============================================================
     >      >    kernel = "/boot/vmlinuz-2.6.32.10-domU"
Quoted 9 lines
     >      >    ramdisk = "/boot/initrd.img-2.6.32.10-domU"
     >      >    memory = 1024
     >      >    name = "ubuntu1"
     >      >    vcpus = 1
     >      >    vif = [ 'mac=00:16:3e:48:ef:5c, bridge=eth0' ]
     >      >    disk = [
     >      >
     >

'file:/root/xen/domainU/ubuntu1/ubuntu1.img,xvda1,w','file:/root/xen/domainU/ubuntu1/ubuntu1_swap.img,xvda2,w'

Quoted 8 lines
     >      >    ]
     >      >    hostname= "ubuntu1"
     >      >    root = "/dev/xvda1 ro"
     >      >    extra = "console=hvc0 earlyprintk=xen"
     >      >

==============================================================
> >
> > and I also used Ubuntu distribution .config file which

was

Quoted 11 lines
     created
     >      at
     >      >    Ubuntu install time for domU build
     >      >
     >
     >      Ok. Is it 32bit or 64bit?
     >      -- Pasi
     >
     >      >    2010/3/23 Pasi Kärkkäinen <[1][2][4][email protected]>
     >      >
     >      >      On Tue, Mar 23, 2010 at 08:01:42PM +0900, ??????
Quoted 11 lines · wrote:
     >      >      >    2.6.32.10 domU also failed with same error log..
     >      >      >    Is it exactly domU problem??
     >      >      >
     >      >
     >      >      For PV guests it is _usually_ a domU kernel problem.
     >      >      >    Is there specific kernel configuration related to
     >      save/restore??
     >      >      >    any other comments??
     >      >      >
     >      >
     >      >      I tested using 2.6.32.9 in the domU 1 month ago (or

so),

Quoted 3 lines
     >      >      and I could save/restore just fine.
     >      >
     >      >      I tried both 32bit and 64bit guests, and both

single-vcpu

Quoted 9 lines

and
> > multi-vcpu.
> > my .config was based on Fedora kernel .config.
> >
> > Please paste your /etc/xen/<guest> cfgfile?
> >
> > -- Pasi
> >
> > > 2010/3/23 Pasi Kärkkäinen <[1][2][3][5]

[email protected]>

Quoted 2 lines
     >      >      >
     >      >      >      On Tue, Mar 23, 2010 at 05:04:59PM +0900,

??????

Quoted 2 lines

wrote:
> > > > when I command 'xm save [domainU]

[filename]',

Quoted 9 lines

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>

Quoted 3 lines
     >      >      >      >
     >      >      >      >    Save a domain state to restore later.
     >      >      >      >      -c, --checkpoint               Leave

domain

Quoted 6 lines

running
> after
> > > > creating
> > > > snapshot
> > > >
> > > > and /var/log/xen/xend.log produced below

error

Quoted 66 lines
     >      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

Quoted 8 lines

> (XendDomainInfo:1709)
> > > > XendDomainInfo.handleShutdownWatch
> > > > [2010-03-23 16:58:42 1023] INFO
(XendDomainInfo:1903)
> Domain
> > has
> > > shutdown:
> > > > name=migrating-ubuntu1 id=3

reason=suspend.

Quoted 10 lines

> > > > [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)

Quoted 8 lines

> Save
> > failed
> > > on
> > > > domain ubuntu1 (3) - resuming.
> > > > Traceback (most recent call last):
> > > > File
> > >
>

"/usr/lib/python2.6/dist-packages/xen/xend/XendCheckpoint.py",

Quoted 7 lines
     >      >      line
     >      >      >      >    132, in save
     >      >      >      >        forkHelper(cmd, fd, saveInputHandler,

False)
> > > > File
> > >
>

"/usr/lib/python2.6/dist-packages/xen/xend/XendCheckpoint.py",

Quoted 5 lines
     >      >      line
     >      >      >      >    405, in forkHelper
     >      >      >      >        raise XendError("%s failed" %

string.join(cmd))
> > > > XendError: /usr/lib/xen/bin/xc_save 34 3 0

0 0

Quoted 18 lines
     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
Quoted 8 lines
     >      >      >      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

=

Quoted 10 lines

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

=

Quoted 11 lines
     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

=

Quoted 10 lines
     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

=

Quoted 11 lines

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

Quoted 8 lines

> > > >
> > > > 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(

Quoted 6 lines

ubuntu
> 9.10 )
> > > > It does not work well
> > > >
> > > > what is the problem??
> > > > I think current system is quite stable,

Quoted 8 lines

newtork,
> disk, and
> > so on.
> > > > Is there anyone who know this or has
experience??
> > > >
> > >
> > > You need to update your domU kernel to the

latest

Quoted 4 lines

stable
> update
> > > (2.6.32.10),
> > > and that'll fix the problem. 2.6.32(.0) doesn't

yet

Quoted 61 lines

have
> the
> > necessary
> > > save/restore fixes.
> > >
> > > -- Pasi
> > >
> > > --
> > > Eunbyung Park
> > >
> > > References
> > >
> > > Visible links
> > > 1. mailto:[3][4][6][email protected]
> >
> > --
> > Eunbyung Park
> >
> > References
> >
> > Visible links
> > 1. mailto:[5][7][email protected]
> > 2. mailto:[6][8][email protected]
> > 3. mailto:[7][9][email protected]
>
> --
> Eunbyung Park
>
> References
>
> Visible links
> 1. mailto:[10][email protected]
> 2. mailto:[11][email protected]
> 3. mailto:[12][email protected]
> 4. mailto:[13][email protected]
> 5. mailto:[14][email protected]
> 6. mailto:[15][email protected]
> 7. mailto:[16][email protected]

   --
   Eunbyung Park

References

Visible links
1. mailto:[email protected]
2. http://pasik.reaktio.net/fedora/config-2.6.32.9-70.fc12.i686.PAE
3. mailto:[email protected]
4. mailto:[email protected]
5. mailto:[email protected]
6. mailto:[email protected]
7. mailto:[email protected]
8. mailto:[email protected]
9. mailto:[email protected]
10. mailto:[email protected]
11. mailto:[email protected]
12. mailto:[email protected]
13. mailto:[email protected]
14. mailto:[email protected]
15. mailto:[email protected]
16. mailto:[email protected]

Signature · 1 line
Eunbyung Park

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#11 lore raw
Quoted 4 lines · ??????

I used 2.6.32.10.

but, build is perfect with just only 1 section missmatches.

Ok.
You could check the changes between your ubuntu .config and mine, like this:

diff -u config1 config2

-- Pasi

Quoted 481 lines

2010/3/23 Pasi Kärkkäinen <[1][email protected]>

On Tue, Mar 23, 2010 at 10:25:04PM +0900, ?????? wrote:
> Thanks for your favor..:-)
>
> it works well.
> So, It turns out that PV guest's configuration is somehow
problematic.
> I have not found faults about my domU's configuration.
>

Ok, good to hear it works. Did you use 2.6.32.9 or 2.6.32.10 ?

> Anyway, But soem problem yet remains.
> 'xm save [domain] [file]' and 'xm restore [file]' command works
well.
>
> 'xm save -c [domain] [file]' command doesn't work well.
> As you know, '-c' option means "leaving domain running after
creating
> snapshot"
>
> but after snapshot, domU state is bad
>
> xm console [domain] after snapshot,
>
> WARNING: g.e. still in use!
> WARNING: g.e. still in use!
> WARNING: g.e. still in use!
> WARNING: g.e. still in use!
>
> this message appeared and any response cannot be found.
> after destroy domU, I try to restore by snapshoted file and it
seems to
> work well.
>
> what is the problem??
>

Ok, this sounds like another problem..
> and, I think that the snapshoted file contains memory contents.
where is
> the snapshoted virtual disk file?? xen use COW disk for
checkpoint??, If
> so, where is it?
>

Only the memory is snapshotted, not disk.
-- Pasi

> 2010/3/23 Pasi Kärkkäinen <[1][2][email protected]>
>
> On Tue, Mar 23, 2010 at 08:32:37PM +0900, ?????? wrote:
> > 32bit.
> >
> > CPU is Genuine Intel(R) CPU T2300 @ 1.66GHz.
> >
> > any problem here??
> >
>
> Try using this config:
>
[2][3]http://pasik.reaktio.net/fedora/config-2.6.32.9-70.fc12.i686.PAE
>
> That's the default fedora 32bit kernel .config.
> copy it as .config and then do "make oldconfig".
>
> that worked for me with 2.6.32.9.
> -- Pasi
>
> > 2010/3/23 Pasi Kärkkäinen <[1][3][4][email protected]>
> >
> > On Tue, Mar 23, 2010 at 08:27:46PM +0900, ?????? wrote:
> > > this is my domU config file
> > > there is nothing special....
> > >
> > >
> ==============================================================
> > > kernel = "/boot/vmlinuz-2.6.32.10-domU"
> > > ramdisk = "/boot/initrd.img-2.6.32.10-domU"
> > > memory = 1024
> > > name = "ubuntu1"
> > > vcpus = 1
> > > vif = [ 'mac=00:16:3e:48:ef:5c, bridge=eth0' ]
> > > disk = [
> > >
> >
>
'file:/root/xen/domainU/ubuntu1/ubuntu1.img,xvda1,w','file:/root/xen/domainU/ubuntu1/ubuntu1_swap.img,xvda2,w'
> > > ]
> > > hostname= "ubuntu1"
> > > root = "/dev/xvda1 ro"
> > > extra = "console=hvc0 earlyprintk=xen"
> > >
> ==============================================================
> > >
> > > and I also used Ubuntu distribution .config file
which was
> created
> > at
> > > Ubuntu install time for domU build
> > >
> >
> > Ok. Is it 32bit or 64bit?
> > -- Pasi
> >
> > > 2010/3/23 Pasi Kärkkäinen <[1][2][4][5][email protected]>
> > >
> > > On Tue, Mar 23, 2010 at 08:01:42PM +0900, ??????
wrote:
> > > > 2.6.32.10 domU also failed with same error
log..
> > > > Is it exactly domU problem??
> > > >
> > >
> > > For PV guests it is _usually_ a domU kernel
problem.
> > > > Is there specific kernel configuration related
to
> > save/restore??
> > > > any other comments??
> > > >
> > >
> > > I tested using 2.6.32.9 in the domU 1 month ago (or
so),
> > > and I could save/restore just fine.
> > >
> > > I tried both 32bit and 64bit guests, and both
single-vcpu
> and
> > > multi-vcpu.
> > > my .config was based on Fedora kernel .config.
> > >
> > > Please paste your /etc/xen/<guest> cfgfile?
> > >
> > > -- Pasi
> > >
> > > > 2010/3/23 Pasi Kärkkäinen
<[1][2][3][5][6][email protected]>
> > > >
> > > > 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
> > > >
> > > > References
> > > >
> > > > Visible links
> > > > 1. mailto:[3][4][6][7][email protected]
> > >
> > > --
> > > Eunbyung Park
> > >
> > > References
> > >
> > > Visible links
> > > 1. mailto:[5][7][8][email protected]
> > > 2. mailto:[6][8][9][email protected]
> > > 3. mailto:[7][9][10][email protected]
> >
> > --
> > Eunbyung Park
> >
> > References
> >
> > Visible links
> > 1. mailto:[10][11][email protected]
> > 2. mailto:[11][12][email protected]
> > 3. mailto:[12][13][email protected]
> > 4. mailto:[13][14][email protected]
> > 5. mailto:[14][15][email protected]
> > 6. mailto:[15][16][email protected]
> > 7. mailto:[16][17][email protected]
>
> --
> Eunbyung Park
>
> References
>
> Visible links
> 1. mailto:[18][email protected]
> 2.
[19]http://pasik.reaktio.net/fedora/config-2.6.32.9-70.fc12.i686.PAE
> 3. mailto:[20][email protected]
> 4. mailto:[21][email protected]
> 5. mailto:[22][email protected]
> 6. mailto:[23][email protected]
> 7. mailto:[24][email protected]
> 8. mailto:[25][email protected]
> 9. mailto:[26][email protected]
> 10. mailto:[27][email protected]
> 11. mailto:[28][email protected]
> 12. mailto:[29][email protected]
> 13. mailto:[30][email protected]
> 14. mailto:[31][email protected]
> 15. mailto:[32][email protected]
> 16. mailto:[33][email protected]

   --
   Eunbyung Park

References

Visible links
1. mailto:[email protected]
2. mailto:[email protected]
3. http://pasik.reaktio.net/fedora/config-2.6.32.9-70.fc12.i686.PAE
4. mailto:[email protected]
5. mailto:[email protected]
6. mailto:[email protected]
7. mailto:[email protected]
8. mailto:[email protected]
9. mailto:[email protected]
10. mailto:[email protected]
11. mailto:[email protected]
12. mailto:[email protected]
13. mailto:[email protected]
14. mailto:[email protected]
15. mailto:[email protected]
16. mailto:[email protected]
17. mailto:[email protected]
18. mailto:[email protected]
19. http://pasik.reaktio.net/fedora/config-2.6.32.9-70.fc12.i686.PAE
20. mailto:[email protected]
21. mailto:[email protected]
22. mailto:[email protected]
23. mailto:[email protected]
24. mailto:[email protected]
25. mailto:[email protected]
26. mailto:[email protected]
27. mailto:[email protected]
28. mailto:[email protected]
29. mailto:[email protected]
30. mailto:[email protected]
31. mailto:[email protected]
32. mailto:[email protected]
33. mailto:[email protected]

author
#12 lore raw

Thanks, ^^

I attached diff file for ubuntu between fedora.

I will try to find faults kernel configurations..thanks

and, how the xen manage checkpointed disk?? without this, I think that checkpointed cannot be correct.

I had read that parallex paper which support this very efficiently. current I have not used these thing.

2010/3/23 Pasi Kärkkäinen <[email protected]>

Quoted 517 lines · ??????
Quoted 4 lines

I used 2.6.32.10.

but, build is perfect with just only 1 section missmatches.

Ok.
You could check the changes between your ubuntu .config and mine, like this:

diff -u config1 config2

-- Pasi

Quoted 50 lines

2010/3/23 Pasi Kärkkäinen <[1][email protected]>

On Tue, Mar 23, 2010 at 10:25:04PM +0900, ?????? wrote:
> Thanks for your favor..:-)
>
> it works well.
> So, It turns out that PV guest's configuration is somehow
problematic.
> I have not found faults about my domU's configuration.
>

Ok, good to hear it works. Did you use 2.6.32.9 or 2.6.32.10 ?

> Anyway, But soem problem yet remains.
> 'xm save [domain] [file]' and 'xm restore [file]' command works
well.
>
> 'xm save -c [domain] [file]' command doesn't work well.
> As you know, '-c' option means "leaving domain running after
creating
> snapshot"
>
> but after snapshot, domU state is bad
>
> xm console [domain] after snapshot,
>
> WARNING: g.e. still in use!
> WARNING: g.e. still in use!
> WARNING: g.e. still in use!
> WARNING: g.e. still in use!
>
> this message appeared and any response cannot be found.
> after destroy domU, I try to restore by snapshoted file and it
seems to
> work well.
>
> what is the problem??
>

Ok, this sounds like another problem..
> and, I think that the snapshoted file contains memory contents.
where is
> the snapshoted virtual disk file?? xen use COW disk for
checkpoint??, If
> so, where is it?
>

Only the memory is snapshotted, not disk.
-- Pasi

Quoted 13 lines

> 2010/3/23 Pasi Kärkkäinen <[1][2][email protected]>
>
> On Tue, Mar 23, 2010 at 08:32:37PM +0900, ?????? wrote:
> > 32bit.
> >
> > CPU is Genuine Intel(R) CPU T2300 @ 1.66GHz.
> >
> > any problem here??
> >
>
> Try using this config:
>
[2][3]

http://pasik.reaktio.net/fedora/config-2.6.32.9-70.fc12.i686.PAE

Quoted 10 lines
     >
     >      That's the default fedora 32bit kernel .config.
     >      copy it as .config and then do "make oldconfig".
     >
     >      that worked for me with 2.6.32.9.
     >      -- Pasi
     >
     >      >    2010/3/23 Pasi Kärkkäinen <[1][3][4][email protected]>
     >      >
     >      >      On Tue, Mar 23, 2010 at 08:27:46PM +0900, ??????
Quoted 5 lines · wrote:
     >      >      >    this is my domU config file
     >      >      >    there is nothing special....
     >      >      >
     >      >      >
     >

==============================================================

Quoted 11 lines
     >      >      >    kernel = "/boot/vmlinuz-2.6.32.10-domU"
     >      >      >    ramdisk = "/boot/initrd.img-2.6.32.10-domU"
     >      >      >    memory = 1024
     >      >      >    name = "ubuntu1"
     >      >      >    vcpus = 1
     >      >      >    vif = [ 'mac=00:16:3e:48:ef:5c, bridge=eth0' ]
     >      >      >    disk = [
     >      >      >
     >      >
     >

'file:/root/xen/domainU/ubuntu1/ubuntu1.img,xvda1,w','file:/root/xen/domainU/ubuntu1/ubuntu1_swap.img,xvda2,w'

Quoted 6 lines
     >      >      >    ]
     >      >      >    hostname= "ubuntu1"
     >      >      >    root = "/dev/xvda1 ro"
     >      >      >    extra = "console=hvc0 earlyprintk=xen"
     >      >      >
     >

==============================================================

Quoted 12 lines
     >      >      >
     >      >      >    and I also used Ubuntu distribution .config file

which was
> created
> > at
> > > Ubuntu install time for domU build
> > >
> >
> > Ok. Is it 32bit or 64bit?
> > -- Pasi
> >
> > > 2010/3/23 Pasi Kärkkäinen <[1][2][4][5]

[email protected]>

Quoted 2 lines
     >      >      >
     >      >      >      On Tue, Mar 23, 2010 at 08:01:42PM +0900,

??????

Quoted 9 lines

wrote:
> > > > 2.6.32.10 domU also failed with same error
log..
> > > > Is it exactly domU problem??
> > > >
> > >
> > > For PV guests it is _usually_ a domU kernel
problem.
> > > > Is there specific kernel configuration

related

Quoted 6 lines

to
> > save/restore??
> > > > any other comments??
> > > >
> > >
> > > I tested using 2.6.32.9 in the domU 1 month ago

(or

Quoted 9 lines

so),
> > > and I could save/restore just fine.
> > >
> > > I tried both 32bit and 64bit guests, and both
single-vcpu
> and
> > > multi-vcpu.
> > > my .config was based on Fedora kernel .config.
> > >

Quoted 8 lines

> > > Please paste your /etc/xen/<guest> cfgfile?
> > >
> > > -- Pasi
> > >
> > > > 2010/3/23 Pasi Kärkkäinen
<[1][2][3][5][6][email protected]>
> > > >
> > > > On Tue, Mar 23, 2010 at 05:04:59PM

+0900,

Quoted 11 lines

??????
> 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

Quoted 6 lines

0 0
> failed
> > > > > Usage: xm save [-c] <Domain>
<CheckpointFile>
> > > > >
> > > > > Save a domain state to restore

later.

Quoted 1 line
     >      >      >      >      >      -c, --checkpoint

Leave

Quoted 109 lines

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

Quoted 8 lines

> > > >
> >
"/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

Quoted 8 lines
     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

Quoted 59 lines
     >      >      >      >      >    [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

Quoted 8 lines

> > > device
> > > > model
> > > > > [2010-03-23 17:01:11 1023] DEBUG
> > (XendDomainInfo:2214)
> > > Releasing
> > > > devices
> > > > >
> > > > > my system configuration ( 32bit

machine

Quoted 2 lines

)
> > > > > xen 3.4.2, dom0( jeremy's pvops

kernel

Quoted 5 lines
     >      2.6.31.6),
     >      >      domU(
     >      >      >      vanilla
     >      >      >      >      kernel
     >      >      >      >      >    2.6.32 with paravirt enabled),
Quoted 7 lines

distribution(
> ubuntu
> > 9.10 )
> > > > > It does not work well
> > > > >
> > > > > what is the problem??
> > > > > I think current system is quite

stable,

Quoted 4 lines
     >      newtork,
     >      >      disk, and
     >      >      >      so on.
     >      >      >      >      >    Is there anyone who know this or

has

Quoted 4 lines
     >      experience??
     >      >      >      >      >
     >      >      >      >
     >      >      >      >      You need to update your domU kernel to

the

Quoted 46 lines

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
> > > >
> > > > References
> > > >
> > > > Visible links
> > > > 1. mailto:[3][4][6][7][email protected]
> > >
> > > --
> > > Eunbyung Park
> > >
> > > References
> > >
> > > Visible links
> > > 1. mailto:[5][7][8][email protected]
> > > 2. mailto:[6][8][9][email protected]
> > > 3. mailto:[7][9][10][email protected]
> >
> > --
> > Eunbyung Park
> >
> > References
> >
> > Visible links
> > 1. mailto:[10][11][email protected]
> > 2. mailto:[11][12][email protected]
> > 3. mailto:[12][13][email protected]
> > 4. mailto:[13][14][email protected]
> > 5. mailto:[14][15][email protected]
> > 6. mailto:[15][16][email protected]
> > 7. mailto:[16][17][email protected]
>
> --

Quoted 8 lines

> Eunbyung Park
>
> References
>
> Visible links
> 1. mailto:[18][email protected]
> 2.
[19]

http://pasik.reaktio.net/fedora/config-2.6.32.9-70.fc12.i686.PAE

Quoted 54 lines
     >    3. mailto:[20][email protected]
     >    4. mailto:[21][email protected]
     >    5. mailto:[22][email protected]
     >    6. mailto:[23][email protected]
     >    7. mailto:[24][email protected]
     >    8. mailto:[25][email protected]
     >    9. mailto:[26][email protected]
     >   10. mailto:[27][email protected]
     >   11. mailto:[28][email protected]
     >   12. mailto:[29][email protected]
     >   13. mailto:[30][email protected]
     >   14. mailto:[31][email protected]
     >   15. mailto:[32][email protected]
     >   16. mailto:[33][email protected]
   --
   Eunbyung Park

References

Visible links
1. mailto:[email protected]
2. mailto:[email protected]
3. http://pasik.reaktio.net/fedora/config-2.6.32.9-70.fc12.i686.PAE
4. mailto:[email protected]
5. mailto:[email protected]
6. mailto:[email protected]
7. mailto:[email protected]
8. mailto:[email protected]
9. mailto:[email protected]
10. mailto:[email protected]
11. mailto:[email protected]
12. mailto:[email protected]
13. mailto:[email protected]
14. mailto:[email protected]
15. mailto:[email protected]
16. mailto:[email protected]
17. mailto:[email protected]
18. mailto:[email protected]
19. http://pasik.reaktio.net/fedora/config-2.6.32.9-70.fc12.i686.PAE
20. mailto:[email protected]
21. mailto:[email protected]
22. mailto:[email protected]
23. mailto:[email protected]
24. mailto:[email protected]
25. mailto:[email protected]
26. mailto:[email protected]
27. mailto:[email protected]
28. mailto:[email protected]
29. mailto:[email protected]
30. mailto:[email protected]
31. mailto:[email protected]
32. mailto:[email protected]
33. mailto:[email protected]

Signature · 1 line
Eunbyung Park

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel