On Tue, Nov 5, 2013 at 9:44 AM, Sudarshan Pathalam (supathal) <[email protected]> wrote: > 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 > "make uninstall" (make sure that your ./configure options are the same as the one you used before while installing)
But if your only goal is to create a newer kernel module for the same OVS version, you don't need to "make uninstall". Just do a fresh 'make' and insmod your newer kernel module. > > 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 > > > > _______________________________________________ > discuss mailing list > [email protected] > http://openvswitch.org/mailman/listinfo/discuss > _______________________________________________ discuss mailing list [email protected] http://openvswitch.org/mailman/listinfo/discuss
