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

Re: [Xen-users] Windows dies after live migration



Hi,

I have the same problem; 
domU 2003 server x64 r2 (SP2)
Xen 3.2.1
Debian Sarge x64

The live migration is ok with a 32 bits hvm; but with a 64 bits hvm, the
domU have a BSOD crash and reboot.

Can you help me ? 
Regards.
Antolien

on xen1 host :
xm migrate -l T1 xen2

--xend-logs--
[2008-07-11 12:33:18 3325] DEBUG (__init__:1072) [xc_save]:
/usr/lib/xen-3.2-1/bin/xc_save 5 40 0 0 5
 1: sent 980380, skipped 2629, delta 18677ms, dom0 57%, target 1%, sent
1720Mb/s, dirtied 5Mb/s 3269 pages
 2: sent 3210, skipped 58, delta 113ms, dom0 83%, target 0%, sent 930Mb/s,
dirtied 51Mb/s 176 pages
 3: sent 175, skipped 0, delta 24ms, dom0 29%, target 4%, sent 238Mb/s,
dirtied 96Mb/s 71 pages
 4: sent 70, skipped 0, delta 22ms, dom0 9%, target 4%, sent 104Mb/s,
dirtied 131Mb/s 88 pages
 5: sent 60, skipped 28, delta 21ms, dom0 4%, target 4%, sent 93Mb/s,
dirtied 285Mb/s 183 pages
 6: sent 181, skipped 0, delta 24ms, dom0 8%, target 0%, sent 247Mb/s,
dirtied 55Mb/s 41 pages
 7: sent 40, skipped 0, Start last iteration72) Saving memory pages: iter 7  
0%
[2008-07-11 12:33:37 3325] DEBUG (__init__:1072) suspend
[2008-07-11 12:33:37 3325] DEBUG (__init__:1072) In saveInputHandler suspend
[2008-07-11 12:33:37 3325] DEBUG (__init__:1072) Suspending 40 ...
[2008-07-11 12:33:37 3325] DEBUG (__init__:1072)
XendDomainInfo.shutdown(suspend)
[2008-07-11 12:33:37 3325] DEBUG (__init__:1072)
XendDomainInfo.handleShutdownWatch
[2008-07-11 12:33:37 3325] INFO (__init__:1072) Domain has shutdown:
name=migrating-T1 id=40 reason=suspend.
[2008-07-11 12:33:37 3325] INFO (__init__:1072) Domain 40 suspended.
[2008-07-11 12:33:37 3325] INFO (__init__:1072) SUSPEND shinfo 000f3000
[2008-07-11 12:33:37 3325] INFO (__init__:1072) delta 256ms, dom0 21%,
target 2%, sent 5Mb/s, dirtied 18Mb/s 147 pages
[2008-07-11 12:33:37 3325] DEBUG (__init__:1072) Written done
 8: sent 146, skipped 0, delta 19ms, dom0 31%, target 0%, sent 251Mb/s,
dirtied 253Mb/s 147 pages
[2008-07-11 12:33:38 3325] INFO (__init__:1072) Total pages sent= 984262
(0.94x)
[2008-07-11 12:33:38 3325] INFO (__init__:1072) (of which 0 were fixups)
[2008-07-11 12:33:38 3325] INFO (__init__:1072) All memory is saved
[2008-07-11 12:33:38 3325] INFO (__init__:1072) Save exit rc=0
[2008-07-11 12:33:38 3325] DEBUG (__init__:1072)
XendDomainInfo.destroyDomain(40)
[2008-07-11 12:33:39 3325] DEBUG (__init__:1072) Destroying device model
[2008-07-11 12:33:39 3325] DEBUG (__init__:1072) Releasing devices
[2008-07-11 12:33:39 3325] DEBUG (__init__:1072) Removing vif/0
[2008-07-11 12:33:39 3325] DEBUG (__init__:1072)
XendDomainInfo.destroyDevice: deviceClass = vif, device = vif/0
[2008-07-11 12:33:39 3325] DEBUG (__init__:1072) Removing vbd/768
[2008-07-11 12:33:39 3325] DEBUG (__init__:1072)
XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/768
[2008-07-11 12:33:39 3325] DEBUG (__init__:1072) Removing vfb/0
[2008-07-11 12:33:39 3325] DEBUG (__init__:1072)
XendDomainInfo.destroyDevice: deviceClass = vfb, device = vfb/0
[2008-07-11 12:33:39 3325] DEBUG (__init__:1072) Removing console/0
[2008-07-11 12:33:39 3325] DEBUG (__init__:1072)
XendDomainInfo.destroyDevice: deviceClass = console, device = console/0


after migration, on xen2 host, BSOD and the domU reboot :
xm list
Name                                        ID   Mem VCPUs      State  
Time(s)
Domain-0                                     0 15852     8     r-----   
559.8
T1                                               18  2048     2     r-----    
21.2


--xend-logs--
[2008-07-11 12:34:14 5142] DEBUG (__init__:1072)
XendDomainInfo.restore(['domain', ['domid', '40'], ['on_crash', 'preserve'],
['uuid', '8a1533ea-396f-6c06-d772-4f30b2944e72'], ['bootloader_args'],
['vcpus', '2'], ['name', 'T1'], ['on_poweroff', 'restart'], ['on_reboot',
'restart'], ['bootloader'], ['maxmem', '2048'], ['memory', '2048'],
['shadow_memory', '256'], ['vcpu_avail', '3'], ['features'],
['on_xend_start', 'ignore'], ['on_xend_stop', 'ignore'], ['start_time',
'1215772231.05'], ['cpu_time', '0.0'], ['online_vcpus', '1'], ['image',
['hvm', ['kernel', '/usr/lib64/xen-3.2-1/boot/hvmloader'], ['acpi', '1'],
['apic', '1'], ['boot', 'c'], ['device_model',
'/usr/lib64/xen-3.2-1/bin/qemu-dm'], ['keymap', 'fr'], ['isa', '0'],
['localtime', '0'], ['monitor', '0'], ['nographic', '0'], ['pae', '1'],
['rtc_timeoffset', '0'], ['stdvga', '0'], ['usb', '0'], ['vnc', '1'],
['timer_mode', '0'], ['vncunused', '1'], ['xauthority',
'/root/.Xauthority'], ['pci', []], ['guest_os_type', 'default'], ['notes',
['SUSPEND_CANCEL', '1']]]], ['status', '2'], ['state', '--p---'],
['store_mfn', '524286'], ['device', ['vif', ['bridge', 'xenbr0'], ['uuid',
'dde60817-0a52-118c-d16c-b49c02e568d2'], ['script', 'vif-bridge'], ['mac',
'aa:bb:00:00:04:a6'], ['type', 'ioemu'], ['backend', '0']]], ['device',
['vbd', ['uname', 'file://var/lib/xend/storage/win2.img'], ['uuid',
'f2685d7e-a28d-8d1a-ebdb-b694b39cb114'], ['mode', 'w'], ['dev', 'hda:disk'],
['backend', '0'], ['bootable', '1']]], ['device', ['vfb', ['vncunused',
'1'], ['type', 'vnc'], ['uuid', '486c92ea-e4f4-6423-8285-730f29411c95'],
['location', 'localhost:5901']]], ['device', ['console', ['protocol',
'vt100'], ['location', '4'], ['uuid',
'ccfa26dd-2972-d83b-6d08-a73ea211c560']]]])
[2008-07-11 12:34:14 5142] DEBUG (__init__:1072)
XendDomainInfo.constructDomain
[2008-07-11 12:34:14 5142] DEBUG (__init__:1072) Balloon: 2371032 KiB free;
need 2048; done.
[2008-07-11 12:34:14 5142] DEBUG (__init__:1072) Adding Domain: 18
[2008-07-11 12:34:14 5142] DEBUG (__init__:1072) Storing VM details:
{'on_xend_stop': 'ignore', 'shadow_memory': '256', 'uuid':
'8a1533ea-396f-6c06-d772-4f30b2944e72', 'on_reboot': 'restart',
'start_time': '1215772231.05', 'on_poweroff': 'restart', 'on_xend_start':
'ignore', 'on_crash': 'preserve', 'xend/restart_count': '0', 'vcpus': '2',
'vcpu_avail': '3', 'image': '(hvm (kernel
/usr/lib64/xen-3.2-1/boot/hvmloader) (acpi 1) (apic 1) (boot c)
(device_model /usr/lib64/xen-3.2-1/bin/qemu-dm) (keymap fr) (isa 0)
(localtime 0) (monitor 0) (nographic 0) (pae 1) (rtc_timeoffset 0) (stdvga
0) (usb 0) (vnc 1) (timer_mode 0) (vncunused 1) (xauthority
/root/.Xauthority) (pci ()) (guest_os_type default) (notes (SUSPEND_CANCEL
1)))', 'name': 'T1'}
[2008-07-11 12:34:14 5142] INFO (__init__:1072) createDevice: vfb :
{'vncunused': '1', 'other_config': {'vncunused': '1', 'type': 'vnc'},
'type': 'vnc', 'uuid': '486c92ea-e4f4-6423-8285-730f29411c95', 'location':
'localhost:5901'}
[2008-07-11 12:34:14 5142] DEBUG (__init__:1072) DevController: writing
{'state': '1', 'backend-id': '0', 'backend':
'/local/domain/0/backend/vfb/18/0'} to /local/domain/18/device/vfb/0.
[2008-07-11 12:34:14 5142] DEBUG (__init__:1072) DevController: writing
{'vncunused': '1', 'domain': 'T1', 'frontend':
'/local/domain/18/device/vfb/0', 'uuid':
'486c92ea-e4f4-6423-8285-730f29411c95', 'state': '1', 'location':
'localhost:5901', 'online': '1', 'frontend-id': '18', 'type': 'vnc'} to
/local/domain/0/backend/vfb/18/0.
[2008-07-11 12:34:14 5142] INFO (__init__:1072) createDevice: console :
{'protocol': 'vt100', 'location': '4', 'uuid':
'ccfa26dd-2972-d83b-6d08-a73ea211c560'}
[2008-07-11 12:34:14 5142] DEBUG (__init__:1072) DevController: writing
{'state': '1', 'backend-id': '0', 'backend':
'/local/domain/0/backend/console/18/0'} to
/local/domain/18/device/console/0.
[2008-07-11 12:34:14 5142] DEBUG (__init__:1072) DevController: writing
{'domain': 'T1', 'protocol': 'vt100', 'uuid':
'ccfa26dd-2972-d83b-6d08-a73ea211c560', 'frontend':
'/local/domain/18/device/console/0', 'state': '1', 'location': '4',
'online': '1', 'frontend-id': '18'} to /local/domain/0/backend/console/18/0.
[2008-07-11 12:34:14 5142] INFO (__init__:1072) createDevice: vbd : {'uuid':
'f2685d7e-a28d-8d1a-ebdb-b694b39cb114', 'bootable': 1, 'driver':
'paravirtualised', 'dev': 'hda:disk', 'uname':
'file://var/lib/xend/storage/win2.img', 'mode': 'w', 'backend': '0'}
[2008-07-11 12:34:14 5142] DEBUG (__init__:1072) DevController: writing
{'backend-id': '0', 'virtual-device': '768', 'device-type': 'disk', 'state':
'1', 'backend': '/local/domain/0/backend/vbd/18/768'} to
/local/domain/18/device/vbd/768.
[2008-07-11 12:34:14 5142] DEBUG (__init__:1072) DevController: writing
{'domain': 'T1', 'frontend': '/local/domain/18/device/vbd/768', 'uuid':
'f2685d7e-a28d-8d1a-ebdb-b694b39cb114', 'dev': 'hda', 'state': '1',
'params': '//var/lib/xend/storage/win2.img', 'mode': 'w', 'online': '1',
'frontend-id': '18', 'type': 'file'} to /local/domain/0/backend/vbd/18/768.
[2008-07-11 12:34:14 5142] INFO (__init__:1072) createDevice: vif :
{'bridge': 'xenbr0', 'uuid': 'dde60817-0a52-118c-d16c-b49c02e568d2',
'script': 'vif-bridge', 'mac': 'aa:bb:00:00:04:a6', 'type': 'ioemu',
'backend': '0'}
[2008-07-11 12:34:14 5142] DEBUG (__init__:1072) DevController: writing
{'state': '1', 'backend-id': '0', 'backend':
'/local/domain/0/backend/vif/18/0'} to /local/domain/18/device/vif/0.
[2008-07-11 12:34:14 5142] DEBUG (__init__:1072) DevController: writing
{'bridge': 'xenbr0', 'domain': 'T1', 'handle': '0', 'uuid':
'dde60817-0a52-118c-d16c-b49c02e568d2', 'script':
'/etc/xen/scripts/vif-bridge', 'state': '1', 'frontend':
'/local/domain/18/device/vif/0', 'mac': 'aa:bb:00:00:04:a6', 'online': '1',
'frontend-id': '18', 'type': 'ioemu'} to /local/domain/0/backend/vif/18/0.
[2008-07-11 12:34:14 5142] DEBUG (__init__:1072) Storing domain details:
{'console/port': '4', 'name': 'T1', 'console/limit': '1048576',
'image/suspend-cancel': '1', 'domid': '18', 'vm':
'/vm/8a1533ea-396f-6c06-d772-4f30b2944e72', 'cpu/0/availability': 'online',
'memory/target': '2097152',
'control/platform-feature-multiprocessor-suspend': '1', 'console/type':
'ioemu', 'cpu/1/availability': 'online', 'store/port': '3'}
[2008-07-11 12:34:14 5142] INFO (__init__:1072) restore hvm domain 18,
apic=1, pae=1
[2008-07-11 12:34:14 5142] DEBUG (__init__:1072) No VNC passwd configured
for vfb access
[2008-07-11 12:34:14 5142] DEBUG (__init__:1072) args: boot, val: c
[2008-07-11 12:34:14 5142] DEBUG (__init__:1072) args: fda, val: None
[2008-07-11 12:34:14 5142] DEBUG (__init__:1072) args: fdb, val: None
[2008-07-11 12:34:14 5142] DEBUG (__init__:1072) args: soundhw, val: None
[2008-07-11 12:34:14 5142] DEBUG (__init__:1072) args: localtime, val: 0
[2008-07-11 12:34:14 5142] DEBUG (__init__:1072) args: serial, val: None
[2008-07-11 12:34:14 5142] DEBUG (__init__:1072) args: std-vga, val: 0
[2008-07-11 12:34:14 5142] DEBUG (__init__:1072) args: isa, val: 0
[2008-07-11 12:34:14 5142] DEBUG (__init__:1072) args: acpi, val: 1
[2008-07-11 12:34:14 5142] DEBUG (__init__:1072) args: usb, val: 0
[2008-07-11 12:34:14 5142] DEBUG (__init__:1072) args: usbdevice, val: None
[2008-07-11 12:34:14 5142] DEBUG (__init__:1072) args: pci, val: []
[2008-07-11 12:34:14 5142] DEBUG (__init__:1072) restore:shadow=0x100,
_static_max=0x80000000, _static_min=0x0,
[2008-07-11 12:34:14 5142] DEBUG (__init__:1072) Balloon: 2369736 KiB free;
need 2367488; done.
[2008-07-11 12:34:14 5142] DEBUG (__init__:1072) [xc_restore]:
/usr/lib/xen-3.2-1/bin/xc_restore 4 18 3 4 1 1 1
[2008-07-11 12:34:14 5142] INFO (__init__:1072) xc_domain_restore start:
p2m_size = 100000
[2008-07-11 12:34:14 5142] INFO (__init__:1072) Reloading memory pages:   0%
[2008-07-11 12:34:33 5142] INFO (__init__:1072) Received all pages (0 races)
[2008-07-11 12:34:33 5142] INFO (__init__:1072) Restore exit with rc=0
[2008-07-11 12:34:33 5142] DEBUG (__init__:1072) store-mfn 524286
[2008-07-11 12:34:35 5142] DEBUG (__init__:1072)
XendDomainInfo.completeRestore
[2008-07-11 12:34:35 5142] DEBUG (__init__:1072) No VNC passwd configured
for vfb access
[2008-07-11 12:34:35 5142] DEBUG (__init__:1072) args: boot, val: c
[2008-07-11 12:34:35 5142] DEBUG (__init__:1072) args: fda, val: None
[2008-07-11 12:34:35 5142] DEBUG (__init__:1072) args: fdb, val: None
[2008-07-11 12:34:35 5142] DEBUG (__init__:1072) args: soundhw, val: None
[2008-07-11 12:34:35 5142] DEBUG (__init__:1072) args: localtime, val: 0
[2008-07-11 12:34:35 5142] DEBUG (__init__:1072) args: serial, val: None
[2008-07-11 12:34:35 5142] DEBUG (__init__:1072) args: std-vga, val: 0
[2008-07-11 12:34:35 5142] DEBUG (__init__:1072) args: isa, val: 0
[2008-07-11 12:34:35 5142] DEBUG (__init__:1072) args: acpi, val: 1
[2008-07-11 12:34:35 5142] DEBUG (__init__:1072) args: usb, val: 0
[2008-07-11 12:34:35 5142] DEBUG (__init__:1072) args: usbdevice, val: None
[2008-07-11 12:34:35 5142] DEBUG (__init__:1072) args: pci, val: []
[2008-07-11 12:34:35 5142] INFO (__init__:1072) spawning device models:
/usr/lib64/xen-3.2-1/bin/qemu-dm ['/usr/lib64/xen-3.2-1/bin/qemu-dm', '-d',
'18', '-domain-name', 'T1', '-k', 'fr', '-vnc', '@ip:0', '-vncunused',
'-vcpus', '2', '-boot', 'c', '-acpi', '-net',
'nic,vlan=1,macaddr=aa:bb:00:00:04:a6,model=rtl8139', '-net',
'tap,vlan=1,bridge=xenbr0', '-M', 'xenfv', '-loadvm',
'/var/lib/xen/qemu-save.18']
[2008-07-11 12:34:35 5142] INFO (__init__:1072) device model pid: 16217
[2008-07-11 12:34:35 5142] DEBUG (__init__:1072) Storing domain details:
{'console/port': '4', 'name': 'T1', 'console/limit': '1048576',
'store/port': '3', 'vm': '/vm/8a1533ea-396f-6c06-d772-4f30b2944e72',
'domid': '18', 'image/suspend-cancel': '1', 'cpu/0/availability': 'online',
'memory/target': '2097152',
'control/platform-feature-multiprocessor-suspend': '1', 'store/ring-ref':
'524286', 'cpu/1/availability': 'online', 'console/type': 'ioemu'}
[2008-07-11 12:34:35 5142] DEBUG (__init__:1072)
XendDomainInfo.completeRestore done
[2008-07-11 12:34:35 5142] DEBUG (__init__:1072)
XendDomainInfo.handleShutdownWatch
[2008-07-11 12:34:35 5142] DEBUG (__init__:1072) Waiting for devices vif.
[2008-07-11 12:34:35 5142] DEBUG (__init__:1072) Waiting for 0.
[2008-07-11 12:34:35 5142] DEBUG (__init__:1072) hotplugStatusCallback
/local/domain/0/backend/vif/18/0/hotplug-status.
[2008-07-11 12:34:35 5142] DEBUG (__init__:1072) hotplugStatusCallback 1.
[2008-07-11 12:34:35 5142] DEBUG (__init__:1072) Waiting for devices vbd.
[2008-07-11 12:34:35 5142] DEBUG (__init__:1072) Waiting for 768.
[2008-07-11 12:34:35 5142] DEBUG (__init__:1072) hotplugStatusCallback
/local/domain/0/backend/vbd/18/768/hotplug-status.
[2008-07-11 12:34:35 5142] DEBUG (__init__:1072) hotplugStatusCallback 1.
[2008-07-11 12:34:35 5142] DEBUG (__init__:1072) Waiting for devices irq.
[2008-07-11 12:34:35 5142] DEBUG (__init__:1072) Waiting for devices vkbd.
[2008-07-11 12:34:35 5142] DEBUG (__init__:1072) Waiting for devices vfb.
[2008-07-11 12:34:35 5142] DEBUG (__init__:1072) Waiting for devices
console.
[2008-07-11 12:34:35 5142] DEBUG (__init__:1072) Waiting for 0.
[2008-07-11 12:34:35 5142] DEBUG (__init__:1072) Waiting for devices pci.
[2008-07-11 12:34:35 5142] DEBUG (__init__:1072) Waiting for devices
ioports.
[2008-07-11 12:34:35 5142] DEBUG (__init__:1072) Waiting for devices tap.
[2008-07-11 12:34:35 5142] DEBUG (__init__:1072) Waiting for devices vtpm.
[2008-07-11 12:35:07 5142] INFO (__init__:1072) Domain has shutdown: name=T1
id=18 reason=reboot.
[2008-07-11 12:35:07 5142] DEBUG (__init__:1072)
XendDomainInfo.destroyDomain(18)
[2008-07-11 12:35:08 5142] DEBUG (__init__:1072) Destroying device model
[2008-07-11 12:35:08 5142] DEBUG (__init__:1072) Releasing devices
[2008-07-11 12:35:08 5142] DEBUG (__init__:1072) Removing vif/0
[2008-07-11 12:35:08 5142] DEBUG (__init__:1072)
XendDomainInfo.destroyDevice: deviceClass = vif, device = vif/0
[2008-07-11 12:35:08 5142] DEBUG (__init__:1072) Removing vbd/768
[2008-07-11 12:35:08 5142] DEBUG (__init__:1072)
XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/768
[2008-07-11 12:35:08 5142] DEBUG (__init__:1072) Removing vfb/0
[2008-07-11 12:35:08 5142] DEBUG (__init__:1072)
XendDomainInfo.destroyDevice: deviceClass = vfb, device = vfb/0
[2008-07-11 12:35:08 5142] DEBUG (__init__:1072) Removing console/0
[2008-07-11 12:35:08 5142] DEBUG (__init__:1072)
XendDomainInfo.destroyDevice: deviceClass = console, device = console/0




Richard Drent wrote:
> 
> Seems to work all fine, but when I start a live migration, just at the
> point he starts de VM on the new server the Vm hangs. 
>  
> it a windows 2003 x64 installation. 
>  
> xen 3.1 
> opensuse 10.3 
>  
> Where to start searching for the solution? 
>  
> Richard
> 
> 
> [2008-03-06 11:05:04 27856] DEBUG (DevController:150) Waiting for
> devices vtpm. 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Windows-dies-after-live-migration-tp15895178p18401151.html
Sent from the Xen - User mailing list archive at Nabble.com.


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


 


Rackspace

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