Comment 28 for bug 199533

Revision history for this message
Maurício Magalhães (mauriciommagalhaes) wrote :

Hi All

I am not getting the start domU gives the following error in the terminal how fix this ?
Tanks a lot

Using config file "./ecolx01_VM.cfg."
Error: Device 769 (vbd) could not be connected. Losetup / dev/loop11 / xen/domains/ecolx01_VM/swap.img failed
/etc/modules
loop max_loop=64

My /etc/xen-tools/xen-tools.conf
 dir=/xen
 install-method = debootstrap
 size = 5Gb # Disk image size.
 memory = 256Mb # Memory size
 swap = 512Mb # Swap size
 fs = ext3 # use the EXT3 filesystem for the disk image.
 dist = dapper # Default distribution to install.
 image = sparse # Specify sparse vs. full disk images.
 gateway = 10.32.76.10
 netmask = 255.255.255.128
 broadcast = 10.32.76.128
 passwd = 1
 kernel = /boot/vmlinuz-`uname -r`
 initrd = /boot/initrd.img-`uname -r`
 mirror = http://gb.archive.ubuntu.com/ubuntu/
 ext3_options = noatime,nodiratime,errors=remount-ro
 ext2_options = noatime,nodiratime,errors=remount-ro
 xfs_options = defaults
 reiser_options = defaults
 use-ide = 1
#

My /etc/xen/ecolx01_VM.cfg
# Created by xen-tools
 kernel = '/boot/vmlinuz-2.6.24-12-xen'
 ramdisk = '/boot/initrd.img-2.6.24-12-xen'
 memory = '256'
 root = '/dev/hda2 ro'
 disk = [
                  'file:/xen/domains/ecolx01_VM/swap.img,hda1,w',
                  'file:/xen/domains/ecolx01_VM/disk.img,hda2,w',
                    ]
 name = 'ecolx01_VM'
 vif = [ 'ip=10.32.76.100,mac=00:16:3E:59:12:88' ]
 on_poweroff = 'destroy'
 on_reboot = 'restart'
 on_crash = 'restart'
#

LOGS

/var/log/xen/xend.log
[2008-03-14 11:39:13 7800] DEBUG (XendDomainInfo:1111) XendDomainInfo.handleShutdownWatch
[2008-03-14 11:39:13 7800] DEBUG (DevController:150) Waiting for devices vif.
[2008-03-14 11:39:13 7800] DEBUG (DevController:155) Waiting for 0.
[2008-03-14 11:39:13 7800] DEBUG (DevController:594) hotplugStatusCallback /local/domain/0/backend/vif/6/0/hotplug-status.
[2008-03-14 11:39:13 7800] DEBUG (DevController:594) hotplugStatusCallback /local/domain/0/backend/vif/6/0/hotplug-status.
[2008-03-14 11:39:13 7800] DEBUG (DevController:608) hotplugStatusCallback 1.
[2008-03-14 11:39:13 7800] DEBUG (DevController:150) Waiting for devices vbd.
[2008-03-14 11:39:13 7800] DEBUG (DevController:155) Waiting for 769.
[2008-03-14 11:39:13 7800] DEBUG (DevController:594) hotplugStatusCallback /local/domain/0/backend/vbd/6/769/hotplug-status.
[2008-03-14 11:39:13 7800] DEBUG (DevController:594) hotplugStatusCallback /local/domain/0/backend/vbd/6/769/hotplug-status.
[2008-03-14 11:39:13 7800] DEBUG (DevController:608) hotplugStatusCallback 2.
[2008-03-14 11:39:14 7800] DEBUG (XendDomainInfo:1913) XendDomainInfo.destroy: domid=6
[2008-03-14 11:39:14 7800] DEBUG (XendDomainInfo:1930) XendDomainInfo.destroyDomain(6)
[2008-03-14 11:39:14 7800] DEBUG (XendDomainInfo:1548) Destroying device model
[2008-03-14 11:39:14 7800] DEBUG (XendDomainInfo:1555) Releasing devices
[2008-03-14 11:39:14 7800] DEBUG (XendDomainInfo:1561) Removing vif/0
[2008-03-14 11:39:14 7800] DEBUG (XendDomainInfo:590) XendDomainInfo.destroyDevice: deviceClass = vif, device = vif/0
[2008-03-14 11:39:14 7800] DEBUG (XendDomainInfo:1561) Removing vbd/769
[2008-03-14 11:39:14 7800] DEBUG (XendDomainInfo:590) XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/769
[2008-03-14 11:39:14 7800] DEBUG (XendDomainInfo:1561) Removing vbd/770
[2008-03-14 11:39:14 7800] DEBUG (XendDomainInfo:590) XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/770
[2008-03-14 11:39:14 7800] DEBUG (XendDomainInfo:1561) Removing console/0
[2008-03-14 11:39:14 7800] DEBUG (XendDomainInfo:590) XendDomainInfo.destroyDevice: deviceClass = console, device = console/0

xen-hotplug.log

xenstore-read: couldn't read path backend/vbd/4/770/node
xenstore-read: couldn't read path backend/vbd/5/769/node
xenstore-read: couldn't read path backend/vbd/5/770/node
Nothing to flush.
xenstore-read: couldn't read path backend/vbd/6/769/node