Whamcloud - gitweb
LU-15962 build: add in-kernel Module.symvers to symbol path 99/47699/2
authorJian Yu <yujian@whamcloud.com>
Wed, 22 Jun 2022 18:52:45 +0000 (11:52 -0700)
committerOleg Drokin <green@whamcloud.com>
Wed, 6 Jul 2022 03:34:54 +0000 (03:34 +0000)
commit1f4aaefe1aae8eb5c75fff446f4dc377e968677f
tree1b0b8c53a3b642e61d61b69c69fdcb3d1c52a9f1
parentf21b9441275bd0d8b0d56cf8441aa67bede37ddc
LU-15962 build: add in-kernel Module.symvers to symbol path

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)

Those exported symbols are contained in in-kernel Module.symvers,
which should be added to the symbol path KBUILD_EXTRA_SYMBOLS.

Test-Parameters: trivial

Change-Id: Ic30caa7079af00a452ea24e7e982a856874af702
Signed-off-by: Jian Yu <yujian@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/47699
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Yang Sheng <ys@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/autoconf/lustre-lnet.m4