[Pkg-xen-devel] Xen from backports on sarge not working

Roberto Suarez Soto robe at allenta.com
Tue Jun 20 10:03:40 UTC 2006


Hi,

	I've downloaded and installed the Xen packages from backports.org
in a box with sarge, and it doesn't work. That's the short story. Now the
long one :-)

	The problem is that I can't bring up the domUs. This is the error
displayed when I try:

~# xm create -c chen.cfg
Using config file "/etc/xen/chen.cfg".
Error: Device 0 (vif) could not be connected. Hotplug scripts not working.

	And the configuration file chen.cfg is:

kernel = '/boot/vmlinuz-2.6.16-1-xen-686'
ramdisk = '/boot/initrd.img-2.6.16-1-xen-686'
memory = 128
name   = 'chen'
root   = '/dev/hda1 ro'
disk   = [ 'phy:vg0/chen-root,hda1,w', 'phy:vg0/chen-swap,hda2,w' ]
vif = [ 'ip=192.168.20.200', 'mac=00:16:3E:CE:00:FF' ]

	And my /etc/xen/xend-config.sxp (comments removed):

(xend-relocation-server yes)
(xend-relocation-hosts-allow '^localhost$')
(network-script 'network-bridge netdev=dummy0')
(vif-script vif-bridge)
(dom0-min-mem 196)
(dom0-cpus 0)

	I thought the interface dummy0 might be a problem, but exactly the
same happened when I tried to use a "real" interface like eth1.

	Something strange that I noticed, adding "-x" to the scripts
/etc/xen/scripts/network-bridge and /etc/xen/scripts/vif-bridge, is that
nothing was displayed; i.e., I think the scripts were not executed (or
maybe stderr is redirected to some logs, or hidden, and that's the reason
that I could see nothing :-?). This could be the issue, but I'm a bit stuck
and don't know how to follow from here :-/

	What puzzles me is that I have another box with the packages from
sid, and there I had no problem at all: install, configure and run, without
hassles. Would it be possible that there is something ackward involving the
backports, or the libraries in sarge, or something alike?

	The versions I'm using are:

ii  linux-image-2.6.16-1-xen- 2.6.16-11bpo1             Linux kernel 2.6.16 image on PPro/Celeron/PII/PIII/P4 machines
ii  xen-hypervisor-3.0-i386   3.0.2+hg9681-0bpo1        The Xen Hypervisor for i386
ii  xen-tools                 1.5-1                     Tools to manage debian XEN virtual servers
ii  xen-utils-3.0             3.0.2+hg9681-0bpo1        XEN administrative tools

	Let me know if there is any other package that I should list. Any
hints, tips, voodoo rituals or other solutions are welcome. Thanks in
advance :-)

-- 
	Roberto Suarez Soto				Allenta Consulting
	robe at allenta.com				   www.allenta.com



More information about the Pkg-xen-devel mailing list