Using 3.19

dball@ubuntu:~/openvswitch/ovs$ cat /lib/modules/3.19.0-25-generic/modules.dep 
| grep openvswitch.ko
kernel/net/openvswitch/openvswitch.ko: kernel/lib/libcrc32c.ko
kernel/net/openvswitch/vport-geneve.ko: kernel/net/openvswitch/openvswitch.ko 
kernel/net/ipv4/geneve.ko kernel/net/ipv6/ip6_udp_tunnel.ko 
kernel/net/ipv4/udp_tunnel.ko kernel/lib/libcrc32c.ko
kernel/net/openvswitch/vport-vxlan.ko: kernel/net/openvswitch/openvswitch.ko 
kernel/drivers/net/vxlan.ko kernel/net/ipv6/ip6_udp_tunnel.ko 
kernel/net/ipv4/udp_tunnel.ko kernel/lib/libcrc32c.ko
kernel/net/openvswitch/vport-gre.ko: kernel/net/openvswitch/openvswitch.ko 
kernel/net/ipv4/gre.ko kernel/lib/libcrc32c.ko
extra/vport-lisp.ko: kernel/net/openvswitch/openvswitch.ko 
kernel/lib/libcrc32c.ko
extra/vport-stt.ko: kernel/net/openvswitch/openvswitch.ko 
kernel/lib/libcrc32c.ko








On 3/13/16, 10:22 AM, "dev on behalf of William Tu" 
<dev-boun...@openvswitch.org on behalf of u9012...@gmail.com> wrote:

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

Reply via email to