Hi Tom, On Tue, 2005-08-02 at 14:36, Tom Duffy wrote: > 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 > > [EMAIL PROTECTED] ~]# modprobe ib_ipoib > ip_tables: (C) 2000-2002 Netfilter core team > [EMAIL PROTECTED] ~]# ifconfig ib0 192.168.0.26 up > [EMAIL PROTECTED] ~]# 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 --> > [EMAIL PROTECTED] rc]# modprobe ib_sdp > [EMAIL PROTECTED] ~]# ./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 > [EMAIL PROTECTED] ~]# rmmod ib_sdp > [EMAIL PROTECTED] ~]# rmmod ib_ipoib > [EMAIL PROTECTED] ~]# > > I can even shoot stuff over the wire and not have unload issues. > > What is the problem?
Not sure why it doesn't occur for you. > Perhaps you need my sdp_inet_port_put() patch? Yes, this was from before that patch but I thought that patch was to resolve an oops with port reuse. I don't see the relation between the two. Is this not the case ? -- Hal _______________________________________________ openib-general mailing list [email protected] http://openib.org/mailman/listinfo/openib-general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
