On 11/02/2017 02:02 PM, Greg Rose wrote:
On certain Ubuntu systems running the 4.4 based kernel depmod
may not correctly search for module dependencies when newer
openvswitch kernel modules have been installed in the extra
directory at /lib/modules/$(uname -r)/extra. A symptom of
this are the following messages in system log that can be
printed with the dmesg command:
[164917.582125] vport_lisp: disagrees about version of symbol ovs_netdev_link
[164917.582139] vport_lisp: Unknown symbol ovs_netdev_link (err -22)
[164917.582155] vport_lisp: Unknown symbol ovs_lisp_fill_metadata_dst (err 0)
[164917.582165] vport_lisp: Unknown symbol rpl_rtnl_delete_link (err 0)
[164917.582169] vport_lisp: disagrees about version of symbol
ovs_netdev_tunnel_destroy
[164917.582170] vport_lisp: Unknown symbol ovs_netdev_tunnel_destroy (err -22)
[164917.582178] vport_lisp: Unknown symbol rpl_lisp_xmit (err 0)
[164917.582184] vport_lisp: Unknown symbol rpl_lisp_dev_create_fb (err 0)
[164917.582187] vport_lisp: disagrees about version of symbol
__ovs_vport_ops_register
[164917.582188] vport_lisp: Unknown symbol __ovs_vport_ops_register (err -22)
[164917.582191] vport_lisp: disagrees about version of symbol
ovs_vport_ops_unregister
[164917.582192] vport_lisp: Unknown symbol ovs_vport_ops_unregister (err -22)
[164917.582194] vport_lisp: disagrees about version of symbol ovs_vport_alloc
[164917.582195] vport_lisp: Unknown symbol ovs_vport_alloc (err -22)
[164917.582197] vport_lisp: disagrees about version of symbol ovs_vport_free
[164917.582198] vport_lisp: Unknown symbol ovs_vport_free (err -22)
[164917.606229] vport_stt: disagrees about version of symbol ovs_netdev_link
[164917.606233] vport_stt: Unknown symbol ovs_netdev_link (err -22)
[164917.606248] vport_stt: Unknown symbol ovs_stt_fill_metadata_dst (err 0)
[164917.606260] vport_stt: Unknown symbol rpl_rtnl_delete_link (err 0)
[164917.606264] vport_stt: disagrees about version of symbol
ovs_netdev_tunnel_destroy
[164917.606266] vport_stt: Unknown symbol ovs_netdev_tunnel_destroy (err -22)
[164917.606274] vport_stt: Unknown symbol ovs_stt_dev_create_fb (err 0)
[164917.606279] vport_stt: disagrees about version of symbol
__ovs_vport_ops_register
[164917.606281] vport_stt: Unknown symbol __ovs_vport_ops_register (err -22)
[164917.606285] vport_stt: disagrees about version of symbol
ovs_vport_ops_unregister
[164917.606286] vport_stt: Unknown symbol ovs_vport_ops_unregister (err -22)
[164917.606291] vport_stt: disagrees about version of symbol ovs_vport_alloc
[164917.606292] vport_stt: Unknown symbol ovs_vport_alloc (err -22)
[164917.606295] vport_stt: disagrees about version of symbol ovs_vport_free
[164917.606297] vport_stt: Unknown symbol ovs_vport_free (err -22)
[164917.606305] vport_stt: Unknown symbol ovs_stt_xmit (err 0)
When this occurs the 'make check-kmod' command will experience many
failures and openvswitch will not operate correctly.
Adding 'search extra' to the beginning of the /etc/depmod.d/openvswitch.conf
module dependency configuration file fixes the problem. So to be safe
just add it.
Signed-off-by: Greg Rose <[email protected]>
---
Documentation/intro/install/general.rst | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/intro/install/general.rst
b/Documentation/intro/install/general.rst
index e5ec155..a561b57 100644
--- a/Documentation/intro/install/general.rst
+++ b/Documentation/intro/install/general.rst
@@ -385,6 +385,7 @@ Building
following snippet of code achieves the same::
$ config_file="/etc/depmod.d/openvswitch.conf"
+ $ echo "search extra" >> "$config_file"
$ for module in datapath/linux/*.ko; do
modname="$(basename ${module})"
echo "override ${modname%.ko} * extra" >> "$config_file"
I'm withdrawing this patch - I may have been working from a corrupted system.
Please ignore.
- Greg
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev