Hi Ben,

Thank you for the fact.

It was verified with installation of Mininet 2.1.0+ on Ubuntu 13.10 (Saucy).
Open vSwitch 2.1.2 was successfully installed with NO errors but Mininet
could not start the controller:
...
*** Starting controller
Cannot find required executable ovs-controller.
Please make sure that it is installed and available in your $PATH:
(/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin)
...

Despite the fact that OVS 2.0.1 is magically available for Ubuntu 14.04 LTS
it is hoped that later version of OVS will be available soon.

Best regards,

PhiHo



On Mon, May 5, 2014 at 3:21 PM, Ben Pfaff <b...@nicira.com> wrote:

> On Mon, May 05, 2014 at 02:58:16PM -0400, Phiho Hoang wrote:
> > Hi Joe,
> >
> > > The 'INSTALL.Debian' and 'debian/openvswitch-switch.README.Debian'
> files
> > in the top of the openvswitch tarball provide more detailed instructions
> > for how to install it.
> >
> > Mininet team seems to have done a great job of incorporating the
> > installation of OVS into Mininet install script.
> >
> > $ mininet/util/install.sh -V 2.1.2
> > ...
> > ...
> >
> > At the end of the installation, the tail of
> > '/var/lib/dkms/openvswitch/2.1.2/build/make.log'
> > looks like this:
> >
> > checking whether gcc accepts -Wmissing-field-initializers... yes
> > checking whether gcc accepts -Wthread-safety... no
> > checking whether gcc accepts -Wno-unused... yes
> > checking whether gcc accepts -Wno-unused-parameter... yes
> > checking target hint for cgcc... x86_64
> > checking whether make has GNU make $(if) extension... yes
> > checking for Linux build directory...
> /lib/modules/3.13.0-24-generic/build
> > checking for Linux source directory...
> /lib/modules/3.13.0-24-generic/build
> > checking for kernel version... 3.13.9
> > configure: error: Linux kernel in /lib/modules/3.13.0-24-generic/build is
> > version 3.13.9, but version newer than 3.11.x is not supported
> >
> > Question 1:
> > =========
> > Is this a known feature of the installation of Open vSwitch or something
> > introduced by Mininet installation?
>
> The FAQ says:
>
> Q: What Linux kernel versions does each Open vSwitch release work with?
>
> A: The following table lists the Linux kernel versions against which the
>    given versions of the Open vSwitch kernel module will successfully
>    build.  The Linux kernel versions are upstream kernel versions, so
>    Linux kernels modified from the upstream sources may not build in
>    some cases even if they are based on a supported version.  This is
>    most notably true of Red Hat Enterprise Linux (RHEL) kernels, which
>    are extensively modified from upstream.
>
>    Open vSwitch   Linux kernel
>    ------------   -------------
>        1.4.x      2.6.18 to 3.2
>        1.5.x      2.6.18 to 3.2
>        1.6.x      2.6.18 to 3.2
>        1.7.x      2.6.18 to 3.3
>        1.8.x      2.6.18 to 3.4
>        1.9.x      2.6.18 to 3.8
>        1.10.x     2.6.18 to 3.8
>        1.11.x     2.6.18 to 3.8
>        2.0.x      2.6.32 to 3.10
>        2.1.x      2.6.32 to 3.11
>        2.2.x      2.6.32 to 3.14
>
>    Open vSwitch userspace should also work with the Linux kernel module
>    built into Linux 3.3 and later.
>
>    Open vSwitch userspace is not sensitive to the Linux kernel version.
>    It should build against almost any kernel, certainly against 2.6.32
>    and later.
>
> Q: I get an error like this when I configure Open vSwitch:
>
>        configure: error: Linux kernel in <dir> is version <x>, but
>        version newer than <y> is not supported (please refer to the
>        FAQ for advice)
>
>    What should I do?
>
> A: If there is a newer version of Open vSwitch, consider building that
>    one, because it may support the kernel that you are building
>    against.  (To find out, consult the table in the previous answer.)
>
>    Otherwise, use the Linux kernel module supplied with the kernel
>    that you are using.  All versions of Open vSwitch userspace are
>    compatible with all versions of the Open vSwitch kernel module, so
>    this will also work.  See also the following question.
>
> > $ ovs-controller --version
> > The program 'ovs-controller' is currently not installed. You can install
> it
> > by typing:
> > sudo apt-get install openvswitch-controller
>
> ovs-controller was removed in Open vSwitch 2.1.  The NEWS item for it
> says:
>
>    - ovs-controller has been renamed test-controller.  It is no longer
>      packaged or installed by default, because too many users assumed
>      incorrectly that ovs-controller was a necessary or desirable part
>      of an Open vSwitch deployment.
>
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to