<div dir="ltr">The kernel is 5.14.0-362.24.1.el9_3. I ended up getting updated source files from DDN support for lustre-2.14.0_ddn168, & lustre-2.14.0_ddn154 in addition to already having the older lustre-2.14.0_ddn136.<div><br></div><div>Interestingly enough, based on the <a href="https://wiki.lustre.org/Lustre_with_ZFS_Install">Lustre compile instructions with ZFS</a>, , I used <font face="monospace">./configure --disable-ldiskfs --disable-server</font>. I got ALL of them to compile with that and the running <font face="monospace">make rpms</font>. I haven't tested the RPMs yet but wanted to share.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Sep 17, 2024 at 12:37 AM Andreas Dilger <<a href="mailto:adilger@ddn.com">adilger@ddn.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
What client distro/kernel are you using? Typically, if it is a newer kernel (e.g. Ubuntu24.04) you will need to get a newer version of the client to build with that kernel. <br id="m_1397054305509812544lineBreakAtBeginningOfMessage">
<div><br>
<blockquote type="cite">
<div>On Sep 16, 2024, at 13:37, Rob Kudyba <<a href="mailto:rk3199@columbia.edu" target="_blank">rk3199@columbia.edu</a>> wrote:</div>
<br>
<div>
<div>
<table border="0" cellspacing="0" cellpadding="0" width="100%" style="background:revert;color:revert;direction:revert;font-size:revert;height:revert;letter-spacing:revert;line-height:revert;margin:revert;opacity:revert;outline:revert;overflow:revert;padding:revert;text-align:revert;text-indent:revert;text-orientation:revert;text-overflow:revert;text-transform:revert;vertical-align:revert;white-space:revert;word-break:revert;word-spacing:revert;writing-mode:revert;zoom:revert;border:0px;display:table;width:100%;table-layout:fixed;float:none;border-spacing:0px" align="left">
<tbody style="background:revert;border:revert;color:revert;direction:revert;font-size:revert;height:revert;letter-spacing:revert;line-height:revert;margin:revert;opacity:revert;outline:revert;overflow:revert;padding:revert;table-layout:revert;text-align:revert;text-indent:revert;text-orientation:revert;text-overflow:revert;text-transform:revert;vertical-align:revert;white-space:revert;width:revert;word-break:revert;word-spacing:revert;writing-mode:revert;zoom:revert;display:block">
<tr style="background:revert;border:revert;color:revert;direction:revert;display:revert;font-size:revert;height:revert;letter-spacing:revert;line-height:revert;margin:revert;opacity:revert;outline:revert;overflow:revert;padding:revert;table-layout:revert;text-align:revert;text-indent:revert;text-orientation:revert;text-overflow:revert;text-transform:revert;vertical-align:revert;white-space:revert;width:revert;word-break:revert;word-spacing:revert;writing-mode:revert;zoom:revert">
<td valign="middle" width="1px" bgcolor="#A6A6A6" cellpadding="7px 2px 7px 2px" style="background-image:revert;background-position:revert;background-size:revert;background-repeat:revert;background-origin:revert;background-clip:revert;border:revert;color:revert;direction:revert;display:revert;font-size:revert;height:revert;letter-spacing:revert;line-height:revert;margin:revert;opacity:revert;outline:revert;overflow:revert;table-layout:revert;text-align:revert;text-indent:revert;text-orientation:revert;text-overflow:revert;text-transform:revert;vertical-align:revert;white-space:revert;word-break:revert;word-spacing:revert;writing-mode:revert;zoom:revert;padding:7px 2px;background-color:rgb(166,166,166);width:0px">
</td>
<td valign="middle" width="100%" bgcolor="#EAEAEA" cellpadding="7px 5px 7px 15px" style="background-image:revert;background-position:revert;background-size:revert;background-repeat:revert;background-origin:revert;background-clip:revert;border:revert;direction:revert;display:revert;height:revert;letter-spacing:revert;line-height:revert;margin:revert;opacity:revert;outline:revert;overflow:revert;table-layout:revert;text-indent:revert;text-orientation:revert;text-overflow:revert;text-transform:revert;vertical-align:revert;white-space:revert;word-break:revert;word-spacing:revert;writing-mode:revert;zoom:revert;width:100%;background-color:rgb(234,234,234);padding:7px 5px 7px 15px;font-family:wf_segoe-ui_normal,"Segoe UI","Segoe WP",Tahoma,Arial,sans-serif;font-size:12px;font-weight:normal;color:rgb(33,33,33);text-align:left">
<div style="background:revert;border:revert;color:revert;direction:revert;display:revert;font-size:revert;height:revert;letter-spacing:revert;line-height:revert;margin:revert;opacity:revert;outline:revert;overflow:revert;padding:revert;table-layout:revert;text-align:revert;text-indent:revert;text-orientation:revert;text-overflow:revert;text-transform:revert;vertical-align:revert;white-space:revert;width:revert;word-break:revert;word-spacing:revert;writing-mode:revert;zoom:revert">
You don't often get email from <a href="mailto:rk3199@columbia.edu" target="_blank">rk3199@columbia.edu</a>. <a href="https://aka.ms/LearnAboutSenderIdentification" target="_blank">
Learn why this is important</a> </div>
</td>
<td valign="middle" align="left" width="75px" bgcolor="#EAEAEA" cellpadding="7px 5px 7px 5px" style="background-image:revert;background-position:revert;background-size:revert;background-repeat:revert;background-origin:revert;background-clip:revert;border:revert;direction:revert;display:revert;height:revert;letter-spacing:revert;line-height:revert;margin:revert;opacity:revert;outline:revert;overflow:revert;table-layout:revert;text-indent:revert;text-orientation:revert;text-overflow:revert;text-transform:revert;vertical-align:revert;white-space:revert;word-break:revert;word-spacing:revert;writing-mode:revert;zoom:revert;width:75px;background-color:rgb(234,234,234);padding:7px 5px;font-family:wf_segoe-ui_normal,"Segoe UI","Segoe WP",Tahoma,Arial,sans-serif;font-size:12px;font-weight:normal;color:rgb(33,33,33);text-align:left">
</td>
</tr>
</tbody>
</table>
<div>
<div dir="ltr">
<div>Using gcc 11.4.1 20231218, autogen.sh then ./configure works but make fails here:</div>
<div><br>
</div>
<div> CC [M] /home/<font face="monospace">lustre-2.14.0_ddn136/libcfs/libcfs/crypto/bio.o<br>
In file included from include/linux/mm.h:7,<br>
from include/linux/pagemap.h:8,<br>
from /home/lustre-2.14.0_ddn136/libcfs/libcfs/crypto/bio.c:28:<br>
/home/lustre-2.14.0_ddn136/libcfs/libcfs/crypto/bio.c: In function ‘llcrypt_zeroout_range’:<br>
include/linux/gfp.h:341:25: error: passing argument 1 of ‘bio_alloc’ makes pointer from integer without a cast [-Werror=int-conversion]<br>
341 | #define GFP_NOWAIT (__GFP_KSWAPD_RECLAIM)<br>
| ^~~~~~~~~~~~~~~~~~~~~~<br>
| |<br>
| unsigned int<br>
/home/lustre-2.14.0_ddn136/libcfs/libcfs/crypto/bio.c:100:33: note: in expansion of macro ‘GFP_NOWAIT’<br>
100 | bio = bio_alloc(GFP_NOWAIT, 1);<br>
| ^~~~~~~~~~<br>
In file included from /home/lustre-2.14.0_ddn136/libcfs/libcfs/crypto/bio.c:30:<br>
include/linux/bio.h:421:58: note: expected ‘struct block_device *’ but argument is of type ‘unsigned int’<br>
421 | static inline struct bio *bio_alloc(struct block_device *bdev,<br>
| ~~~~~~~~~~~~~~~~~~~~~^~~~<br>
/home/lustre-2.14.0_ddn136/libcfs/libcfs/crypto/bio.c:100:23: error: too few arguments to function ‘bio_alloc’<br>
100 | bio = bio_alloc(GFP_NOWAIT, 1);<br>
| ^~~~~~~~~<br>
In file included from /home/lustre-2.14.0_ddn136/libcfs/libcfs/crypto/bio.c:30:<br>
include/linux/bio.h:421:27: note: declared here<br>
421 | static inline struct bio *bio_alloc(struct block_device *bdev,<br>
| ^~~~~~~~~<br>
/home/lustre-2.14.0_ddn136/libcfs/libcfs/crypto/bio.c:107:17: error: implicit declaration of function ‘bio_set_op_attrs’ [-Werror=implicit-function-declaration]<br>
107 | bio_set_op_attrs(bio, REQ_OP_WRITE, 0);<br>
| ^~~~~~~~~~~~~~~~<br>
cc1: all warnings being treated as errors<br>
make[6]: *** [scripts/Makefile.build:299: /home/lustre-2.14.0_ddn136/libcfs/libcfs/crypto/bio.o] Error 1<br>
make[5]: *** [scripts/Makefile.build:585: /home/lustre-2.14.0_ddn136/libcfs/libcfs] Error 2<br>
make[4]: *** [scripts/Makefile.build:585: /home/lustre-2.14.0_ddn136/libcfs] Error 2<br>
make[3]: *** [Makefile:1928: /home/lustre-2.14.0_ddn136] Error 2<br>
make[3]: Leaving directory '/usr/src/kernels/5.14.0-362.24.1.el9_3.x86_64'<br>
make[2]: *** [autoMakefile:1152: modules] Error 2<br>
make[2]: Leaving directory '/home/lustre-2.14.0_ddn136'<br>
make[1]: *** [autoMakefile:684: all-recursive] Error 1<br>
make[1]: Leaving directory '/home/lustre-2.14.0_ddn136'<br>
make: *** [autoMakefile:550: all] Error 2</font><br>
</div>
<div><font face="monospace"><br>
</font></div>
<div><font face="arial, sans-serif">Is there a workaround for this?</font></div>
</div>
</div>
</div>
_______________________________________________<br>
lustre-discuss mailing list<br>
<a href="mailto:lustre-discuss@lists.lustre.org" target="_blank">lustre-discuss@lists.lustre.org</a><br>
<a href="http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org" target="_blank">http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org</a><br>
</div>
</blockquote>
</div>
<br>
<div>
<div dir="auto" style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">
<div dir="auto" style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">
<div dir="auto" style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">
<div dir="auto" style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">
<div dir="auto" style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">
<div dir="auto" style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">
<div>Cheers, Andreas</div>
<div>--</div>
<div>Andreas Dilger</div>
<div>Lustre Principal Architect</div>
<div>Whamcloud</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
</div>
<br>
<br>
</div>
<br>
</div>
</blockquote></div>