beegfs-client not building on RHEL 9.4?

195 views
Skip to first unread message

Mats Kronberg

unread,
May 28, 2024, 6:28:15 AMMay 28
to beegfs-user
It seems that beegfs-client will not build on RHEL 9.4. Known problem?

[root@n3 ~]# /etc/init.d/beegfs-client rebuild
- BeeGFS module autobuild
$OFED_INCLUDE_PATH = []
$OFED_INCLUDE_PATH = []
$OFED_INCLUDE_PATH = []
Building beegfs client module
feature detection gives: -DKERNEL_HAS_SCHED_SIG_H -DKERNEL_HAS_LINUX_STDARG_H -DKERNEL_HAS_STATX -DKERNEL_HAS_KREF_READ -DKERNEL_HAS_FILE_DENTRY -DKERNEL_HAS_SUPER_SETUP_BDI_NAME -DKERNEL_HAS_KERNEL_READ -DKERNEL_HAS_SKWQ_HAS_SLEEPER -DKERNEL_WAKE_UP_SYNC_KEY_HAS_3_ARGUMENTS -DKERNEL_HAS_IOV_ITER_KVEC_NO_TYPE_FLAG_IN_DIRECTION -DKERNEL_HAS_PROC_OPS -DKERNEL_HAS_SOCKPTR_T -DKERNEL_HAS_SOCK_SETSOCKOPT_SOCKPTR_T_PARAM -DKERNEL_HAS_TIME64 -DKERNEL_HAS_KTIME_GET_TS64 -DKERNEL_HAS_KTIME_GET_REAL_TS64 -DKERNEL_HAS_KTIME_GET_COARSE_REAL_TS64 -DKERNEL_HAS_SETATTR_PREPARE -DKERNEL_HAS_POSIX_GET_ACL -DKERNEL_HAS_SET_ACL -DKERNEL_HAS_IDMAPPED_MOUNTS -DKERNEL_HAS_XATTR_HANDLERS_INODE_ARG -DKERNEL_HAS_CPU_IN_THREAD_INFO
In file included from /opt/beegfs/src/client/client_module_7/build/../source/os/iov_iter.c:1:
/opt/beegfs/src/client/client_module_7/build/../source/os/iov_iter.h:31:2: error: #error iov_iter_iovec() is a required feature
   31 | #error iov_iter_iovec() is a required feature
      |  ^~~~~
make[3]: *** [scripts/Makefile.build:299: /opt/beegfs/src/client/client_module_7/build/../source/os/iov_iter.o] Error 1
make[2]: *** [Makefile:1934: /opt/beegfs/src/client/client_module_7/build/../source] Error 2
make[1]: *** [Makefile:202: module] Error 2
make: *** [AutoRebuild.mk:34: auto_rebuild] Error 2
[root@n3 ~]#
[root@n3 ~]# uname -r
5.14.0-427.16.1.el9_4.x86_64


Guan Xin

unread,
May 29, 2024, 5:31:55 AMMay 29
to beegfs-user
IIRC the elrepo kernel-lt for RHEL9 is Linux 6.1.x, with which beegfs-client is compatible.

Guan

Mats Kronberg

unread,
May 29, 2024, 6:54:12 AMMay 29
to beegfs-user
On Wednesday, May 29, 2024 at 11:31:55 AM UTC+2 Guan Xin wrote:
IIRC the elrepo kernel-lt for RHEL9 is Linux 6.1.x, with which beegfs-client is compatible.

Thanks for that info, but in this case we need to run the stock RHEL kernel.
 

Thomas Rattei

unread,
May 30, 2024, 11:53:39 AMMay 30
to beegfs-user
Same on our side. We have updated nodes to 9.4 but kept the last 9.3 kernel 5.14.0-362.24.1.0.1.el9_3. This workaround works stable so far.
However, we would appreciate a new release of the beegfs client that compiles on 9.4.
Best, Thomas

Paolo Oliveri

unread,
Jul 2, 2024, 6:01:34 PM (3 days ago) Jul 2
to beegfs-user
Hello,
to make the client working with RHEL 9.4 kernel is sufficient to comment or remove:

#ifndef KERNEL_HAS_IOV_ITER_IOVEC
#error iov_iter_iovec() is a required feature
#endif

from
/opt/beegfs/src/client/client_module_7/source/os/iov_iter.h

and then execute

/etc/init.d/beegfs-client rebuild

Paolo Oliveri
Reply all
Reply to author
Forward
0 new messages