Kanwar Ranbir Sandhu
2006-Jun-12 22:18 UTC
[Xen-users] Bridge not setup when domU starts - must manually start
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@lists.xensource.com http://lists.xensource.com/xen-users