beeGFS client and ubuntu 22.04.4

69 views
Skip to first unread message

Dylan McReynolds

unread,
Jul 9, 2024, 5:42:20 PM7/9/24
to beegfs-user
Hello,

After upgrading my operating system to Ubuntu 22.04.4, the client won't startup. Doing a rebuild manually I get the error below. 

Any idea what the best path is?

Thanks.
```
./include/linux/minmax.h:45:25: note: in expansion of macro ‘__careful_cmp’
   45 | #define min(x, y)       __careful_cmp(x, y, <)
      |                         ^~~~~~~~~~~~~
/opt/beegfs/src/client/client_module_7/build/../source/common/net/sock/NetworkInterfaceCard.c:123:14: note: in expansion of macro ‘min’
  123 |              min(sizeof(ifr.ifr_hwaddr.sa_data), (size_t) dev->addr_len) );
      |              ^~~
./include/linux/minmax.h:36:9: error: first argument to ‘__builtin_choose_expr’ not a constant
   36 |         __builtin_choose_expr(__safe_cmp(x, y), \
      |         ^~~~~~~~~~~~~~~~~~~~~
./include/linux/minmax.h:45:25: note: in expansion of macro ‘__careful_cmp’
   45 | #define min(x, y)       __careful_cmp(x, y, <)
      |                         ^~~~~~~~~~~~~
/opt/beegfs/src/client/client_module_7/build/../source/common/net/sock/NetworkInterfaceCard.c:123:14: note: in expansion of macro ‘min’
  123 |              min(sizeof(ifr.ifr_hwaddr.sa_data), (size_t) dev->addr_len) );
      |              ^~~
make[2]: *** [scripts/Makefile.build:297: /opt/beegfs/src/client/client_module_7/build/../source/common/net/sock/NetworkInterfaceCard.o] Error 1
make[1]: *** [Makefile:1911: /opt/beegfs/src/client/client_module_7/build/../source] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.15.0-112-generic'
make: *** [Makefile:159: module] Error 2

```

Tore H. Larsen

unread,
Jul 11, 2024, 4:17:55 PM7/11/24
to fhgfs...@googlegroups.com

Make sure to install 

# apt install linux-headers-5.15.0-112 linux-headers-5.15.0-112-generic

and verify that /etc/alternatives/ofa_kernel_headers link is correct

root@n019:/etc/alternatives# ll ofa_kernel_headers
lrwxrwxrwx 1 root root 45 Jun 30 15:54 ofa_kernel_headers -> /usr/src/ofa_kernel/x86_64/5.15.0-112-generic/



--
Kind Regards / Mvh,
Tore HLarsen

Chief Research Engineer HPC                                      Email:  to...@simula.no

Simula Research Laboratory - HPC department        Mobile: +47 918 33 670

Kristian Augusts gate 23, 0164 Oslo, Norway


--
You received this message because you are subscribed to the Google Groups "beegfs-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fhgfs-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fhgfs-user/4af967e8-c4f7-4c0f-9ffa-5dafdecc341bn%40googlegroups.com.

Seye Kanes

unread,
Jul 11, 2024, 4:17:58 PM7/11/24
to beegfs-user
Hello

Same issue for me on ubuntu 22.04.4. I have quite a bit stacktrace; fails for v 7.4.3 and 7.4.4 both.
the machine is running /lib/modules/6.5.0-21-generic 
I noticed that on another machine running lib/modules/5.15.0-113-generic i can build the client just fine, although the mount command fails anyway. 
bgfs-client-build-output.txt
Message has been deleted

Jeff Haferman

unread,
Jul 11, 2024, 4:18:03 PM7/11/24
to beegfs-user
Which version of beeGFS?

Jeff Haferman

unread,
Jul 11, 2024, 6:24:38 PM7/11/24
to beegfs-user
Interesting... I'm on Ubuntu 20.04 and (with beegfs 7.2.4) and just upgraded the kernel from 5.4.0-181-generic to 5.4.0-189-generic and got a client build error in NetworkInterfaceCard.c also (slightly different message). I've reverted to 181 (and pinned it) and the build goes fine. If you can revert on 22.04.4 I would go that route until someone can figure it out.

On Tuesday, July 9, 2024 at 2:42:20 PM UTC-7 Dylan McReynolds wrote:
Reply all
Reply to author
Forward
0 new messages