Whamcloud - gitweb
LU-15962 build: add in-kernel Module.symvers to symbol path
authorJian Yu <yujian@whamcloud.com>
Fri, 24 Jun 2022 21:40:45 +0000 (14:40 -0700)
committerAndreas Dilger <adilger@whamcloud.com>
Mon, 27 Jun 2022 02:14:34 +0000 (02:14 +0000)
commitda75d43e140ae228ff2542957d37d54c007074f6
tree4e0fcba8537213e6c9703675efa2496c4a7af8b5
parenta2727ba19b34eb3e34b9884ddfac1f5a25167a85
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.

Lustre-change: https://review.whamcloud.com/47699
Lustre-commit: TBD (from c4ba25c4c3ddbb66ddb5a5f0e2c87140a541ec3b)

Test-Parameters: trivial

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