[ovs-discuss] Inserting and using the compiled OVS kernel modules

Gregory Rose gvrose8192 at gmail.com
Fri Jan 4 17:25:44 UTC 2019


On 1/3/2019 11:48 PM, Levente Csikor wrote:
> I do not have any openvswitch in /sys/module.
> I guess I need to have the module inserted correctly to have it, don't
> I?

If there is no openvswitch directory under /sys/modules then the module 
isn't loaded.

> On the other hand, I have made the modules_install as well, and now
> when I say modprobe openvswitch, dmesg says the version 2.10.0 has been
> loaded and no errors have been raised during insertion.
> However, lsmod|grep openvswitch returns nothing...strange.
> I guess the latter is the main cause of not having openvswitch in
> /sys/module/ :S

Correct.

>
> Any thoughts?

You should see something like this in your dmesg output:

[167126.796728] openvswitch: Open vSwitch switching datapath 2.10.90
[167126.796869] openvswitch: LISP tunneling driver
[167126.796870] GRE over IPv4 demultiplexor driver
[167126.797172] openvswitch: GRE over IPv4 tunneling driver
[167126.797406] openvswitch: GRE over IPv6 tunneling driver
[167126.797526] openvswitch: Geneve tunneling driver
[167126.797528] openvswitch: VxLAN tunneling driver
[167126.797529] openvswitch: STT tunneling driver

- Greg
>
> Cheers
>
> On Thu, 2019-01-03 at 08:47 -0800, Gregory Rose wrote:
>> Run 'cat /sys/module/openvswitch/version' and that should give you
>> output like this:
>>
>> # cat /sys/module/openvswitch/version
>> 2.10.1



More information about the discuss mailing list