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] Cannot have eth0 in domU

To: Xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Cannot have eth0 in domU
From: Andrej Radonic <andrej.radonic@xxxxxxxx>
Date: Sun, 26 Mar 2006 17:34:58 +0200
Delivery-date: Sun, 26 Mar 2006 15:45:25 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <200603261024.00594.dlebeuf@xxxxxxxxxxxx>
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>
References: <200603261024.00594.dlebeuf@xxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5 (X11/20051201)
Denis Lebeuf wrote:
Hello,

I am trying to run Xen 3 on FC5, but I cannot have the eth0 interface appear in domU. I read nearly everything in this list that could look similar to my problem but to no avail. I have 3 servers running FC3 and Xen 2 with various domUs since a year. Everything is fine on that front.

I took one of the server, upgraded it to FC5 and did the following:

- yum install xen kernel-xen0 kernel-xenU
- grub.conf contains
  title Fedora Core (2.6.15-1.2054_FC5xen0
  root (hd0,0)
  kernel /boot/xen.gz-2.6.15-1.2054_FC5
module /boot/vmlinuz-2.6.15-1.2054_FC5xen0 root=LABEL=/ ro console=tty0 noscsi
  module /boot/initrd-2.6.15-1.2054_FC5xen0.img
- rebooted with the xen0 kernel
- kept the default xend-config.sxp to use bridging
- started xend
- copied a domU FC3 image from another server (tried also with a trustix image) - mounted the FC3 image in loop fs and copied (cp -a) /lib/modules/2.6.15-1.2054_FC5xenU to it
- created a domU configuration file:
  kernel = "/boot/vmlinuz-2.6.15-1.2054_FC5xenU.img"
  memory = 128
  name = "test"
  vif = [ '' ]
  disk = [ 'file:/images/fc3,sda1,w' ]
  root = "/dev/sda1 ro"
  extra = "4"
Denis,
it's just a guess, but why don't you try and assign a MAC address to your domU and give it another shot?

Greetz,
Andrej
- xm create -c test.conf
- everything in domU is fine except that eth0 is not seen:
  ifconfig eth0
  eth0: error fetching interface information: Device not found
- "ifconfig -a" shows lo and sit0 only
- on dom0:
   brctl show
   bridge name        bridge id                STP enabled        interfaces
   xenbr0                    8000.feffffffffff        no                        
      peth0
                                                                                
                             vif0.0
                                                                                
                             vif1.0
- domU image contains valid ifcfg-eth0 configuration file
  I tried to add network configuration into the domU configuration file:
    ip="10.10.10.10"
    netmask="255.255.255.0"
    gateway="10.10.10.1"
    broadcast="10.10.10.255"
  and got the same results.
- I tried with and without a ramdisk image in the domU conf file (getting desperate here)
- no errors in domU dmesg or with "xen dmesg" on dom0

I really don't know where to go from here. I made several attempts with variations in config files but always got the same problem. Am I missing something obvious? Any suggestion as to what tools I can use to troubleshoot?
Any help would be greatly appreciated.

Thanks a lot

Denis

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



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

<Prev in Thread] Current Thread [Next in Thread>