[lustre-discuss] Can't compile with OpenIB gen2 headers for Rocky 8.10

William Tripp willt at stackhpc.com
Mon Sep 8 03:01:07 PDT 2025


Forgot to mention this was with Lustre 2.15.7, but was also observed with
2.15.6

On Mon, 8 Sept 2025 at 09:31, William Tripp <willt at stackhpc.com> wrote:

> Hi,
>
> Our Lustre build seems to be failing when compiling with DOCA OFED v3.1.0
> after recent kernel updates. Checking to see if anyone else has been
> hitting this or if it's a bug?
>
> Kernel version: 4.18.0-553.69.1.el8_10, last known good version
> was 4.18.0-553.56.1.el8_10
> DOCA version: v3.1.0, also observed with v2.9.1
>
> Running with:
> ./configure --disable-server --with-linux=/usr/src/kernels/*
> --with-o2ib=/usr/src/ofa_kernel/default --disable-maintainer-mode
> --disable-gss-keyring --enable-mpitests=no
> ...
> checking whether to enable tunable backoff TCP support... yes
> checking if Linux kernel has tunable backoff TCP support... no
> checking whether to use Compat RDMA... yes
> checking whether to use any OFED backport headers... no
> checking whether to enable OpenIB gen2 support... no
> configure: error: can't compile with OpenIB gen2 headers under
> /usr/src/ofa_kernel/x86_64/4.18.0-553.el8_10.x86_64
>
> Looking in config.log, there are various issues with broken headers,
> including but not limited to:
>
> In file included from include/linux/blkdev.h:17,
>                  from
> /usr/src/ofa_kernel/x86_64/4.18.0-553.el8_10.x86_64/include/linux/blkdev.h:6,
>                  from include/linux/blk-cgroup.h:23,
>                  from include/linux/writeback.h:15,
>                  from include/linux/memcontrol.h:31,
>                  from include/net/sock.h:58,
>                  from
> /usr/src/ofa_kernel/x86_64/4.18.0-553.el8_10.x86_64/include/net/sock.h:7,
>                  from include/linux/tcp.h:23,
>                  from include/linux/ipv6.h:106,
>                  from include/net/ipv6.h:16,
>                  from
> /usr/src/ofa_kernel/x86_64/4.18.0-553.el8_10.x86_64/include/net/ipv6.h:7,
>                  from
> /usr/src/ofa_kernel/x86_64/4.18.0-553.el8_10.x86_64/include/rdma/ib_addr.h:20,
>                  from
> /usr/src/ofa_kernel/x86_64/4.18.0-553.el8_10.x86_64/include/rdma/rdma_cm.h:12,
>                  from /tmp/lustre-release/build/conftest.c:62:
> include/linux/pagemap.h:553:52: error: unknown type name
> ‘wait_queue_entry_t’; did you mean ‘wait_queue_head_t’?
>  extern void add_page_wait_queue(struct page *page, wait_queue_entry_t
> *waiter);
>                                                     ^~~~~~~~~~~~~~~~~~
>                                                     wait_queue_head_t
> In file included from
> /usr/src/ofa_kernel/x86_64/4.18.0-553.el8_10.x86_64/include/linux/blkdev.h:6,
>                  from include/linux/blk-cgroup.h:23,
>                  from include/linux/writeback.h:15,
>                  from include/linux/memcontrol.h:31,
>                  from include/net/sock.h:58,
>                  from
> /usr/src/ofa_kernel/x86_64/4.18.0-553.el8_10.x86_64/include/net/sock.h:7,
>                  from include/linux/tcp.h:23,
>                  from include/linux/ipv6.h:106,
>                  from include/net/ipv6.h:16,
>                  from
> /usr/src/ofa_kernel/x86_64/4.18.0-553.el8_10.x86_64/include/net/ipv6.h:7,
>                  from
> /usr/src/ofa_kernel/x86_64/4.18.0-553.el8_10.x86_64/include/rdma/ib_addr.h:20,
>                  from
> /usr/src/ofa_kernel/x86_64/4.18.0-553.el8_10.x86_64/include/rdma/rdma_cm.h:12,
>                  from /tmp/lustre-release/build/conftest.c:62:
> include/linux/blkdev.h:174:18: error: field ‘rb_node’ has incomplete type
>    struct rb_node rb_node; /* sort/lookup */
>                   ^~~~~~~
> In file included from include/net/sock.h:58,
>                  from
> /usr/src/ofa_kernel/x86_64/4.18.0-553.el8_10.x86_64/include/net/sock.h:7,
>                  from include/linux/tcp.h:23,
>                  from include/linux/ipv6.h:106,
>                  from include/net/ipv6.h:16,
>                  from
> /usr/src/ofa_kernel/x86_64/4.18.0-553.el8_10.x86_64/include/net/ipv6.h:7,
>                  from
> /usr/src/ofa_kernel/x86_64/4.18.0-553.el8_10.x86_64/include/rdma/ib_addr.h:20,
>                  from
> /usr/src/ofa_kernel/x86_64/4.18.0-553.el8_10.x86_64/include/rdma/rdma_cm.h:12,
>                  from /tmp/lustre-release/build/conftest.c:62:
> include/linux/memcontrol.h:157:18: error: field ‘tree_node’ has incomplete
> type
>   struct rb_node  tree_node; /* RB tree node */
>                   ^~~~~~~~~
> In file included from
> /usr/src/ofa_kernel/x86_64/4.18.0-553.el8_10.x86_64/include/linux/poll.h:6,
>                  from include/net/sock.h:66,
>                  from
> /usr/src/ofa_kernel/x86_64/4.18.0-553.el8_10.x86_64/include/net/sock.h:7,
>                  from include/linux/tcp.h:23,
>                  from include/linux/ipv6.h:106,
>                  from include/net/ipv6.h:16,
>                  from
> /usr/src/ofa_kernel/x86_64/4.18.0-553.el8_10.x86_64/include/net/ipv6.h:7,
>                  from
> /usr/src/ofa_kernel/x86_64/4.18.0-553.el8_10.x86_64/include/rdma/ib_addr.h:20,
>                  from
> /usr/src/ofa_kernel/x86_64/4.18.0-553.el8_10.x86_64/include/rdma/rdma_cm.h:12,
>                  from /tmp/lustre-release/build/conftest.c:62:
> include/linux/poll.h:92:2: error: unknown type name ‘wait_queue_entry_t’
>   wait_queue_entry_t wait;
>   ^~~~~~~~~~~~~~~~~~
> In file included from include/net/route.h:28,
>                  from include/net/ip.h:32,
>                  from
> /usr/src/ofa_kernel/x86_64/4.18.0-553.el8_10.x86_64/include/rdma/ib_addr.h:22,
>                  from
> /usr/src/ofa_kernel/x86_64/4.18.0-553.el8_10.x86_64/include/rdma/rdma_cm.h:12,
>                  from /tmp/lustre-release/build/conftest.c:62:
> include/net/inetpeer.h:37:18: error: field ‘rb_node’ has incomplete type
>   struct rb_node  rb_node;
>                   ^~~~~~~
> In file included from
> /usr/src/ofa_kernel/x86_64/4.18.0-553.el8_10.x86_64/include/linux/interval_tree.h:14,
>                  from include/linux/mmu_notifier.h:10,
>                  from
> /usr/src/ofa_kernel/x86_64/4.18.0-553.el8_10.x86_64/include/linux/mmu_notifier.h:6,
>                  from
> /usr/src/ofa_kernel/x86_64/4.18.0-553.el8_10.x86_64/include/rdma/ib_verbs.h:35,
>                  from
> /usr/src/ofa_kernel/x86_64/4.18.0-553.el8_10.x86_64/include/rdma/ib_addr.h:23,
>                  from
> /usr/src/ofa_kernel/x86_64/4.18.0-553.el8_10.x86_64/include/rdma/rdma_cm.h:12,
>                  from /tmp/lustre-release/build/conftest.c:62:
> include/linux/interval_tree.h:8:17: error: field ‘rb’ has incomplete type
>   struct rb_node rb;
>                  ^~
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20250908/0090b1d9/attachment-0001.htm>


More information about the lustre-discuss mailing list