rmmod openvswitch first and then try insmod. Worked for me.

From: discuss [mailto:discuss-boun...@openvswitch.org] On Behalf Of abc xyz
Sent: Thursday, March 24, 2016 12:53 PM
To: discuss@openvswitch.org
Subject: [ovs-discuss] Inserting module openvswitch.ko

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.
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to