[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-bugs] [Bug 892] [SR]xm restore fail for hvm domain after dom0 is reboot
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=892 ------- Comment #1 from fan.zhao@xxxxxxxxx 2007-04-27 01:43 ------- The issues happens on xen3.0.5 rc2. a qemu will pop up but disappear soon, and xm list could see the guest, but failed to ping it or xm console to connect it. xend.log shows: [2007-04-27 04:53:20 5152] INFO (SrvDaemon:335) Xend changeset: Fri Apr 20 17:52:48 2007 +0100 14889:898e999f62d7. [2007-04-27 04:53:20 5152] INFO (SrvDaemon:342) Xend version: Unknown. [2007-04-27 04:53:20 5152] ERROR (XendNode:199) SAved SRS 37149756-e829-ac49- 2384-2fd9204b06a2 local [2007-04-27 04:53:20 5152] ERROR (XendNode:199) SAved SRS f7f1d262-12a2-7912- 65e0-57e5865f47b9 qcow_file [2007-04-27 04:53:21 5152] DEBUG (XendDomainInfo:125) XendDomainInfo.recreate ({'max_vcpu_id': 1, 'cpu_time': 37598415323L, 'ssidref': 0, 'hvm': 0, 'shutdown_reason': 0, 'dying': 0, 'online_vcpus': 2, 'domid': 0, 'paused': 0, 'crashed': 0, 'running': 1, 'maxmem_kb': 4294967292L, 'shutdown': 0, 'mem_kb': 954564L, 'handle': [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'blocked': 0, 'name': 'Domain-0'}) [2007-04-27 04:53:21 5152] INFO (XendDomainInfo:141) Recreating domain 0, UUID 00000000-0000-0000-0000-000000000000. at /local/domain/0 [2007-04-27 04:53:21 5152] DEBUG (XendDomainInfo:1965) Storing VM details: {'on_xend_stop': 'ignore', 'shadow_memory': '0', 'uuid': '00000000-0000-0000- 0000-000000000000', 'on_reboot': 'restart', 'image': '(linux (kernel ))', 'on_poweroff': 'destroy', 'on_xend_start': 'ignore', 'on_crash': ' restart', 'xend/restart_count': '0', 'vcpus': '2', 'vcpu_avail': '3', 'name': ' Domain-0'} [2007-04-27 04:53:21 5152] DEBUG (XendDomainInfo:825) Storing domain details: {'name': 'Domain- 0', 'console/limit': '1048576', 'memory/target': '954564', 'vm': '/vm/00000000- 0000-0000-0000- 000000000000', 'domid': '0', 'cpu/0/availability': 'online', 'cpu/1/availabilit y': 'online', 'control/platform-feature-multiprocessor-suspend': '1'} [2007-04-27 04:53:21 5152] DEBUG (XendDomain:431) Adding Domain: 0 [2007-04-27 04:53:21 5152] DEBUG (XendDomain:376) number of vcpus to use is 0 [2007-04-27 04:53:21 5152] DEBUG (XendDomainInfo:825) Storing domain details: {'name': 'Domain- 0', 'console/limit': '1048576', 'memory/target': '954564', 'vm': '/vm/00000000- 0000-0000-0000- 000000000000', 'domid': '0', 'cpu/0/availability': 'online', 'cpu/1/availabilit y': 'online', 'control/platform-feature-multiprocessor-suspend': '1'} [2007-04-27 04:53:21 5152] DEBUG (XendDomainInfo:906) XendDomainInfo.handleShutdownWatch [2007-04-27 04:53:21 5152] WARNING (XendAPI:693) API call: VBD.set_device not found [2007-04-27 04:53:21 5152] WARNING (XendAPI:693) API call: VBD.set_mode not found [2007-04-27 04:53:21 5152] WARNING (XendAPI:693) API call: VBD.set_type not found [2007-04-27 04:53:21 5152] WARNING (XendAPI:693) API call: VM.get_auto_power_on not found [2007-04-27 04:53:21 5152] WARNING (XendAPI:693) API call: VM.set_auto_power_on not found [2007-04-27 04:53:21 5152] WARNING (XendAPI:693) API call: VM.set_VCPUs_max not found [2007-04-27 04:53:21 5152] WARNING (XendAPI:693) API call: VM.set_VCPUs_at_startup not found [2007-04-27 04:53:21 5152] WARNING (XendAPI:693) API call: PIF.set_VLAN not found [2007-04-27 04:53:21 5152] WARNING (XendAPI:693) API call: console.get_other_config not found [2007-04-27 04:53:21 5152] WARNING (XendAPI:693) API call: console.set_other_config not found [2007-04-27 04:53:21 5152] WARNING (XendAPI:693) API call: VIF.get_network not found [2007-04-27 04:53:21 5152] WARNING (XendAPI:693) API call: VIF.set_device not found [2007-04-27 04:53:21 5152] WARNING (XendAPI:693) API call: VIF.set_MAC not found [2007-04-27 04:53:21 5152] WARNING (XendAPI:693) API call: VIF.set_MTU not found [2007-04-27 04:53:21 5152] WARNING (XendAPI:693) API call: session.get_all_records not found [2007-04-27 04:53:21 5152] WARNING (XendAPI:693) API call: event.get_record not found [2007-04-27 04:53:21 5152] WARNING (XendAPI:693) API call: event.get_all not found [2007-04-27 04:53:21 5152] WARNING (XendAPI:693) API call: debug.get_all not found [2007-04-27 04:53:25 5152] INFO (XMLRPCServer:149) Opening Unix domain socket XML-RPC server on /var/run/xend/xen-api.sock; authentication has been disabled for this server. [2007-04-27 04:53:25 5152] INFO (XMLRPCServer:149) Opening Unix domain socket XML-RPC server on /var/run/xend/xmlrpc.sock. [2007-04-27 04:53:33 5152] DEBUG (XendDomainInfo:209) XendDomainInfo.restore (['domain', ['domid', '4'], ['on_crash', 'restart'], ['uuid', '8d8abce1-a14d- 67a3-f17b-b0afe502d61c'], ['bootloader_args'], ['vcpus', '1'], ['name', 'ExampleHVMDomain'], ['on_poweroff', 'destroy'], ['on_reboot', 'restart'], ['bootloader'], ['maxmem', '512'], ['memory', '512'], ['shadow_memory', '5'], ['vcpu_avail', '1'], ['cpu_weight', '256'], ['cpu_cap', '0'], ['features'], ['on_xend_start', 'ignore'], ['on_xend_stop', 'ignore'], ['start_time', '1177663747.73'], ['cpu_time', '26.485559574'], ['online_vcpus', '1'], ['image', ['hvm', ['kernel', '/usr/lib/xen/boot/hvmloader'], ['acpi', '1'], ['apic', '1'], ['boot', 'c'], ['device_model', '/usr/lib/xen/bin/qemu-dm'], ['display', ':1.0'], ['isa', '0'], ['localtime', '0'], ['nographic', '0'], ['pae', '1'], ['rtc_timeoffset', '0'], ['serial', 'pty'], ['sdl', '1'], ['stdvga', '0'], ['usb', '1'], ['usbdevice', 'tablet'], ['vnc', '0'], ['vncconsole', '0'], ['vncunused', '1'], ['xauthority', '/root/.Xauthority'], ['notes', ['SUSPEND_CANCEL', '1']]]], ['status', '2'], ['state', '-b----'], ['store_mfn', '131070'], ['device', ['vif', ['bridge', 'xenbr0'], ['uuid', '01abbbb9-580d-961b-5646-77ed908e0b8d'], ['script', 'vif-bridge'], ['mac', '00:16:3e:59:eb:a5'], ['type', 'ioemu'], ['backend', '0']]], ['device', ['vbd', ['uname', 'file:/root/lm/ia32_rhel4u3.img'], ['uuid', '702c80ef-7ad9-60b4-7670-7276d3d34fcd'], ['mode', 'w'], ['dev', 'hda:disk'], ['backend', '0'], ['bootable', '1']]], ['device', ['vbd', ['uuid', 'a82e8929-8f26-4b7a-c498-3816ff172079'], ['mode', 'r'], ['dev', 'hdc:cdrom'], ['backend', '0'], ['bootable', '0']]], ['device', ['console', ['protocol', 'vt100'], ['location', '3'], ['uuid', '3700e489-78f0- ea7c-a2bf-e5c47230d153']]]]) [2007-04-27 04:53:33 5152] DEBUG (XendDomainInfo:1412) XendDomainInfo.constructDomain [2007-04-27 04:53:33 5152] DEBUG (XendDomain:431) Adding Domain: 1 [2007-04-27 04:53:33 5152] DEBUG (XendDomainInfo:1965) Storing VM details: {'on_xend_stop': 'ignore', 'shadow_memory': '5', 'uuid': '8d8abce1-a14d-67a3- f17b- b0afe502d61c', 'on_reboot': 'restart', 'start_time': '1177663747.73', 'on_power off': 'destroy', 'on_xend_start': 'ignore', 'on_crash': 'restart', 'xend/restar t_count': '0', 'vcpus': '1', 'vcpu_avail': '1', 'image': '(hvm (kernel /usr/lib/xen/boot/hvmloader) (acpi 1) (apic 1) (boot c) (device_model /usr/lib/xen/bin/qemu-dm) (display :1.0) (isa 0) (localtime 0) (nographic 0) (pae 1) (rtc_timeoffset 0) (serial pty) (sdl 1) (stdvga 0) (usb 1) (usbdevice tablet) (vnc 0) (vncconsole 0) (vncunused 1) (xauthority /root/.Xauthority) (notes (SUSPEND_CANCEL 1)))', 'name': 'ExampleHVMDomain'} [2007-04-27 04:53:33 5152] INFO (XendDomainInfo:1314) createDevice: console : {'protocol': 'vt100', 'location': '3', 'uuid': '3700e489-78f0-ea7c-a2bf- e5c47230d153'} [2007-04-27 04:53:33 5152] DEBUG (DevController:115) DevController: writing {'state': '1', 'backend- id': '0', 'backend': '/local/domain/0/backend/console/1/0'} to /local/domain/1/device/console/0. [2007-04-27 04:53:33 5152] DEBUG (DevController:117) DevController: writing {'domain': 'ExampleHVMDomain', 'protocol': 'vt100', 'uuid': '3700e489-78f0- ea7c-a2bf- e5c47230d153', 'frontend': '/local/domain/1/device/console/0', 'state': '1', 'l ocation': '3', 'online': '1', 'frontend-id': '1'} to /local/domain/0/backend/console/1/0. [2007-04-27 04:53:33 5152] INFO (XendDomainInfo:1314) createDevice: vbd : {'uuid': '702c80ef-7ad9-60b4-7670-7276d3d34fcd', 'bootable': 1, 'driver': 'paravirtualised', 'dev': 'hda:disk', 'uname': 'file:/root/lm/ia32 _rhel4u3.img', 'mode': 'w', 'backend': '0'} [2007-04-27 04:53:33 5152] DEBUG (DevController:115) DevController: writing {'backend-id': '0', 'virtual-device': '768', 'device- type': 'disk', 'state': '1', 'backend': '/local/domain/0/backend/vbd/1/768'} to /local/domain/1/device/vbd/768. [2007-04-27 04:53:33 5152] DEBUG (DevController:117) DevController: writing {'domain': 'ExampleHVMDomain', 'frontend': '/local/domain/1/device/vbd/768', 'u uid': '702c80ef-7ad9-60b4-7670- 7276d3d34fcd', 'dev': 'hda', 'state': '1', 'params': '/root/lm/ia32_rhel4u3.img ', 'mode': 'w', 'online': '1', 'frontend-id': '1', 'type': 'file'} to /local/domain/0/backend/vbd/1/768. [2007-04-27 04:53:33 5152] INFO (XendDomainInfo:1314) createDevice: vbd : {'uuid': 'a82e8929-8f26-4b7a-c498-3816ff172079', 'bootable': 0, 'driver': 'paravirtualised', 'dev': 'hdc:cdrom', 'mode': 'r', 'backend': '0' } [2007-04-27 04:53:33 5152] DEBUG (DevController:115) DevController: writing {'backend-id': '0', 'virtual-device': '768', 'device- type': 'disk', 'state': '1', 'backend': '/local/domain/0/backend/vbd/1/768'} to /local/domain/1/device/vbd/768. [2007-04-27 04:53:33 5152] DEBUG (DevController:117) DevController: writing {'domain': 'ExampleHVMDomain', 'frontend': '/local/domain/1/device/vbd/768', 'u uid': '702c80ef-7ad9-60b4-7670- 7276d3d34fcd', 'dev': 'hda', 'state': '1', 'params': '/root/lm/ia32_rhel4u3.img ', 'mode': 'w', 'online': '1', 'frontend-id': '1', 'type': 'file'} to /local/domain/0/backend/vbd/1/768. [2007-04-27 04:53:33 5152] INFO (XendDomainInfo:1314) createDevice: vbd : {'uuid': 'a82e8929-8f26-4b7a-c498-3816ff172079', 'bootable': 0, 'driver': 'paravirtualised', 'dev': 'hdc:cdrom', 'mode': 'r', 'backend': '0' } [2007-04-27 04:53:33 5152] DEBUG (DevController:115) DevController: writing {'backend-id': '0', 'virtual-device': '5632', 'device- type': 'cdrom', 'state': '1', 'backend': '/local/domain/0/backend/vbd/1/5632'} to /local/domain/1/device/vbd/5632. [2007-04-27 04:53:33 5152] DEBUG (DevController:117) DevController: writing {'domain': 'ExampleHVMDomain', 'frontend': '/local/domain/1/device/vbd/5632', ' uuid': 'a82e8929-8f26-4b7a-c498- 3816ff172079', 'dev': 'hdc', 'state': '1', 'params': '', 'mode': 'r', 'online': '1', 'frontend-id': '1', 'type': ''} to /local/domain/0/backend/vbd/1/5632. [2007-04-27 04:53:33 5152] INFO (XendDomainInfo:1314) createDevice: vif : {'bridge': 'xenbr0', 'uuid': '01abbbb9-580d-961b-5646- 77ed908e0b8d', 'script': 'vif- bridge', 'mac': '00:16:3e:59:eb:a5', 'type': 'ioemu', 'backend': '0'} [2007-04-27 04:53:33 5152] DEBUG (DevController:115) DevController: writing {'state': '1', 'backend- id': '0', 'backend': '/local/domain/0/backend/vif/1/0'} to /local/domain/1/device/vif/0. [2007-04-27 04:53:33 5152] DEBUG (DevController:117) DevController: writing {'bridge': 'xenbr0', 'domain': 'ExampleHVMDomain', 'handle': '0', 'uuid': '01ab bbb9-580d-961b-5646-77ed908e0b8d', 'script': '/etc/xen/scripts/vif- bridge', 'state': '1', 'frontend': '/local/domain/1/device/vif/0', 'mac': '00:1 6:3e:59:eb:a5', 'online': '1', 'frontend-id': '1', 'type': 'ioemu'} to /local/domain/0/backend/vif/1/0. [2007-04-27 04:53:33 5152] DEBUG (XendDomainInfo:825) Storing domain details: {'console/port': '3', 'name': 'ExampleHVMDomain', 'console/limit': '1048576', ' image/suspend-cancel': '1', 'domid': '1', 'vm': '/vm/8d8abce1-a14d-67a3-f17b- b0afe502d61c', 'cpu/0/availability': 'online', 'memory/target': '524288', 'cont rol/platform-feature-multiprocessor-suspend': '1', 'store/port': '2'} [2007-04-27 04:53:33 5152] INFO (XendCheckpoint:191) restore hvm domain 1, apic=1, pae=1 [2007-04-27 04:53:33 5152] DEBUG (XendCheckpoint:201) restore:shadow=0x5, _static_max=0x20000000, _static_min=0x0, [2007-04-27 04:53:33 5152] DEBUG (balloon:119) Balloon: 62608 KiB free; 0 to scrub; need 529408; retries: 20. [2007-04-27 04:53:33 5152] DEBUG (balloon:134) Balloon: setting dom0 target to 476 MiB. [2007-04-27 04:53:33 5152] DEBUG (XendDomainInfo:579) Setting memory target of domain Domain-0 (0) to 476 MiB. [2007-04-27 04:53:33 5152] DEBUG (XendDomainInfo:825) Storing domain details: {'name': 'Domain- 0', 'console/limit': '1048576', 'memory/target': '487424', 'vm': '/vm/00000000- 0000-0000-0000- 000000000000', 'domid': '0', 'cpu/0/availability': 'online', 'cpu/1/availabilit y': 'online', 'control/platform-feature-multiprocessor-suspend': '1'} [2007-04-27 04:53:34 5152] DEBUG (balloon:113) Balloon: 529748 KiB free; need 529408; done. [2007-04-27 04:53:34 5152] DEBUG (XendCheckpoint:213) [xc_restore]: /usr/lib/xen/bin/xc_restore 23 1 2 3 1 1 1 [2007-04-27 04:53:34 5152] INFO (XendCheckpoint:329) xc_domain_restore start: p2m_size = fffff [2007-04-27 04:53:34 5152] INFO (XendCheckpoint:329) Reloading memory pages: 0% [2007-04-27 04:53:43 5152] INFO (XendCheckpoint:329) Received all pages (0 races) [2007-04-27 04:53:43 5152] INFO (XendCheckpoint:329) Restore exit with rc=0 [2007-04-27 04:53:43 5152] DEBUG (XendCheckpoint:300) store-mfn 131070 [2007-04-27 04:53:44 5152] DEBUG (XendDomainInfo:1594) XendDomainInfo.completeRestore [2007-04-27 04:53:44 5152] DEBUG (image:330) args: boot, val: c [2007-04-27 04:53:44 5152] DEBUG (image:330) args: fda, val: None [2007-04-27 04:53:44 5152] DEBUG (image:330) args: fdb, val: None [2007-04-27 04:53:44 5152] DEBUG (image:330) args: soundhw, val: None [2007-04-27 04:53:44 5152] DEBUG (image:330) args: localtime, val: 0 [2007-04-27 04:53:44 5152] DEBUG (image:330) args: serial, val: pty [2007-04-27 04:53:44 5152] DEBUG (image:330) args: std-vga, val: 0 [2007-04-27 04:53:44 5152] DEBUG (image:330) args: isa, val: 0 [2007-04-27 04:53:44 5152] DEBUG (image:330) args: acpi, val: 1 [2007-04-27 04:53:44 5152] DEBUG (image:330) args: usb, val: 1 [2007-04-27 04:53:44 5152] DEBUG (image:330) args: usbdevice, val: tablet [2007-04-27 04:53:44 5152] DEBUG (image:330) args: k, val: None [2007-04-27 04:53:44 5152] INFO (image:445) spawning device models: /usr/lib/xen/bin/qemu-dm ['/usr/lib/xen/bin/qemu-dm', '-d', '1', '- vcpus', '1', '-boot', 'c', '-serial', 'pty', '-acpi', '-usb', '- usbdevice', 'tablet', '-domain-name', 'ExampleHVMDomain', '- net', 'nic,vlan=1,macaddr=00:16:3e:59:eb:a5,model=rtl8139', '- net', 'tap,vlan=1,bridge=xenbr0', '-loadvm', '/tmp/xen.qemu-dm.1', '- vncviewer'] [2007-04-27 04:53:44 5152] INFO (image:449) device model pid: 6185 [2007-04-27 04:53:44 5152] DEBUG (XendDomainInfo:825) Storing domain details: {'console/port': '3', 'name': 'ExampleHVMDomain', 'console/limit': '1048576', ' vm': '/vm/8d8abce1-a14d-67a3-f17b-b0afe502d61c', 'domid': '1', 'image/suspend- cancel': '1', 'cpu/0/availability': 'online', 'memory/target': '524288', 'contr ol/platform-feature-multiprocessor-suspend': '1', 'store/ring- ref': '131070', 'store/port': '2'} [2007-04-27 04:53:44 5152] DEBUG (XendDomainInfo:825) Storing domain details: {'console/port': '3', 'name': 'ExampleHVMDomain', 'console/limit': '1048576', ' vm': '/vm/8d8abce1-a14d-67a3-f17b-b0afe502d61c', 'domid': '1', 'image/suspend- cancel': '1', 'cpu/0/availability': 'online', 'memory/target': '524288', 'contr ol/platform-feature-multiprocessor-suspend': '1', 'store/ring- ref': '131070', 'store/port': '2'} [2007-04-27 04:53:44 5152] DEBUG (XendDomainInfo:1608) XendDomainInfo.completeRestore done [2007-04-27 04:53:44 5152] DEBUG (DevController:148) Waiting for devices vif. [2007-04-27 04:53:44 5152] DEBUG (XendDomainInfo:906) XendDomainInfo.handleShutdownWatch [2007-04-27 04:53:44 5152] DEBUG (DevController:153) Waiting for 0. [2007-04-27 04:53:44 5152] DEBUG (DevController:539) hotplugStatusCallback /local/domain/0/backend/vif/1/0/hotplug-status. [2007-04-27 04:53:44 5152] DEBUG (DevController:553) hotplugStatusCallback 1. [2007-04-27 04:53:44 5152] DEBUG (DevController:148) Waiting for devices usb. [2007-04-27 04:53:44 5152] DEBUG (DevController:148) Waiting for devices vbd. [2007-04-27 04:53:44 5152] DEBUG (DevController:153) Waiting for 768. [2007-04-27 04:53:44 5152] DEBUG (DevController:539) hotplugStatusCallback /local/domain/0/backend/vbd/1/768/hotplug-status. [2007-04-27 04:53:44 5152] DEBUG (DevController:553) hotplugStatusCallback 1. [2007-04-27 04:53:44 5152] DEBUG (DevController:153) Waiting for 5632. [2007-04-27 04:53:44 5152] DEBUG (DevController:539) hotplugStatusCallback /local/domain/0/backend/vbd/1/5632/hotplug-status. [2007-04-27 04:53:44 5152] DEBUG (DevController:553) hotplugStatusCallback 1. [2007-04-27 04:53:44 5152] DEBUG (DevController:148) Waiting for devices irq. [2007-04-27 04:53:44 5152] DEBUG (DevController:148) Waiting for devices vkbd. [2007-04-27 04:53:44 5152] DEBUG (DevController:148) Waiting for devices vfb. [2007-04-27 04:53:44 5152] DEBUG (DevController:148) Waiting for devices console. [2007-04-27 04:53:44 5152] DEBUG (DevController:153) Waiting for 0. [2007-04-27 04:53:44 5152] DEBUG (DevController:148) Waiting for devices pci. [2007-04-27 04:53:44 5152] DEBUG (DevController:148) Waiting for devices ioports. [2007-04-27 04:53:44 5152] DEBUG (DevController:148) Waiting for devices tap. [2007-04-27 04:53:44 5152] DEBUG (DevController:148) Waiting for devices vtpm. -- 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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |