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] centos 5.6 upgrade to 4.1 - no DomUs listed

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] centos 5.6 upgrade to 4.1 - no DomUs listed
From: Randy Katz <rkatz@xxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 18 May 2011 04:45:55 -0700
Delivery-date: Wed, 18 May 2011 04:47:05 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4DD3A4EB.2040107@xxxxxxxxxxxxx>
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>
References: <4DD2C00A.2070307@xxxxxxxxxxxxx> <BANLkTimzPi+-AgCQLYG3oQDAK7y1ufuBag@xxxxxxxxxxxxxx> <4DD2EF66.3060304@xxxxxxxxxxxxx> <BANLkTik1S2njvxwdNXw3u3-0q-_jeC6ByQ@xxxxxxxxxxxxxx> <4DD3749B.9060205@xxxxxxxxxxxxx> <4DD3848D.30606@xxxxxxxxxxxxxxxxxxxxx> <4DD3A4EB.2040107@xxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.17) Gecko/20110414 Lightning/1.0b2 Thunderbird/3.1.10
People! Someone who is using the Xen scripts for the network bridge in Xen version 3.4.3 or later might want to write up how to do it correctly as it is not clear from anything I have seen so far. Thanks! I would do it but I am not using them to get my bridging done any longer.

On 5/18/2011 3:52 AM, Andy Howell wrote:
On 05/18/2011 03:34 AM, Randy Katz wrote:
try booting with pci=nomsi on the kernel line,
If you setup networking according to this then things should be working, and no 
need to
use vif in the bridge line: 
http://wiki.xensource.com/xenwiki/HostConfiguration/Networking

One of my working confs looks like this (CentOS 5.6 Xen 4.1):

name = "test1"
memory = "512"
disk = [ "phy:/dev/vg1/test1,xvda,w" ]
vif = [ 'mac=00:16:3e:aa:aa:91,bridge=xenbr0' ]
vcpus=1
on_reboot = 'restart'
on_crash = 'restart'
bootloader = "/usr/bin/pygrub"

on node:
# netstat -rn
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
192.168.0.0      0.0.0.0         255.255.255.0   U         0 0          0 xenbr0
169.254.0.0     0.0.0.0         255.255.0.0     U         0 0          0 xenbr0
0.0.0.0         192.168.1.1      0.0.0.0         UG        0 0          0 xenbr0

Randy,

        Thanks! pci-nomsi enabled me to boot. I'm able to get a domu up and 
login via vncviewer.
Networking isn't working however. I created xenbr0 with no IP address, as it was
previously. Something isn't correct. I don't see the interfaces that were part 
of the
bridge before:

    tap0
    vif1.0
    peth0
    vif0.0

I vaguely remember the xen scripts created those. I'll have to read up on it 
after a bit
of sleep. Thanks again.

Andy


/etc/sysconfig/network-scripts/ifcfg-xenbr0
DEVICE=xenbr0
TYPE=Bridge
BOOTPROTO=none
ONBOOT=yes
DELAY=0
NM_CONTROLLED=no

/etc/sysconfig/network-scripts/ifcfg-eth0
# Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet 
controller
DEVICE=eth0
BOOTPROTO=static
HWADDR=E0:CB:4E:97:68:DD
IPADDR=172.16.1.8
NETMASK=255.255.0.0
ONBOOT=yes
#BRIDGE=xenbr0


_______________________________________________
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