<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:09:40 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-7527] Configure errors with OFED 3.18-1, ZFS, and EL6.7 kernel </title>
                <link>https://jira.whamcloud.com/browse/LU-7527</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;During configure, these zfs tests all fail:&lt;br/&gt;
  checking if zfs defines dsl_pool_config_enter/exit&lt;br/&gt;
  checking if zfs defines dsl_sync_task_do_nowait&lt;br/&gt;
  checking if zfs defines sa_spill_alloc&lt;br/&gt;
  checking if zfs defines spa_maxblocksize&lt;br/&gt;
due to conflicting definitions in  &quot;/usr/src/compat-rdma/include/linux/kthread.h&quot; and &quot;include/linux/kthread.h&quot;.&lt;/p&gt;

&lt;p&gt;These config test errors lead to compilation failures when making osd-zfs.&lt;/p&gt;

&lt;p&gt;My configure command:&lt;br/&gt;
./configure --disable-ldiskfs --disable-gss --with-o2ib=/usr/src/compat-rdma --with-zfs=/usr/src/zfs-0.6.5.3 --with-zfs-obj=/var/lib/dkms/zfs/0.6.5.3/2.6.32-573.8.1.el6.x86_64/x86_64 --with-spl=/usr/src/spl-0.6.5.3 --with-spl-obj=/var/lib/dkms/spl/0.6.5.3/2.6.32-573.8.1.el6.x86_64/x86_64 --with-linux=/usr/src/kernels/2.6.32-573.8.1.el6.x86_64&lt;/p&gt;

&lt;p&gt;Attempted workaround: add this to test programs in config/lustre-build-zfs.m4:&lt;br/&gt;
 			#ifdef HAVE_COMPAT_RDMA&lt;br/&gt;
 			#undef PACKAGE_NAME&lt;br/&gt;
 			#undef PACKAGE_TARNAME&lt;br/&gt;
 			#undef PACKAGE_VERSION&lt;br/&gt;
 			#undef PACKAGE_STRING&lt;br/&gt;
 			#undef PACKAGE_BUGREPORT&lt;br/&gt;
 			#undef PACKAGE_URL&lt;br/&gt;
 			#include &amp;lt;linux/compat-2.6.h&amp;gt;&lt;br/&gt;
			#endif&lt;/p&gt;

&lt;p&gt;Result: Compiles and installs, works with tcp(eth0) and tcp(ib0), but o2ib fails. This probably just superficially hid the kthread.h conflict.&lt;/p&gt;

&lt;p&gt;Successful workaround: uninstall OFED and use in-kernel IB drivers. Everything compiles and runs well. I have no idea if performance is affected.&lt;/p&gt;</description>
                <environment>Lustre 2.7.63_g2d11035, Scientific Linux 6.7 (kernel-2.6.32-573.8.1.el6.x86_64), OFED 3.18-1 (using qib drivers), ZFS 0.6.5.3 (using dkms packages from zfsonlinux.org repo).</environment>
        <key id="33490">LU-7527</key>
            <summary>Configure errors with OFED 3.18-1, ZFS, and EL6.7 kernel </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="3">Duplicate</resolution>
                                        <assignee username="wc-triage">WC Triage</assignee>
                                    <reporter username="nathan.crawford@uci.edu">Nathan Crawford</reporter>
                        <labels>
                            <label>zfs</label>
                    </labels>
                <created>Tue, 8 Dec 2015 00:18:42 +0000</created>
                <updated>Tue, 2 Aug 2016 14:07:46 +0000</updated>
                            <resolved>Tue, 2 Aug 2016 14:07:46 +0000</resolved>
                                    <version>Lustre 2.8.0</version>
                                                        <due></due>
                            <votes>1</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="145523" author="nathan.crawford@uci.edu" created="Tue, 15 Mar 2016 01:08:03 +0000"  >&lt;p&gt;As an update, I&apos;m still hitting this configure issue with lustre 2.8.0-RC5, ZFSonLinux 0.6.5.5, OFED 3.18-2-20160313-0128 and kernel 2.6.32-573.18.1.el6.x86_64.&lt;/p&gt;

&lt;p&gt;Is there a simple solution? There are some important updates in the newer OFED that I really don&apos;t want to skip.&lt;/p&gt;</comment>
                            <comment id="146380" author="hornc" created="Mon, 21 Mar 2016 19:00:09 +0000"  >&lt;p&gt;I think I&apos;m seeing the same issue compiling Lustre 2.8.0-RC5 client on a 3.12 kernel with OFED 3.18-1. My configure line:&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 --enable-client --disable-doc --disable-manpages --with-o2ib=yes
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;config.log shows numerous configure tests failing with kthread redefinition:&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;  CC [M]  /home/build/lustre-filesystem/build/conftest.o
In file included from /lib/modules/3.12.28-4-default/source/include/linux/device.h:29:0,
                 from /lib/modules/3.12.28-4-default/source/include/linux/genhd.h:62,
                 from /lib/modules/3.12.28-4-default/source/include/linux/blkdev.h:9,
                 from /home/build/lustre-filesystem/build/conftest.c:50:
/usr/src/compat-rdma/include/linux/kthread.h:23:8: error: redefinition of &#8216;struct kthread_worker&#8217;
 struct kthread_worker {
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This seems like the compat_autoconf.h header isn&apos;t being included correctly?&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;build@iosr60-2:~/lustre-filesystem&amp;gt; uname -a
Linux iosr60-2 3.12.28-4-default #1 SMP Thu Sep 25 17:02:34 UTC 2014 (9879bd4) x86_64 x86_64 x86_64 GNU/Linux
build@iosr60-2:~/lustre-filesystem&amp;gt; ofed_info
OFED-3.18-1:
&amp;lt;snip&amp;gt;
Installed Packages:
-------------------
ofed-scripts-3.18-1.1.gf2c716b.x86_64
compat-rdma-devel-3.18-1.1.ga854cfe.3.12.28_4_default.x86_64
compat-rdma-3.18-1.1.ga854cfe.3.12.28_4_default.x86_64
build@iosr60-2:~/lustre-filesystem&amp;gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;I get the same errors with Lustre 2.7 + patches as well as master&lt;/p&gt;</comment>
                            <comment id="146397" author="hornc" created="Mon, 21 Mar 2016 21:25:17 +0000"  >&lt;p&gt;I searched the config.log for all tests that failed with the &quot;redefinition&quot; error, and I added&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;+	#ifdef HAVE_COMPAT_RDMA
+	#undef PACKAGE_NAME
+	#undef PACKAGE_TARNAME
+	#undef PACKAGE_VERSION
+	#undef PACKAGE_STRING
+	#undef PACKAGE_BUGREPORT
+	#undef PACKAGE_URL
+	#include &amp;lt;linux/compat-2.6.h&amp;gt;
+	#endif
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;to each, and that seems to have done the trick for the 2.8-RC5 client build.&lt;/p&gt;</comment>
                            <comment id="160485" author="simmonsja" created="Mon, 1 Aug 2016 21:35:34 +0000"  >&lt;p&gt;The patch from &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8401&quot; title=&quot;modprobe: ERROR: could not insert &amp;#39;lnet&amp;#39;: Unknown symbol in module&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8401&quot;&gt;&lt;del&gt;LU-8401&lt;/del&gt;&lt;/a&gt; should fix this issue once it is back ported.&lt;/p&gt;</comment>
                            <comment id="160514" author="pjones" created="Tue, 2 Aug 2016 14:07:46 +0000"  >&lt;p&gt;Thanks James. This is being tracked sepatately to land to the maintenance branches so I&apos;ll mark this ticket as a duplicate.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="38182">LU-8401</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|hzxv4v:</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>