[ovs-discuss] Inserting and using the compiled OVS kernel modules
gvrose8192 at gmail.com
Sat Jan 5 16:34:17 UTC 2019
On 1/5/2019 2:34 AM, Levente Csikor wrote:
> Yes, I thought so, however I don't see anything:
> # modprobe openvswitch
> # dmesg |tail -n 8
> [250423.894258] PKCS#7 signature not signed with a trusted key
> [250423.894271] Spectre V2 : System may be vulnerable to spectre v2
> [250423.894273] openvswitch: loading module not compiled with retpoline
You need to upgrade your compiler.
> [250423.896970] openvswitch: Open vSwitch switching datapath 2.10.0
> [250423.897064] openvswitch: LISP tunneling driver
> [250423.897064] GRE over IPv4 demultiplexor driver
> [250423.898141] openvswitch: GRE over IPv4 tunneling driver
> [250423.898488] openvswitch: GRE over IPv6 tunneling driver
> # lsmod |grep openv
That's truly odd, I've never seen it start to load like that and then
just disappear. However, the compiler
issue should be addressed. Upgrade your compiler to one with retpoline
support and then see if
that fixes the problem.
> I have never encountered such a thing. When I used insmod, at least the
> module itself was definitely loaded.
> Any other thoughts on tracing what is happening and why the module is
> not loaded?
> On Fri, 2019-01-04 at 09:25 -0800, Gregory Rose wrote:
>> 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,
>> If there is no openvswitch directory under /sys/modules then the
>> 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
>>> 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
>>> 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
>>> On Thu, 2019-01-03 at 08:47 -0800, Gregory Rose wrote:
>>>> Run 'cat /sys/module/openvswitch/version' and that should give
>>>> output like this:
>>>> # cat /sys/module/openvswitch/version
More information about the discuss