WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-bugs

[Xen-bugs] [Bug 734] New: xm restore fails to restart the guest

To: xen-bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-bugs] [Bug 734] New: xm restore fails to restart the guest
From: bugzilla-daemon@xxxxxxxxxxxxxxxxxxx
Date: Thu, 10 Aug 2006 07:58:41 -0700
Delivery-date: Thu, 10 Aug 2006 07:59:37 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-bugs-request@lists.xensource.com?subject=help>
List-id: Xen Bugzilla <xen-bugs.lists.xensource.com>
List-post: <mailto:xen-bugs@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=unsubscribe>
Reply-to: bugs@xxxxxxxxxxxxxxxxxx
Sender: xen-bugs-bounces@xxxxxxxxxxxxxxxxxxx
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=734

           Summary: xm restore fails to restart the guest
           Product: Xen
           Version: 3.0.2
          Platform: x86-64
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Tools
        AssignedTo: xen-bugs@xxxxxxxxxxxxxxxxxxx
        ReportedBy: twh25@xxxxxxxxx


I have a happily running guest which I can successfully suspend with 'xm save'.
 However, when I try to 'xm restore' from the saved file, the domain does not
get successfully recreated:

[root@localhost ~]# xm list
Name                              ID Mem(MiB) VCPUs State  Time(s)
Domain-0                           0      507     2 r-----    34.1
pool-0-1-xeno.cl.cam.ac.uk-session-8   1       64     1 -b----     4.0
[root@localhost ~]# xm save 1 session-8.chk
[root@localhost ~]# xm list
Name                              ID Mem(MiB) VCPUs State  Time(s)
Domain-0                           0      507     2 r-----    36.1
[root@localhost ~]# xm restore session-8.chk 
[root@localhost ~]# xm list
Name                              ID Mem(MiB) VCPUs State  Time(s)
Domain-0                           0      507     2 r-----    39.0

'xm log' shows:
[2006-08-10 15:44:25 xend] DEBUG (XendCheckpoint:80) [xc_save]:
/usr/lib64/xen/bin/xc_save 10 17 1 0 0 0
[2006-08-10 15:44:25 xend] DEBUG (XendCheckpoint:200) suspend
[2006-08-10 15:44:25 xend] DEBUG (XendCheckpoint:83) In saveInputHandler
suspend
[2006-08-10 15:44:25 xend] DEBUG (XendCheckpoint:85) Suspending 1 ...
[2006-08-10 15:44:25 xend.XendDomainInfo] DEBUG (XendDomainInfo:877)
XendDomainInfo.handleShutdownWatch
[2006-08-10 15:44:25 xend.XendDomainInfo] DEBUG (XendDomainInfo:877)
XendDomainInfo.handleShutdownWatch
[2006-08-10 15:44:25 xend.XendDomainInfo] INFO (XendDomainInfo:836) Domain has
shutdown: name=migrating-pool-0-1-xeno.cl.cam.ac.uk-session-8 id=1
reason=suspend.
[2006-08-10 15:44:25 xend] INFO (XendCheckpoint:88) Domain 1 suspended.
[2006-08-10 15:44:25 xend] DEBUG (XendCheckpoint:91) Written done
[2006-08-10 15:44:25 xend] ERROR (XendCheckpoint:227) Had 0 unexplained entries
in p2m table
 1: sent 16376, skipped 0, delta 305ms, dom0 97%, target 0%, sent 1759Mb/s,
dirtied 0Mb/s 0 pages
[2006-08-10 15:44:25 xend] ERROR (XendCheckpoint:227) Total pages sent= 16376
(0.89x)
[2006-08-10 15:44:25 xend] ERROR (XendCheckpoint:227) (of which 0 were fixups)
[2006-08-10 15:44:25 xend] ERROR (XendCheckpoint:227) All memory is saved
[2006-08-10 15:44:25 xend] ERROR (XendCheckpoint:227) Save exit rc=0
[2006-08-10 15:44:25 xend.XendDomainInfo] DEBUG (XendDomainInfo:1335)
XendDomainInfo.destroyDomain(1)
[2006-08-10 15:44:53 xend.XendDomainInfo] DEBUG (XendDomainInfo:253)
XendDomainInfo.restore([\047domain\047, [\047domid\047, \0471\047],
[\047uuid\047, \0477d3227c5-b252-6151-f41e-31d423f9a2dc\047], [\047ssidref\047,
\0470\047], [\047vcpus\047, \0471\047], [\047vcpu_avail\047, \0471\047],
[\047cpu_weight\047, \0471.0\047], [\047memory\047, \04764\047],
[\047maxmem\047, \04764\047], [\047name\047,
\047pool-0-1-xeno.cl.cam.ac.uk-session-8\047], [\047on_poweroff\047,
\047destroy\047], [\047on_reboot\047, \047restart\047], [\047on_crash\047,
\047destroy\047], [\047image\047, [\047linux\047, [\047kernel\047,
\047/boot/vmlinuz-2.6.12.6-xenU\047], [\047ip\047,
\04710.0.0.2:1.2.3.4:10.0.0.1:255.0.0.0:xeno:eth0:off\047], [\047root\047,
\047/dev/sda1\047], [\047args\047, \047ro\047]]], [\047device\047,
[\047vif\047, [\047backend\047, \0470\047], [\047script\047,
\047vif-bridge\047], [\047bridge\047, \047natbr0\047], [\047mac\047,
\04700:16:3e:0e:27:13\047]]], [\047device\047, [\047vbd\047, [\047backend\047,
\0470\047], [\047dev\047, \047sda1\047], [\047uname\047,
\047phy:mapper/session-8\047], [\047mode\047, \047rw\047]]], [\047device\047,
[\047vbd\047, [\047backend\047, \0470\047], [\047dev\047, \047sda2\047],
[\047uname\047, \047file:/xeno/empty-files/empty-session-8\047], [\047mode\047,
\047w\047]]], [\047state\047, \047-b----\047], [\047shutdown_reason\047,
\047poweroff\047], [\047cpu_time\047, \0474.005070431\047],
[\047online_vcpus\047, \0471\047], [\047up_time\047, \04756.9114718437\047],
[\047start_time\047, \0471155221008.17\047], [\047store_mfn\047,
\0471008725\047], [\047console_mfn\047, \0471008724\047]])
[2006-08-10 15:44:53 xend.XendDomainInfo] DEBUG (XendDomainInfo:284)
parseConfig: config is [\047domain\047, [\047domid\047, \0471\047],
[\047uuid\047, \0477d3227c5-b252-6151-f41e-31d423f9a2dc\047], [\047ssidref\047,
\0470\047], [\047vcpus\047, \0471\047], [\047vcpu_avail\047, \0471\047],
[\047cpu_weight\047, \0471.0\047], [\047memory\047, \04764\047],
[\047maxmem\047, \04764\047], [\047name\047,
\047pool-0-1-xeno.cl.cam.ac.uk-session-8\047], [\047on_poweroff\047,
\047destroy\047], [\047on_reboot\047, \047restart\047], [\047on_crash\047,
\047destroy\047], [\047image\047, [\047linux\047, [\047kernel\047,
\047/boot/vmlinuz-2.6.12.6-xenU\047], [\047ip\047,
\04710.0.0.2:1.2.3.4:10.0.0.1:255.0.0.0:xeno:eth0:off\047], [\047root\047,
\047/dev/sda1\047], [\047args\047, \047ro\047]]], [\047device\047,
[\047vif\047, [\047backend\047, \0470\047], [\047script\047,
\047vif-bridge\047], [\047bridge\047, \047natbr0\047], [\047mac\047,
\04700:16:3e:0e:27:13\047]]], [\047device\047, [\047vbd\047, [\047backend\047,
\0470\047], [\047dev\047, \047sda1\047], [\047uname\047,
\047phy:mapper/session-8\047], [\047mode\047, \047rw\047]]], [\047device\047,
[\047vbd\047, [\047backend\047, \0470\047], [\047dev\047, \047sda2\047],
[\047uname\047, \047file:/xeno/empty-files/empty-session-8\047], [\047mode\047,
\047w\047]]], [\047state\047, \047-b----\047], [\047shutdown_reason\047,
\047poweroff\047], [\047cpu_time\047, \0474.005070431\047],
[\047online_vcpus\047, \0471\047], [\047up_time\047, \04756.9114718437\047],
[\047start_time\047, \0471155221008.17\047], [\047store_mfn\047,
\0471008725\047], [\047console_mfn\047, \0471008724\047]]
[2006-08-10 15:44:53 xend.XendDomainInfo] DEBUG (XendDomainInfo:380)
parseConfig: result is {\047ssidref\047: 0, \047uuid\047:
\0477d3227c5-b252-6151-f41e-31d423f9a2dc\047, \047on_crash\047:
\047destroy\047, \047on_reboot\047: \047restart\047, \047image\047:
[\047linux\047, [\047kernel\047, \047/boot/vmlinuz-2.6.12.6-xenU\047],
[\047ip\047, \04710.0.0.2:1.2.3.4:10.0.0.1:255.0.0.0:xeno:eth0:off\047],
[\047root\047, \047/dev/sda1\047], [\047args\047, \047ro\047]],
\047on_poweroff\047: \047destroy\047, \047cpus\047: None, \047name\047:
\047pool-0-1-xeno.cl.cam.ac.uk-session-8\047, \047backend\047: [],
\047vcpus\047: 1, \047cpu_weight\047: 1.0, \047vcpu_avail\047: 1,
\047memory\047: 64, \047device\047: [(\047vif\047, [\047vif\047,
[\047backend\047, \0470\047], [\047script\047, \047vif-bridge\047],
[\047bridge\047, \047natbr0\047], [\047mac\047, \04700:16:3e:0e:27:13\047]]),
(\047vbd\047, [\047vbd\047, [\047backend\047, \0470\047], [\047dev\047,
\047sda1\047], [\047uname\047, \047phy:mapper/session-8\047], [\047mode\047,
\047rw\047]]), (\047vbd\047, [\047vbd\047, [\047backend\047, \0470\047],
[\047dev\047, \047sda2\047], [\047uname\047,
\047file:/xeno/empty-files/empty-session-8\047], [\047mode\047, \047w\047]])],
\047bootloader\047: None, \047cpu\047: None, \047maxmem\047: 64}
[2006-08-10 15:44:53 xend.XendDomainInfo] DEBUG (XendDomainInfo:1164)
XendDomainInfo.construct: None 0
[2006-08-10 15:44:53 xend.XendDomainInfo] DEBUG (XendDomainInfo:671) Storing VM
details: {\047ssidref\047: \0470\047, \047uuid\047:
\0477d3227c5-b252-6151-f41e-31d423f9a2dc\047, \047on_reboot\047:
\047restart\047, \047image\047: \047(linux (kernel /boot/vmlinuz-2.6.12.6-xenU)
(ip 10.0.0.2:1.2.3.4:10.0.0.1:255.0.0.0:xeno:eth0:off) (root /dev/sda1) (args
ro))\047, \047on_poweroff\047: \047destroy\047, \047name\047:
\047pool-0-1-xeno.cl.cam.ac.uk-session-8\047, \047vcpus\047: \0471\047,
\047vcpu_avail\047: \0471\047, \047memory\047: \04764\047, \047on_crash\047:
\047destroy\047, \047maxmem\047: \04764\047}
[2006-08-10 15:44:53 xend] DEBUG (DevController:103) DevController: writing
{\047backend-id\047: \0470\047, \047mac\047: \04700:16:3e:0e:27:13\047,
\047handle\047: \0470\047, \047state\047: \0471\047, \047backend\047:
\047/local/domain/0/backend/vif/2/0\047} to /local/domain/2/device/vif/0.
[2006-08-10 15:44:53 xend] DEBUG (DevController:105) DevController: writing
{\047bridge\047: \047natbr0\047, \047domain\047:
\047pool-0-1-xeno.cl.cam.ac.uk-session-8\047, \047handle\047: \0470\047,
\047script\047: \047/etc/xen/scripts/vif-bridge\047, \047state\047: \0471\047,
\047frontend\047: \047/local/domain/2/device/vif/0\047, \047mac\047:
\04700:16:3e:0e:27:13\047, \047frontend-id\047: \0472\047} to
/local/domain/0/backend/vif/2/0.
[2006-08-10 15:44:53 xend] DEBUG (DevController:103) DevController: writing
{\047virtual-device\047: \0472049\047, \047backend-id\047: \0470\047,
\047state\047: \0471\047, \047backend\047:
\047/local/domain/0/backend/vbd/2/2049\047} to /local/domain/2/device/vbd/2049.
[2006-08-10 15:44:53 xend] DEBUG (DevController:105) DevController: writing
{\047domain\047: \047pool-0-1-xeno.cl.cam.ac.uk-session-8\047,
\047frontend\047: \047/local/domain/2/device/vbd/2049\047, \047dev\047:
\047sda1\047, \047state\047: \0471\047, \047params\047:
\047mapper/session-8\047, \047mode\047: \047rw\047, \047frontend-id\047:
\0472\047, \047type\047: \047phy\047} to /local/domain/0/backend/vbd/2/2049.
[2006-08-10 15:44:53 xend] DEBUG (DevController:103) DevController: writing
{\047virtual-device\047: \0472050\047, \047backend-id\047: \0470\047,
\047state\047: \0471\047, \047backend\047:
\047/local/domain/0/backend/vbd/2/2050\047} to /local/domain/2/device/vbd/2050.
[2006-08-10 15:44:53 xend] DEBUG (DevController:105) DevController: writing
{\047domain\047: \047pool-0-1-xeno.cl.cam.ac.uk-session-8\047,
\047frontend\047: \047/local/domain/2/device/vbd/2050\047, \047dev\047:
\047sda2\047, \047state\047: \0471\047, \047params\047:
\047/xeno/empty-files/empty-session-8\047, \047mode\047: \047w\047,
\047frontend-id\047: \0472\047, \047type\047: \047file\047} to
/local/domain/0/backend/vbd/2/2050.
[2006-08-10 15:44:53 xend.XendDomainInfo] DEBUG (XendDomainInfo:696) Storing
domain details: {\047console/port\047: \0472\047, \047name\047:
\047pool-0-1-xeno.cl.cam.ac.uk-session-8\047, \047console/limit\047:
\0471048576\047, \047vm\047: \047/vm/7d3227c5-b252-6151-f41e-31d423f9a2dc\047,
\047domid\047: \0472\047, \047cpu/0/availability\047: \047online\047,
\047memory/target\047: \04765536\047, \047store/port\047: \0471\047}
[2006-08-10 15:44:53 xend] DEBUG (balloon:126) Balloon: free 3462; need 73;
done.
[2006-08-10 15:44:53 xend] DEBUG (XendCheckpoint:148) [xc_restore]:
/usr/lib64/xen/bin/xc_restore 10 17 2 18432 1 2
[2006-08-10 15:44:53 xend] ERROR (XendCheckpoint:227) xc_linux_restore start:
max_pfn = 4800
[2006-08-10 15:44:53 xend] ERROR (XendCheckpoint:227) Increased domain
reservation by 12000 KB
[2006-08-10 15:44:53 xend] ERROR (XendCheckpoint:227) Reloading memory pages:  
0%
[2006-08-10 15:44:54 xend] ERROR (XendCheckpoint:227) Received all pages (0
races)
[2006-08-10 15:44:54 xend] ERROR (XendCheckpoint:2100%
[2006-08-10 15:44:54 xend] ERROR (XendCheckpoint:227) Memory reloaded.
[2006-08-10 15:44:54 xend] ERROR (XendCheckpoint:227) Decreased reservation by
2056 pages
[2006-08-10 15:44:54 xend] ERROR (XendCheckpoint:227) Domain ready to be built.
[2006-08-10 15:44:54 xend] DEBUG (XendCheckpoint:200) store-mfn 1031765
[2006-08-10 15:44:54 xend] DEBUG (XendCheckpoint:200) console-mfn 1031764
[2006-08-10 15:44:54 xend] ERROR (XendCheckpoint:227) Restore exit with rc=0
[2006-08-10 15:44:54 xend.XendDomainInfo] DEBUG (XendDomainInfo:648)
XendDomainInfo.completeRestore
[2006-08-10 15:44:54 xend.XendDomainInfo] DEBUG (XendDomainInfo:696) Storing
domain details: {\047console/ring-ref\047: \0471031764\047,
\047console/port\047: \0472\047, \047name\047:
\047pool-0-1-xeno.cl.cam.ac.uk-session-8\047, \047console/limit\047:
\0471048576\047, \047vm\047: \047/vm/7d3227c5-b252-6151-f41e-31d423f9a2dc\047,
\047domid\047: \0472\047, \047cpu/0/availability\047: \047online\047,
\047memory/target\047: \04765536\047, \047store/ring-ref\047: \0471031765\047,
\047store/port\047: \0471\047}
[2006-08-10 15:44:54 xend.XendDomainInfo] DEBUG (XendDomainInfo:658)
XendDomainInfo.completeRestore done
[2006-08-10 15:44:54 xend.XendDomainInfo] DEBUG (XendDomainInfo:877)
XendDomainInfo.handleShutdownWatch
[2006-08-10 15:44:54 xend.XendDomainInfo] WARNING (XendDomainInfo:819) Domain
has crashed: name=pool-0-1-xeno.cl.cam.ac.uk-session-8 id=2.
[2006-08-10 15:44:54 xend.XendDomainInfo] DEBUG (XendDomainInfo:1327)
XendDomainInfo.destroy: domid=2
[2006-08-10 15:44:54 xend.XendDomainInfo] DEBUG (XendDomainInfo:1335)
XendDomainInfo.destroyDomain(2)


-- 
Configure bugmail: 
http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

<Prev in Thread] Current Thread [Next in Thread>