[openib-general] Reference counting for IPoIB kernel module

Ramachandra K rkuchimanchi at silverstorm.com
Thu Aug 17 00:26:52 PDT 2006


Hi,

I have noticed that even though the IPoIB interface is up and some 
application (ping, ib_read_bw etc) is using this interface, I can remove
the ib_ipoib module.

While ping was running, I did a "rmmod ib_ipoib" which successfully 
removes the module and ping gives an error. (see below)

Shouldn't there be some kind of reference counting that would not allow
the ib_ipoib module to be removed while the IPoIB interfaces are being
used ?

Regards,
Ram

[root at sst21 b]# ping -Iib0 172.21.50.220
PING 172.21.50.220 (172.21.50.220) from 172.21.50.221 ib0: 56(84) bytes 
of data.
64 bytes from 172.21.50.220: icmp_seq=0 ttl=64 time=0.125 ms
64 bytes from 172.21.50.220: icmp_seq=1 ttl=64 time=0.063 ms
64 bytes from 172.21.50.220: icmp_seq=2 ttl=64 time=0.045 ms
64 bytes from 172.21.50.220: icmp_seq=3 ttl=64 time=0.048 ms
64 bytes from 172.21.50.220: icmp_seq=4 ttl=64 time=0.047 ms
64 bytes from 172.21.50.220: icmp_seq=5 ttl=64 time=0.058 ms
64 bytes from 172.21.50.220: icmp_seq=6 ttl=64 time=0.049 ms
ping: sendmsg: No such device
ping: sendmsg: No such device
ping: sendmsg: No such device











More information about the general mailing list