On Jun 10, 2014, at 2:45 PM, Keqiang He <hekeqi...@gmail.com> wrote:
> Bug/Error :
> insmod ./datapath/linux/openvswitch.ko, I got "Error: could not insert module
> ./datapath/linux/openvswitch.ko: Unknown symbol in module”.
>
> Running "dmesg tail", I got the following -
> 6983759.520274] openvswitch: Open vSwitch switching datapath
> [6995650.759804] openvswitch: Unknown symbol gre_cisco_register (err 0)
> [6995650.759891] openvswitch: Unknown symbol gre_cisco_unregister (err 0)
> [6995650.759957] openvswitch: Unknown symbol crc32c (err 0)
>
> Running "modinfo openvswitch.ko", I got -
> filename:
> /root/openvswitch/openvswitch-2.1.2/./datapath/linux/openvswitch.ko
> version: 2.1.2
> license: GPL
> description: Open vSwitch switching datapath
> srcversion: 36BADD76E144180AB0D135E
> depends: libcrc32c,gre
> vermagic: 3.11.0-12-generic SMP mod_unload modversions
>
This probably happens because the kernel modules ‘libcrc32c' and ‘gre' are not
loaded. The output from modinfo shows that openvswitch.ko depends on them: they
must be loaded before openvswitch.ko (modprobe libcrc32c; modprobe gre).
Alternatively, you can install (make install) the kernel module and use
‘modprobe’, which will automatically load all the required dependencies,
instead of ‘insmod'.
Daniele
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss