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] Can't get guest domain network working and what doe eth0:off

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Can't get guest domain network working and what doe eth0:off mean
From: Donglai Zhang <dlzhangster@xxxxxxxxx>
Date: Sun, 21 Jun 2009 15:27:25 +0930
Delivery-date: Sat, 20 Jun 2009 22:58:25 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=cwklva0P7qTcNSFLBg9/wXRKnItiBtihptAjSCr8wJU=; b=CGcWPS7nE3RxwGEfYaKYddKzNYpPU36xP2E+gqb+Fl7ulfZwdWPU/LsacVPWxPHYF5 IQZIUklW8laJmzHIcNArm8Jbx6H4wd3BayEDBdvqqYuKrr3GqO3rdFyJF6HZY8FXoFbZ HCVTXKJjx4jXedr5p46G2X823IyjoSHMYeeTs=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

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-2.6.18.8-xen-U) (ramdisk /boot/initrd-2.6.18.8-xen.img) (args 'root=/dev/sda8 ro ip=192.168.1.2:127.0.255.255:192.168.1.1:255.255.255.0:domain-1.xeno:eth0:off 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?

Cheers,

Donglai

On Thu, Jun 18, 2009 at 5:36 PM, Donglai Zhang <dlzhangster@xxxxxxxxx> wrote:
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
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Can't get guest domain network working and what doe eth0:off mean, Donglai Zhang <=