[LU-15962] ko2iblnd: Unknown symbol __ib_alloc_pd Created: 22/Jun/22  Updated: 01/Oct/22  Resolved: 06/Jul/22

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.16.0, Lustre 2.15.1

Type: Bug Priority: Minor
Reporter: Jian Yu Assignee: Jian Yu
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

After building Lustre with in-kernel OFED, installing ko2iblnd module hit the following errors:

ko2iblnd: disagrees about version of symbol __ib_alloc_pd
ko2iblnd: Unknown symbol __ib_alloc_pd (err -22)
ko2iblnd: disagrees about version of symbol rdma_resolve_addr
ko2iblnd: Unknown symbol rdma_resolve_addr (err -22)
<~snip~>

This is because the in-kernel Module.symvers (which contains the exported symbols) was not added to the symbol path while building Lustre.



 Comments   
Comment by Gerrit Updater [ 22/Jun/22 ]

"Jian Yu <yujian@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/47699
Subject: LU-15962 build: add in-kernel Module.symvers to symbol path
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: c4ba25c4c3ddbb66ddb5a5f0e2c87140a541ec3b

Comment by Gerrit Updater [ 24/Jun/22 ]

"Jian Yu <yujian@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/47760
Subject: LU-15962 build: add in-kernel Module.symvers to symbol path
Project: fs/lustre-release
Branch: b2_15
Current Patch Set: 1
Commit: e75a99096a8441f70f6cad795b91490e003ed078

Comment by Gerrit Updater [ 06/Jul/22 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/47699/
Subject: LU-15962 build: add in-kernel Module.symvers to symbol path
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 1f4aaefe1aae8eb5c75fff446f4dc377e968677f

Comment by Gerrit Updater [ 06/Jul/22 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/47760/
Subject: LU-15962 build: add in-kernel Module.symvers to symbol path
Project: fs/lustre-release
Branch: b2_15
Current Patch Set:
Commit: 204f3f9ce82a7fb4cf52680c0e271158e590ba98

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