[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: mike.brady@xxxxxxxxxxxxxx
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.