[LU-8401] modprobe: ERROR: could not insert 'lnet': Unknown symbol in module Created: 14/Jul/16  Updated: 08/Sep/17  Resolved: 06/Aug/16

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.9.0

Type: Bug Priority: Minor
Reporter: Dmitry Eremin (Inactive) Assignee: Dmitry Eremin (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Duplicate
Related
is related to LU-7983 Issues building Lustre 2.5.x, 2.6 and... Resolved
is related to LU-8352 Mellanox/OFED build breakage due to f... Resolved
is related to LU-6763 redefinition of sk_sleep when using e... Resolved
is related to LU-7527 Configure errors with OFED 3.18-1, ZF... Resolved
is related to LU-8322 Build issues with master (2.9), OFED ... Closed
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

If Lustre was compiled with external OFED but then OFED was removed two modules lnet.ko and ksocklnd.ko will not be able to load but actually they don't depend from OFED functionality.



 Comments   
Comment by Gerrit Updater [ 14/Jul/16 ]

Dmitry Eremin (dmitry.eremin@intel.com) uploaded a new patch: http://review.whamcloud.com/21312
Subject: LU-8401 lnet: Weakly resolve the symbol dependency on compat
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: f1397fa1e6e865eac89a82c39c47bf2e8d2efa9c

Comment by Dmitry Eremin (Inactive) [ 14/Jul/16 ]

The second approach can be remove dependency on OFED headers from all code except o2iblnd.
The LNet layer shouldn't refer to anything in the RDMA world directly.
All OFED dependent code should be localized into o2iblnd.

Comment by Gerrit Updater [ 14/Jul/16 ]

Dmitry Eremin (dmitry.eremin@intel.com) uploaded a new patch: http://review.whamcloud.com/21317
Subject: LU-8401 lnet: remove dependency on OFED headers from lnet
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 87263604fb714b86b6c13a07aa2e630ce03f1dd2

Comment by James A Simmons [ 18/Jul/16 ]

I wonder if this patch would resolve the issue of LU-8352.

Comment by Dmitry Eremin (Inactive) [ 18/Jul/16 ]

I think - no. The header lnet/klnds/o2iblnd/o2iblnd.h:81 still have "#include <libcfs/libcfs.h>".

Comment by Chris Horn [ 01/Aug/16 ]

The http://review.whamcloud.com/21317 patch resolves the issue I reported in LU-8322.

Comment by Gerrit Updater [ 06/Aug/16 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/21317/
Subject: LU-8401 lnet: remove dependency on OFED headers from lnet
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 703ebd87c1705810b8f8eb0f8f25ebef11bde8fc

Comment by Peter Jones [ 06/Aug/16 ]

Landed for 2.9

Comment by Atul Yadav [ 11/Oct/16 ]

Hi Team,

Any update on lustre 2.9.0 release date with mofed.

Thank You
Atul Yadav

Generated at Sat Feb 10 02:17:13 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.