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?


In spite of the error 'version newer than 3.11.x is not supported':

$ ovs-vsctl --version
ovs-vsctl (Open vSwitch) 2.1.2
Compiled May  3 2014 16:10:21
$ ovs-appctl --version
ovs-appctl (Open vSwitch) 2.1.2
Compiled May  3 2014 16:10:19
$ ovs-dpctl --version
ovs-dpctl (Open vSwitch) 2.1.2
Compiled May  3 2014 16:10:20
$ ovs-ofctl --version
ovs-ofctl (Open vSwitch) 2.1.2
Compiled May  3 2014 16:10:20
OpenFlow versions 0x1:0x4
$ ovs-pki --version
ovs-pki (Open vSwitch) 2.1.2
$ ovs-vswitchd --version
ovs-vswitchd (Open vSwitch) 2.1.2
Compiled May  3 2014 16:10:31
OpenFlow versions 0x1:0x1
$ ovs-controller --version
The program 'ovs-controller' is currently not installed. You can install it
by typing:
sudo apt-get install openvswitch-controller

Question 2:
========
Is it correct that 'ovs-controller' installation was blocked because of the
error 'version newer than 3.11.x is not supported'
How would that error affect the other components of OVS that have
'successfully' been installed?

The release notes for v2.0.0 at http://openvswitch.org/releases/NEWS-2.0.0
...
- Support for Linux kernels up to 3.10
...

However, OVS 2.0.1 that comes with Ubuntu 14.04 seems to support Linux
kernel version 3.13.9.


The announcement for v2.1.0 at
http://openvswitch.org/pipermail/announce/2014-March/000061.html:
...

    * Support for Linux kernels up to 3.11


Question 3:
========
Should OVS 2.1.2 be able to work with Ubuntu 14.04 (with Linux kernel
version 3.13.9)?
If yes, how can the error 'version newer than 3.11.x is not supported' be
avoided?

Thank you for your help.

Best regards,

PhiHo



On Mon, May 5, 2014 at 12:09 AM, Joe Stringer <joestrin...@nicira.com>wrote:

> Unless you have a specific reason to use a newer version, it is much
> easier to use the version that comes with your distribution.
>
> 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.
>
>
> On 5 May 2014 15:46, Phiho Hoang <hohoang...@gmail.com> wrote:
>
>> Hi Joe,
>>
>> > You can use the kernel module that comes with Ubuntu 14.04.
>>
>> I tried:
>>
>> $ sudo apt-get install openvswitch-switch
>> ...
>> ..
>> $ sudo apt-get install openvswitch-controller
>> ...
>>
>> and got:
>>
>> $ ovs-vsctl --version
>> ovs-vsctl (Open vSwitch) 2.0.1
>> Compiled Feb 23 2014 14:42:32
>>
>> $ ovs-controller --version
>> ovs-controller (Open vSwitch) 2.0.1
>> Compiled Feb 23 2014 14:42:32
>> OpenFlow versions 0x1:0x4
>>
>> How can I install 'Open vSwitch 2.1.2' (instead of version 2.0.1) for
>> Ubuntu 14.04
>>
>> Best regards,
>>
>> PhiHo
>>
>>
>>
>>
>> On Sun, May 4, 2014 at 5:07 PM, Joe Stringer <joestrin...@nicira.com>wrote:
>>
>>> On 4 May 2014 08:28, Phiho Hoang <hohoang...@gmail.com> wrote:
>>>
>>>> Greetings,
>>>>
>>>> Thank you for releasing Open vSwitch 2.1.2.
>>>> Does it support Ubuntu 14.04?
>>>>
>>>
>>> You can use the kernel module that comes with Ubuntu 14.04.
>>>
>>>
>>
>>
>
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to