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] Network routing setup problem; domU won't start

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Network routing setup problem; domU won't start
From: Rich Wales <richw@xxxxxxxxx>
Date: Sun, 09 Dec 2007 20:35:16 -0800
Delivery-date: Sun, 09 Dec 2007 20:36:16 -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: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666
Hi.  I'm new to Xen.  I have an Athlon (XP 2700+) box, running Ubuntu
7.10, on which I'm hoping to run several domains in a routed networking
configuration.

My initial setup of xen-utils-3.1 (version 3.1.0-0ubuntu18) went just
fine, and my dom0 is running without problems.  And I was also able to
use xen-create-image to build a guest virtual machine, which (once it
works) I plan to use as a template image for building my other domains.

But when I try to run this new VM as a domU, using "xm create", it
fails with the following error message:

Error: Device 0 (vif) could not be connected. /etc/xen/scripts/vif-route
failed; error detected.

Here's some info about my setup -- hopefully enough to help someone see
whatever it is that I'm doing wrong.

Here's my xend-config.sxp file (with comments stripped out):

(xen-api-server ((unix)))
(xend-http-server yes)
(xend-unix-server yes)
(xend-relocation-server no)
(xend-port 8000)
(xend-address '')
(xend-relocation-hosts-allow '')
(network-script network-route)
(vif-script vif-route)
(dom0-min-mem 196)
(dom0-cpus 0)

Here's my xen-tools.conf file (again, with comments stripped out):

lvm = vg1
install-method = debootstrap
size = 20Gb
memory = 384Mb
swap = 1024Mb
fs = ext3
dist = etch
image = sparse
gateway = 172.31.53.1
netmask = 255.255.255.0
broadcast = 172.31.53.255
accounts = 1
kernel = /boot/vmlinuz-`uname -r`
initrd = /boot/initrd.img-`uname -r`
mirror_gutsy=http://archive.ubuntu.com/ubuntu

Here's the configuration file for my domU:

kernel      = '/boot/vmlinuz-2.6.22-14-xen'
ramdisk     = '/boot/initrd.img-2.6.22-14-xen'
memory      = '384'
root        = '/dev/hda1 ro'
disk        = [ 'phy:vg1/template-disk,hda1,w', 'phy:vg1/template-swap,hda2,w' ]
name        = 'template'
vif         = [ 'mac=f2:01:72:31:53:ff, ip=172.31.53.254' ]
on_poweroff = 'destroy'
on_reboot   = 'restart'
on_crash    = 'restart'

Here's the output from "cat /proc/cpuinfo":

processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 6
model           : 8
model name      : AMD Athlon(tm) XP 2700+
stepping        : 1
cpu MHz         : 2162.728
cache size      : 256 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu tsc msr pae mce cx8 apic mtrr mca cmov pat pse36 mmx
fxsr sse syscall mmxext 3dnowext 3dnow up ts
bogomips        : 4327.29
clflush size    : 32

Here's the output from "uname -a":

Linux whodunit 2.6.22-14-xen #1 SMP Mon Oct 15 00:35:38 GMT 2007 i686 GNU/Linux

And here's the excerpt from /boot/grub/menu.lst that I used to boot Xen:

title           Xen 3.1 / Ubuntu 7.10, kernel 2.6.22-14-xen
root            (hd0,0)
kernel          /xen-3.1.gz dom0_mem=256M
module          /vmlinuz-2.6.22-14-xen
root=UUID=2c8d1c7c-4211-4497-9cc3-85cf4521c438 ro console=tty0
module          /initrd.img-2.6.22-14-xen
quiet

Any suggestions?

-- 
Rich Wales      ===      Palo Alto, CA, USA      ===     richw@xxxxxxxxx
http://www.richw.org   ===   http://en.wikipedia.org/wiki/User:Richwales

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