[ovs-discuss] insmod of openvswitch.ko fails
Sudarshan Pathalam (supathal)
supathal at cisco.com
Tue Nov 5 17:44:43 UTC 2013
Hello,
When I initially did a,
make, make install and then insmod of openvswitch.ko it worked.
But subsequently after a reboot I got,
host:~/openvswitch-1.10.0# insmod datapath/linux/openvswitch.ko
insmod: error inserting 'datapath/linux/openvswitch.ko': -1 Invalid module format
>From the below logs,
I realize the kernel version must have changed (may be because of apt-get dist-upgrade –y)
Now how do I make it work?
If have to redo make && make install, how do I clean the previous install
Thanks in adavnce,
LOGS
--------
>From dmesg,
<<snip>>
[ 141.293422] openvswitch: disagrees about version of symbol module_layout
[ 591.131283] openvswitch: disagrees about version of symbol module_layout
host:~/openvswitch-1.10.0# modinfo datapath/linux/openvswitch.ko
filename: datapath/linux/openvswitch.ko
version: 1.10.0
license: GPL
description: Open vSwitch switching datapath
srcversion: 394BFF3B9A17015ED97B0EE
depends:
vermagic: 3.2.0-23-generic SMP mod_unload modversions
host:~/openvswitch-1.10.0# uname -r
3.2.0-55-generic
host:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.3 LTS
Release: 12.04
Codename: precise
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20131105/b18880be/attachment.html>
More information about the discuss
mailing list