Hi,

I'm using linux kernel 4.3.0 and I'm trying to configure/compile OVS kernel
module.

By doing ./configure --with-linux=/lib/modules/`uname -r`/build`, and make,
make install, everything works ok (insmod module, add flows, etc), however
at the end, I'm not able to remove the module. Somehow other module is
using openvswitch.ko (lsmod shows that it is used by 4), preventing me from
doing rmmod.

Any suggestions are appreciated!

My experiments:
# modprobe nf_defrag_ipv6
# modprobe nf_defrag_ipv4
# modprobe libcrc32c
# modprobe udp_tunnel
# insmod datapath/linux/openvswitch.ko
# dmesg
[ 1428.527169] openvswitch: Open vSwitch switching datapath 2.5.90
[ 1428.528690] openvswitch: LISP tunneling driver
[ 1428.528695] openvswitch: STT tunneling driver

# lsmod | grep open
openvswitch           155648  0
<skip...>

# ovs-vswitchd --log-file --pidfile --detach
# lsmod | grep open
openvswitch           155648  4

# ovs-appctl -t ovs-vswitchd exit
# ovs-appctl -t ovsdb-server exit
# lsmod | grep openvswi
openvswitch           155648  4

# rmmod  openvswitch
rmmod: ERROR: Module openvswitch is in use
# rmmod -f openvswitch
rmmod: ERROR: could not remove 'openvswitch': Resource temporarily
unavailable
rmmod: ERROR: could not remove module openvswitch: Resource temporarily
unavailable

Regards,
William
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to