Steven Altsman
2011-May-30 22:17 UTC
[Xen-users] OpenSUSE 11.4 (2.6.39-30.1), Xen 4.0.2 - Device 0 (vif) Could not be connected
All, This is a fresh, un-f#$ked-with OpenSUSE install after adding the Tumbleweed repository and doing a dup. I installed the Hypervisor with Tools for which it prompted me for Xen or QEMU and I chose Xen. No bridge was made. When I go to create a fully virtualised machine, it nao has the error: Error: Device 0 (vif) could not be connected. Could not find the bridge, and none was specified. The bit in the config file says: # SuSE users note: # On openSUSE >= 11.1 and SLES >= 11, networks should be configured using # native platform tool - YaST. vif-bridge and qemu-ifup can be used to # connect vifs to the YaST-managed networks. #(network-script network-bridge) So... how exactly is YaST supposed to do this...? ...so I don''t have to re-install OpenSUSE for the 5th time on the same machine? Ibis redibis nunquam per bella peribis _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Dustin Marquess
2011-May-31 16:36 UTC
Re: [Xen-users] OpenSUSE 11.4 (2.6.39-30.1), Xen 4.0.2 - Device 0 (vif) Could not be connected
I just did this last week. I''m not sure what Tumbleweed is, I was using the Xen 4.1 repo from http://download.opensuse.org/repositories/Virtualization/openSUSE_11.4/ At least in my case, YaST2 didn''t seem to make the bridge automatically, although I''m sure I did something stupid (I hadn''t touched OpenSuSE for over a year, so I was a little rusty). So I ended up making /etc/sysconfig/network/ifcfg-xenbr0 by hand. That worked fine if I used xm create. However for some reason xl create would never add the vif to the bridge, so networking in the domU wouldn''t work. I''m sure I was doing something stupid, but I just used xm as I didn''t have time to figure it out. I don''t remember having any of these problems w/ 11.3 & Xen 3.4.x :). -Dustin On Mon, May 30, 2011 at 3:17 PM, Steven Altsman <steven.altsman@gmail.com> wrote:> All, > > This is a fresh, un-f#$ked-with OpenSUSE install after adding the Tumbleweed > repository and doing a dup. I installed the Hypervisor with Tools for which > it prompted me for Xen or QEMU and I chose Xen. No bridge was made. > When I go to create a fully virtualised machine, it nao has the error: > Error: Device 0 (vif) could not be connected. Could not find the bridge, > and none was specified. > The bit in the config file says: > # SuSE users note: > # On openSUSE >= 11.1 and SLES >= 11, networks should be configured using > # native platform tool - YaST. vif-bridge and qemu-ifup can be used to > # connect vifs to the YaST-managed networks. > #(network-script network-bridge) > So... how exactly is YaST supposed to do this...? ...so I don''t have to > re-install OpenSUSE for the 5th time on the same machine? > Ibis redibis nunquam per bella peribis > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Steven Altsman
2011-May-31 16:48 UTC
Re: [Xen-users] OpenSUSE 11.4 (2.6.39-30.1), Xen 4.0.2 - Device 0 (vif) Could not be connected
When you say made ifcfg-xenbr0 by hand, what all did you do for that? Ibis redibis nunquam per bella peribis On Tue, May 31, 2011 at 11:36 AM, Dustin Marquess <dmarquess@gmail.com>wrote:> I just did this last week. I''m not sure what Tumbleweed is, I was > using the Xen 4.1 repo from > http://download.opensuse.org/repositories/Virtualization/openSUSE_11.4/ > > At least in my case, YaST2 didn''t seem to make the bridge > automatically, although I''m sure I did something stupid (I hadn''t > touched OpenSuSE for over a year, so I was a little rusty). So I > ended up making /etc/sysconfig/network/ifcfg-xenbr0 by hand. > > That worked fine if I used xm create. However for some reason xl > create would never add the vif to the bridge, so networking in the > domU wouldn''t work. I''m sure I was doing something stupid, but I just > used xm as I didn''t have time to figure it out. > > I don''t remember having any of these problems w/ 11.3 & Xen 3.4.x :). > > -Dustin > > On Mon, May 30, 2011 at 3:17 PM, Steven Altsman > <steven.altsman@gmail.com> wrote: > > All, > > > > This is a fresh, un-f#$ked-with OpenSUSE install after adding the > Tumbleweed > > repository and doing a dup. I installed the Hypervisor with Tools for > which > > it prompted me for Xen or QEMU and I chose Xen. No bridge was made. > > When I go to create a fully virtualised machine, it nao has the error: > > Error: Device 0 (vif) could not be connected. Could not find the bridge, > > and none was specified. > > The bit in the config file says: > > # SuSE users note: > > # On openSUSE >= 11.1 and SLES >= 11, networks should be configured using > > # native platform tool - YaST. vif-bridge and qemu-ifup can be used to > > # connect vifs to the YaST-managed networks. > > #(network-script network-bridge) > > So... how exactly is YaST supposed to do this...? ...so I don''t have to > > re-install OpenSUSE for the 5th time on the same machine? > > Ibis redibis nunquam per bella peribis > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Mark Pryor
2011-May-31 17:42 UTC
Re: [Xen-users] OpenSUSE 11.4 (2.6.39-30.1), Xen 4.0.2 - Device 0 (vif) Could not be connected
--- On Mon, 5/30/11, Steven Altsman <steven.altsman@gmail.com> wrote: From: Steven Altsman <steven.altsman@gmail.com> Subject: [Xen-users] OpenSUSE 11.4 (2.6.39-30.1), Xen 4.0.2 - Device 0 (vif) Could not be connected To: xen-users@lists.xensource.com Date: Monday, May 30, 2011, 3:17 PM All, This is a fresh, un-f#$ked-with OpenSUSE install after adding the Tumbleweed repository and doing a dup. I installed the Hypervisor with Tools for which it prompted me for Xen or QEMU and I chose Xen. No bridge was made. When I go to create a fully virtualised machine, it nao has the error: Error: Device 0 (vif) could not be connected. Could not find the bridge, and none was specified. The bit in the config file says: # SuSE users note:# On openSUSE >= 11.1 and SLES >= 11, networks should be configured using# native platform tool - YaST. vif-bridge and qemu-ifup can be used to # connect vifs to the YaST-managed networks.#(network-script network-bridge) So... how exactly is YaST supposed to do this...? ------------- you could try uncommenting (network-script network-bridge) chances are, you''ll get a working network compatible with xen. If you want to make a manual bridge, ----------------------- ifcfg-br0 ------------------> sudo cat /etc/sysconfig/network/ifcfg-br0BOOTPROTO=''dhcp'' BRIDGE=''yes'' BRIDGE_FORWARDDELAY=''0'' BRIDGE_PORTS=''eth0'' BRIDGE_STP=''off'' BROADCAST='''' ETHTOOL_OPTIONS='''' IPADDR='''' MTU='''' NETMASK='''' NETWORK='''' REMOTE_IPADDR='''' STARTMODE=''auto'' USERCONTROL=''no'' #ETHTOOL_OPTIONS=''wol g'' ---------------- snip ----------- backup/archive the ifcfg-eth0 Only one should be active at a time. -- Mark _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Steven Altsman
2011-Jun-02 12:46 UTC
Re: [Xen-users] OpenSUSE 11.4 (2.6.39-30.1), Xen 4.0.2 - Device 0 (vif) Could not be connected
Thanks to Mark and Dustin, I have made it a bit further. I had to modify the xend-configure.sxp to have (network-script ''network-bridge bridge=br0 netdev=eth0'') plus making the br0 device manually in /etc/sysconfig/network/ifcfg-br0. Now I have a VM (OpenSUSE 11.4, again) but I am getting "Unable to configure the network card because the kernel device (eth0, wlan0) is not present. This is mostly caused by missing firmware (for wlan devices). See dmesg output for details." Ibis redibis nunquam per bella peribis On Tue, May 31, 2011 at 11:42 AM, Mark Pryor <tlviewer@yahoo.com> wrote:> > --- On Mon, 5/30/11, Steven Altsman <steven.altsman@gmail.com> wrote: > > From: Steven Altsman <steven.altsman@gmail.com> > Subject: [Xen-users] OpenSUSE 11.4 (2.6.39-30.1), Xen 4.0.2 - Device 0 (vif) Could not be connected > To: xen-users@lists.xensource.com > Date: Monday, May 30, 2011, 3:17 PM > > All, > > This is a fresh, un-f#$ked-with OpenSUSE install after adding the Tumbleweed repository and doing a dup. I installed the Hypervisor with Tools for which it prompted me for Xen or QEMU and I chose Xen. No bridge was made. > > When I go to create a fully virtualised machine, it nao has the error: > Error: Device 0 (vif) could not be connected. Could not find the bridge, and none was specified. > > The bit in the config file says: > # SuSE users note:# On openSUSE >= 11.1 and SLES >= 11, networks should be configured using# native platform tool - YaST. vif-bridge and qemu-ifup can be used to > # connect vifs to the YaST-managed networks.#(network-script network-bridge) > So... how exactly is YaST supposed to do this...? > > ------------- > > you could try uncommenting > (network-script network-bridge) > > chances are, you''ll get a working network compatible with xen. > > If you want to make a manual bridge, > > ----------------------- ifcfg-br0 ------------------ > > sudo cat /etc/sysconfig/network/ifcfg-br0 > BOOTPROTO=''dhcp'' > BRIDGE=''yes'' > BRIDGE_FORWARDDELAY=''0'' > BRIDGE_PORTS=''eth0'' > BRIDGE_STP=''off'' > BROADCAST='''' > ETHTOOL_OPTIONS='''' > IPADDR='''' > MTU='''' > NETMASK='''' > NETWORK='''' > REMOTE_IPADDR='''' > STARTMODE=''auto'' > USERCONTROL=''no'' > #ETHTOOL_OPTIONS=''wol g'' > ---------------- snip ----------- > > backup/archive the ifcfg-eth0 > > Only one should be active at a time. > > -- > Mark_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users