All of lore.kernel.org
 help / color / mirror / Atom feed
* Status of save/migrate in xen-2.0.4?
@ 2005-02-16  1:11 Evan Bigall
  2005-02-16  8:12 ` Arthur Bergman
  0 siblings, 1 reply; 6+ messages in thread
From: Evan Bigall @ 2005-02-16  1:11 UTC (permalink / raw)
  To: xen-devel

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Status of save/migrate in xen-2.0.4?
  2005-02-16  1:11 Status of save/migrate in xen-2.0.4? Evan Bigall
@ 2005-02-16  8:12 ` Arthur Bergman
  2005-02-16  9:59   ` Evan Bigall
  0 siblings, 1 reply; 6+ messages in thread
From: Arthur Bergman @ 2005-02-16  8:12 UTC (permalink / raw)
  To: Evan Bigall; +Cc: xen-devel

First of all, make sure you don't have two sets of python libraries 
installed.. 2.0.4 has a different python installdir than 2.0.3 and I 
think there is some nasty problem with what libraries are being picked 
up.

Cheers
Arthur

-----
CTO @ Fotango Ltd
+447834716919
http://www.fotango.com/

On 16 Feb 2005, at 01:11, Evan Bigall wrote:

> 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@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xen-devel



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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Status of save/migrate in xen-2.0.4?
  2005-02-16  8:12 ` Arthur Bergman
@ 2005-02-16  9:59   ` Evan Bigall
  2005-02-16 10:40     ` Arthur Bergman
  0 siblings, 1 reply; 6+ messages in thread
From: Evan Bigall @ 2005-02-16  9:59 UTC (permalink / raw)
  To: Arthur Bergman; +Cc: xen-devel

Arthur Bergman wrote:

> First of all, make sure you don't have two sets of python libraries 
> installed.. 2.0.4 has a different python installdir than 2.0.3 and I 
> think there is some nasty problem with what libraries are being picked 
> up.

That sounds entirely plausible, but forgive my ignorance, how would I 
verify it?  What are the paths to the two installation dirs?

Thanks,
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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Status of save/migrate in xen-2.0.4?
  2005-02-16  9:59   ` Evan Bigall
@ 2005-02-16 10:40     ` Arthur Bergman
  2005-02-16 21:09       ` Evan Bigall
  0 siblings, 1 reply; 6+ messages in thread
From: Arthur Bergman @ 2005-02-16 10:40 UTC (permalink / raw)
  To: Evan Bigall; +Cc: xen-devel

I believe the old installation went on my platform to
/usr/lib/python2.3/site-packages/xen/
And the new one to
/usr/lib/python/xen

Cheers
Arthur

-----
CTO @ Fotango Ltd
+447834716919
http://www.fotango.com/

On 16 Feb 2005, at 09:59, Evan Bigall wrote:

> Arthur Bergman wrote:
>
>> First of all, make sure you don't have two sets of python libraries 
>> installed.. 2.0.4 has a different python installdir than 2.0.3 and I 
>> think there is some nasty problem with what libraries are being 
>> picked up.
>
> That sounds entirely plausible, but forgive my ignorance, how would I 
> verify it?  What are the paths to the two installation dirs?
>
> Thanks,
> 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Status of save/migrate in xen-2.0.4?
  2005-02-16 10:40     ` Arthur Bergman
@ 2005-02-16 21:09       ` Evan Bigall
  2005-02-17  0:38         ` Arthur Bergman
  0 siblings, 1 reply; 6+ messages in thread
From: Evan Bigall @ 2005-02-16 21:09 UTC (permalink / raw)
  To: Arthur Bergman; +Cc: xen-devel

I did have both.  I deleted /usr/lib/python2.3/site-packages/xen/, and restarted both machines. 

I still get:

[root@xen1 root]# xm migrate xen1vm4 10.20.8.20
Error: Error: [Failure instance: Traceback: <type 'int'>, 1

With this in the log:

3437 [INF] XFRD> Accepted connection from 127.0.0.1:1052 on 2
3437 [INF] XFRD> Forked child pid=4108
3437 [INF] XFRD> Accepted connection from 127.0.0.1:1055 on 2
4113 [INF] XFRD> Xfr service for 127.0.0.1:1055
[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 2 "(domain (id 2) (name xen1vm4) (memory 1023) (maxmem 1048576) (state -b---) (cpu 0) (cpu_time 3.254764961) (up_time 272.764098883) (start_time 1108587563.86) (console (status listening) (id 16) (domain 2) (local_port 16) (remote_port 1) (console_port 9602)) (devices (vif (idx 0) (vif 0) (mac 00:eb:eb:00:01:04) (bridge xbr-i0) (evtchn 18 4) (index 0)) (vif (idx 1) (vif 1) (mac 00:eb:eb:01:01:04) (bridge xbr-i1) (evtchn 19 5) (index 1))) (config (vm (name xen1vm4) (memory 1024) (cpu -1) (restart never) (image (linux (kernel /boot/vmlinuz-2.6.10-xenU) (ip :10.20.8.30:::xen1vm4:eth0:dhcp) (root /dev/nfs) (args 'nfsroot=10.20.8.30:/xendom/xendom4 ip=::::xen1vm4:eth1: 4 VMID=4'))) (device (vif (mac 00:eb:eb:00:01:04) (bridge xbr-i0))) (device (vif (mac 00:eb:eb:01:01:04) (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

[1108587836.627764] xc_linux_save start 2

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

/Evan


Arthur Bergman wrote:
> I believe the old installation went on my platform to
> /usr/lib/python2.3/site-packages/xen/
> And the new one to
> /usr/lib/python/xen
> 
> Cheers
> Arthur



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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Status of save/migrate in xen-2.0.4?
  2005-02-16 21:09       ` Evan Bigall
@ 2005-02-17  0:38         ` Arthur Bergman
  0 siblings, 0 replies; 6+ messages in thread
From: Arthur Bergman @ 2005-02-17  0:38 UTC (permalink / raw)
  To: Evan Bigall; +Cc: xen-devel

At least that is a different error than I get :).

-----
CTO @ Fotango Ltd
+447834716919
http://www.fotango.com/

On 16 Feb 2005, at 21:09, Evan Bigall wrote:

> fr.err 0)[DEBUG] Conn_sxpr< err=0
>
> [1108587836.627764] xc_linux_save start 2
>
> xc_linux_save start 2
> Frame # in pfn-to-mfn frame list is not in pseudophys
> Frame # in pfn-to-mfn frame list is not in pseudophys
> 4113 [WRN] XFRD> Transfer errors:
> 4113 [WRN] XFRD> state=XFR_STATE    err=1
> 4113 [INF] XFRD> Xfr service err=1
>
> /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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-02-17  0:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-16  1:11 Status of save/migrate in xen-2.0.4? Evan Bigall
2005-02-16  8:12 ` Arthur Bergman
2005-02-16  9:59   ` Evan Bigall
2005-02-16 10:40     ` Arthur Bergman
2005-02-16 21:09       ` Evan Bigall
2005-02-17  0:38         ` Arthur Bergman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.