Hi, It seems to me that the following sequence is a bit problematic; I am running it on fedora 20:
modprobe team teamd -d then kill -9 <teamdPid> (teamdPid is of course the daemon pid) and then:
rmmod team gives rmmod: ERROR: Module team is in use by: team_mode_roundrobin
but also: 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 ?
regards, Kevin
Wed, May 21, 2014 at 08:04:45PM CEST, wkevils@gmail.com wrote:
Hi, It seems to me that the following sequence is a bit problematic; I am running it on fedora 20:
modprobe team teamd -d then kill -9 <teamdPid> (teamdPid is of course the daemon pid) and then:
rmmod team gives rmmod: ERROR: Module team is in use by: team_mode_roundrobin
but also: 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 del" and try to remove the module again.
regards, Kevin _______________________________________________ libteam mailing list libteam@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/libteam
On Thu, May 22, 2014 at 08:58:02AM +0200, Jiri Pirko wrote:
Wed, May 21, 2014 at 08:04:45PM CEST, wkevils@gmail.com wrote:
Hi, It seems to me that the following sequence is a bit problematic; I am running it on fedora 20:
modprobe team teamd -d then kill -9 <teamdPid> (teamdPid is of course the daemon pid) and then:
rmmod team gives rmmod: ERROR: Module team is in use by: team_mode_roundrobin
but also: 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 del" 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.
fbl
Hi
the device stays in the system. Can you see
it by "ip link" command?
Yes
Also, please try to remove if by "ip link del" and try to remove the module again.
After "ip link del team0" rmmod team_mode_roundrobin rmmod team
succeed.
Regads, Kevin
On Thu, May 22, 2014 at 9:58 AM, Jiri Pirko jiri@resnulli.us wrote:
Wed, May 21, 2014 at 08:04:45PM CEST, wkevils@gmail.com wrote:
Hi, It seems to me that the following sequence is a bit problematic; I am running it on fedora 20:
modprobe team teamd -d then kill -9 <teamdPid> (teamdPid is of course the daemon pid) and then:
rmmod team gives rmmod: ERROR: Module team is in use by: team_mode_roundrobin
but also: 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 del" and try to remove the module again.
regards, Kevin _______________________________________________ libteam mailing list libteam@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/libteam
libteam@lists.fedorahosted.org