[ovs-discuss] Openvswitch with kernel 3.4 / 3.5

Jesse Gross jesse at nicira.com
Thu May 31 23:07:48 UTC 2012


On Thu, May 31, 2012 at 4:04 PM, Ansis Atteka <aatteka at nicira.com> wrote:
>
>
> On Thu, May 31, 2012 at 3:37 PM, Amogh vasekar <amoghvk at gmail.com> wrote:
>>
>> Hello,
>>
>> This is Amogh here, a student at Stanford University. As a part of some
>> networking work, I'm trying to get OVS up and running with the net-next
>> kernel branch (3.4 / 3.5)
>>
>> I have built my kernel with OVS in "M" mode from menuconfig, and loaded it
>> successfully using modprobe.
>>
>> Now, I'm trying to get openvswitch-controller and openvswitch-switch up
>> and running. I tried :
>>
>> 1. Using apt-install to get latest package for these
>> 2. Using 1.4.1 branch, make and make install
>>
>> In both, I can start controller successfully. However, start switch gives
>> me the error :
>>
>> FATAL: Module openvswitch_mod not found.
>>  * Inserting openvswitch module
>> Module has probably not been built for this kernel.
>> Install the openvswitch-datapath-source package, then read
>> /usr/share/doc/openvswitch-datapath-source/README.Debian
>> FATAL: Module openvswitch_mod not found.
>>  * Inserting openvswitch module
>>
>> Now, since I am using the kernel module, I assume this should refer to
>> "openvswitch" instead of "openvswitch_mod". I'm really not sure why this is
>> coming up.
>> There is barely any documentation on getting kernel-based OVS running (it
>> would be great if you can point to some)
>> I can really use some quick help, since this is for evaluating CoDel
>> algorithms using OpenFlow and Mininet.
>>
> From NEWS:
>>
>> v1.7.0 - xx xxx xxxx
>> ------------------------
>>     - kernel modules are renamed. openvswitch_mod.ko is now
>>       openvswitch.ko and brcompat_mod.ko is now brcompat.ko.
>
>
> I guess you must use at least Open vSwitch 1.7

The actual code is compatible with 1.4 but the scripts on earlier
versions will look for the old module name.



More information about the discuss mailing list