WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Error: Device 0 (vif) could not be connected. Hotplug scripts not working
From: John Mok <jmok@xxxxxxxxxxxxx>
Date: Wed, 16 Mar 2011 23:30:47 +0800
Delivery-date: Wed, 16 Mar 2011 08:31:55 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9
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

<Prev in Thread] Current Thread [Next in Thread>