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] Bridge not setup when domU starts - must manually start

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Bridge not setup when domU starts - must manually start
From: Kanwar Ranbir Sandhu <m3freak@xxxxxxxxxx>
Date: Mon, 12 Jun 2006 18:18:54 -0400
Delivery-date: Mon, 12 Jun 2006 15:19:34 -0700
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=rogers.com; h=Received:Subject:From:To:Content-Type:Date:Message-Id:Mime-Version:X-Mailer:Content-Transfer-Encoding; b=n/ftfZ8HobvRcLiLaSnCssjhJp69JPfghcEGFOhtoKjmsQre3NF1YmR8PJVTpIgU645kPxK+sjsSczGhkClhZyl7qhAX99ijLIa9If01+ZUP04urEoeCTlgRpJ4/AV3SxKXrmfcj9GIsItKMMaM6X2QvQLnxbYuqs5rvrin6bNY= ;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hello All,

I'm a fairly new Xen user.  I have one server that is currently running
the following:

dom0
----
RHEL 4.3
xen-3.0.2.2-86.1_rhel4.1-i386
xen-kernel-2.6.16-xen3_86.1_rhel4.1-i686
/etc/tls.disabled

domU
----
CentOS 4.3
/etc.tls.disabled

domU config file:
-----------------
kernel = "/boot/vmlinuz-2.6-xen"
ramdisk = "/boot/initrd-2.6-xen.img"
memory = 512
vif = [ '' ]
disk = [ 'phy:vg00/mothership,sda1,w','phy:vg00/swap1,sda2,w' ]
root = "/dev/sda1 ro"
extra = "vga=791"
on_poweroff = 'destroy'
on_reboot   = 'restart'
on_crash    = 'restart'

dom0 and domU boot okay, except for a problem with ttyS0 (mentioned in
another thread).  Anyway, the network bridge is never setup when the
server is rebooted.  I have to shutdown domU, and then run

./network-bridge stop
./network-bridge start

in the /etc/xen/scripts directory.  When I do this, the bridge gets
setup:

bridge name     bridge id               STP enabled     interfaces
xenbr0          8000.feffffffffff       no              peth0
                                                        vif0.0
                                                        vif2.0

/var/log/xend-debug.log has this when the bridge fails to start:

Error: either "local" is duplicate, or "secondary" is a garbage.
ifdown <device name>
Error: either "dev" is duplicate, or "eth0" is a garbage.
ERROR: Not a Xen-ELF image: '__xen_guest' section not found.
ERROR: Error constructing guest OS
ERROR: Not a Xen-ELF image: '__xen_guest' section not found.
ERROR: Error constructing guest OS
ERROR: Not a Xen-ELF image: '__xen_guest' section not found.
ERROR: Error constructing guest OS

Umm...what?  Looks like there's something wrong in the xen guest.  If
this is true, why then would a manual init of the network-bridge script
start up the bridge?

BTW, I haven't changed xend-config.sxp, leaving it to default settings.

Any tips appreciated.

Thanks,

Ranbir

-- 
Kanwar Ranbir Sandhu
Linux 2.6.16-1.2111_FC4 i686 GNU/Linux 
18:03:38 up 11:33, 3 users, load average: 0.14, 0.17, 0.18 



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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Bridge not setup when domU starts - must manually start, Kanwar Ranbir Sandhu <=