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-devel

Re: [Xen-devel] xen-unstable on OL6 (RHEL6 clone) problems

To: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>
Subject: Re: [Xen-devel] xen-unstable on OL6 (RHEL6 clone) problems
From: Pasi Kärkkäinen <pasik@xxxxxx>
Date: Thu, 10 Feb 2011 09:18:54 +0200
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 09 Feb 2011 23:19:23 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <69bf887a-89de-46fc-a04e-7653255620e5@default>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <69bf887a-89de-46fc-a04e-7653255620e5@default>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.18 (2008-05-17)
On Wed, Feb 09, 2011 at 02:26:00PM -0800, Dan Magenheimer wrote:
> Due to some other commitments, it's been awhile since I've built
> a xen-unstable-based system, and with Oracle Linux 6 (a RHEL6
> clone) just released and with Xen 4.1 in release candidates, I
> decided to install and test on a new machine.
> 
> As I sort-of expected, it's not going real well due to tools
> changes that I don't understand how to get around or fix.  I'm
> not a sysadmin guru so some or all of the problems may be
> trivial, and various googling helped a bit.
> 
> One that I can't figure out is when I try to start xend,
> I get a long sequence of:
> 
> /sys/class/net/virbr0/bridge: No such file or directory
> /sys/class/net/virbr0/bridge: No such file or directory
> /sys/class/net/virbr0/bridge: No such file or directory
> /sys/class/net/virbr0/bridge: No such file or directory
> 
> and networking in a guest fails to work.  This directory
> DOES exist.  And "brctl show" seems to be the source of
> those messages.
> 
> In one semi-related googled link, I found that libvirtd
> may cause some problems, so I disabled that.  No luck,
> but the messages change to:
> 
> /sys/class/net/tmpbridge/bridge: No such file or directory
> 
> and starting xend caused my dom0 networking to go down.
> 
> Any clues?  
>

Dunno if this helps: http://wiki.xen.org/xenwiki/RHEL6Xen4Tutorial


> I'm guessing that I have to manually set up some
> network bridges that I never had to deal with before, but
> don't have any idea how to do that.
> 

Yep, when you use xl toolstack you need to set up the bridges yourself. 
The recommended way in el6 is to use /etc/sysconfig/network-scripts/ifcfg-br* 
scripts. 
Those are documented in the user manuals. 

Something like:

/etc/sysconfig/network-scripts/ifcfg-br0:

DEVICE="br0"
TYPE="Bridge"
BOOTPROTO="dhcp"
ONBOOT="yes"
DELAY=0

/etc/sysconfig/network-scripts/ifcfg-eth0:
DEVICE="eth0"
BOOTPROTO="none"
HWADDR="00:xx:yy:zz:xx:yy"
IPV6INIT="no"
IPV6_AUTOCONF="no"
NM_CONTROLLED="no"
ONBOOT="yes"
BRIDGE="br0"


-- Pasi

> Thanks,
> Dan
> 
> P.S. Don't know if it is related, but I see in dmesg several:
>       XENBUS: Unable to read cpu state
> and a
> 
> virbr0: starting userspace STP failed, starting kernel STP
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel

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