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

Re: [Xen-users] Can't get guest domain network working!

To: mike.brady@xxxxxxxxxxxxxx
Subject: Re: [Xen-users] Can't get guest domain network working!
From: Donglai Zhang <dlzhangster@xxxxxxxxx>
Date: Thu, 18 Jun 2009 17:36:16 +0930
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 18 Jun 2009 01:07:08 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=931zJRyDIKbHRA+chy6j9WOqUvzSegpFNzos20Jo91U=; b=cyS9R2sVj4VASkfYg3LCcC6MfCIeAnc7Rgqt8ibWe0o/sj9hH7bakAJmsb0pA+YB6G CiZ1MZ7OZGpO7QEf7zm7pH5t8emVm+bqol+yC1SHr7PCPnfTy6mcfJZWytGRuc2gohfx SIyZVvapd0Ge9AT1v2B5EREaDb2Dxk1ea681M=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=NQBN/SEGQevkWCbmi0dLkSDnsrN3BKX5QzLJhSL24GaVD/w01hiI+3oRKpMNQpa4SN jcmzT912NdC+F7uljpA0/WXslFe7f5hX3v0vMUDU3Lk6EWrolLG0EO1tuD7Lkkh4hQZW Bv8OvLS9yPHwkZsSYyQdYI6exIOd77sS/JyXw=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1245222610.9229.20.camel@xxxxxxxxxxxxxxxxxxxxxxx>
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>
References: <c0f408a30906162246m3b6d761dsf5413d48196cec67@xxxxxxxxxxxxxx> <c0f408a30906162259k472c6aacn3a0214ee9f6f03d3@xxxxxxxxxxxxxx> <c0f408a30906162331j259055a5wa9c5df58bb510c28@xxxxxxxxxxxxxx> <1245222610.9229.20.camel@xxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

Yes,  I also tested with centos it has the same problem, it turns out that the two interfaces is a problem with
my configuration file,  I have changed that from:
vif = [ 'mac=00:16:3e:31:48:5f', 'bridge=eth1' ] 

To:

vif = [ 'mac=00:16:3e:31:48:5f, bridge=eth0' ]
and now it only show one interface in guest domain.


By copying the kernel and image file from Ubuntu to the dom0 and use them to create a new guest domain got this message:
# xm create xm03dlzhang
Using config file "./xm03dlzhang".
Error: (2, 'Invalid kernel', 'elf_xen_note_check: ERROR: Will only load images built for the generic loader or Linux images').
Any idea?


Thanks,

Donglai
 


Looks to me like this configuration file is trying to boot a Fedora Xen
DomU kernel on an Ubuntu image?  If so that would explain why you are
having to copy over the kernel module files.

I would suggest that you either copy the Ubuntu DomU kernel (and
possibly the initrd) to the Dom0 file system somewhere and specify that
in the kernel= line, or specifiy a

 
bootloader="/usr/bin/pygrub"

line instead of the kernel= line so that Ubuntu Xen DomU kernel is
loaded from the guest file system.  The later is the better option in my
opinion.

It is odd that the DomU is showing 2 interfaces when only one is
defined, but lets make sure that the correct kernel/modules are loaded
first.

Regards

Mike

 


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