[LU-17363] make install fails with "ln: failed to create symbolic link 'ko2iblnd.ko': File exists" Created: 14/Dec/23  Updated: 14/Dec/23

Status: Open
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Arshad Hussain Assignee: WC Triage
Resolution: Unresolved Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

I am reporting this as I see this. I will look into this in deep later.

Machine type:

Single node VM clinet/server running 4.18.0-425.3.1.el8_lustre.x86_64

/* Master head is on */

$ git log --format=oneline | head -1
1fceff05d85d41c104b44995ebd3bf4075df4126 LU-17312 tests: skip conf-sanity test_53 in interop

Reproduce:

 

$ sh autogen.sh
$ ./configure
$ make
$ make install
<snip large output>
make[5]: Entering directory '/root/lustre-release/lustre-release/lnet/klnds/in-kernel-o2iblnd'
(cd "/lib/modules/4.18.0-425.3.1.el8_lustre.x86_64/extra/kernel/net/lustre"; \
 ln -s in-kernel-ko2iblnd.ko ko2iblnd.ko)
ln: failed to create symbolic link 'ko2iblnd.ko': File exists

 

From config.log

configure:20050: checking if external o2iblnd needs to use Compat RDMA       
configure:20211: WARNING:                                                  
Auto detection of external O2IB failed. Build of external o2ib disabled.     
configure:20235: result: no    

Possible reason/solution?

Under : lnet/klnds/in-kernel-o2iblnd/autoMakefile.am
Should this be check and then link?
$(LN_S) in-kernel-ko2iblnd$(KMODEXT) ko2iblnd$(KMODEXT))

Generated at Sat Feb 10 03:34:50 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.