I just found my box couldn''t start DomUs with "Error: Device 0
(vif) could not be connected. Hotplug scripts not working.".
This is the xend.log
[2013-06-20 16:51:22 10765] DEBUG (XendDomainInfo:2498)
XendDomainInfo.constructDomain
[2013-06-20 16:51:22 10765] DEBUG (balloon:187) Balloon: 15387484 KiB free; need
16384; done.
[2013-06-20 16:51:22 10765] DEBUG (XendDomain:476) Adding Domain: 10
[2013-06-20 16:51:22 10765] DEBUG (XendDomainInfo:2836)
XendDomainInfo.initDomain: 10 256
[2013-06-20 16:51:22 10765] DEBUG (image:343) No VNC passwd configured for vfb
access
[2013-06-20 16:51:22 10765] DEBUG (image:895) args: boot, val: dc
[2013-06-20 16:51:22 10765] DEBUG (image:895) args: fda, val: None
[2013-06-20 16:51:22 10765] DEBUG (image:895) args: fdb, val: None
[2013-06-20 16:51:22 10765] DEBUG (image:895) args: soundhw, val: None
[2013-06-20 16:51:22 10765] DEBUG (image:895) args: localtime, val: None
[2013-06-20 16:51:22 10765] DEBUG (image:895) args: serial, val:
[''pty'']
[2013-06-20 16:51:22 10765] DEBUG (image:895) args: std-vga, val: None
[2013-06-20 16:51:22 10765] DEBUG (image:895) args: isa, val: None
[2013-06-20 16:51:22 10765] DEBUG (image:895) args: acpi, val: 1
[2013-06-20 16:51:22 10765] DEBUG (image:895) args: usb, val: 1
[2013-06-20 16:51:22 10765] DEBUG (image:895) args: usbdevice, val: None
[2013-06-20 16:51:22 10765] DEBUG (image:895) args: gfx_passthru, val: None
[2013-06-20 16:51:22 10765] INFO (image:826) Need to create platform
device.[domid:10]
[2013-06-20 16:51:22 10765] DEBUG (XendDomainInfo:2863)
_initDomain:shadow_memory=0x9, memory_static_max=0x40000000,
memory_static_min=0x0.
[2013-06-20 16:51:22 10765] INFO (image:186) buildDomain os=hvm dom=10 vcpus=1
[2013-06-20 16:51:22 10765] DEBUG (image:953) domid = 10
[2013-06-20 16:51:22 10765] DEBUG (image:954) image =
/usr/lib/xen/boot/hvmloader
[2013-06-20 16:51:22 10765] DEBUG (image:955) store_evtchn = 2
[2013-06-20 16:51:22 10765] DEBUG (image:956) memsize = 1024
[2013-06-20 16:51:22 10765] DEBUG (image:957) target = 1024
[2013-06-20 16:51:22 10765] DEBUG (image:958) vcpus = 1
[2013-06-20 16:51:22 10765] DEBUG (image:959) vcpu_avail = 1
[2013-06-20 16:51:22 10765] DEBUG (image:960) acpi = 1
[2013-06-20 16:51:22 10765] DEBUG (image:961) apic = 1
[2013-06-20 16:51:22 10765] INFO (XendDomainInfo:2357) createDevice: vkbd :
{''devid'': 0, ''uuid'':
''9aebaf8a-0736-2a65-6c07-742493c6c15c'',
''backend'': ''0''}
[2013-06-20 16:51:22 10765] DEBUG (DevController:95) DevController: writing
{''state'': ''1'',
''backend-id'': ''0'',
''backend'':
''/local/domain/0/backend/vkbd/10/0''} to
/local/domain/10/device/vkbd/0.
[2013-06-20 16:51:22 10765] DEBUG (DevController:97) DevController: writing
{''frontend-id'': ''10'',
''domain'': ''ubuntu'',
''frontend'':
''/local/domain/10/device/vkbd/0'', ''state'':
''1'', ''online'': ''1''} to
/local/domain/0/backend/vkbd/10/0.
[2013-06-20 16:51:22 10765] INFO (XendDomainInfo:2357) createDevice: console :
{''devid'': 0, ''protocol'':
''vt100'', ''location'': ''3'',
''uuid'':
''78ba0079-b071-5481-4242-1fc052086ef5''}
[2013-06-20 16:51:22 10765] DEBUG (DevController:95) DevController: writing
{''state'': ''1'',
''backend-id'': ''0'',
''backend'':
''/local/domain/0/backend/console/10/0''} to
/local/domain/10/device/console/0.
[2013-06-20 16:51:22 10765] DEBUG (DevController:97) DevController: writing
{''domain'': ''ubuntu'',
''frontend'':
''/local/domain/10/device/console/0'', ''uuid'':
''78ba0079-b071-5481-4242-1fc052086ef5'',
''frontend-id'': ''10'',
''state'': ''1'', ''location'':
''3'', ''online'': ''1'',
''protocol'': ''vt100''} to
/local/domain/0/backend/console/10/0.
[2013-06-20 16:51:22 10765] INFO (XendDomainInfo:2357) createDevice: vfb :
{''vncunused'': ''1'',
''other_config'': {''vncunused'':
''1'', ''keymap'': ''en-us'',
''vnc'': ''1''}, ''vnc'':
''1'', ''uuid'':
''3a87919f-3b1e-4b3d-f2e6-a411d083ba5d'',
''devid'': 0, ''keymap'':
''en-us'', ''location'':
''127.0.0.1:5900''}
[2013-06-20 16:51:22 10765] DEBUG (DevController:95) DevController: writing
{''state'': ''1'',
''backend-id'': ''0'',
''backend'':
''/local/domain/0/backend/vfb/10/0''} to
/local/domain/10/device/vfb/0.
[2013-06-20 16:51:22 10765] DEBUG (DevController:97) DevController: writing
{''vncunused'': ''1'',
''domain'': ''ubuntu'',
''frontend'': ''/local/domain/10/device/vfb/0'',
''uuid'':
''3a87919f-3b1e-4b3d-f2e6-a411d083ba5d'',
''frontend-id'': ''10'',
''state'': ''1'', ''keymap'':
''en-us'', ''location'':
''127.0.0.1:5900'', ''online'':
''1'', ''vnc'': ''1''} to
/local/domain/0/backend/vfb/10/0.
[2013-06-20 16:51:22 10765] INFO (XendDomainInfo:2357) createDevice: vbd :
{''protocol'': ''x86_32-abi'',
''uuid'':
''6ab44870-b2f0-d0f4-352e-18e89252440c'',
''bootable'': 1, ''devid'': 768,
''driver'': ''paravirtualised'',
''dev'': ''hda:disk'',
''uname'': ''phy:/dev/vg_h1/LV_UBT1204'',
''mode'': ''w'', ''VDI'':
'''', ''backend'': ''0''}
[2013-06-20 16:51:22 10765] DEBUG (DevController:95) DevController: writing
{''virtual-device'': ''768'',
''protocol'': ''x86_32-abi'',
''device-type'': ''disk'',
''backend-id'': ''0'',
''state'': ''1'', ''backend'':
''/local/domain/0/backend/vbd/10/768''} to
/local/domain/10/device/vbd/768.
[2013-06-20 16:51:22 10765] DEBUG (DevController:97) DevController: writing
{''domain'': ''ubuntu'',
''frontend'':
''/local/domain/10/device/vbd/768'', ''uuid'':
''6ab44870-b2f0-d0f4-352e-18e89252440c'',
''bootable'': ''1'', ''dev'':
''hda'', ''state'': ''1'',
''params'': ''/dev/vg_h1/LV_UBT1204'',
''mode'': ''w'', ''online'':
''1'', ''frontend-id'': ''10'',
''type'': ''phy''} to
/local/domain/0/backend/vbd/10/768.
[2013-06-20 16:51:22 10765] INFO (XendDomainInfo:2357) createDevice: vbd :
{''uuid'':
''53f7a6b1-b866-edab-8832-4cb2235c434e'',
''bootable'': 0, ''devid'': 5632,
''driver'': ''paravirtualised'',
''dev'': ''hdc:cdrom'',
''mode'': ''r'', ''VDI'':
'''', ''backend'': ''0''}
[2013-06-20 16:51:22 10765] DEBUG (DevController:95) DevController: writing
{''backend-id'': ''0'',
''virtual-device'': ''5632'',
''device-type'': ''cdrom'',
''state'': ''1'', ''backend'':
''/local/domain/0/backend/vbd/10/5632''} to
/local/domain/10/device/vbd/5632.
[2013-06-20 16:51:22 10765] DEBUG (DevController:97) DevController: writing
{''domain'': ''ubuntu'',
''frontend'':
''/local/domain/10/device/vbd/5632'', ''uuid'':
''53f7a6b1-b866-edab-8832-4cb2235c434e'',
''bootable'': ''0'', ''dev'':
''hdc'', ''state'': ''1'',
''params'': '''', ''mode'':
''r'', ''online'': ''1'',
''frontend-id'': ''10'',
''type'': ''''} to
/local/domain/0/backend/vbd/10/5632.
[2013-06-20 16:51:22 10765] INFO (XendDomainInfo:2357) createDevice: vif :
{''bridge'': ''br0'', ''uuid'':
''21df5948-b600-8d77-6a00-5be9222cffb8'',
''script'': ''/etc/xen/scripts/vif-bridge'',
''devid'': 0, ''mac'':
''00:16:3e:ad:48:8a'', ''backend'':
''0''}
[2013-06-20 16:51:22 10765] DEBUG (DevController:95) DevController: writing
{''backend-id'': ''0'', ''mac'':
''00:16:3e:ad:48:8a'', ''handle'':
''0'', ''state'': ''1'',
''backend'':
''/local/domain/0/backend/vif/10/0''} to
/local/domain/10/device/vif/0.
[2013-06-20 16:51:22 10765] DEBUG (DevController:97) DevController: writing
{''bridge'': ''br0'',
''domain'': ''ubuntu'',
''handle'': ''0'', ''uuid'':
''21df5948-b600-8d77-6a00-5be9222cffb8'',
''script'': ''/etc/xen/scripts/vif-bridge'',
''mac'': ''00:16:3e:ad:48:8a'',
''frontend-id'': ''10'',
''state'': ''1'', ''online'':
''1'', ''frontend'':
''/local/domain/10/device/vif/0''} to
/local/domain/0/backend/vif/10/0.
[2013-06-20 16:51:22 10765] INFO (image:422) spawning device models:
/usr/lib64/xen/bin/qemu-dm [''/usr/lib64/xen/bin/qemu-dm'',
''-d'', ''10'',
''-domain-name'', ''ubuntu'',
''-videoram'', ''4'', ''-k'',
''en-us'', ''-vnc'',
''127.0.0.1:0'', ''-vncunused'',
''-parallel'', ''none'',
''-vcpus'', ''1'',
''-vcpu_avail'', ''0x1L'',
''-boot'', ''dc'', ''-serial'',
''pty'', ''-acpi'', ''-usb'',
''-net'',
''nic,vlan=1,macaddr=00:16:3e:ad:48:8a,model=rtl8139'',
''-net'',
''tap,vlan=1,ifname=tap10.0,bridge=br0'',
''-M'', ''xenfv'']
[2013-06-20 16:51:22 10765] INFO (image:471) device model pid: 12013
[2013-06-20 16:51:22 10765] INFO (image:594) waiting for sentinel_fifo
[2013-06-20 16:51:22 10765] DEBUG (XendDomainInfo:3420) Storing VM details:
{''on_xend_stop'': ''ignore'',
''pool_name'': ''Pool-0'',
''shadow_memory'': ''9'',
''uuid'':
''b62d0df6-470f-2878-4661-0723ff3bc4ca'',
''on_reboot'': ''destroy'',
''start_time'': ''1371718282.54'',
''on_poweroff'': ''destroy'',
''bootloader_args'': '''',
''on_xend_start'': ''start'',
''on_crash'': ''destroy'',
''xend/restart_count'': ''0'',
''vcpus'': ''1'',
''vcpu_avail'': ''1'',
''bootloader'': '''', ''image'':
"(hvm (kernel '''') (superpages 0) (hpet 0) (loader
/usr/lib/xen/boot/hvmloader) (xen_platform_pci 1) (rtc_timeoffset -28910)
(parallel none) (pci ()) (timer_mode 1) (apic 1) (vpt_align 1) (serial pty)
(boot dc) (pae 1) (viridian 0) (acpi 1) (nomigrate 0) (usb 1) (tsc_mode 0)
(device_model /usr/lib64/xen/bin/qemu-dm) (notes (SUSPEND_CANCEL 1)))",
''name'': ''ubuntu''}
[2013-06-20 16:51:22 10765] DEBUG (XendDomainInfo:1794) Storing domain details:
{''console/port'': ''3'',
''description'': '''',
''console/limit'': ''1048576'',
''store/port'': ''2'', ''vm'':
''/vm/b62d0df6-470f-2878-4661-0723ff3bc4ca'',
''domid'': ''10'',
''image/suspend-cancel'': ''1'',
''cpu/0/availability'': ''online'',
''memory/target'': ''1048576'',
''control/platform-feature-multiprocessor-suspend'':
''1'', ''store/ring-ref'':
''1044476'', ''console/type'':
''ioemu'', ''name'': ''ubuntu''}
[2013-06-20 16:51:22 10765] DEBUG (XendDomainInfo:1881)
XendDomainInfo.handleShutdownWatch
[2013-06-20 16:51:22 10765] DEBUG (DevController:139) Waiting for devices tap2.
[2013-06-20 16:51:22 10765] DEBUG (DevController:139) Waiting for devices vif.
[2013-06-20 16:51:22 10765] DEBUG (DevController:144) Waiting for 0.
[2013-06-20 16:51:22 10765] DEBUG (DevController:628) hotplugStatusCallback
/local/domain/0/backend/vif/10/0/hotplug-status.
[2013-06-20 16:53:02 10765] WARNING (XendDomain:1077) Failed to setup devices
for <domain id=10 name=ubuntu memory=1073741824 state=paused>: Device 0
(vif) could not be connected. Hotplug scripts not working.
[2013-06-20 16:53:02 10765] DEBUG (XendDomainInfo:3071) XendDomainInfo.destroy:
domid=10
[2013-06-20 16:53:02 10765] DEBUG (XendDomainInfo:2401) Destroying device model
[2013-06-20 16:53:02 10765] INFO (image:619) ubuntu device model terminated
[2013-06-20 16:53:02 10765] DEBUG (XendDomainInfo:2408) Releasing devices
[2013-06-20 16:53:02 10765] DEBUG (XendDomainInfo:2414) Removing vif/0
[2013-06-20 16:53:02 10765] DEBUG (XendDomainInfo:1276)
XendDomainInfo.destroyDevice: deviceClass = vif, device = vif/0
[2013-06-20 16:53:02 10765] DEBUG (XendDomainInfo:2414) Removing vkbd/0
[2013-06-20 16:53:02 10765] DEBUG (XendDomainInfo:1276)
XendDomainInfo.destroyDevice: deviceClass = vkbd, device = vkbd/0
[2013-06-20 16:53:02 10765] DEBUG (XendDomainInfo:2414) Removing console/0
[2013-06-20 16:53:02 10765] DEBUG (XendDomainInfo:1276)
XendDomainInfo.destroyDevice: deviceClass = console, device = console/0
[2013-06-20 16:53:02 10765] DEBUG (XendDomainInfo:2414) Removing vbd/768
[2013-06-20 16:53:02 10765] DEBUG (XendDomainInfo:1276)
XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/768
[2013-06-20 16:53:02 10765] DEBUG (XendDomainInfo:2414) Removing vbd/5632
[2013-06-20 16:53:02 10765] DEBUG (XendDomainInfo:1276)
XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/5632
[2013-06-20 16:53:02 10765] DEBUG (XendDomainInfo:2414) Removing vfb/0
[2013-06-20 16:53:02 10765] DEBUG (XendDomainInfo:1276)
XendDomainInfo.destroyDevice: deviceClass = vfb, device = vfb/0
[2013-06-20 16:53:02 10765] DEBUG (XendDomainInfo:2406) No device model
[2013-06-20 16:53:02 10765] DEBUG (XendDomainInfo:2408) Releasing devices
[2013-06-20 16:53:03 10765] DEBUG (XendDomainInfo:2414) Removing vif/0
[2013-06-20 16:53:03 10765] DEBUG (XendDomainInfo:1276)
XendDomainInfo.destroyDevice: deviceClass = vif, device = vif/0
[2013-06-20 16:53:03 10765] DEBUG (XendDomainInfo:2414) Removing vbd/768
[2013-06-20 16:53:03 10765] DEBUG (XendDomainInfo:1276)
XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/768
[2013-06-20 16:53:03 10765] DEBUG (XendDomainInfo:2414) Removing vbd/5632
[2013-06-20 16:53:03 10765] DEBUG (XendDomainInfo:1276)
XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/5632
[2013-06-20 16:53:03 10765] DEBUG (DevController:628) hotplugStatusCallback
/local/domain/0/backend/vif/10/0/hotplug-status.
[2013-06-20 16:53:03 10765] DEBUG (DevController:628) hotplugStatusCallback
/local/domain/0/backend/vif/10/0/hotplug-status.
[2013-06-20 16:53:03 10765] DEBUG (DevController:628) hotplugStatusCallback
/local/domain/0/backend/vif/8/0/hotplug-status.
[2013-06-20 16:53:03 10765] DEBUG (DevController:628) hotplugStatusCallback
/local/domain/0/backend/vif/9/0/hotplug-status.
[2013-06-20 16:53:03 10765] DEBUG (DevController:628) hotplugStatusCallback
/local/domain/0/backend/vif/10/0/hotplug-status.
[2013-06-20 16:53:03 10765] DEBUG (DevController:628) hotplugStatusCallback
/local/domain/0/backend/vif/8/0/hotplug-status.
[2013-06-20 16:53:03 10765] DEBUG (DevController:628) hotplugStatusCallback
/local/domain/0/backend/vif/9/0/hotplug-status.
[2013-06-20 16:53:03 10765] DEBUG (DevController:628) hotplugStatusCallback
/local/domain/0/backend/vif/10/0/hotplug-status
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel