<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:28:56 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Whamcloud Community JIRA</title>
    <link>https://jira.whamcloud.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.4.14</version>
        <build-number>940014</build-number>
        <build-date>05-12-2023</build-date>
    </build-info>


<item>
            <title>[LU-16662] Linux 5.19+ break configure test compile on CONFIG_KEYS</title>
                <link>https://jira.whamcloud.com/browse/LU-16662</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Linux 5.19+ break configure test compile&#160;on CONFIG_KEYS when run configure without passing Linux src path.&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
$ ./configure --disable-server
...
checking whether to enable gss keyring backend... yes
checking &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; Linux kernel was built with CONFIG_KEYS in or as module... no
configure: WARNING: GSS keyring backend requires that CONFIG_KEYS be enabled in your kernel.
checking &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; keyctl_search in -lkeyutils... yes
configure: error: Cannot enable gss_keyring. See above &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; details. 
$ grep CONFIG_KEYS -rn /boot/config-*
6884:CONFIG_KEYS=y
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="75194">LU-16662</key>
            <summary>Linux 5.19+ break configure test compile on CONFIG_KEYS</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="4" iconUrl="https://jira.whamcloud.com/images/icons/priorities/minor.svg">Minor</priority>
                        <status id="5" iconUrl="https://jira.whamcloud.com/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="1">Fixed</resolution>
                                        <assignee username="xinliang">Xinliang Liu</assignee>
                                    <reporter username="xinliang">Xinliang Liu</reporter>
                        <labels>
                    </labels>
                <created>Fri, 24 Mar 2023 01:21:01 +0000</created>
                <updated>Wed, 20 Dec 2023 03:49:01 +0000</updated>
                            <resolved>Tue, 19 Dec 2023 19:57:26 +0000</resolved>
                                                    <fixVersion>Lustre 2.16.0</fixVersion>
                    <fixVersion>Lustre 2.15.4</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>8</watches>
                                                                            <comments>
                            <comment id="367141" author="xinliang" created="Fri, 24 Mar 2023 01:22:50 +0000"  >&lt;p&gt;Looking at the config.log, there are many modpost errors. These errors make conftest.c compile failed.&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
configure:20676: checking &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; Linux kernel was built with CONFIG_KEYS in or as module
configure:20716: cp conftest.c build &amp;amp;&amp;amp; make -d modules DEQUOTE_CC_VERSION_TEXT=yes LDFLAGS= LD=/usr/bin/ld CC=gcc -f /home/openeuler/lustre-release/build/Makefile LUSTRE_LINUX_CONFIG=/lib/modules/6.1.8-3.0.0.7.oe1.aarch64/build/.config LINUXINCLUDE= -I/lib/modules/6.1.8-3.0.0.7.oe1.aarch64/source/arch/arm64/include -Iinclude -Iarch/arm64/include/generated -I/lib/modules/6.1.8-3.0.0.7.oe1.aarch64/source/include -Iinclude2 -I/lib/modules/6.1.8-3.0.0.7.oe1.aarch64/source/include/uapi -Iinclude/generated -I/lib/modules/6.1.8-3.0.0.7.oe1.aarch64/source/arch/arm64/include/uapi -Iarch/arm64/include/generated/uapi -I/lib/modules/6.1.8-3.0.0.7.oe1.aarch64/source/include/uapi -Iinclude/generated/uapi -include /lib/modules/6.1.8-3.0.0.7.oe1.aarch64/source/include/linux/kconfig.h KBUILD_EXTRA_SYMBOLS= /usr/src/kernels/6.1.8-3.0.0.7.oe1.aarch64/Module.symvers -o tmp_include_depends -o scripts -o include/config/MARKER -C /lib/modules/6.1.8-3.0.0.7.oe1.aarch64/build EXTRA_CFLAGS=-Werror-implicit-function-declaration -g -I/home/openeuler/lustre-release/libcfs/include -I/home/openeuler/lustre-release/libcfs/include/libcfs -I/home/openeuler/lustre-release/lnet/include/uapi -I/home/openeuler/lustre-release/lnet/include -I/home/openeuler/lustre-release/lustre/include/uapi -I/home/openeuler/lustre-release/lustre/include -Wno-format-truncation -Wno-stringop-truncation -Wno-stringop-overflow M=/home/openeuler/lustre-release/build
warning: the compiler differs from the one used to build the kernel
&#160; The kernel was built by:
&#160; You are using: &#160; &#160; &#160; &#160; &#160; gcc (GCC) 10.3.1
ERROR: modpost: vmlinux: &lt;span class=&quot;code-quote&quot;&gt;&apos;init_uts_ns&apos;&lt;/span&gt; exported twice. Previous export was in vmlinux
ERROR: modpost: vmlinux: &lt;span class=&quot;code-quote&quot;&gt;&apos;system_state&apos;&lt;/span&gt; exported twice. Previous export was in vmlinux
ERROR: modpost: vmlinux: &lt;span class=&quot;code-quote&quot;&gt;&apos;static_key_initialized&apos;&lt;/span&gt; exported twice. Previous export was in vmlinux
ERROR: modpost: vmlinux: &lt;span class=&quot;code-quote&quot;&gt;&apos;reset_devices&apos;&lt;/span&gt; exported twice. Previous export was in vmlinux
ERROR: modpost: vmlinux: &lt;span class=&quot;code-quote&quot;&gt;&apos;loops_per_jiffy&apos;&lt;/span&gt; exported twice. Previous export was in vmlinux
ERROR: modpost: vmlinux: &lt;span class=&quot;code-quote&quot;&gt;&apos;name_to_dev_t&apos;&lt;/span&gt; exported twice. Previous export was in vmlinux
ERROR: modpost: vmlinux: &lt;span class=&quot;code-quote&quot;&gt;&apos;wait_for_initramfs&apos;&lt;/span&gt; exported twice. Previous export was in vmlinux
ERROR: modpost: vmlinux: &lt;span class=&quot;code-quote&quot;&gt;&apos;init_task&apos;&lt;/span&gt; exported twice. Previous export was in vmlinux
ERROR: modpost: vmlinux: &lt;span class=&quot;code-quote&quot;&gt;&apos;fpsimd_context_busy&apos;&lt;/span&gt; exported twice. Previous export was in vmlinux
ERROR: modpost: vmlinux: &lt;span class=&quot;code-quote&quot;&gt;&apos;kernel_neon_begin&apos;&lt;/span&gt; exported twice. Previous export was in vmlinux
ERROR: modpost: vmlinux: &lt;span class=&quot;code-quote&quot;&gt;&apos;kernel_neon_end&apos;&lt;/span&gt; exported twice. Previous export was in vmlinux
ERROR: modpost: vmlinux: &lt;span class=&quot;code-quote&quot;&gt;&apos;pm_power_off&apos;&lt;/span&gt; exported twice. Previous export was in vmlinux
ERROR: modpost: vmlinux: &lt;span class=&quot;code-quote&quot;&gt;&apos;profile_pc&apos;&lt;/span&gt; exported twice. Previous export was in vmlinux
ERROR: modpost: vmlinux: &lt;span class=&quot;code-quote&quot;&gt;&apos;__memcpy_fromio&apos;&lt;/span&gt; exported twice. Previous export was in vmlinux
ERROR: modpost: vmlinux: &lt;span class=&quot;code-quote&quot;&gt;&apos;__memcpy_toio&apos;&lt;/span&gt; exported twice. Previous export was in vmlinux
 ...&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="367142" author="paf0186" created="Fri, 24 Mar 2023 01:34:30 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.whamcloud.com/secure/ViewProfile.jspa?name=yujian&quot; class=&quot;user-hover&quot; rel=&quot;yujian&quot;&gt;yujian&lt;/a&gt; - I believe you&apos;re looking at this on another ticket&lt;/p&gt;</comment>
                            <comment id="367144" author="xinliang" created="Fri, 24 Mar 2023 01:38:42 +0000"  >&lt;p&gt;The symbols exported twice printing is caused by pass kernel Module.symvers via KBUILD_EXTRA_SYMBOLS option when compiling.&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
KBUILD_EXTRA_SYMBOLS=/usr/src/kernels/6.1.8-3.0.0.7.oe1.aarch64/Module.symvers &lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;And after commit &quot;&lt;a href=&quot;https://patchwork.kernel.org/project/linux-kbuild/patch/20220424190811.1678416-17-masahiroy@kernel.org/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;b8422711080f modpost: make multiple export error&lt;/a&gt;&quot; which introduced in v5.19 make this symbol exported twice as error from warning.&lt;/p&gt;

&lt;p&gt;So here it shouldn&apos;t put kernel&apos;s Module.symvers&#160; to KBUILD_EXTRA_SYMBOLS option.&lt;/p&gt;</comment>
                            <comment id="367145" author="xinliang" created="Fri, 24 Mar 2023 01:47:12 +0000"  >&lt;p&gt;Thanks &lt;a href=&quot;https://jira.whamcloud.com/secure/ViewProfile.jspa?name=paf0186&quot; class=&quot;user-hover&quot; rel=&quot;paf0186&quot;&gt;paf0186&lt;/a&gt; for the notice , I just can&apos;t find a related ticket and just working out the patch to send. If we find Jian&apos;s ticket we can mark this as a duplicated one&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
$ cat config.patch
diff --git a/lnet/autoconf/lustre-lnet.m4 b/lnet/autoconf/lustre-lnet.m4
index 7421cfb91b..4f088a148b 100644
--- a/lnet/autoconf/lustre-lnet.m4
+++ b/lnet/autoconf/lustre-lnet.m4
@@ -245,7 +245,7 @@ AS_IF([test $ENABLEO2IB = &lt;span class=&quot;code-quote&quot;&gt;&quot;no&quot;&lt;/span&gt;], [
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; O2IB_SYMVER=$LINUX_OBJ/Module.symvers
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; fi
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; test -n &lt;span class=&quot;code-quote&quot;&gt;&quot;$O2IB_SYMVER&quot;&lt;/span&gt;; then
- &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; test &lt;span class=&quot;code-quote&quot;&gt;&quot;$O2IB_SYMVER&quot;&lt;/span&gt; != &lt;span class=&quot;code-quote&quot;&gt;&quot;$LINUX_OBJ/Module.symvers&quot;&lt;/span&gt;; then
+ &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; test &#65281;&lt;span class=&quot;code-quote&quot;&gt;&quot;$O2IB_SYMVER&quot;&lt;/span&gt; -ef &lt;span class=&quot;code-quote&quot;&gt;&quot;$LINUX_OBJ/Module.symvers&quot;&lt;/span&gt;; then
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; AC_MSG_NOTICE([adding $O2IB_SYMVER to Symbol Path O2IB])
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; EXTRA_SYMBOLS=&lt;span class=&quot;code-quote&quot;&gt;&quot;$EXTRA_SYMBOLS $O2IB_SYMVER&quot;&lt;/span&gt;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; AC_SUBST(EXTRA_SYMBOLS)
@@ -286,7 +286,7 @@ AC_SUBST(ENABLEO2IB)&#160;AS_IF([test $ENABLEO2IB != &lt;span class=&quot;code-quote&quot;&gt;&quot;no&quot;&lt;/span&gt;], [
&#160; &#160; &#160; &#160; EXTRA_CHECK_INCLUDE=&lt;span class=&quot;code-quote&quot;&gt;&quot;$EXTRA_OFED_CONFIG $EXTRA_OFED_INCLUDE&quot;&lt;/span&gt;
- &#160; &#160; &#160; &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; test $O2IBPATH != $LINUX_OBJ; then
+ &#160; &#160; &#160; &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; test ! $O2IBPATH -ef $LINUX_OBJ; then
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; KBUILD_EXTRA_SYMBOLS=&lt;span class=&quot;code-quote&quot;&gt;&quot;$KBUILD_EXTRA_SYMBOLS $O2IBPATH/Module.symvers&quot;&lt;/span&gt;
&#160; &#160; &#160; &#160; fi &lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;For in-tree IB support and without passing Linux src path, the LINUX_OBJ&#160; maybe just a soft link to O2IBPATH, they are pointing to the same dir.&lt;/p&gt;

&lt;p&gt;E.g.:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
O2IBPATH=&lt;span class=&quot;code-quote&quot;&gt;&apos;/usr/src/kernels/6.1.8-3.0.0.7.oe1.aarch64&apos;&lt;/span&gt; 
LINUX_OBJ=&lt;span class=&quot;code-quote&quot;&gt;&apos;/lib/modules/6.1.8-3.0.0.7.oe1.aarch64/build&apos;&lt;/span&gt;
$ ls -l /lib/modules/6.1.8-3.0.0.7.oe1.aarch64/build
lrwxrwxrwx 1 root root 42 Feb &#160;7 00:00 /lib/modules/6.1.8-3.0.0.7.oe1.aarch64/build -&amp;gt; /usr/src/kernels/6.1.8-3.0.0.7.oe1.aarch64&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="367150" author="yujian" created="Fri, 24 Mar 2023 02:10:43 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.whamcloud.com/secure/ViewProfile.jspa?name=xinliang&quot; class=&quot;user-hover&quot; rel=&quot;xinliang&quot;&gt;xinliang&lt;/a&gt;&#160;and &lt;a href=&quot;https://jira.whamcloud.com/secure/ViewProfile.jspa?name=paf0186&quot; class=&quot;user-hover&quot; rel=&quot;paf0186&quot;&gt;paf0186&lt;/a&gt;,&lt;br/&gt;
The ticket is DDN-3569. However, there are two issues. Please refer to &lt;a href=&quot;https://jira.whamcloud.com/browse/DDN-3569?focusedCommentId=366961&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-366961&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;#comment-366961&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="367152" author="xinliang" created="Fri, 24 Mar 2023 02:55:44 +0000"  >&lt;p&gt;Sorry &lt;a href=&quot;https://jira.whamcloud.com/secure/ViewProfile.jspa?name=yujian&quot; class=&quot;user-hover&quot; rel=&quot;yujian&quot;&gt;yujian&lt;/a&gt;&#160;, I can&apos;t open the comment link.&lt;/p&gt;</comment>
                            <comment id="367157" author="pjones" created="Fri, 24 Mar 2023 03:14:57 +0000"  >&lt;p&gt;That is expected - it is not a public comment. So, it would be better to collaborate on this ticket&lt;/p&gt;</comment>
                            <comment id="367159" author="yujian" created="Fri, 24 Mar 2023 03:46:04 +0000"  >&lt;p&gt;Another issue is:&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;# ./configure --disable-server --with-o2ib
# make rpms
&amp;lt;~snip~&amp;gt;
make[4]: *** No rule to make target &apos;crypto.c&apos;, needed by &apos;distdir&apos;.  Stop.
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="367164" author="xinliang" created="Fri, 24 Mar 2023 07:11:10 +0000"  >&lt;p&gt;Yeah, this is really another issue which need another ticket to track.&lt;/p&gt;

&lt;p&gt;But I can&apos;t reproduce this issue on my v6.1 kernel arm machine with your cmds on master branch.&lt;/p&gt;

&lt;p&gt;BTW, I apply some unmerged patches mentioned in &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16351&quot; title=&quot;Linux 6.1 client support&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16351&quot;&gt;&lt;del&gt;LU-16351&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
f7edfcb684 (HEAD -&amp;gt; 6.1-openeuler) LU-16662 autoconf: fix configure test compile &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; CONFIG_KEYS
e61195e4f8 LU-16351 llite: Linux 6.1 prandom, folios_contig, vma_iterator
6add9c73a4 LU-16350 osd-ldiskfs: no_llseek removed, dquot_transfer
5bc0f95938 LU-16328 llite: Linux 6.0 migrate_folio, vfs_setxattr
a0f760acdd LU-16327 llite: read_folio, release_folio, filler_t &lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="367166" author="gerrit" created="Fri, 24 Mar 2023 07:37:05 +0000"  >&lt;p&gt;&quot;xinliang &amp;lt;xinliang.liu@linaro.org&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/50399&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/50399&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16662&quot; title=&quot;Linux 5.19+ break configure test compile on CONFIG_KEYS&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16662&quot;&gt;&lt;del&gt;LU-16662&lt;/del&gt;&lt;/a&gt; autoconf: fix configure test compile for CONFIG_KEYS&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 32e82ef1eef4e7968ff4a543a61d9ab374e0b6f3&lt;/p&gt;</comment>
                            <comment id="368377" author="gerrit" created="Tue, 4 Apr 2023 14:38:55 +0000"  >&lt;p&gt;&quot;Oleg Drokin &amp;lt;green@whamcloud.com&amp;gt;&quot; merged in patch &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/50399/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/50399/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16662&quot; title=&quot;Linux 5.19+ break configure test compile on CONFIG_KEYS&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16662&quot;&gt;&lt;del&gt;LU-16662&lt;/del&gt;&lt;/a&gt; autoconf: fix configure test compile for CONFIG_KEYS&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 321a533b868908f37d01a4b787f5a463a02e427c&lt;/p&gt;</comment>
                            <comment id="368413" author="pjones" created="Tue, 4 Apr 2023 16:36:08 +0000"  >&lt;p&gt;Landed for 2.16&lt;/p&gt;</comment>
                            <comment id="368752" author="gerrit" created="Fri, 7 Apr 2023 06:26:07 +0000"  >&lt;p&gt;&quot;Jian Yu &amp;lt;yujian@whamcloud.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/50568&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/50568&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16662&quot; title=&quot;Linux 5.19+ break configure test compile on CONFIG_KEYS&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16662&quot;&gt;&lt;del&gt;LU-16662&lt;/del&gt;&lt;/a&gt; autoconf: fix configure test compile for CONFIG_KEYS&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_15&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 3b719f23c352f73471a3f5904ef790e9936497bf&lt;/p&gt;</comment>
                            <comment id="368834" author="yujian" created="Fri, 7 Apr 2023 18:38:48 +0000"  >&lt;p&gt;Just found the mlx build was not enabled on master branch. With this patch applied on another branch, el9.0, el9.1, sles15sp3, sles15sp4, ubuntu2004 and ubuntu2204 mlx build failed:&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;ERROR: modpost: &quot;backport_dependency_symbol&quot; [/tmp/rpmbuild-lustre-jenkins-7GHqQmd3/BUILD/....../lnet/klnds/o2iblnd/ko2iblnd.ko] undefined!
ERROR: modpost: &quot;ib_get_dma_mr&quot; [/tmp/rpmbuild-lustre-jenkins-7GHqQmd3/BUILD/....../lnet/klnds/o2iblnd/ko2iblnd.ko] undefined!
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;$O2IB_SYMVER was not added to Symbol Path.&lt;/p&gt;</comment>
                            <comment id="368882" author="xinliang" created="Mon, 10 Apr 2023 02:28:29 +0000"  >&lt;p&gt;Maybe the $O2IB_SYMVER is not correct.&lt;/p&gt;</comment>
                            <comment id="368888" author="xinliang" created="Mon, 10 Apr 2023 03:02:26 +0000"  >&lt;p&gt;And &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15962&quot; title=&quot;ko2iblnd: Unknown symbol __ib_alloc_pd&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15962&quot;&gt;&lt;del&gt;LU-15962&lt;/del&gt;&lt;/a&gt; shows that it should add kernel&apos;s Module.symvers to variable EXTRA_SYMBOLS.&lt;/p&gt;

&lt;p&gt;Looks like variable EXTRA_SYMBOLS and KBUILD_EXTRA_SYMBOLS are not the same thing.&lt;/p&gt;

&lt;p&gt;And can&apos;t find any description of EXTRA_SYMBOLS in &lt;a href=&quot;https://www.kernel.org/doc/Documentation/kbuild/modules.txt&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://www.kernel.org/doc/Documentation/kbuild/modules.txt&lt;/a&gt; or somewhere else.&lt;/p&gt;</comment>
                            <comment id="368927" author="hornc" created="Mon, 10 Apr 2023 16:58:05 +0000"  >&lt;p&gt;Building against mlnx-ofa_kernel no longer works with this patch.&lt;/p&gt;</comment>
                            <comment id="368929" author="hornc" created="Mon, 10 Apr 2023 17:01:18 +0000"  >&lt;p&gt;running configure with this patch:&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;&amp;gt; git -P diff
diff --git a/lnet/autoconf/lustre-lnet.m4 b/lnet/autoconf/lustre-lnet.m4
index 4f088a148b..3c45644447 100644
--- a/lnet/autoconf/lustre-lnet.m4
+++ b/lnet/autoconf/lustre-lnet.m4
@@ -249,6 +249,8 @@ AS_IF([test $ENABLEO2IB = &quot;no&quot;], [
 				AC_MSG_NOTICE([adding $O2IB_SYMVER to Symbol Path O2IB])
 				EXTRA_SYMBOLS=&quot;$EXTRA_SYMBOLS $O2IB_SYMVER&quot;
 				AC_SUBST(EXTRA_SYMBOLS)
+			else
+				AC_MSG_NOTICE([$O2IB_SYMVER -ef $LINUX_OBJ/Module.symvers])
 			fi
 		else
 			AC_MSG_ERROR([an external source tree was, either specified or detected, for o2iblnd however I could not find a $O2IBPATH/Module.symvers there])
&amp;gt; ./configure --with-linux=/usr/src/linux-5.3.18-150300.59.106 --with-linux-obj=/usr/src/linux-5.3.18-150300.59.106-obj/x86_64/default --disable-server --with-o2ib=/usr/src/ofa_kernel/default
...
configure: /usr/src/ofa_kernel/x86_64/5.3.18-150300.59.106-default/Module.symvers -ef /usr/src/linux-5.3.18-150300.59.106-obj/x86_64/default/Module.symvers
...
&amp;gt; md5sum /usr/src/ofa_kernel/x86_64/5.3.18-150300.59.106-default/Module.symvers
746f968f5349ba78622c251b5ca1f625  /usr/src/ofa_kernel/x86_64/5.3.18-150300.59.106-default/Module.symvers
&amp;gt; md5sum /usr/src/linux-5.3.18-150300.59.106-obj/x86_64/default/Module.symvers
445f21b295267047818da63f2ca27ee6  /usr/src/linux-5.3.18-150300.59.106-obj/x86_64/default/Module.symvers
&amp;gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
</comment>
                            <comment id="369185" author="xinliang" created="Wed, 12 Apr 2023 02:32:13 +0000"  >&lt;p&gt;Strangely! I verified that the test operator &quot;-ef&quot; can test if a file is equal to a link, no matter if it is a soft or hard link.&lt;/p&gt;

&lt;p&gt;See &lt;a href=&quot;https://stackoverflow.com/questions/40813253/compare-a-symlink-and-his-target-with-bash-test-ef&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://stackoverflow.com/questions/40813253/compare-a-symlink-and-his-target-with-bash-test-ef&lt;/a&gt; also.&lt;/p&gt;

&lt;p&gt;But another thing is that &quot;-ef&quot; is not a POSIX test, see: &lt;a href=&quot;https://pubs.opengroup.org/onlinepubs/9699919799/utilities/test.html#tag_20_128&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://pubs.opengroup.org/onlinepubs/9699919799/utilities/test.html#tag_20_128&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;And the configure script seems to use shell interpreter &quot;/bin/sh&quot;. Could you check which shell it is? And check that &quot;-ef&quot; is support like below&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
[jenkins@lustre-jenkins-slave-1 ~]$ ls -l /bin/sh
lrwxrwxrwx. 1 root root 4 Jan 12 &#160;2021 /bin/sh -&amp;gt; bash
[jenkins@lustre-jenkins-slave-1 ~]$ sh -c &lt;span class=&quot;code-quote&quot;&gt;&quot; test ! . -ef .. &amp;amp;&amp;amp; echo !=&quot;&lt;/span&gt;
!=
 &lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="369233" author="xinliang" created="Wed, 12 Apr 2023 11:16:34 +0000"  >&lt;p&gt;Looks like it will append EXTRA SYMBOLS to KBUILD_EXTRA_SYMBOLS eventually.&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
[openeuler@oe-mainline-test lustre-release]$ grep @EXTRA_SYMBOLS@ -rn|grep KBUILD_EXTRA_SYMBOLS
build/Rules.in:37:KBUILD_EXTRA_SYMBOLS += @EXTRA_SYMBOLS@ &lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href=&quot;https://www.kernel.org/doc/Documentation/kbuild/modules.txt&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://www.kernel.org/doc/Documentation/kbuild/modules.txt&lt;/a&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="372050" author="xinliang" created="Fri, 12 May 2023 02:04:09 +0000"  >&lt;p&gt;The below merged patch contains $O2IB_SYMVER adding fix. Thanks, Shaun Tancheff.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/50711&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/50711&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="397498" author="pjones" created="Tue, 19 Dec 2023 19:57:26 +0000"  >&lt;p&gt;All patches merged for 2.16&lt;/p&gt;</comment>
                            <comment id="397586" author="gerrit" created="Wed, 20 Dec 2023 03:49:01 +0000"  >&lt;p&gt;&quot;Oleg Drokin &amp;lt;green@whamcloud.com&amp;gt;&quot; merged in patch &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/50568/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/50568/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16662&quot; title=&quot;Linux 5.19+ break configure test compile on CONFIG_KEYS&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16662&quot;&gt;&lt;del&gt;LU-16662&lt;/del&gt;&lt;/a&gt; autoconf: fix configure test compile for CONFIG_KEYS&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_15&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 05df94478440a0902467c177295804faeeac2991&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                                        </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="75478">LU-16719</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                            <customfield id="customfield_10890" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i03h2v:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10060" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Severity</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10022"><![CDATA[3]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        </customfields>
    </item>
</channel>
</rss>