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

[Xen-users] Error: Device 0 (vif) could not be connected. Hotplug scripts not working



Hi,

I used the kernel config on Ubuntu Xen documentation and succeeded to compile Xen 4.0.1 on Ubuntu 10.04.02 LTS :-

https://help.ubuntu.com/community/Xen#Lucid%20%20Notes%20(Xen%204.0.1%20with%20a%20pv-ops%20Dom0%20kernel%20on%20Ubuntu%2010.04)

However, when I tried to use HVM to install Windows 2003 R2, it failed to create the domU :-

>xm create smlxsv1

A blank console screen appeared for 1 min and then returned an error "Error: Device 0 (vif) could not be connected. Hotplug scripts not working".

I hope someone could point me what went wrong.

Thanks a lot.

John Mok

=== begin of /etc/xen/smlxsv1 ===

# -*- mode: python; -*-

import os, re
arch = os.uname()[4]
if re.search('64', arch):
        arch_libdir = 'lib64'
else:
        arch_libdir = 'lib'

kernel = "/usr/lib/xen/boot/hvmloader"
builder = 'hvm'
memory = 1024
shadow_memory = 8
name = "smlxsv1"
vif = [ 'type=ioemu, bridge=xenbr0' ]
disk = [ 'phy:/dev/volgroup1/smlxsv1-disk0,ioemu:hda,w', 'phy:/dev/volgroup1/smlxsv1-disk1,ioemu:hdb,w', 'file:/var/tmp/win2k3-x64-cd1.iso,ioemu:hdc:cdrom,r' ]
boot = "d"

device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'
sdl=1
vnc=0
vncpasswd = ''

=== end of /etc/xen/smlxsv1 ===

=== begin of xend-debug ===

Xend started at Wed Mar 16 18:25:49 2011.
cat: /sys/bus/scsi/devices/host0/vendor: No such file or directory
cat: /sys/bus/scsi/devices/host0/model: No such file or directory
cat: /sys/bus/scsi/devices/host0/type: No such file or directory
cat: /sys/bus/scsi/devices/host0/rev: No such file or directory
cat: /sys/bus/scsi/devices/host0/scsi_level: No such file or directory
cat: /sys/bus/scsi/devices/host1/vendor: No such file or directory
cat: /sys/bus/scsi/devices/host1/model: No such file or directory
cat: /sys/bus/scsi/devices/host1/type: No such file or directory
cat: /sys/bus/scsi/devices/host1/rev: No such file or directory
cat: /sys/bus/scsi/devices/host1/scsi_level: No such file or directory
cat: /sys/bus/scsi/devices/target0:0:0/vendor: No such file or directory
cat: /sys/bus/scsi/devices/target0:0:0/model: No such file or directory
cat: /sys/bus/scsi/devices/target0:0:0/type: No such file or directory
cat: /sys/bus/scsi/devices/target0:0:0/rev: No such file or directory
cat: /sys/bus/scsi/devices/target0:0:0/scsi_level: No such file or directory
cat: /sys/bus/scsi/devices/host2/vendor: No such file or directory
cat: /sys/bus/scsi/devices/host2/model: No such file or directory
cat: /sys/bus/scsi/devices/host2/type: No such file or directory
cat: /sys/bus/scsi/devices/host2/rev: No such file or directory
cat: /sys/bus/scsi/devices/host2/scsi_level: No such file or directory
cat: /sys/bus/scsi/devices/target2:0:32/vendor: No such file or directory
cat: /sys/bus/scsi/devices/target2:0:32/model: No such file or directory
cat: /sys/bus/scsi/devices/target2:0:32/type: No such file or directory
cat: /sys/bus/scsi/devices/target2:0:32/rev: No such file or directory
cat: /sys/bus/scsi/devices/target2:0:32/scsi_level: No such file or directory
cat: /sys/bus/scsi/devices/target2:2:0/vendor: No such file or directory
cat: /sys/bus/scsi/devices/target2:2:0/model: No such file or directory
cat: /sys/bus/scsi/devices/target2:2:0/type: No such file or directory
cat: /sys/bus/scsi/devices/target2:2:0/rev: No such file or directory
cat: /sys/bus/scsi/devices/target2:2:0/scsi_level: No such file or directory
/usr/local/lib/python2.6/dist-packages/xen/xend/XendAPI.py:548: DeprecationWarning: object.__new__() takes no parameters
  return object.__new__(cls, *args, **kwds)

=== begin of xend-debug ===







_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

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