[DRBD-user] Building DRBD9 on RHEL8

Nishchal Nagpal nishchal.n at gmail.com
Wed Mar 29 12:21:00 CEST 2023


Hello Team,

I am trying build DRBD 9 on RHEL 8. But i am getting error mentioned in
link below:
https://lists.linbit.com/pipermail/drbd-user/2019-January/024762.html
I couldn't find any solution for this issue. I am stuck here can you please
provide your inputs how to proceed from here. Below are the error logs.

















































































*patching file drbd_kref_debug.cpatching file drbd_interval.cpatching file
drbd_debugfs.cpatching file drbd_dax_pmem.cpatching file
drbd_bitmap.cpatching file drbd_actlog.cAt main.c:160:- SSL
error:02001002:system library:fopen:No such file or directory:
crypto/bio/bss_file.c:69- SSL error:2006D080:BIO routines:BIO_new_file:no
such file: crypto/bio/bss_file.c:76sign-file: certs/signing_key.pem: No
such file or directoryAt main.c:160:- SSL error:02001002:system
library:fopen:No such file or directory: crypto/bio/bss_file.c:69- SSL
error:2006D080:BIO routines:BIO_new_file:no such file:
crypto/bio/bss_file.c:76sign-file: certs/signing_key.pem: No such file or
directoryAt main.c:160:- SSL error:02001002:system library:fopen:No such
file or directory: crypto/bio/bss_file.c:69- SSL error:2006D080:BIO
routines:BIO_new_file:no such file: crypto/bio/bss_file.c:76sign-file:
certs/signing_key.pem: No such file or directorydepmod: WARNING: could not
open
/scratchpad/workdirs/root/build/RPM/BUILDROOT/drbd-9.23.1-1prerel0.69450.x86_64/lib/modules/4.18.0-425.3.1.el8.x86_64/modules.order:
No such file or directorydepmod: WARNING:
/scratchpad/workdirs/root/build/RPM/BUILDROOT/drbd-9.23.1-1prerel0.69450.x86_64/lib/modules/4.18.0-425.3.1.el8.x86_64/extra/drbd/drbd_transport_rdma.ko
needs unknown symbol __ib_alloc_pddepmod: WARNING:
/scratchpad/workdirs/root/build/RPM/BUILDROOT/drbd-9.23.1-1prerel0.69450.x86_64/lib/modules/4.18.0-425.3.1.el8.x86_64/extra/drbd/drbd_transport_rdma.ko
needs unknown symbol rdma_resolve_addrdepmod: WARNING:
/scratchpad/workdirs/root/build/RPM/BUILDROOT/drbd-9.23.1-1prerel0.69450.x86_64/lib/modules/4.18.0-425.3.1.el8.x86_64/extra/drbd/drbd_transport_rdma.ko
needs unknown symbol rdma_rejectdepmod: WARNING:
/scratchpad/workdirs/root/build/RPM/BUILDROOT/drbd-9.23.1-1prerel0.69450.x86_64/lib/modules/4.18.0-425.3.1.el8.x86_64/extra/drbd/drbd_transport_rdma.ko
needs unknown symbol rdma_disconnectdepmod: WARNING:
/scratchpad/workdirs/root/build/RPM/BUILDROOT/drbd-9.23.1-1prerel0.69450.x86_64/lib/modules/4.18.0-425.3.1.el8.x86_64/extra/drbd/drbd_transport_rdma.ko
needs unknown symbol __rdma_create_kernel_iddepmod: WARNING:
/scratchpad/workdirs/root/build/RPM/BUILDROOT/drbd-9.23.1-1prerel0.69450.x86_64/lib/modules/4.18.0-425.3.1.el8.x86_64/extra/drbd/drbd_transport_rdma.ko
needs unknown symbol rdma_resolve_routedepmod: WARNING:
/scratchpad/workdirs/root/build/RPM/BUILDROOT/drbd-9.23.1-1prerel0.69450.x86_64/lib/modules/4.18.0-425.3.1.el8.x86_64/extra/drbd/drbd_transport_rdma.ko
needs unknown symbol rdma_bind_addrdepmod: WARNING:
/scratchpad/workdirs/root/build/RPM/BUILDROOT/drbd-9.23.1-1prerel0.69450.x86_64/lib/modules/4.18.0-425.3.1.el8.x86_64/extra/drbd/drbd_transport_rdma.ko
needs unknown symbol rdma_create_qpdepmod: WARNING:
/scratchpad/workdirs/root/build/RPM/BUILDROOT/drbd-9.23.1-1prerel0.69450.x86_64/lib/modules/4.18.0-425.3.1.el8.x86_64/extra/drbd/drbd_transport_rdma.ko
needs unknown symbol rdma_listendepmod: WARNING:
/scratchpad/workdirs/root/build/RPM/BUILDROOT/drbd-9.23.1-1prerel0.69450.x86_64/lib/modules/4.18.0-425.3.1.el8.x86_64/extra/drbd/drbd_transport_rdma.ko
needs unknown symbol rdma_destroy_qpdepmod: WARNING:
/scratchpad/workdirs/root/build/RPM/BUILDROOT/drbd-9.23.1-1prerel0.69450.x86_64/lib/modules/4.18.0-425.3.1.el8.x86_64/extra/drbd/drbd_transport_rdma.ko
needs unknown symbol __ib_create_cqdepmod: WARNING:
/scratchpad/workdirs/root/build/RPM/BUILDROOT/drbd-9.23.1-1prerel0.69450.x86_64/lib/modules/4.18.0-425.3.1.el8.x86_64/extra/drbd/drbd_transport_rdma.ko
needs unknown symbol ib_destroy_cq_userdepmod: WARNING:
/scratchpad/workdirs/root/build/RPM/BUILDROOT/drbd-9.23.1-1prerel0.69450.x86_64/lib/modules/4.18.0-425.3.1.el8.x86_64/extra/drbd/drbd_transport_rdma.ko
needs unknown symbol rdma_connectdepmod: WARNING:
/scratchpad/workdirs/root/build/RPM/BUILDROOT/drbd-9.23.1-1prerel0.69450.x86_64/lib/modules/4.18.0-425.3.1.el8.x86_64/extra/drbd/drbd_transport_rdma.ko
needs unknown symbol ib_modify_qpdepmod: WARNING:
/scratchpad/workdirs/root/build/RPM/BUILDROOT/drbd-9.23.1-1prerel0.69450.x86_64/lib/modules/4.18.0-425.3.1.el8.x86_64/extra/drbd/drbd_transport_rdma.ko
needs unknown symbol rdma_destroy_iddepmod: WARNING:
/scratchpad/workdirs/root/build/RPM/BUILDROOT/drbd-9.23.1-1prerel0.69450.x86_64/lib/modules/4.18.0-425.3.1.el8.x86_64/extra/drbd/drbd_transport_rdma.ko
needs unknown symbol rdma_acceptdepmod: WARNING:
/scratchpad/workdirs/root/build/RPM/BUILDROOT/drbd-9.23.1-1prerel0.69450.x86_64/lib/modules/4.18.0-425.3.1.el8.x86_64/extra/drbd/drbd_transport_rdma.ko
needs unknown symbol ib_dealloc_pd_userdepmod: WARNING:
/scratchpad/workdirs/root/build/RPM/BUILDROOT/drbd-9.23.1-1prerel0.69450.x86_64/lib/modules/4.18.0-425.3.1.el8.x86_64/extra/drbd/drbd.ko
needs unknown symbol crc32cdepmod: WARNING: could not open
/scratchpad/workdirs/root/build/RPM/BUILDROOT/drbd-9.23.1-1prerel0.69450.x86_64/lib/modules/4.18.0-425.3.1.el8.x86_64/modules.builtin:
No such file or directoryNishchal kernel is
kernel-core-4.18.0-425.3.1.el8.x86_64Preparing kernel sources for
kernel-core-4.18.0-425.3.1.el8.x86_64ERROR: Kernel devel name is:
 4.18.0-425.3.1.el8.x86_64Doing lazy shadow tree...shadow tree already
exists...Removing compat patchespatching file ./drbd_int.hpatching file
drbd-headers/linux/genl_magic_struct.hpatching file
drbd-headers/linux/genl_magic_func.hpatching file
drbd-headers/linux/drbd.hpatching file
drbd-headers/linux/drbd_genl_api.hpatching file kref_debug.cpatching file
drbd_transport_template.cpatching file drbd_transport_tcp.cpatching file
drbd_transport_rdma.cpatching file drbd_transport.cpatching file
drbd_state.cpatching file drbd_sender.cpatching file drbd_req.cpatching
file drbd_receiver.cpatching file drbd_proc.cpatching file
drbd_nl.cpatching file drbd_nla.cpatching file drbd_main.cpatching file
drbd_kref_debug.cpatching file drbd_interval.cpatching file
drbd_debugfs.cpatching file drbd_dax_pmem.cpatching file
drbd_bitmap.cpatching file
drbd_actlog.c./drbd-kernel-compat/gen_compat_patch.sh: line 12: spatch:
command not found./drbd-kernel-compat/gen_compat_patch.sh: line 45: hash:
spatch: not found  INFO: spatch-as-a-service was disabled by your package
maintainer ($SPAAS = false). Install a suitable version  of coccinelle
(>1.0.8) or allow spatch-as-a-service by  setting $SPAAS = trueERROR: no
suitable spatch found in $PATH. Install package 'coccinelle'!make[4]: ***
[Makefile:178:
drbd-kernel-compat/cocci_cache/eefa15f87ca6481caa94489fb6dcb74e/compat.patch]
Error 1make[3]: ***
[/scratchpad/workdirs/root/build/RPM/BUILD/drbd-9.23.1/drbd-9.23.1/drbd/Kbuild:124:
/scratchpad/workdirs/root/build/RPM/BUILD/drbd-9.23.1/drbd-9.23.1/drbd/drbd-kernel-compat/compat.patch]
Error 2make[2]: *** [Makefile:1585:
_module_/scratchpad/workdirs/root/build/RPM/BUILD/drbd-9.23.1/drbd-9.23.1/drbd]
Error 2ERROR: Could not build kernel module!ERROR:     CMD:
 '/usr/bin/make'  '-j'  '1'  '-C'
 '/scratchpad/workdirs/root/src/kernels/4.18.0-425.3.1.el8.x86_64'
 'SUBDIRS=/scratchpad/workdirs/root/build/RPM/BUILD/drbd-9.23.1/drbd-9.23.1/drbd'
 'modules'ERROR: SRC DIR:
 /scratchpad/workdirs/root/build/RPM/BUILD/drbd-9.23.1/drbd-9.23.1/drbdERROR:
 KERNEL:  kernel-core-4.18.0-425.3.1.el8.x86_64*

-- 
Regards,
Nishchal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20230329/e5566111/attachment.htm>


More information about the drbd-user mailing list