[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Live migration of VMs between two Alix APU boards running Debian Jessie & Xen 4.4



Hi,

I have two Alix boards running Debian Jessie, stock Xen 4.4 and drbd.
I'd like to live migrate VMs between them. They have slightly different
CPU's, see below. I'm using the following cpuid in the config of a VM:

cpuid = [ "0x00000001:ecx=xx00000xx0x00xxxxxxxxxxxxxxxxx0x" ]

which is derivated from ecx=0x3ed8220b (board 1) and ecx=0x00802209
(board 2):

0x3ed8220b = 0011 1110 1101 1000 0010 0010 0000 1011
0x00802209 = 0000 0000 1000 0000 0010 0010 0000 1001

mask            = xx00  000x x0x0  0xxx  xxxx xxxx  xxxx  xx0x

after reading https://tech.mendix.com/linux/2016/08/18/xen-cpuid-masking/

The live migration completes successfully (without the cpuid it won't
migrate):

# xl migrate v8 xen02
migration target: Ready to receive domain.
Saving to migration stream new xl format (info 0x0/0x0/643)
Loading new save file <incoming migration stream> (new xl fmt info
0x0/0x0/643)
 Savefile contains xl domain config
xc: progress: Reloading memory pages: 2048/32768    6%
...snap...
xc: progress: Reloading memory pages: 32310/32768   98%
migration target: Transfer complete, requesting permission to start domain.
migration sender: Target has acknowledged transfer.
migration sender: Giving target permission to start.
migration target: Got permission, starting domain.
migration target: Domain started successsfully.
migration sender: Target reports successful startup.
Migration successful.

However the logs show that the VM is not very healthy:

[   46.950055] traps: systemd-journal[118] trap invalid opcode
ip:7fe1e1706a31 sp:7fffa8630238 error:0
[   46.950080]  in libc-2.19.so[7fe1e15be000+1a2000]
[   46.953249] traps: systemd[1] trap invalid opcode ip:7fee798e082d
sp:7ffe536de698 error:0 in libc-2.19.so[7fee797bc000+1a2000]
[   46.955742] done.
[   47.000683] Setting capacity to 4194104
[   51.144506] traps: sshd[811] trap invalid opcode ip:7ff8d0230fda
sp:7ffc103c4b28 error:0 in libcrypto.so.1.0.0[7ff8d019a000+1cd000]
[   51.737584] traps: named[477] trap invalid opcode ip:7f172eb9c911
sp:7f172ce66d08 error:0 in libc-2.19.so[7f172ea54000+1a2000]


Suggestions welcome.

thanks,
Jan


board 1:

# cat /proc/cpuinfo

processor    : 0
vendor_id    : AuthenticAMD
cpu family    : 22
model        : 48
model name    : AMD GX-412TC SOC                              
stepping    : 1
microcode    : 0x7030105

# cpuid -1r

CPU:
   0x00000000 0x00: eax=0x0000000d ebx=0x68747541 ecx=0x444d4163
edx=0x69746e65
   0x00000001 0x00: eax=0x00730f01 ebx=0x01040800 ecx=0x3ed8220b
edx=0x178bfbff
   0x00000002 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000
edx=0x00000000
   0x00000003 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000
edx=0x00000000
   0x00000005 0x00: eax=0x00000040 ebx=0x00000040 ecx=0x00000003
edx=0x00000000
   0x00000006 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000001
edx=0x00000000
   0x00000007 0x00: eax=0x00000000 ebx=0x00000008 ecx=0x00000000
edx=0x00000000
   0x00000008 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000
edx=0x00000000
   0x00000009 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000
edx=0x00000000
   0x0000000a 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000
edx=0x00000000
   0x0000000c 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000
edx=0x00000000
   0x0000000d 0x00: eax=0x00000007 ebx=0x00000340 ecx=0x00000340
edx=0x00000000
   0x0000000d 0x02: eax=0x00000100 ebx=0x00000240 ecx=0x00000000
edx=0x00000000
   0x0000000d 0x3e: eax=0x00000000 ebx=0x00000000 ecx=0x00000000
edx=0x00000000
   0x80000000 0x00: eax=0x8000001e ebx=0x68747541 ecx=0x444d4163
edx=0x69746e65
   0x80000001 0x00: eax=0x00730f01 ebx=0x00000000 ecx=0x1d4037ff
edx=0x2fd3fbff
   0x80000002 0x00: eax=0x20444d41 ebx=0x342d5847 ecx=0x43543231
edx=0x434f5320
   0x80000003 0x00: eax=0x20202020 ebx=0x20202020 ecx=0x20202020
edx=0x20202020
   0x80000004 0x00: eax=0x20202020 ebx=0x20202020 ecx=0x20202020
edx=0x00202020
   0x80000005 0x00: eax=0xff08ff08 ebx=0xff28ff20 ecx=0x20080140
edx=0x20020140
   0x80000006 0x00: eax=0x21000000 ebx=0x42004200 ecx=0x08008140
edx=0x00000000
   0x80000007 0x00: eax=0x00000000 ebx=0x00000001 ecx=0x00002800
edx=0x000033d9
   0x80000008 0x00: eax=0x00003028 ebx=0x00000000 ecx=0x00003003
edx=0x00000000
   0x80000009 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000
edx=0x00000000
   0x8000000a 0x00: eax=0x00000001 ebx=0x00000008 ecx=0x00000000
edx=0x00001cdf
   0x8000000b 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000
edx=0x00000000
   0x8000000c 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000
edx=0x00000000
   0x8000000d 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000
edx=0x00000000
   0x8000000e 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000
edx=0x00000000
   0x8000000f 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000
edx=0x00000000
   0x80000010 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000
edx=0x00000000
   0x80000011 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000
edx=0x00000000
   0x80000012 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000
edx=0x00000000
   0x80000013 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000
edx=0x00000000
   0x80000014 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000
edx=0x00000000
   0x80000015 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000
edx=0x00000000
   0x80000016 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000
edx=0x00000000
   0x80000017 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000
edx=0x00000000
   0x80000018 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000
edx=0x00000000
   0x80000019 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000
edx=0x00000000
   0x8000001a 0x00: eax=0x00000003 ebx=0x00000000 ecx=0x00000000
edx=0x00000000
   0x8000001b 0x00: eax=0x000000ff ebx=0x00000000 ecx=0x00000000
edx=0x00000000
   0x8000001c 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000
edx=0x00000000
   0x8000001d 0x00: eax=0x00000121 ebx=0x01c0003f ecx=0x0000003f
edx=0x00000000
   0x8000001e 0x00: eax=0x00000001 ebx=0x00000001 ecx=0x00000000
edx=0x00000000
   0x80860000 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000
edx=0x00000000
   0xc0000000 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000
edx=0x00000000


board 2: cat /proc/cpuinfo

processor    : 0
vendor_id    : AuthenticAMD
cpu family    : 20
model        : 2
model name    : AMD G-T40E Processor
stepping    : 0
microcode    : 0x5000101

# cpuid -1r

CPU 0:
   0x00000000 0x00: eax=0x00000006 ebx=0x68747541 ecx=0x444d4163
edx=0x69746e65
   0x00000001 0x00: eax=0x00500f20 ebx=0x00020800 ecx=0x00802209
edx=0x178bfbff
   0x00000002 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000
edx=0x00000000
   0x00000003 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000
edx=0x00000000
   0x00000005 0x00: eax=0x00000040 ebx=0x00000040 ecx=0x00000003
edx=0x00000000
   0x00000006 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000001
edx=0x00000000
   0x80000000 0x00: eax=0x8000001b ebx=0x68747541 ecx=0x444d4163
edx=0x69746e65
   0x80000001 0x00: eax=0x00500f20 ebx=0x0000229c ecx=0x000035ff
edx=0x2fd3fbff
   0x80000002 0x00: eax=0x20444d41 ebx=0x34542d47 ecx=0x50204530
edx=0x65636f72
   0x80000003 0x00: eax=0x726f7373 ebx=0x00000000 ecx=0x00000000
edx=0x00000000
   0x80000004 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000
edx=0x00000000
   0x80000005 0x00: eax=0xff08ff08 ebx=0xff280000 ecx=0x20080140
edx=0x20020140
   0x80000006 0x00: eax=0x00000000 ebx=0x42004200 ecx=0x02008140
edx=0x00000000
   0x80000007 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000
edx=0x000001f9
   0x80000008 0x00: eax=0x00003024 ebx=0x00000000 ecx=0x00001001
edx=0x00000000
   0x80000009 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000
edx=0x00000000
   0x8000000a 0x00: eax=0x00000001 ebx=0x00000008 ecx=0x00000000
edx=0x0000060f
   0x8000000b 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000
edx=0x00000000
   0x8000000c 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000
edx=0x00000000
   0x8000000d 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000
edx=0x00000000
   0x8000000e 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000
edx=0x00000000
   0x8000000f 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000
edx=0x00000000
   0x80000010 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000
edx=0x00000000
   0x80000011 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000
edx=0x00000000
   0x80000012 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000
edx=0x00000000
   0x80000013 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000
edx=0x00000000
   0x80000014 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000
edx=0x00000000
   0x80000015 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000
edx=0x00000000
   0x80000016 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000
edx=0x00000000
   0x80000017 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000
edx=0x00000000
   0x80000018 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000
edx=0x00000000
   0x80000019 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000
edx=0x00000000
   0x8000001a 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000
edx=0x00000000
   0x8000001b 0x00: eax=0x000000ff ebx=0x00000000 ecx=0x00000000
edx=0x00000000
   0x80860000 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000
edx=0x00000000
   0xc0000000 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000
edx=0x00000000

[ENDS]



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
https://lists.xen.org/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.