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 <[email protected]> de la part de Åke 
Sandgren <[email protected]>
Envoyé : mercredi 29 janvier 2025 09:12
À : [email protected] <[email protected]>
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 <[email protected]> on behalf of Åke 
Sandgren <[email protected]>
Sent: Tuesday, January 28, 2025 12:31
To: [email protected]
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 <[email protected]> on behalf of 
Ramiro Alba Queipo <[email protected]>
Sent: Tuesday, January 28, 2025 10:15
To: [email protected]
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
https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.cttc.upc.edu%2F&data=05%7C02%7Cadegremont%40nvidia.com%7C6e89cb86d1394b15912c08dd403ce76a%7C43083d15727340c1b7db39efd9ccc17a%7C0%7C0%7C638737352549743140%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=G5E5oScfkTv%2FAru8KQEPnbPd7s114ZDgJBv1cOmE6lM%3D&reserved=0<https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.cttc.upc.edu%2F&data=05%7C02%7Cadegremont%40nvidia.com%7C6e89cb86d1394b15912c08dd403ce76a%7C43083d15727340c1b7db39efd9ccc17a%7C0%7C0%7C638737352549764537%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=nl9g%2FVOtL%2FJN8I5BrwGCaVRImDDa9jDJKgC2%2F2Qv%2Bfw%3D&reserved=0><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
[email protected]
https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.lustre.org%2Flistinfo.cgi%2Flustre-discuss-lustre.org&data=05%7C02%7Cadegremont%40nvidia.com%7C6e89cb86d1394b15912c08dd403ce76a%7C43083d15727340c1b7db39efd9ccc17a%7C0%7C0%7C638737352549778577%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=cgyqmmZVZ1o95M5vdzb2%2FMuRkLp4as7COWrxkPy4W08%3D&reserved=0<http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org>
_______________________________________________
lustre-discuss mailing list
[email protected]
https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.lustre.org%2Flistinfo.cgi%2Flustre-discuss-lustre.org&data=05%7C02%7Cadegremont%40nvidia.com%7C6e89cb86d1394b15912c08dd403ce76a%7C43083d15727340c1b7db39efd9ccc17a%7C0%7C0%7C638737352549796692%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=XhQRlm1OA3wXhan62WQZpy5D%2BEJwvYoaPWOk9kB4lYs%3D&reserved=0<http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org>
_______________________________________________
lustre-discuss mailing list
[email protected]
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org

Reply via email to