doom
2010-Jun-06 21:32 UTC
[Xen-users] Error: Device 768 (vbd) could not be connected. Path closed or removed during hotplug add: backend/vbd/9/768 state: 1
Hi!
Please help me.
# xm create win7.hvm
Using config file "./win7.hvm".
Error: Device 768 (vbd) could not be connected. Path closed or removed during
hotplug add: backend/vbd/9/768 state: 1
grep -v ^# /etc/xen/win7.hvm | grep -vx ''''
kernel = "/usr/lib/xen/boot/hvmloader"
builder=''hvm''
memory = 2048
name = "win7"
vif = [ ''type=ioemu, bridge=xenbr0'' ]
disk = [ ''file:/vm/win7.img,hda,w'',
''file:/file/Windows7_ru_en_x86_x64.iso,hdc:cdrom,r'' ]
device_model=''/usr/lib/xen/bin/qemu-dm''
boot="d"
sdl=0
vnc=1
vnclisten="192.168.1.2"
vncpasswd=''''
stdvga=0
serial=''pty''
tsc_mode=0
soundhw=''sb16''
localtime=3
# cat /var/log/xen/xend.log
[2010-06-07 01:24:04 1573] DEBUG (XendDomainInfo:101)
XendDomainInfo.create([''vm'', [''name'',
''win7''], [''memory'', 2048],
[''on_xend_start'', ''ignore''],
[''on_xend_stop'', ''ignore''],
[''vcpus'', 1], [''localtime'', 3],
[''oos'', 1], [''image'',
[''hvm'', [''kernel'',
''/usr/lib/xen/boot/hvmloader''], [''videoram'',
4], [''serial'', ''pty''],
[''acpi'', 1], [''apic'', 1],
[''boot'', ''d''], [''cpuid'',
[]], [''cpuid_check'', []], [''device_model'',
''/usr/lib/xen/bin/qemu-dm''], [''display'',
''localhost:10.0''], [''fda'',
''''], [''fdb'', ''''],
[''guest_os_type'', ''default''],
[''hap'', 1], [''hpet'', 0],
[''isa'', 0], [''keymap'',
''''], [''localtime'', 3],
[''nographic'', 0], [''oos'', 1],
[''pae'', 1], [''pci'', []],
[''pci_msitranslate'', 1], [''pci_power_mgmt'',
0], [''rtc_timeoffset'', 0], [''sdl'', 0],
[''soundhw'', ''sb16''],
[''stdvga'', 0], [''timer_mode'', 1],
[''usb'', 0], [''usbdevice'',
''''], [''vcpus'', 1], [''vnc'',
1], [''vnclisten'', ''192.168.1.2''],
[''vncunused'', 1], [''viridian'', 0],
[''vpt_align'', 1], [''xauthority'',
''/home/god/.Xauthority''],
[''xen_platform_pci'', 1], [''memory_sharing'',
0], [''vncpasswd'', ''XXXXXXXX''],
[''tsc_mode'', 0], [''nomigrate'', 0]]],
[''s3_integrity'', 1], [''device'',
[''vbd'', [''uname'',
''file:/vm/win7.img''], [''dev'',
''hda''], [''mode'', ''w'']]],
[''device'', [''vbd'',
[''uname'',
''file:/file/Windows7_ru_en_x86_x64.iso''],
[''dev'', ''hdc:cdrom''],
[''mode'', ''r'']]],
[''device'', [''vif'',
[''bridge'', ''xenbr0''],
[''type'', ''ioemu'']]]])
[2010-06-07 01:24:04 1573] DEBUG (XendDomainInfo:2508)
XendDomainInfo.constructDomain
[2010-06-07 01:24:04 1573] DEBUG (balloon:220) Balloon: 4906412 KiB free; need
16384; done.
[2010-06-07 01:24:04 1573] DEBUG (XendDomain:464) Adding Domain: 9
[2010-06-07 01:24:04 1573] DEBUG (XendDomainInfo:2818)
XendDomainInfo.initDomain: 9 256
[2010-06-07 01:24:04 1573] DEBUG (image:339) No VNC passwd configured for vfb
access
[2010-06-07 01:24:04 1573] DEBUG (image:889) args: boot, val: d
[2010-06-07 01:24:04 1573] DEBUG (image:889) args: fda, val: None
[2010-06-07 01:24:04 1573] DEBUG (image:889) args: fdb, val: None
[2010-06-07 01:24:04 1573] DEBUG (image:889) args: soundhw, val: sb16
[2010-06-07 01:24:04 1573] DEBUG (image:889) args: localtime, val: 3
[2010-06-07 01:24:04 1573] DEBUG (image:889) args: serial, val:
[''pty'']
[2010-06-07 01:24:04 1573] DEBUG (image:889) args: std-vga, val: 0
[2010-06-07 01:24:04 1573] DEBUG (image:889) args: isa, val: 0
[2010-06-07 01:24:04 1573] DEBUG (image:889) args: acpi, val: 1
[2010-06-07 01:24:04 1573] DEBUG (image:889) args: usb, val: 0
[2010-06-07 01:24:04 1573] DEBUG (image:889) args: usbdevice, val: None
[2010-06-07 01:24:04 1573] DEBUG (image:889) args: gfx_passthru, val: None
[2010-06-07 01:24:04 1573] INFO (image:822) Need to create platform
device.[domid:9]
[2010-06-07 01:24:04 1573] DEBUG (XendDomainInfo:2845)
_initDomain:shadow_memory=0x0, memory_static_max=0x80000000,
memory_static_min=0x0.
[2010-06-07 01:24:04 1573] INFO (image:182) buildDomain os=hvm dom=9 vcpus=1
[2010-06-07 01:24:04 1573] DEBUG (image:947) domid = 9
[2010-06-07 01:24:04 1573] DEBUG (image:948) image =
/usr/lib/xen/boot/hvmloader
[2010-06-07 01:24:04 1573] DEBUG (image:949) store_evtchn = 2
[2010-06-07 01:24:04 1573] DEBUG (image:950) memsize = 2048
[2010-06-07 01:24:04 1573] DEBUG (image:951) target = 2048
[2010-06-07 01:24:04 1573] DEBUG (image:952) vcpus = 1
[2010-06-07 01:24:04 1573] DEBUG (image:953) vcpu_avail = 1
[2010-06-07 01:24:04 1573] DEBUG (image:954) acpi = 1
[2010-06-07 01:24:04 1573] DEBUG (image:955) apic = 1
[2010-06-07 01:24:04 1573] INFO (XendDomainInfo:2367) createDevice: vfb :
{''vncunused'': 1, ''vnclisten'':
''192.168.1.2'', ''vnc'': ''1'',
''uuid'':
''89ef279e-1284-6e6a-eef3-9c4b5b5ec59d'',
''other_config'': {''vncunused'': 1,
''vnclisten'': ''192.168.1.2'',
''vnc'': ''1''}}
[2010-06-07 01:24:04 1573] DEBUG (DevController:95) DevController: writing
{''state'': ''1'',
''backend-id'': ''0'',
''backend'':
''/local/domain/0/backend/vfb/9/0''} to
/local/domain/9/device/vfb/0.
[2010-06-07 01:24:04 1573] DEBUG (DevController:97) DevController: writing
{''vncunused'': ''1'',
''domain'': ''win7'',
''frontend'': ''/local/domain/9/device/vfb/0'',
''uuid'':
''89ef279e-1284-6e6a-eef3-9c4b5b5ec59d'',
''frontend-id'': ''9'',
''vnclisten'': ''192.168.1.2'',
''state'': ''1'', ''online'':
''1'', ''vnc'': ''1''} to
/local/domain/0/backend/vfb/9/0.
[2010-06-07 01:24:04 1573] INFO (XendDomainInfo:2367) createDevice: vbd :
{''uuid'':
''8cf2f24a-20fd-41fe-7f78-3c3543ad413b'',
''bootable'': 1, ''driver'':
''paravirtualised'', ''dev'':
''hda'', ''uname'':
''file:/vm/win7.img'', ''mode'':
''w''}
[2010-06-07 01:24:04 1573] DEBUG (DevController:95) DevController: writing
{''backend-id'': ''0'',
''virtual-device'': ''768'',
''device-type'': ''disk'',
''state'': ''1'', ''backend'':
''/local/domain/0/backend/vbd/9/768''} to
/local/domain/9/device/vbd/768.
[2010-06-07 01:24:04 1573] DEBUG (DevController:97) DevController: writing
{''domain'': ''win7'',
''frontend'':
''/local/domain/9/device/vbd/768'', ''uuid'':
''8cf2f24a-20fd-41fe-7f78-3c3543ad413b'',
''bootable'': ''1'', ''dev'':
''hda'', ''state'': ''1'',
''params'': ''/vm/win7.img'',
''mode'': ''w'', ''online'':
''1'', ''frontend-id'': ''9'',
''type'': ''file''} to
/local/domain/0/backend/vbd/9/768.
[2010-06-07 01:24:04 1573] INFO (XendDomainInfo:2367) createDevice: vbd :
{''uuid'':
''78ef5a7d-dcfd-9fe7-bc49-4659cdbc0523'',
''bootable'': 0, ''driver'':
''paravirtualised'', ''dev'':
''hdc:cdrom'', ''uname'':
''file:/file/Windows7_ru_en_x86_x64.iso'',
''mode'': ''r''}
[2010-06-07 01:24:04 1573] DEBUG (DevController:95) DevController: writing
{''backend-id'': ''0'',
''virtual-device'': ''5632'',
''device-type'': ''cdrom'',
''state'': ''1'', ''backend'':
''/local/domain/0/backend/vbd/9/5632''} to
/local/domain/9/device/vbd/5632.
[2010-06-07 01:24:04 1573] DEBUG (DevController:97) DevController: writing
{''domain'': ''win7'',
''frontend'':
''/local/domain/9/device/vbd/5632'', ''uuid'':
''78ef5a7d-dcfd-9fe7-bc49-4659cdbc0523'',
''bootable'': ''0'', ''dev'':
''hdc'', ''state'': ''1'',
''params'':
''/file/Windows7_ru_en_x86_x64.iso'', ''mode'':
''r'', ''online'': ''1'',
''frontend-id'': ''9'',
''type'': ''file''} to
/local/domain/0/backend/vbd/9/5632.
[2010-06-07 01:24:04 1573] INFO (XendDomainInfo:2367) createDevice: vif :
{''bridge'': ''xenbr0'',
''mac'': ''00:16:3e:64:e8:32'',
''type'': ''ioemu'', ''uuid'':
''395407f2-6a94-320c-718c-983597e111bc''}
[2010-06-07 01:24:04 1573] DEBUG (DevController:95) DevController: writing
{''state'': ''1'',
''backend-id'': ''0'',
''backend'':
''/local/domain/0/backend/vif/9/0''} to
/local/domain/9/device/vif/0.
[2010-06-07 01:24:04 1573] DEBUG (DevController:97) DevController: writing
{''bridge'': ''xenbr0'',
''domain'': ''win7'',
''handle'': ''0'', ''uuid'':
''395407f2-6a94-320c-718c-983597e111bc'',
''script'': ''/etc/xen/scripts/vif-bridge'',
''mac'': ''00:16:3e:64:e8:32'',
''frontend-id'': ''9'',
''state'': ''1'', ''online'':
''1'', ''frontend'':
''/local/domain/9/device/vif/0'', ''type'':
''ioemu''} to /local/domain/0/backend/vif/9/0.
[2010-06-07 01:24:04 1573] INFO (image:418) spawning device models:
/usr/lib/xen/bin/qemu-dm [''/usr/lib/xen/bin/qemu-dm'',
''-d'', ''9'', ''-domain-name'',
''win7'', ''-videoram'', ''4'',
''-vnc'', ''192.168.1.2:0'',
''-vncunused'', ''-vcpus'',
''1'', ''-vcpu_avail'', ''0x1'',
''-boot'', ''d'', ''-soundhw'',
''sb16'', ''-localtime'',
''-serial'', ''pty'', ''-acpi'',
''-net'',
''nic,vlan=1,macaddr=00:16:3e:64:e8:32,model=rtl8139'',
''-net'',
''tap,vlan=1,ifname=tap9.0,bridge=xenbr0'',
''-M'', ''xenfv'']
[2010-06-07 01:24:04 1573] INFO (image:467) device model pid: 5006
[2010-06-07 01:24:04 1573] INFO (image:590) waiting for sentinel_fifo
[2010-06-07 01:24:05 1573] DEBUG (XendDomainInfo:3400) Storing VM details:
{''on_xend_stop'': ''ignore'',
''shadow_memory'': ''17'',
''uuid'':
''b2838d9a-f1f0-7669-a6a0-8f019617c373'',
''on_reboot'': ''restart'',
''start_time'': ''1275859444.45'',
''on_poweroff'': ''destroy'',
''bootloader_args'': '''',
''on_xend_start'': ''ignore'',
''on_crash'': ''restart'',
''xend/restart_count'': ''0'',
''vcpus'': ''1'',
''vcpu_avail'': ''1'',
''bootloader'': '''', ''image'':
''(hvm (kernel ) (superpages 0) (videoram 4) (hpet 0) (stdvga 0)
(vnclisten 192.168.1.2) (loader /usr/lib/xen/boot/hvmloader) (xen_platform_pci
1) (rtc_timeoffset 0) (pci ()) (hap 1) (localtime 3) (timer_mode 1)
(pci_msitranslate 1) (oos 1) (apic 1) (sdl 0) (display localhost:10.0)
(vpt_align 1) (serial pty) (vncunused 1) (soundhw sb16) (boot d) (pae 1)
(viridian 0) (acpi 1) (vnc 1) (nographic 0) (nomigrate 0) (usb 0) (tsc_mode 0)
(guest_os_type default) (device_model /usr/lib/xen/bin/qemu-dm) (pci_power_mgmt
0) (xauthority /home/god/.Xauthority) (isa 0) (notes (SUSPEND_CANCEL
1)))'', ''name'': ''win7''}
[2010-06-07 01:24:05 1573] DEBUG (XendDomainInfo:1804) Storing domain details:
{''console/port'': ''3'',
''description'': '''',
''console/limit'': ''1048576'',
''store/port'': ''2'', ''vm'':
''/vm/b2838d9a-f1f0-7669-a6a0-8f019617c373'',
''domid'': ''9'',
''image/suspend-cancel'': ''1'',
''cpu/0/availability'': ''online'',
''memory/target'': ''2097152'',
''control/platform-feature-multiprocessor-suspend'':
''1'', ''store/ring-ref'':
''1044476'', ''console/type'':
''ioemu'', ''name'': ''win7''}
[2010-06-07 01:24:05 1573] DEBUG (DevController:95) DevController: writing
{''state'': ''1'',
''backend-id'': ''0'',
''backend'':
''/local/domain/0/backend/console/9/0''} to
/local/domain/9/device/console/0.
[2010-06-07 01:24:05 1573] DEBUG (DevController:97) DevController: writing
{''domain'': ''win7'',
''frontend'':
''/local/domain/9/device/console/0'', ''uuid'':
''30788317-cdbc-5ddc-f193-c16b212a7114'',
''frontend-id'': ''9'',
''state'': ''1'', ''location'':
''3'', ''online'': ''1'',
''protocol'': ''vt100''} to
/local/domain/0/backend/console/9/0.
[2010-06-07 01:24:05 1573] DEBUG (XendDomainInfo:1891)
XendDomainInfo.handleShutdownWatch
[2010-06-07 01:24:05 1573] DEBUG (DevController:139) Waiting for devices tap2.
[2010-06-07 01:24:05 1573] DEBUG (DevController:139) Waiting for devices vif.
[2010-06-07 01:24:05 1573] DEBUG (DevController:144) Waiting for 0.
[2010-06-07 01:24:05 1573] DEBUG (DevController:628) hotplugStatusCallback
/local/domain/0/backend/vif/9/0/hotplug-status.
[2010-06-07 01:24:05 1573] DEBUG (DevController:642) hotplugStatusCallback 1.
[2010-06-07 01:24:05 1573] DEBUG (DevController:139) Waiting for devices vkbd.
[2010-06-07 01:24:05 1573] DEBUG (DevController:139) Waiting for devices
ioports.
[2010-06-07 01:24:05 1573] DEBUG (DevController:139) Waiting for devices tap.
[2010-06-07 01:24:05 1573] DEBUG (DevController:139) Waiting for devices vif2.
[2010-06-07 01:24:05 1573] DEBUG (DevController:139) Waiting for devices
console.
[2010-06-07 01:24:05 1573] DEBUG (DevController:144) Waiting for 0.
[2010-06-07 01:24:05 1573] DEBUG (DevController:139) Waiting for devices vscsi.
[2010-06-07 01:24:05 1573] DEBUG (DevController:139) Waiting for devices vbd.
[2010-06-07 01:24:05 1573] DEBUG (DevController:144) Waiting for 768.
[2010-06-07 01:24:05 1573] DEBUG (DevController:628) hotplugStatusCallback
/local/domain/0/backend/vbd/9/768/hotplug-status.
[2010-06-07 01:24:05 1573] DEBUG (DevController:642) hotplugStatusCallback 2.
[2010-06-07 01:24:05 1573] DEBUG (XendDomainInfo:3053) XendDomainInfo.destroy:
domid=9
[2010-06-07 01:24:05 1573] DEBUG (XendDomainInfo:2411) Destroying device model
[2010-06-07 01:24:06 1573] INFO (image:615) win7 device model terminated
[2010-06-07 01:24:06 1573] DEBUG (XendDomainInfo:2418) Releasing devices
[2010-06-07 01:24:06 1573] DEBUG (XendDomainInfo:2424) Removing vif/0
[2010-06-07 01:24:06 1573] DEBUG (XendDomainInfo:1286)
XendDomainInfo.destroyDevice: deviceClass = vif, device = vif/0
[2010-06-07 01:24:06 1573] DEBUG (XendDomainInfo:2424) Removing console/0
[2010-06-07 01:24:06 1573] DEBUG (XendDomainInfo:1286)
XendDomainInfo.destroyDevice: deviceClass = console, device = console/0
[2010-06-07 01:24:06 1573] DEBUG (XendDomainInfo:2424) Removing vbd/768
[2010-06-07 01:24:06 1573] DEBUG (XendDomainInfo:1286)
XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/768
[2010-06-07 01:24:06 1573] DEBUG (XendDomainInfo:2424) Removing vbd/5632
[2010-06-07 01:24:06 1573] DEBUG (XendDomainInfo:1286)
XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/5632
[2010-06-07 01:24:06 1573] DEBUG (XendDomainInfo:2424) Removing vfb/0
[2010-06-07 01:24:06 1573] DEBUG (XendDomainInfo:1286)
XendDomainInfo.destroyDevice: deviceClass = vfb, device = vfb/0
[2010-06-07 01:24:06 1573] DEBUG (XendDomainInfo:2416) No device model
[2010-06-07 01:24:06 1573] DEBUG (XendDomainInfo:2418) Releasing devices
[2010-06-07 01:24:06 1573] DEBUG (XendDomainInfo:2424) Removing vif/0
[2010-06-07 01:24:06 1573] DEBUG (XendDomainInfo:1286)
XendDomainInfo.destroyDevice: deviceClass = vif, device = vif/0
[2010-06-07 01:24:06 1573] DEBUG (XendDomainInfo:2424) Removing vbd/768
[2010-06-07 01:24:06 1573] DEBUG (XendDomainInfo:1286)
XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/768
[2010-06-07 01:24:06 1573] DEBUG (XendDomainInfo:2424) Removing vbd/5632
[2010-06-07 01:24:06 1573] DEBUG (XendDomainInfo:1286)
XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/5632
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
doom
2010-Jun-06 21:39 UTC
[Xen-users] Error: Device 768 (vbd) could not be connected. Path closed or removed during hotplug add: backend/vbd/9/768 state: 1
While xm create is running # udevadm monitor monitor will print the received events for: UDEV - the event which udev sends out after rule processing KERNEL - the kernel uevent KERNEL[1275860079.555436] add /devices/vfb-10-0 (xen-backend) UDEV [1275860079.555687] add /devices/vfb-10-0 (xen-backend) KERNEL[1275860079.567939] add /devices/vbd-10-768 (xen-backend) KERNEL[1275860079.587551] add /devices/vbd-10-5632 (xen-backend) KERNEL[1275860079.609801] add /devices/vif-10-0 (xen-backend) KERNEL[1275860079.614468] add /devices/vif-10-0/net/vif10.0 (net) KERNEL[1275860079.615481] online /devices/vif-10-0 (xen-backend) UDEV [1275860079.615527] add /devices/vif-10-0 (xen-backend) UDEV [1275860079.617464] add /devices/vif-10-0/net/vif10.0 (net) KERNEL[1275860079.654377] add /devices/virtual/net/tap10.0 (net) UDEV [1275860079.667566] add /devices/virtual/net/tap10.0 (net) KERNEL[1275860079.710515] add /devices/console-10-0 (xen-backend) UDEV [1275860079.712154] add /devices/console-10-0 (xen-backend) UDEV [1275860079.827750] add /devices/vbd-10-768 (xen-backend) UDEV [1275860079.841424] add /devices/vbd-10-5632 (xen-backend) UDEV [1275860079.864087] online /devices/vif-10-0 (xen-backend) KERNEL[1275860080.401301] remove /devices/virtual/net/tap10.0 (net) UDEV [1275860080.403041] remove /devices/virtual/net/tap10.0 (net) KERNEL[1275860080.555196] remove /devices/console-10-0 (xen-backend) KERNEL[1275860080.594621] remove /devices/vfb-10-0 (xen-backend) KERNEL[1275860080.609414] offline /devices/vif-10-0 (xen-backend) KERNEL[1275860080.661219] remove /devices/vif-10-0/net/vif10.0 (net) UDEV [1275860080.661810] remove /devices/console-10-0 (xen-backend) UDEV [1275860080.682074] remove /devices/vfb-10-0 (xen-backend) KERNEL[1275860080.691285] remove /devices/vif-10-0 (xen-backend) UDEV [1275860080.728360] offline /devices/vif-10-0 (xen-backend) UDEV [1275860080.729273] remove /devices/vif-10-0/net/vif10.0 (net) UDEV [1275860080.775190] remove /devices/vif-10-0 (xen-backend) _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Boris Derzhavets
2010-Jun-07 08:22 UTC
Re: [Xen-users] Error: Device 768 (vbd) could not be connected. Path closed or removed during hotplug add: backend/vbd/9/768 state: 1
Win HVM domus was never my concern.
However, i remind that recent Win''s DomUs have parameter:-
veridian = 1
Consult Wiki.
Boris.
--- On Sun, 6/6/10, doom <doom28@mail.ru> wrote:
From: doom <doom28@mail.ru>
Subject: [Xen-users] Error: Device 768 (vbd) could not be connected. Path closed
or removed during hotplug add: backend/vbd/9/768 state: 1
To: xen-users@lists.xensource.com
Date: Sunday, June 6, 2010, 5:32 PM
Hi!
Please help me.
# xm create win7.hvm
Using config file "./win7.hvm".
Error: Device 768 (vbd) could not be connected. Path closed or removed during
hotplug add: backend/vbd/9/768 state: 1
grep -v ^# /etc/xen/win7.hvm | grep -vx ''''
kernel = "/usr/lib/xen/boot/hvmloader"
builder=''hvm''
memory = 2048
name = "win7"
vif = [ ''type=ioemu, bridge=xenbr0'' ]
disk = [ ''file:/vm/win7.img,hda,w'',
''file:/file/Windows7_ru_en_x86_x64.iso,hdc:cdrom,r'' ]
device_model=''/usr/lib/xen/bin/qemu-dm''
boot="d"
sdl=0
vnc=1
vnclisten="192.168.1.2"
vncpasswd=''''
stdvga=0
serial=''pty''
tsc_mode=0
soundhw=''sb16''
localtime=3
# cat /var/log/xen/xend.log
[2010-06-07 01:24:04 1573] DEBUG (XendDomainInfo:101)
XendDomainInfo.create([''vm'', [''name'',
''win7''], [''memory'', 2048],
[''on_xend_start'', ''ignore''],
[''on_xend_stop'', ''ignore''],
[''vcpus'', 1], [''localtime'', 3],
[''oos'', 1], [''image'',
[''hvm'', [''kernel'',
''/usr/lib/xen/boot/hvmloader''], [''videoram'',
4], [''serial'', ''pty''],
[''acpi'', 1], [''apic'', 1],
[''boot'', ''d''], [''cpuid'',
[]], [''cpuid_check'', []], [''device_model'',
''/usr/lib/xen/bin/qemu-dm''], [''display'',
''localhost:10.0''], [''fda'',
''''], [''fdb'', ''''],
[''guest_os_type'', ''default''],
[''hap'', 1], [''hpet'', 0],
[''isa'', 0], [''keymap'',
''''], [''localtime'', 3],
[''nographic'', 0], [''oos'', 1],
[''pae'', 1], [''pci'', []],
[''pci_msitranslate'', 1], [''pci_power_mgmt'',
0], [''rtc_timeoffset'', 0], [''sdl'', 0],
[''soundhw'', ''sb16''],
[''stdvga'', 0], [''timer_mode'', 1],
[''usb'', 0], [''usbdevice'',
''''], [''vcpus'', 1], [''vnc'',
1], [''vnclisten'', ''192.168.1.2''],
[''vncunused'', 1], [''viridian'', 0],
[''vpt_align'', 1], [''xauthority'',
''/home/god/.Xauthority''],
[''xen_platform_pci'', 1], [''memory_sharing'',
0], [''vncpasswd'', ''XXXXXXXX''],
[''tsc_mode'', 0], [''nomigrate'', 0]]],
[''s3_integrity'', 1], [''device'',
[''vbd'', [''uname'',
''file:/vm/win7.img''], [''dev'',
''hda''], [''mode'', ''w'']]],
[''device'', [''vbd'',
[''uname'',
''file:/file/Windows7_ru_en_x86_x64.iso''],
[''dev'', ''hdc:cdrom''],
[''mode'', ''r'']]],
[''device'', [''vif'',
[''bridge'', ''xenbr0''],
[''type'', ''ioemu'']]]])
[2010-06-07 01:24:04 1573] DEBUG (XendDomainInfo:2508)
XendDomainInfo.constructDomain
[2010-06-07 01:24:04 1573] DEBUG (balloon:220) Balloon: 4906412 KiB free; need
16384; done.
[2010-06-07 01:24:04 1573] DEBUG (XendDomain:464) Adding Domain: 9
[2010-06-07 01:24:04 1573] DEBUG (XendDomainInfo:2818)
XendDomainInfo.initDomain: 9 256
[2010-06-07 01:24:04 1573] DEBUG (image:339) No VNC passwd configured for vfb
access
[2010-06-07 01:24:04 1573] DEBUG (image:889) args: boot, val: d
[2010-06-07 01:24:04 1573] DEBUG (image:889) args: fda, val: None
[2010-06-07 01:24:04 1573] DEBUG (image:889) args: fdb, val: None
[2010-06-07 01:24:04 1573] DEBUG (image:889) args: soundhw, val: sb16
[2010-06-07 01:24:04 1573] DEBUG (image:889) args: localtime, val: 3
[2010-06-07 01:24:04 1573] DEBUG (image:889) args: serial, val:
[''pty'']
[2010-06-07 01:24:04 1573] DEBUG (image:889) args: std-vga, val: 0
[2010-06-07 01:24:04 1573] DEBUG (image:889) args: isa, val: 0
[2010-06-07 01:24:04 1573] DEBUG (image:889) args: acpi, val: 1
[2010-06-07 01:24:04 1573] DEBUG (image:889) args: usb, val: 0
[2010-06-07 01:24:04 1573] DEBUG (image:889) args: usbdevice, val: None
[2010-06-07 01:24:04 1573] DEBUG (image:889) args: gfx_passthru, val: None
[2010-06-07 01:24:04 1573] INFO (image:822) Need to create platform
device.[domid:9]
[2010-06-07 01:24:04 1573] DEBUG (XendDomainInfo:2845)
_initDomain:shadow_memory=0x0, memory_static_max=0x80000000,
memory_static_min=0x0.
[2010-06-07 01:24:04 1573] INFO (image:182) buildDomain os=hvm dom=9 vcpus=1
[2010-06-07 01:24:04 1573] DEBUG (image:947) domid = 9
[2010-06-07 01:24:04 1573] DEBUG (image:948) image =
/usr/lib/xen/boot/hvmloader
[2010-06-07 01:24:04 1573] DEBUG (image:949) store_evtchn = 2
[2010-06-07 01:24:04 1573] DEBUG (image:950) memsize = 2048
[2010-06-07 01:24:04 1573] DEBUG (image:951) target = 2048
[2010-06-07 01:24:04 1573] DEBUG (image:952) vcpus = 1
[2010-06-07 01:24:04 1573] DEBUG (image:953) vcpu_avail = 1
[2010-06-07 01:24:04 1573] DEBUG (image:954) acpi = 1
[2010-06-07 01:24:04 1573] DEBUG (image:955) apic = 1
[2010-06-07 01:24:04 1573] INFO (XendDomainInfo:2367) createDevice: vfb :
{''vncunused'': 1, ''vnclisten'':
''192.168.1.2'', ''vnc'': ''1'',
''uuid'':
''89ef279e-1284-6e6a-eef3-9c4b5b5ec59d'',
''other_config'': {''vncunused'': 1,
''vnclisten'': ''192.168.1.2'',
''vnc'': ''1''}}
[2010-06-07 01:24:04 1573] DEBUG (DevController:95) DevController: writing
{''state'': ''1'',
''backend-id'': ''0'',
''backend'':
''/local/domain/0/backend/vfb/9/0''} to
/local/domain/9/device/vfb/0.
[2010-06-07 01:24:04 1573] DEBUG (DevController:97) DevController: writing
{''vncunused'': ''1'',
''domain'': ''win7'',
''frontend'': ''/local/domain/9/device/vfb/0'',
''uuid'':
''89ef279e-1284-6e6a-eef3-9c4b5b5ec59d'',
''frontend-id'': ''9'',
''vnclisten'': ''192.168.1.2'',
''state'': ''1'', ''online'':
''1'', ''vnc'': ''1''} to
/local/domain/0/backend/vfb/9/0.
[2010-06-07 01:24:04 1573] INFO (XendDomainInfo:2367) createDevice: vbd :
{''uuid'':
''8cf2f24a-20fd-41fe-7f78-3c3543ad413b'',
''bootable'': 1, ''driver'':
''paravirtualised'', ''dev'':
''hda'', ''uname'':
''file:/vm/win7.img'', ''mode'':
''w''}
[2010-06-07 01:24:04 1573] DEBUG (DevController:95) DevController: writing
{''backend-id'': ''0'',
''virtual-device'': ''768'',
''device-type'': ''disk'',
''state'': ''1'', ''backend'':
''/local/domain/0/backend/vbd/9/768''} to
/local/domain/9/device/vbd/768.
[2010-06-07 01:24:04 1573] DEBUG (DevController:97) DevController: writing
{''domain'': ''win7'',
''frontend'':
''/local/domain/9/device/vbd/768'', ''uuid'':
''8cf2f24a-20fd-41fe-7f78-3c3543ad413b'',
''bootable'': ''1'', ''dev'':
''hda'', ''state'': ''1'',
''params'': ''/vm/win7.img'',
''mode'': ''w'', ''online'':
''1'', ''frontend-id'': ''9'',
''type'': ''file''} to
/local/domain/0/backend/vbd/9/768.
[2010-06-07 01:24:04 1573] INFO (XendDomainInfo:2367) createDevice: vbd :
{''uuid'':
''78ef5a7d-dcfd-9fe7-bc49-4659cdbc0523'',
''bootable'': 0, ''driver'':
''paravirtualised'', ''dev'':
''hdc:cdrom'', ''uname'':
''file:/file/Windows7_ru_en_x86_x64.iso'',
''mode'': ''r''}
[2010-06-07 01:24:04 1573] DEBUG (DevController:95) DevController: writing
{''backend-id'': ''0'',
''virtual-device'': ''5632'',
''device-type'': ''cdrom'',
''state'': ''1'', ''backend'':
''/local/domain/0/backend/vbd/9/5632''} to
/local/domain/9/device/vbd/5632.
[2010-06-07 01:24:04 1573] DEBUG (DevController:97) DevController: writing
{''domain'': ''win7'',
''frontend'':
''/local/domain/9/device/vbd/5632'', ''uuid'':
''78ef5a7d-dcfd-9fe7-bc49-4659cdbc0523'',
''bootable'': ''0'', ''dev'':
''hdc'', ''state'': ''1'',
''params'':
''/file/Windows7_ru_en_x86_x64.iso'', ''mode'':
''r'', ''online'': ''1'',
''frontend-id'': ''9'',
''type'': ''file''} to
/local/domain/0/backend/vbd/9/5632.
[2010-06-07 01:24:04 1573] INFO (XendDomainInfo:2367) createDevice: vif :
{''bridge'': ''xenbr0'',
''mac'': ''00:16:3e:64:e8:32'',
''type'': ''ioemu'', ''uuid'':
''395407f2-6a94-320c-718c-983597e111bc''}
[2010-06-07 01:24:04 1573] DEBUG (DevController:95) DevController: writing
{''state'': ''1'',
''backend-id'': ''0'',
''backend'':
''/local/domain/0/backend/vif/9/0''} to
/local/domain/9/device/vif/0.
[2010-06-07 01:24:04 1573] DEBUG (DevController:97) DevController: writing
{''bridge'': ''xenbr0'',
''domain'': ''win7'',
''handle'': ''0'', ''uuid'':
''395407f2-6a94-320c-718c-983597e111bc'',
''script'': ''/etc/xen/scripts/vif-bridge'',
''mac'': ''00:16:3e:64:e8:32'',
''frontend-id'': ''9'',
''state'': ''1'', ''online'':
''1'', ''frontend'':
''/local/domain/9/device/vif/0'', ''type'':
''ioemu''} to /local/domain/0/backend/vif/9/0.
[2010-06-07 01:24:04 1573] INFO (image:418) spawning device models:
/usr/lib/xen/bin/qemu-dm [''/usr/lib/xen/bin/qemu-dm'',
''-d'', ''9'', ''-domain-name'',
''win7'', ''-videoram'', ''4'',
''-vnc'', ''192.168.1.2:0'',
''-vncunused'', ''-vcpus'',
''1'', ''-vcpu_avail'', ''0x1'',
''-boot'', ''d'', ''-soundhw'',
''sb16'', ''-localtime'',
''-serial'', ''pty'', ''-acpi'',
''-net'',
''nic,vlan=1,macaddr=00:16:3e:64:e8:32,model=rtl8139'',
''-net'',
''tap,vlan=1,ifname=tap9.0,bridge=xenbr0'',
''-M'', ''xenfv'']
[2010-06-07 01:24:04 1573] INFO (image:467) device model pid: 5006
[2010-06-07 01:24:04 1573] INFO (image:590) waiting for sentinel_fifo
[2010-06-07 01:24:05 1573] DEBUG (XendDomainInfo:3400) Storing VM details:
{''on_xend_stop'': ''ignore'',
''shadow_memory'': ''17'',
''uuid'':
''b2838d9a-f1f0-7669-a6a0-8f019617c373'',
''on_reboot'': ''restart'',
''start_time'': ''1275859444.45'',
''on_poweroff'': ''destroy'',
''bootloader_args'': '''',
''on_xend_start'': ''ignore'',
''on_crash'': ''restart'',
''xend/restart_count'': ''0'',
''vcpus'': ''1'',
''vcpu_avail'': ''1'',
''bootloader'': '''', ''image'':
''(hvm (kernel ) (superpages 0) (videoram 4) (hpet 0) (stdvga 0)
(vnclisten 192.168.1.2) (loader /usr/lib/xen/boot/hvmloader) (xen_platform_pci
1) (rtc_timeoffset 0) (pci ()) (hap 1) (localtime 3) (timer_mode 1)
(pci_msitranslate 1) (oos 1) (apic 1) (sdl 0) (display localhost:10.0)
(vpt_align 1) (serial pty) (vncunused 1) (soundhw sb16) (boot d) (pae 1)
(viridian 0) (acpi 1) (vnc 1) (nographic 0) (nomigrate 0) (usb 0) (tsc_mode 0)
(guest_os_type default) (device_model /usr/lib/xen/bin/qemu-dm) (pci_power_mgmt
0) (xauthority /home/god/.Xauthority)
(isa 0) (notes (SUSPEND_CANCEL 1)))'', ''name'':
''win7''}
[2010-06-07 01:24:05 1573] DEBUG (XendDomainInfo:1804) Storing domain details:
{''console/port'': ''3'',
''description'': '''',
''console/limit'': ''1048576'',
''store/port'': ''2'', ''vm'':
''/vm/b2838d9a-f1f0-7669-a6a0-8f019617c373'',
''domid'': ''9'',
''image/suspend-cancel'': ''1'',
''cpu/0/availability'': ''online'',
''memory/target'': ''2097152'',
''control/platform-feature-multiprocessor-suspend'':
''1'', ''store/ring-ref'':
''1044476'', ''console/type'':
''ioemu'', ''name'': ''win7''}
[2010-06-07 01:24:05 1573] DEBUG (DevController:95) DevController: writing
{''state'': ''1'',
''backend-id'': ''0'',
''backend'':
''/local/domain/0/backend/console/9/0''} to
/local/domain/9/device/console/0.
[2010-06-07 01:24:05 1573] DEBUG (DevController:97) DevController: writing
{''domain'': ''win7'',
''frontend'':
''/local/domain/9/device/console/0'', ''uuid'':
''30788317-cdbc-5ddc-f193-c16b212a7114'',
''frontend-id'': ''9'',
''state'': ''1'', ''location'':
''3'', ''online'': ''1'',
''protocol'': ''vt100''} to
/local/domain/0/backend/console/9/0.
[2010-06-07 01:24:05 1573] DEBUG (XendDomainInfo:1891)
XendDomainInfo.handleShutdownWatch
[2010-06-07 01:24:05 1573] DEBUG (DevController:139) Waiting for devices tap2.
[2010-06-07 01:24:05 1573] DEBUG (DevController:139) Waiting for devices vif.
[2010-06-07 01:24:05 1573] DEBUG (DevController:144) Waiting for 0.
[2010-06-07 01:24:05 1573] DEBUG (DevController:628) hotplugStatusCallback
/local/domain/0/backend/vif/9/0/hotplug-status.
[2010-06-07 01:24:05 1573] DEBUG (DevController:642) hotplugStatusCallback 1.
[2010-06-07 01:24:05 1573] DEBUG (DevController:139) Waiting for devices vkbd.
[2010-06-07 01:24:05 1573] DEBUG (DevController:139) Waiting for devices
ioports.
[2010-06-07 01:24:05 1573] DEBUG (DevController:139) Waiting for devices tap.
[2010-06-07 01:24:05 1573] DEBUG (DevController:139) Waiting for devices vif2.
[2010-06-07 01:24:05 1573] DEBUG (DevController:139) Waiting for devices
console.
[2010-06-07 01:24:05 1573] DEBUG (DevController:144) Waiting for 0.
[2010-06-07 01:24:05 1573] DEBUG (DevController:139) Waiting for devices vscsi.
[2010-06-07 01:24:05 1573] DEBUG (DevController:139) Waiting for devices vbd.
[2010-06-07 01:24:05 1573] DEBUG (DevController:144) Waiting for 768.
[2010-06-07 01:24:05 1573] DEBUG (DevController:628) hotplugStatusCallback
/local/domain/0/backend/vbd/9/768/hotplug-status.
[2010-06-07 01:24:05 1573] DEBUG (DevController:642) hotplugStatusCallback 2.
[2010-06-07 01:24:05 1573] DEBUG (XendDomainInfo:3053) XendDomainInfo.destroy:
domid=9
[2010-06-07 01:24:05 1573] DEBUG (XendDomainInfo:2411) Destroying device model
[2010-06-07 01:24:06 1573] INFO (image:615) win7 device model terminated
[2010-06-07 01:24:06 1573] DEBUG (XendDomainInfo:2418) Releasing devices
[2010-06-07 01:24:06 1573] DEBUG (XendDomainInfo:2424) Removing vif/0
[2010-06-07 01:24:06 1573] DEBUG (XendDomainInfo:1286)
XendDomainInfo.destroyDevice: deviceClass = vif, device = vif/0
[2010-06-07 01:24:06 1573] DEBUG (XendDomainInfo:2424) Removing console/0
[2010-06-07 01:24:06 1573] DEBUG (XendDomainInfo:1286)
XendDomainInfo.destroyDevice: deviceClass = console, device = console/0
[2010-06-07 01:24:06 1573] DEBUG (XendDomainInfo:2424) Removing vbd/768
[2010-06-07 01:24:06 1573] DEBUG (XendDomainInfo:1286)
XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/768
[2010-06-07 01:24:06 1573] DEBUG (XendDomainInfo:2424) Removing vbd/5632
[2010-06-07 01:24:06 1573] DEBUG (XendDomainInfo:1286)
XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/5632
[2010-06-07 01:24:06 1573] DEBUG (XendDomainInfo:2424) Removing vfb/0
[2010-06-07 01:24:06 1573] DEBUG (XendDomainInfo:1286)
XendDomainInfo.destroyDevice: deviceClass = vfb, device = vfb/0
[2010-06-07 01:24:06 1573] DEBUG (XendDomainInfo:2416) No device model
[2010-06-07 01:24:06 1573] DEBUG (XendDomainInfo:2418) Releasing devices
[2010-06-07 01:24:06 1573] DEBUG (XendDomainInfo:2424) Removing vif/0
[2010-06-07 01:24:06 1573] DEBUG (XendDomainInfo:1286)
XendDomainInfo.destroyDevice: deviceClass = vif, device = vif/0
[2010-06-07 01:24:06 1573] DEBUG (XendDomainInfo:2424) Removing vbd/768
[2010-06-07 01:24:06 1573] DEBUG (XendDomainInfo:1286)
XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/768
[2010-06-07 01:24:06 1573] DEBUG (XendDomainInfo:2424) Removing vbd/5632
[2010-06-07 01:24:06 1573] DEBUG (XendDomainInfo:1286)
XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/5632
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
doom
2010-Jun-07 13:00 UTC
[Xen-users] Error: Device 768 (vbd) could not be connected. Path closed or removed during hotplug add: backend/vbd/9/768 state: 1
Hi! But with Ubuntu Linux I get it too. # xm create userver64.hvm Using config file "./userver64.hvm". Error: Device 768 (vbd) could not be connected. Path closed or removed during hotplug add: backend/vbd/2/768 state: 1 # udevd -V 151>Win HVM domus was never my concern. >However, i remind that recent Win''s DomUs have parameter:- >veridian = 1 >Consult Wiki.>Boris._______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Apparently Analagous Threads
- DRBD VBD script not working in squeeze ?
- Centos 5.2 using LVM -> DRBD 0.82 -> Xen Problems
- Re: xm create: Error: Device 0 (vif) could not be connected. Hotplug scripts not working. One more question.
- Bug#636552: xen-hypervisor-4.1-i386: Error: Device 0 (vif) could not be connected. Hotplug scripts not working.
- Do systems have to be IDENTICAL for live migration?