WARNING - OLD ARCHIVES

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

xen-devel

[Xen-devel] Status of save/migrate in xen-2.0.4?

To: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Status of save/migrate in xen-2.0.4?
From: Evan Bigall <evan.bigall@xxxxxxxxxxx>
Date: Tue, 15 Feb 2005 17:11:52 -0800
Delivery-date: Wed, 16 Feb 2005 01:11:41 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 0.8 (Windows/20040913)
I thought the conclusion was save/migrate was fixed in xen-2.0.4?

I downloaded and built from xen-2.0.4-src.tgz.gz. But, when I try to migrate I see:
        [root@xen1 scripts]# xm migrate xen1-vm2 10.20.8.20
        Error: Error: [Failure instance: Traceback: <type 'int'>, 1

The xfrd.log on the "from" host has:
4202 [INF] XFRD> Accepted connection from 127.0.0.1:4018 on 2
4202 [INF] XFRD> Forked child pid=4205
4202 [INF] XFRD> Accepted connection from 127.0.0.1:4021 on 2
4207 [INF] XFRD> Xfr service for 127.0.0.1:4021
[DEBUG] Conn_init> flags=1
[DEBUG] Conn_init> write stream...
[DEBUG] stream_init>mode=w flags=1 compress=0
[DEBUG] stream_init> unbuffer...
[DEBUG] stream_init< err=0
[DEBUG] Conn_init> read stream...
[DEBUG] stream_init>mode=r flags=1 compress=0
[DEBUG] stream_init> unbuffer...
[DEBUG] stream_init< err=0
[DEBUG] Conn_sxpr>
(xfr.hello 1 0)[DEBUG] Conn_sxpr< err=0
[DEBUG] Conn_sxpr>
(xfr.migrate 50 "(domain (id 50) (name xen1-vm2) (memory 1023) (maxmem 1048576) (state 
-b---) (cpu 1) (cpu_time 12.165003084) (up_time 7795.94248009) (start_time 1108508108.79) 
(console (status listening) (id 12) (domain 50) (local_port 12) (remote_port 1) 
(console_port 9650)) (devices (vif (idx 0) (vif 0) (mac 00:eb:eb:00:01:02) (bridge xbr-i0) 
(evtchn 450 4) (index 0)) (vif (idx 1) (vif 1) (mac 00:eb:eb:01:01:02) (bridge xbr-i1) 
(evtchn 451 5) (index 1))) (config (vm (name xen1-vm2) (memory 1024) (cpu -1) (restart 
never) (image (linux (kernel /boot/vmlinuz-2.6.10-xenU) (ip 
:10.20.8.30:::xen1-vm2:eth0:dhcp) (root /dev/nfs) (args 'nfsroot=10.20.8.30:/xendom/xendom2 
ip=::::xen1-vm2:eth1: 4 VMID=2'))) (device (vif (mac 00:eb:eb:00:01:02) (bridge xbr-i0))) 
(device (vif (mac 00:eb:eb:01:01:02) (bridge xbr-i1))))))" 10.20.8.20 8002 0 0)[DEBUG] 
Conn_sxpr< err=0
[DEBUG] Conn_connect> addr=10.20.8.20:8002
[DEBUG] Conn_init> flags=1
[DEBUG] Conn_init> write stream...
[DEBUG] stream_init>mode=w flags=1 compress=0
[DEBUG] stream_init> unbuffer...
[DEBUG] stream_init< err=0
[DEBUG] Conn_init> read stream...
[DEBUG] stream_init>mode=r flags=1 compress=0
[DEBUG] stream_init> unbuffer...
[DEBUG] stream_init< err=0
[DEBUG] Conn_sxpr>
(xfr.err 0)[DEBUG] Conn_sxpr< err=0

[1108515904.742394] xc_linux_save start 50

xc_linux_save start 50
Frame # in pfn-to-mfn frame list is not in pseudophys
Frame # in pfn-to-mfn frame list is not in pseudophys
4207 [WRN] XFRD> Transfer errors:
4207 [WRN] XFRD> state=XFR_STATE    err=1
4207 [INF] XFRD> Xfr service err=1

I thought for sure this was the error someone said was fixed now?

Strace on xfrd doesn't seem to help.

I think the important bit of the strace output is:

[pid  4211] write(4, "(xfr.xfr 50)", 12) = 12
[pid  4211] open("/proc/xen/privcmd", O_RDWR) = 5
[pid  4211] gettimeofday({1108515989, 659231}, NULL) = 0
[pid  4211] write(1, "4209 [INF] XFRD> Accepted connec"..., 1838) = 1838
[pid  4211] mlock(0xbfffe6c0, 2516)     = 0
[pid  4211] mlock(0xbfffb570, 80)       = 0
[pid  4211] ioctl(5, SNDCTL_DSP_RESET, 0xbfffb550) = 0
[pid  4211] munlock(0xbfffb570, 80)     = 0
[pid  4211] mmap2(NULL, 4096, PROT_READ, MAP_SHARED, 5, 0) = 0xb7fe9000
[pid  4211] ioctl(5, SNDCTL_DSP_SPEED or SOUND_PCM_READ_RATE, 0xbfffb5a0) = 0
[pid  4211] mmap2(NULL, 4096, PROT_READ, MAP_SHARED, 5, 0) = 0xb7fe8000
[pid  4211] ioctl(5, SNDCTL_DSP_SPEED or SOUND_PCM_READ_RATE, 0xbfffb5a0) = 0
[pid  4211] mmap2(NULL, 1048576, PROT_READ, MAP_SHARED, 5, 0) = 0xb7c00000
[pid  4211] ioctl(5, SNDCTL_DSP_STEREO, 0xbfffb5a0) = 0
[pid  4211] ioctl(5, SNDCTL_DSP_GETBLKSIZE, 0xbfffb5d4) = 0
[pid  4211] mmap2(NULL, 4194304, PROT_READ, MAP_SHARED, 5, 0) = 0xb7800000
[pid  4211] ioctl(5, SNDCTL_DSP_SPEED or SOUND_PCM_READ_RATE, 0xbfffb5a0) = 0
[pid  4211] write(1, "Frame # in pfn-to-mfn frame list"..., 54) = 54

/Evan




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel