On Mon, Jul 18, 2016 at 12:12 PM, Amru OM <sdn.innovat...@gmail.com> wrote:
> Greetings,
>
>
>
> I tried to load the STT module (vport-stt.ko), which is included with OVS
> 2.5 distribution, in order to configure STT overlay tunnels between virtual
> machines located in different hosts. However, when I insert vport-stt.ko
> using “insmod”:
>
> insmod datapath/linux/vport-stt.ko
>
>
>
> I got this error
>
> insmod: ERROR: could not insert module datapath/linux/vport-stt.ko: Unknown
> symbol in module
>
>
>
> Then I tried “modprobe vport-stt”, but I got a similar error:
>
> modprobe: ERROR: could not insert 'vport_stt': Unknown symbol in module, or
> unknown parameter (see dmesg)
>
>
>
> Running "dmesg tail", I got the following:
>
>
>
> [89896.077397] vport_stt: Unknown symbol ovs_netdev_link (err 0)
>
> [89896.077421] vport_stt: Unknown symbol ovs_netdev_tunnel_destroy (err 0)
>
> [89896.077425] vport_stt: disagrees about version of symbol
> ovs_tunnel_get_egress_info
>
> [89896.077428] vport_stt: Unknown symbol ovs_tunnel_get_egress_info (err
> -22)
>
> [89896.077440] vport_stt: Unknown symbol ovs_stt_dev_create_fb (err 0)
>
> [89896.077462] vport_stt: Unknown symbol __ovs_vport_ops_register (err 0)
>
> [89896.077467] vport_stt: disagrees about version of symbol
> ovs_vport_ops_unregister
>
> [89896.077469] vport_stt: Unknown symbol ovs_vport_ops_unregister (err -22)
>
> [89896.077474] vport_stt: disagrees about version of symbol ovs_vport_alloc
>
> [89896.077476] vport_stt: Unknown symbol ovs_vport_alloc (err -22)
>
> [89896.077479] vport_stt: disagrees about version of symbol ovs_vport_free
>
> [89896.077481] vport_stt: Unknown symbol ovs_vport_free (err -22)
>
> [89896.077494] vport_stt: Unknown symbol ovs_stt_xmit (err 0)
>
>
>
> Running "modinfo vport-stt.ko", I got:
>
>
>
> filename:       /root/openvswitch-2.5.0/datapath/linux/vport-stt.ko
>
> alias:          vport-type-106
>
> license:        GPL
>
> description:    OVS: STT switching port
>
> rhelversion:    7.2
>
> srcversion:     2D42FA67BB7A1A04E5E0A62
>
> depends:        openvswitch
>
> vermagic:       3.10.0-327.13.1.el7.x86_64 SMP mod_unload modversions
>
>
>
> Note, as vport-stt.ko depends on openvswitch.ko, I loaded openvswitch.ko 
> before
> trying to insert vport-stt.ko, but it did not fix the problem.

My guess is that you loaded the version of openvswitch.ko that shipped
with your distribution kernel (or an earlier version of out of tree
OVS). I would do a clean build of the OVS tree, unload all OVS related
modules, and then use insmod to specific load the right ones from the
OVS directory. Once that works, you should also be able to do make
modules_install to install the new OVS modules in the right search
path.
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to