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

[Xen-users] Can't get guest domain network working and what doe eth0:off mean

  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Donglai Zhang <dlzhangster@xxxxxxxxx>
  • Date: Sun, 21 Jun 2009 15:27:25 +0930
  • Delivery-date: Sat, 20 Jun 2009 22:58:25 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=iDePQ5QMXh0hC65nXJejkTAuWp5TOrWIJtz1lvLDwztA1f3SGVIib0QTOEB/j/VN+R Scl63SDC8vk0PmovBrkEwqY34DU/NXrLduBz2K+cb7EcOk2KMeDSTx5Zfp1CHZ8x25IZ yHteKxE1xXQM5EbYEurI6GMvNuw1JJFf2I8Zk=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>


I can't get the domU guest network working. I checked /var/log/xen/xend.log and found:

[2009-06-19 12:52:30 4213] DEBUG (XendDomainInfo:3051) Storing VM details: {'on_xend_stop': 'ignore', 'shadow_memory': '0', 'uuid': '1b5c4d5a-adfa-9315-6e49-ad6f6271027a', 'on_reboot': 'restart', 'start_time': '1245381750.6', 'on_poweroff': 'destroy', 'bootloader_args': '', 'on_xend_start': 'ignore', 'on_crash': 'restart', 'xend/restart_count': '0', 'vcpus': '1', 'vcpu_avail': '1', 'bootloader': '', 'image': "(linux (kernel /boot/vmlinuz- (ramdisk /boot/initrd- (args 'root=/dev/sda8 ro ip= 4 VMID=1') (videoram 4) (notes (HV_START_LOW 4118806528) (FEATURES 'writable_page_tables|writable_descriptor_tables|auto_translated_physmap|pae_pgdir_above_4gb|supervisor_mode_kernel') (VIRT_BASE 3221225472) (GUEST_VERSION 2.6) (PADDR_OFFSET 3221225472) (GUEST_OS linux) (HYPERCALL_PAGE 3222278144) (LOADER generic) (SUSPEND_CANCEL 1) (PAE_MODE yes) (ENTRY 3222274048) (XEN_VERSION xen-3.0)))", 'name': 'VM1'}

Thre is eth0:off , would you please tell me what does this mean?



On Thu, Jun 18, 2009 at 5:36 PM, Donglai Zhang <dlzhangster@xxxxxxxxx> wrote:

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' ] 


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?



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


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

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




Xen-users mailing list



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