[Lustre-discuss] o2ib module prevents shutdown

Christopher J. Morrone morrone2 at llnl.gov
Tue Apr 15 10:32:11 PDT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Is the ptlrpc module still loaded?  Off the top of my head, I think that
is the module that is holding the reference.

It is normal for the ko2iblnd to have a ref count of 1, but no "Used by"
modules listed.

Michael Sternberg wrote:
> Hello,
> 
> Not sure if this is the right forum:  I'm encountering difficulties  
> with o2ib which prevents an LNET shutdown from proceeding:
> 
> 	Unloading OpenIB kernel modules:NET: Unregistered protocal family 27
> 	Failed to unload rdma_cm
> 	Failed to unload rdma_cm
> 	Failed to unload ib_cm
> 	Failed to unload ib_sa
> 	LustreError: 131-3: Received notification of device removal
> 	Please shutdown LNET to allow this to proceed
> 
> This happens on server and client nodes alike.  We run RHEL5.1 and  
> OFED 1.2, kernel 2.6.18-53.1.13.el5_lustre.1.6.4.3smp from CFS/Sun.
> 
> I narrowed it down to module ko2iblnd, which I attempt to remove  
> first (added to PRE_UNLOAD_MODULES in /etc/init.d/openibd), but it  
> doesn't work.  Strangely, in "lsmod" the use count of the module is  
> one, but I don't see where it's used.
> 
> 
> # umount /mnt/lustre
> # ifconfig ib0 down
> # modprobe -r ko2iblnd
> FATAL: Module ko2iblnd is in use.
> # lsmod | grep ko2
> ko2iblnd              143136  1
> lnet                  258088  5 lustre,ksocklnd,ko2iblnd,ptlrpc,obdclass
> libcfs                189784  12  
> osc,mgc,lustre,lov,lquota,mdc,ksocklnd,ko2iblnd,ptlrpc,obdclass,lnet,lvf 
> s
> rdma_cm                65940  4 ko2iblnd,ib_iser,rdma_ucm,ib_sdp
> ib_core                88576  16  
> ko2iblnd,ib_iser,rdma_ucm,ib_ucm,ib_srp,ib_sdp,rdma_cm,ib_cm,iw_cm,ib_lo 
> cal_sa,ib_ipoib,ib_sa,ib_uverbs,ib_umad,ib_mthca,ib_mad
> 
> 
> I'd be grateful for any hints.
> 
> 
> 
> Regards, Michael
> 
> 
> 
> _______________________________________________
> Lustre-discuss mailing list
> Lustre-discuss at lists.lustre.org
> http://lists.lustre.org/mailman/listinfo/lustre-discuss
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIBOabg40IeHfy1xIRCkpYAJ9d8nEdNamRfCKC0FNUoBvmkxtUSwCgiZxV
vwpAMfvM0G2U0Yj+cleKlU0=
=72Vo
-----END PGP SIGNATURE-----



More information about the lustre-discuss mailing list