On Thu, May 22, 2014 at 08:58:02AM +0200, Jiri Pirko wrote:
Wed, May 21, 2014 at 08:04:45PM CEST, wkevils(a)gmail.com wrote:
>It seems to me that the following sequence is a bit problematic; I am
>running it on fedora 20:
>kill -9 <teamdPid>
>(teamdPid is of course the daemon pid)
>rmmod: ERROR: Module team is in use by: team_mode_roundrobin
>rmmod: ERROR: Module team_mode_roundrobin is in use
>Any ideas ? it seems to me that this is something which should not happen.
>Or am I missing something ?
I will investigate this further.
When you kill team with -9, the device stays in the system. Can you see
it by "ip link" command? Also, please try to remove if by "ip link
and try to remove the module again.
Indeed, killing the daemon doesn't kill the device which still uses
the kernel modules, so you can't remove them.
You need to delete the team device as well using 'ip link del' as
suggested by Jiri Pirko, then remove the modules.