[ovs-discuss] Inserting module openvswitch.ko

abc xyz telecomcoder at gmail.com
Thu Mar 24 17:52:51 UTC 2016


Hi,


I made some changes vport.c in datapath module on my OVS. I came across
that you need to run insmod with path to .ko file for changes to take
effect. When inserting the openvswitch.ko module, I keep getting the error
“insmod: error:could not insert module datapath/linux/openvswitch.ko: -1
File exists”.



If I try “rmmod bridge” before trying insmod as per a previous thread, I
get “rmmod: error: module bridge is in use by: br_netfilter”.


The steps I followed after changing the code are:


./boot.sh

./configure --with-linux=/lib/modules/3.19.0-25-generic/build

make

make install

insmod datapath/linux/openvswitch.ko

“insmod: ERROR: could not insert module datapath/linux/openvswitch.ko: -1
File exists”.


Please advice on how to proceed.


Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20160324/4bd16005/attachment-0002.html>


More information about the discuss mailing list