<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:43:08 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-11353] make failing due to missing rhashtable_lookup_get_insert_fast() in 3.10.327 kernel (CentOS 7.1/7.2)</title>
                <link>https://jira.whamcloud.com/browse/LU-11353</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;My lustre dev machine is running 3.10.X Kernel. &quot;make&quot; started to fail after I updated my local branch recently with latest pull. It is failing with ...&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;
CC [M] /root/lustre-xx-3.10/lustre-release/libcfs/libcfs/linux/linux-hash.o
In file included from /root/lustre-xx-3.10/lustre-release/libcfs/libcfs/linux/linux-hash.c:33:0:
/root/lustre-xx-3.10/lustre-release/libcfs/include/libcfs/linux/linux-hash.h: In function &lt;span class=&quot;code-quote&quot;&gt;&apos;rhashtable_lookup_get_insert_fast&apos;&lt;/span&gt;:
/root/lustre-xx-3.10/lustre-release/libcfs/include/libcfs/linux/linux-hash.h:60:2: error: implicit declaration of function &lt;span class=&quot;code-quote&quot;&gt;&apos;rhashtable_lookup_insert_fast&apos;&lt;/span&gt; [-Werror=implicit-function-declaration]
 rc = rhashtable_lookup_insert_fast(ht, obj, params);
 ^
/root/lustre-xx-3.10/lustre-release/libcfs/include/libcfs/linux/linux-hash.h:63:3: error: implicit declaration of function &lt;span class=&quot;code-quote&quot;&gt;&apos;rht_obj&apos;&lt;/span&gt; [-Werror=implicit-function-declaration]
 key = rht_obj(ht, obj);
 ^
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;./configure logs are ...&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:16966: checking &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; linux/stringhash.h
configure:16990: cp conftest.c build &amp;amp;&amp;amp; make -d modules LDFLAGS= LD=/usr/bin/ld -m elf_x86_64 CC=gcc -f /root/lustre-xx-3.10/lustre-release/build/Makefile LUSTRE_LINUX_CONFIG=/lib/modules/3.10.0-327.13.1.x3.0.89.x86_64/build/.config LINUXINCLUDE= -I/lib/modules/3.10.0-327.13.1.x3.0.89.x86_64/source/arch/x86/include -Iinclude -Iarch/x86/include/generated -I/lib/modules/3.10.0-327.13.1.x3.0.89.x86_64/source/include -Iinclude2 -I/lib/modules/3.10.0-327.13.1.x3.0.89.x86_64/source/include/uapi -Iinclude/generated -I/lib/modules/3.10.0-327.13.1.x3.0.89.x86_64/source/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/lib/modules/3.10.0-327.13.1.x3.0.89.x86_64/source/include/uapi -Iinclude/generated/uapi -include /lib/modules/3.10.0-327.13.1.x3.0.89.x86_64/source/include/linux/kconfig.h -o tmp_include_depends -o scripts -o include/config/MARKER -C /lib/modules/3.10.0-327.13.1.x3.0.89.x86_64/build EXTRA_CFLAGS=-Werror-implicit-function-declaration -g -I/root/lustre-xx-3.10/lustre-release/libcfs/include -I/root/lustre-xx-3.10/lustre-release/lnet/include -I/root/lustre-xx-3.10/lustre-release/lustre/include -Wno-format-truncation M=/root/lustre-xx-3.10/lustre-release/build
/root/lustre-xx-3.10/lustre-release/build/conftest.c:56:30: fatal error: linux/stringhash.h: No such file or directory
 #include &amp;lt;linux/stringhash.h&amp;gt;
                              ^
compilation terminated.
make[1]: *** [/root/lustre-xx-3.10/lustre-release/build/conftest.o] Error 1
make: *** [_module_/root/lustre-xx-3.10/lustre-release/build] Error 2
configure:16993: $? = 2
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;from config.log&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;
lb_cv_compile_rhashtable_lookup_get_insert_fast=no
lb_cv_header_linux_stringhash_h=no
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;What can be done to get it compiled with 3.10 kernel. It does not have stringhash as kernel version 4.X variant. Is is something to do with commit : bef1069506c38e6d8ebdb4393cccb5a33978a61e&lt;/p&gt;

&lt;p&gt;Thanks&lt;br/&gt;
Arshad&lt;/p&gt;</description>
                <environment></environment>
        <key id="53246">LU-11353</key>
            <summary>make failing due to missing rhashtable_lookup_get_insert_fast() in 3.10.327 kernel (CentOS 7.1/7.2)</summary>
                <type id="9" iconUrl="https://jira.whamcloud.com/images/icons/issuetypes/undefined.png">Question/Request</type>
                                            <priority id="3" iconUrl="https://jira.whamcloud.com/images/icons/priorities/major.svg">Major</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="2">Won&apos;t Fix</resolution>
                                        <assignee username="simmonsja">James A Simmons</assignee>
                                    <reporter username="arshad512">Arshad Hussain</reporter>
                        <labels>
                    </labels>
                <created>Sat, 8 Sep 2018 17:02:52 +0000</created>
                <updated>Mon, 10 Sep 2018 13:59:16 +0000</updated>
                            <resolved>Mon, 10 Sep 2018 13:59:16 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="233199" author="simmonsja" created="Sat, 8 Sep 2018 18:11:08 +0000"  >&lt;p&gt;What version of RHEL are you running ? RHEL7.2 I believe didn&apos;t even have rhashtable support. Then RHE7.3 introduced it and the latest RHEL7.5 has full support. Originally the patch back ported all the work to support older RHEL versions but that was disliked. I think you are running a real old RHEL. The question is do we want to support these older versions of RedHat or tell people to move to a newer version.&lt;/p&gt;</comment>
                            <comment id="233200" author="arshad512" created="Sat, 8 Sep 2018 20:12:51 +0000"  >&lt;p&gt;Hi James,&lt;/p&gt;

&lt;p&gt;I am running a very old CentOS version 7.1 which is effectively RHEL7.1 base.&#160;&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 /etc/redhat-release
CentOS Linux release 7.1.1503 (Core)
#
 &lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;I did not upgrade my development VM since 2016 as I understand. However, do remember that until last week (10 days ball-park) this used to work just fine. &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.whamcloud.com/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;

&lt;p&gt;Thanks&lt;br/&gt;
Arshad&lt;/p&gt;</comment>
                            <comment id="233201" author="adilger" created="Sat, 8 Sep 2018 21:52:51 +0000"  >&lt;p&gt;Hi Arshad, if you need to stick with this kernel, then please submit a patch to fix the build. Otherwise, I would recommend to update to a newer kernel. &lt;/p&gt;</comment>
                            <comment id="233202" author="arshad512" created="Sat, 8 Sep 2018 22:22:53 +0000"  >&lt;p&gt;Hi Andreas, Absolutely, I could not agree more. Before you mentioned it, my &quot;yum update&quot; was already running &lt;/p&gt;

&lt;p&gt;Thanks&lt;br/&gt;
 Arshad&lt;/p&gt;</comment>
                            <comment id="233205" author="simmonsja" created="Sun, 9 Sep 2018 18:13:32 +0000"  >&lt;p&gt;Shall I close as won&apos;t fix?&lt;/p&gt;</comment>
                            <comment id="233228" author="pjones" created="Mon, 10 Sep 2018 11:22:15 +0000"  >&lt;p&gt;James&lt;/p&gt;

&lt;p&gt;Does the list of kernels in the change log &lt;del&gt;&#160; &lt;a href=&quot;https://git.whamcloud.com/?p=fs/lustre-release.git;a=blob;f=lustre/ChangeLog;h=1fe0c237442334ba191871eb7c00520201b67814;hb=refs/heads/master&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.whamcloud.com/?p=fs/lustre-release.git;a=blob;f=lustre/ChangeLog;h=1fe0c237442334ba191871eb7c00520201b67814;hb=refs/heads/master&lt;/a&gt;&#160;&lt;/del&gt; reflect reality?&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="233240" author="arshad512" created="Mon, 10 Sep 2018 13:53:31 +0000"  >&lt;p&gt;Hi James,&lt;/p&gt;

&lt;p&gt;Upgrading to CentOS 7.5 worked for me. I have done a cursory validation and at least the &apos;make&apos; succeeds. Please go ahead and close.&lt;/p&gt;

&lt;p&gt;Thanks&lt;br/&gt;
 Arshad&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 /etc/redhat-release
CentOS Linux release 7.5.1804 (Core)
#

# uname -r
3.10.0-862.9.1.el7_lustre.x86_64
#


# cat config.log | grep rhashtable
configure:17215: checking &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;code-quote&quot;&gt;&apos;rhashtable_lookup_get_insert_fast&apos;&lt;/span&gt; exist
lb_cv_compile_rhashtable_lookup_get_insert_fast=yes
#
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                    </comments>
                    <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|i0020n:</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>
                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>