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

[Xen-users] domU hangs at "hotplugStatusCallback"



Hi,

My base system is Arch amd64, and my dom0 started successfully. But I have trouble start the domU. Below is the xend.log. The domU hangs at "hotplugStatusCallback" for a long time and destroy itself. If I remove the 'disk' line in the config file, the domU boot and fall into a rescue shell the initramfs create. So, I think the domU kernel and initramfs are alright.


[2012-03-11 20:36:18 710] DEBUG (XendDomainInfo:2498) XendDomainInfo.constructDomain
[2012-03-11 20:36:18 710] DEBUG (balloon:187) Balloon: 266284 KiB free; need 16384; done.
[2012-03-11 20:36:18 710] DEBUG (XendDomain:476) Adding Domain: 2
[2012-03-11 20:36:18 710] DEBUG (XendDomainInfo:2836) XendDomainInfo.initDomain: 2 256
[2012-03-11 20:36:18 710] DEBUG (XendDomainInfo:2863) _initDomain:shadow_memory=0x0, memory_static_max=0x20000000, memory_static_min=0x0.
[2012-03-11 20:36:18 710] DEBUG (balloon:172) Balloon: tmem relinquished -1 KiB of 258156 KiB requested.
[2012-03-11 20:36:18 710] DEBUG (balloon:193) Balloon: 266132 KiB free; 0 to scrub; need 524288; retries: 20.
[2012-03-11 20:36:18 710] DEBUG (balloon:207) Balloon: setting dom0 target to 1002 MiB.
[2012-03-11 20:36:18 710] DEBUG (XendDomainInfo:1467) Setting memory target of domain Domain-0 (0) to 1002 MiB.
[2012-03-11 20:36:18 710] DEBUG (balloon:193) Balloon: 329620 KiB free; 0 to scrub; need 524288; retries: 20.
[2012-03-11 20:36:18 710] DEBUG (balloon:193) Balloon: 454548 KiB free; 0 to scrub; need 524288; retries: 20.
[2012-03-11 20:36:18 710] DEBUG (balloon:207) Balloon: setting dom0 target to 998 MiB.
[2012-03-11 20:36:18 710] DEBUG (XendDomainInfo:1467) Setting memory target of domain Domain-0 (0) to 998 MiB.
[2012-03-11 20:36:19 710] INFO (image:182) buildDomain os=linux dom=2 vcpus=1
[2012-03-11 20:36:19 710] DEBUG (image:721) domid     Â= 2
[2012-03-11 20:36:19 710] DEBUG (image:722) memsize    Â= 512
[2012-03-11 20:36:19 710] DEBUG (image:723) image     Â= /boot/vmlinuz-linux
[2012-03-11 20:36:19 710] DEBUG (image:724) store_evtchn  = 1
[2012-03-11 20:36:19 710] DEBUG (image:725) console_evtchn = 2
[2012-03-11 20:36:19 710] DEBUG (image:726) cmdline    Â=Â
[2012-03-11 20:36:19 710] DEBUG (image:727) ramdisk    Â= /boot/initramfs-linux-xenU.img
[2012-03-11 20:36:19 710] DEBUG (image:728) vcpus     Â= 1
[2012-03-11 20:36:19 710] DEBUG (image:729) features    =Â
[2012-03-11 20:36:19 710] DEBUG (image:730) flags     Â= 0
[2012-03-11 20:36:19 710] DEBUG (image:731) superpages   = 0
[2012-03-11 20:36:19 710] INFO (XendDomainInfo:2357) createDevice: vbd : {'uuid': '90cd97b3-de55-54f0-6b76-2e51d3704465', 'bootable': 1, 'driver': 'paravirtualised', 'dev': 'sda', 'uname': 'file:/root/domU.img', 'mode': 'w'}
[2012-03-11 20:36:19 710] DEBUG (DevController:95) DevController: writing {'virtual-device': '2048', 'device-type': 'disk', 'protocol': 'x86_64-abi', 'backend-id': '0', 'state': '1', 'backend': '/local/domain/0/backend/vbd/2/2048'} to /local/domain/2/device/vbd/2048.
[2012-03-11 20:36:19 710] DEBUG (DevController:97) DevController: writing {'domain': 'arch0', 'frontend': '/local/domain/2/device/vbd/2048', 'uuid': '90cd97b3-de55-54f0-6b76-2e51d3704465', 'bootable': '1', 'dev': 'sda', 'state': '1', 'params': '/root/domU.img', 'mode': 'w', 'online': '1', 'frontend-id': '2', 'type': 'file'} to /local/domain/0/backend/vbd/2/2048.
[2012-03-11 20:36:20 710] DEBUG (XendDomainInfo:3420) Storing VM details: {'on_xend_stop': 'ignore', 'pool_name': 'Pool-0', 'shadow_memory': '0', 'uuid': '78c6d464-5741-6f6f-cc4f-fe067a45f9fa', 'on_reboot': 'restart', 'start_time': '1331469380.04', 'on_poweroff': 'destroy', 'bootloader_args': '', 'on_xend_start': 'ignore', 'on_crash': 'restart', 'xend/restart_count': '0', 'vcpus': '1', 'vcpu_avail': '1', 'bootloader': '', 'image': "(linux (kernel /boot/vmlinuz-linux) (ramdisk /boot/initramfs-linux-xenU.img) (superpages 0) (videoram 4) (pci ()) (nomigrate 0) (tsc_mode 0) (notes (HV_START_LOW 18446603336221196288) (FEATURES '!writable_page_tables|pae_pgdir_above_4gb') (VIRT_BASE 18446744071562067968) (GUEST_VERSION 2.6) (PADDR_OFFSET 0) (GUEST_OS linux) (HYPERCALL_PAGE 18446744071578849280) (LOADER generic) (SUSPEND_CANCEL 1) (PAE_MODE yes) (ENTRY 18446744071588049408) (XEN_VERSION xen-3.0)))", 'name': 'arch0'}
[2012-03-11 20:36:20 710] DEBUG (XendDomainInfo:1794) Storing domain details: {'console/ring-ref': '136075', 'image/entry': '18446744071588049408', 'console/port': '2', 'store/ring-ref': '136076', 'image/loader': 'generic', 'vm': '/vm/78c6d464-5741-6f6f-cc4f-fe067a45f9fa', 'control/platform-feature-multiprocessor-suspend': '1', 'image/hv-start-low': '18446603336221196288', 'image/guest-os': 'linux', 'image/virt-base': '18446744071562067968', 'memory/target': '524288', 'image/guest-version': '2.6', 'image/pae-mode': 'yes', 'description': '', 'console/limit': '1048576', 'image/paddr-offset': '0', 'image/hypercall-page': '18446744071578849280', 'image/suspend-cancel': '1', 'cpu/0/availability': 'online', 'image/features/pae-pgdir-above-4gb': '1', 'image/features/writable-page-tables': '0', 'console/type': 'xenconsoled', 'name': 'arch0', 'domid': '2', 'image/xen-version': 'xen-3.0', 'store/port': '1'}
[2012-03-11 20:36:20 710] DEBUG (DevController:95) DevController: writing {'protocol': 'x86_64-abi', 'state': '1', 'backend-id': '0', 'backend': '/local/domain/0/backend/console/2/0'} to /local/domain/2/device/console/0.
[2012-03-11 20:36:20 710] DEBUG (DevController:97) DevController: writing {'domain': 'arch0', 'frontend': '/local/domain/2/device/console/0', 'uuid': 'f8d7a68a-9aef-e65d-d2b9-58bb1422389e', 'frontend-id': '2', 'state': '1', 'location': '2', 'online': '1', 'protocol': 'vt100'} to /local/domain/0/backend/console/2/0.
[2012-03-11 20:36:20 710] DEBUG (DevController:139) Waiting for devices tap2.
[2012-03-11 20:36:20 710] DEBUG (XendDomainInfo:1881) XendDomainInfo.handleShutdownWatch
[2012-03-11 20:36:20 710] DEBUG (DevController:139) Waiting for devices vif.
[2012-03-11 20:36:20 710] DEBUG (DevController:139) Waiting for devices vkbd.
[2012-03-11 20:36:20 710] DEBUG (DevController:139) Waiting for devices ioports.
[2012-03-11 20:36:20 710] DEBUG (DevController:139) Waiting for devices tap.
[2012-03-11 20:36:20 710] DEBUG (DevController:139) Waiting for devices vif2.
[2012-03-11 20:36:20 710] DEBUG (DevController:139) Waiting for devices console.
[2012-03-11 20:36:20 710] DEBUG (DevController:144) Waiting for 0.
[2012-03-11 20:36:20 710] DEBUG (DevController:139) Waiting for devices vscsi.
[2012-03-11 20:36:20 710] DEBUG (DevController:139) Waiting for devices vbd.
[2012-03-11 20:36:20 710] DEBUG (DevController:144) Waiting for 2048.

[2012-03-11 20:36:20 710] DEBUG (DevController:628) hotplugStatusCallback /local/domain/0/backend/vbd/2/2048/hotplug-status.

[2012-03-11 20:38:01 710] DEBUG (XendDomainInfo:3071) XendDomainInfo.destroy: domid=2
[2012-03-11 20:38:01 710] DEBUG (XendDomainInfo:2401) Destroying device model
[2012-03-11 20:38:01 710] DEBUG (XendDomainInfo:2408) Releasing devices
[2012-03-11 20:38:01 710] DEBUG (XendDomainInfo:2414) Removing console/0
[2012-03-11 20:38:01 710] DEBUG (XendDomainInfo:1276) XendDomainInfo.destroyDevice: deviceClass = console, device = console/0
[2012-03-11 20:38:01 710] DEBUG (XendDomainInfo:2414) Removing vbd/2048
[2012-03-11 20:38:01 710] DEBUG (XendDomainInfo:1276) XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/2048
[2012-03-11 20:38:01 710] DEBUG (XendDomainInfo:2406) No device model
[2012-03-11 20:38:01 710] DEBUG (XendDomainInfo:2408) Releasing devices
[2012-03-11 20:38:01 710] DEBUG (XendDomainInfo:2414) Removing vbd/2048
[2012-03-11 20:38:01 710] DEBUG (XendDomainInfo:1276) XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/2048


--
Regardsï
David Shen

http://about.me/davidshen
https://twitter.com/#!/davidshen84
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

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