[openib-general] sdp: cant unload ib_ipoib module
Tom Duffy
tduffy at sun.com
Tue Aug 2 11:36:54 PDT 2005
On Tue, 2005-08-02 at 16:08 +0300, Hal Rosenstock wrote:
> This was reported back a while ago. The simplest scenario I have found to reproduce this is as follows:
>
> After using SDP, and unload SDP and then unload IPoIB and
> got the following:
>
> unregister_netdevice: waiting for ib0 to become free. Usage count = 1
>
> The simplest way I found to recreate this is:
> 1. Bring up IPoIB and then SDP
> 2. Run tcp.aio.x -t <local IPoIB address>
> (no server/receiver)
> 3. Wait for connection refused
> 4. Unload SDP and then IPoIB
[root at flopteron2 ~]# modprobe ib_ipoib
ip_tables: (C) 2000-2002 Netfilter core team
[root at flopteron2 ~]# ifconfig ib0 192.168.0.26 up
[root at flopteron2 ~]# ping 192.168.0.0 -b
WARNING: pinging broadcast address
PING 192.168.0.0 (192.168.0.0) 56(84) bytes of data.
64 bytes from 192.168.0.26: icmp_seq=0 ttl=64 time=0.057 ms
64 bytes from 192.168.0.233: icmp_seq=0 ttl=64 time=0.159 ms (DUP!)
<-- snip -->
[root at flopteron2 rc]# modprobe ib_sdp
[root at flopteron2 ~]# ./ttcp -t -l 65536 -n 100000 -a 20 localhost -p
5002
ttcp-t: buflen = 65536 nbuf = 100000 align = 16384/0 port = 5002
localhost
ttcp-t: socket
ttcp-t: connect: Connection refused
errno=111
[root at flopteron2 ~]# rmmod ib_sdp
[root at flopteron2 ~]# rmmod ib_ipoib
[root at flopteron2 ~]#
I can even shoot stuff over the wire and not have unload issues.
What is the problem? Perhaps you need my sdp_inet_port_put() patch?
-tduffy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20050802/09f77596/attachment.sig>
More information about the general
mailing list