[ovs-discuss] How to solve Unknown symbol issue while insmod ?

Joe Stringer joe at ovn.org
Fri Dec 9 04:58:28 UTC 2016


On 8 December 2016 at 20:49, Naveen M <77naveen77 at gmail.com> wrote:
> Hi,
>
> Currently I'm working on openvswitch_2.5.1 in ubuntu16.04(kernel version
> 4.3.3-040303-generic). Whenever i give insmod openvswitch.ko i,m getting
> error like below :
>
> insmod: ERROR: could not insert module datapath/linux/openvswitch.ko:
> Unknown symbol in module
>
> dmesg log :
> =======
> [ 3881.697332] openvswitch: Unknown symbol udp_sock_create4 (err 0)
>  [ 3881.697362] openvswitch: Unknown symbol __nf_ct_try_assign_helper (err
> 0)
>  [ 3881.697385] openvswitch: Unknown symbol nf_ct_helper_ext_add (err 0)
>  [ 3881.697413] openvswitch: Unknown symbol nf_connlabels_put (err 0)
>  [ 3881.697493] openvswitch: Unknown symbol nf_connlabels_replace (err 0)
>  [ 3881.697524] openvswitch: Unknown symbol nf_connlabels_get (err 0)
>  [ 3881.697565] openvswitch: Unknown symbol __nf_ct_expect_find (err 0)
>  [ 3881.697654] openvswitch: Unknown symbol __nf_conntrack_confirm (err 0)
>  [ 3881.697673] openvswitch: Unknown symbol __nf_ct_ext_destroy (err 0)
>  [ 3881.697695] openvswitch: Unknown symbol __nf_ct_ext_add_length (err 0)
>  [ 3881.697717] openvswitch: Unknown symbol udp_tunnel_sock_release (err 0)
>  [ 3881.697749] openvswitch: Unknown symbol setup_udp_tunnel_sock (err 0)
>  [ 3881.697780] openvswitch: Unknown symbol nf_ct_deliver_cached_events (err
> 0)
>  [ 3881.697801] openvswitch: Unknown symbol crc32c (err 0)
>  [ 3881.697829] openvswitch: Unknown symbol udp_tun_rx_dst (err 0)
>  [ 3881.697853] openvswitch: Unknown symbol
> nf_conntrack_helper_try_module_get (err 0)
>  [ 3881.697872] openvswitch: Unknown symbol udp_tunnel_xmit_skb (err 0)
>  [ 3881.697898] openvswitch: Unknown symbol nf_defrag_ipv6_enable (err 0)
>  [ 3881.697920] openvswitch: Unknown symbol nf_ct_get_tuplepr (err 0)
>  [ 3881.697960] openvswitch: Unknown symbol nf_conntrack_in (err 0)
>
>
> How to fix this issue and why its happend? Can you please guide me on this?

insmod is not aware of module dependencies and so it won't load all of
the modules that openvswitch needs to load.

The simplest way to address this is to install the modules first using
'make modules_install' and use 'modprobe' to load openvswitch.


More information about the discuss mailing list