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] xen3.0.3 on Ubuntu 6.10: domU not created - device vif could

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] xen3.0.3 on Ubuntu 6.10: domU not created - device vif could not be connected
From: PUCCETTI Armand <armand.puccetti@xxxxxx>
Date: Fri, 05 Jan 2007 18:11:17 +0100
Delivery-date: Fri, 05 Jan 2007 08:09:11 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.8 (X11/20061115)
After installing XEN 3.0.3 from source, I configured a virtual machine to run as a domU. I built a Debian Sarge virtual disk with a virtual swap, using instructions http://howtoforge.com/debian_sarge_xen_3.0.3_p3

and a script for that domU. Running that script led me to the error:

# xm create -c my5
Using config file "my5".
Error: Device 0 (vif) could not be connected. Hotplug scripts not working.


I know that very similar errors have been discussed extensively, but adding more
loopbacks did not solve it  and udev is installed.
For the former, I added "max_loop=64" was added to grub config and "options loop max_loop=64" to the /etc/modprobe.d/loop.local file. 64 loopback devices are present in /dev with protection
brw-rw---- 1 root disk 7, 1 2007-01-05 16:23 /dev/loop1

I reinstalled udev too. rules are installed in /xen/dist/install/etc/udev/rules.d/xen-backend.rules too.
It is however unclear how to (re)install hotplug?

Any idea would be appreciated.

Armand


--------------------------------- domU config (my5)--------------------------------------------
name="vm5"
kernel="/boot/vmlinuz-2.6-xenU"
root="/dev/hda1"
memory=512
disk=['file:/boot/VM/vm5disk,hda1,w','file:/boot/VM/vm5swap,hda2,w']

vif=[ '' ]
dhcp="off"
ip="192.168.0.101"
netmask="255.255.255.0"
gateway="192.168.0.1"
hostname="vm5"

extra="3"

----------------------------xend-config.sxp (original unchanged)-----------------------------
# -*- sh -*-

(xend-relocation-server yes)
(xend-relocation-hosts-allow '^localhost$ ^localhost\\.localdomain$')
(console-limit 10240)
(network-script network-bridge)
(vif-script vif-bridge)
(dom0-min-mem 196)
(dom0-cpus 0)




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