LU-18684 and LU-18685 deals with those two problems. Not sure what to do with lustre-tests package building kernel modules though.
________________________________________ From: lustre-discuss <lustre-discuss-boun...@lists.lustre.org> on behalf of Åke Sandgren <ake.sandg...@umu.se> Sent: Wednesday, January 29, 2025 12:16 To: lustre-discuss@lists.lustre.org Subject: Re: [lustre-discuss] Compiling lustre 2.16.1 for Ubuntu 24.04 client Yep, that's the one that changes the behavior. I'll write up a jira bug report and gets some patches uploaded. I'll put the debian/rules problem in a separate case ________________________________________ From: Aurelien Degremont <adegrem...@nvidia.com> Sent: Wednesday, January 29, 2025 10:46 To: Åke Sandgren; lustre-discuss@lists.lustre.org Subject: RE: [lustre-discuss] Compiling lustre 2.16.1 for Ubuntu 24.04 client Hi, It seems that the commit at https://review.whamcloud.com/c/fs/lustre-release/+/54530 likely changed the behavior in version 2.16. Could you try reverting it to confirm and identify the issue? If possible, please consider submitting a fix. Thanks, Aurélien ________________________________ De : lustre-discuss <lustre-discuss-boun...@lists.lustre.org> de la part de Åke Sandgren <ake.sandg...@umu.se> Envoyé : mercredi 29 janvier 2025 09:12 À : lustre-discuss@lists.lustre.org <lustre-discuss@lists.lustre.org> Objet : Re: [lustre-discuss] Compiling lustre 2.16.1 for Ubuntu 24.04 client External email: Use caution opening links or attachments Hi again! I've found the problems. Configure runs kernel related tests even when we have --disable-modules, fix is === diff --git a/config/lustre-build.m4 b/config/lustre-build.m4 index fd62f314f4..57de734200 100644 --- a/config/lustre-build.m4 +++ b/config/lustre-build.m4 @@ -460,7 +460,7 @@ LB_CONFIG_MODULES AS_IF([test x$enable_modules = xno], [enable_server=no]) LB_CONFIG_LDISKFS LB_CONFIG_ZFS -AS_IF([test "x$enable_dist" = xno], [ +AS_IF([test "x$enable_modules" = xyes], [ LB_KABI_LDISKFS LZ_KABI_ZFS LB_KABI_CHECKS === Then EXTRAFLAGS in debian/rules is broken, there are multiple occasions where it just does export EXTRAFLAGS="--disable-tests"; instead of the correct export EXTRAFLAGS="$${EXTRAFLAGS} --disable-tests"; for varying options. And the lustre-tests package builds a kernel module even if we have --disable-modules. That kernel module should only be built as part of a lustre-client-modules package or during dkms building of the modules. So I also removed lustre-tests from debian/control Now I have the packages I want including ustre-client-modules-dkms_2.16.1-1~noble0.1_amd64.deb ________________________________________ From: lustre-discuss <lustre-discuss-boun...@lists.lustre.org> on behalf of Åke Sandgren <ake.sandg...@umu.se> Sent: Tuesday, January 28, 2025 12:31 To: lustre-discuss@lists.lustre.org Subject: Re: [lustre-discuss] Compiling lustre 2.16.1 for Ubuntu 24.04 client Hi! I'm in the process of doing just that. But my usual process for doing this has been "broken" between 2.15.4 and 2.16.1. There seems to be config sections being processed when they shouldn't. I'm trying to build client packages with dkms enabled but without explicit modules, and some of the kernel config tests are being run even without modules enabled. I.e. what I want to do is this configure --enable-dist make dkms-debs but during config (in make dkms-debs) it tries to do lnet kernel and lustre kernel config checks. In my opinion this is wrong and something that. It boils down to configure --enable-client --disable-modules doing the wrong things during configure, i.e. testing for things that are only needed during actual building of the dkms modules. I'll try to sort this out but any help will be useful. ________________________________________ From: lustre-discuss <lustre-discuss-boun...@lists.lustre.org> on behalf of Ramiro Alba Queipo <ramiro.a...@upc.edu> Sent: Tuesday, January 28, 2025 10:15 To: lustre-discuss@lists.lustre.org Subject: [lustre-discuss] Compiling lustre 2.16.1 for Ubuntu 24.04 client Hi all, We need to compile lustre 2.16.1 and produce packages for Ubuntu 24.04 client, as available packages are no compiled with infiniband so ko2iblnd module is not present. We are doubting about using a fixed kernel like 6.8.0-31-generic or using dkms to recompiling on the fly when updating kernel, because of problems that might be raising when compiling with other kernels 6.8.0-XXX-generic. Might we have such a problem? What do you recommend me? Thanks in advance Best regards -- Ramiro Alba Centre Tecnològic de Tranferència de Calor http://www.cttc.upc.edu/<http://www.cttc.upc.edu/><http://www.cttc.upc.edu/> Escola Tècnica Superior d'Enginyeries Industrial i Aeronàutica de Terrassa Colom 11, E-08222, Terrassa, Barcelona, Spain Tel: (+34) 93 739 8928 _______________________________________________ lustre-discuss mailing list lustre-discuss@lists.lustre.org http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org<http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org> _______________________________________________ lustre-discuss mailing list lustre-discuss@lists.lustre.org http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org<http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org> _______________________________________________ lustre-discuss mailing list lustre-discuss@lists.lustre.org http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org _______________________________________________ lustre-discuss mailing list lustre-discuss@lists.lustre.org http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org