<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:13:25 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-7961] Problem with kernel location detection on CentOS 6</title>
                <link>https://jira.whamcloud.com/browse/LU-7961</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt; CentOS 6 installed the kernel source in to the following path which differs slightly from the RHEL version.  We should expand the search pattern to encompass both the CentOS and RHEL paths.&lt;/p&gt;

&lt;p&gt;    /usr/src/debug/*/linux-2.6.32-x.y.z.el6.centos.plus.x86_64&lt;/p&gt;</description>
                <environment></environment>
        <key id="35742">LU-7961</key>
            <summary>Problem with kernel location detection on CentOS 6</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="bogl">Bob Glossman</assignee>
                                    <reporter username="morrone">Christopher Morrone</reporter>
                        <labels>
                            <label>patch</label>
                    </labels>
                <created>Thu, 31 Mar 2016 01:39:33 +0000</created>
                <updated>Mon, 10 Jul 2017 14:34:48 +0000</updated>
                            <resolved>Wed, 13 Jul 2016 18:10:43 +0000</resolved>
                                                    <fixVersion>Lustre 2.9.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="147400" author="gerrit" created="Thu, 31 Mar 2016 01:40:45 +0000"  >&lt;p&gt;Christopher J. Morrone (morrone2@llnl.gov) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/19248&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/19248&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7961&quot; title=&quot;Problem with kernel location detection on CentOS 6&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7961&quot;&gt;&lt;del&gt;LU-7961&lt;/del&gt;&lt;/a&gt; build: Fix ldiskfs source autodetect for CentOS 6&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: ebeeaef314283ee06c13f761384cd6920e5f3df3&lt;/p&gt;</comment>
                            <comment id="147471" author="jgmitter" created="Thu, 31 Mar 2016 17:07:53 +0000"  >&lt;p&gt;Hi Bob,&lt;br/&gt;
Can you please have a look at the patch?&lt;br/&gt;
Thanks.&lt;br/&gt;
Joe&lt;/p&gt;</comment>
                            <comment id="147474" author="bogl" created="Thu, 31 Mar 2016 17:17:29 +0000"  >&lt;p&gt;Joe,&lt;br/&gt;
I can&apos;t tell if this patch makes any sense or not.  All the build environments I&apos;m aware of or have access to find the ext4 sources under  $linux_src/fs/ext4.  Where alternate source might live under /usr/src/debug/* is a don&apos;t care.&lt;/p&gt;

&lt;p&gt;If Chris M. insists this patch is needed I see no harm in it, but can&apos;t reproduce or test needing it at all.&lt;/p&gt;</comment>
                            <comment id="147483" author="morrone" created="Thu, 31 Mar 2016 18:18:24 +0000"  >&lt;p&gt;There are build environments outside of the HPDD bubble. &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;Yes, you will often find contents under /usr/src/kernel on a CentOS or RHEL system.  But where do those files usually come from?  The come from the &quot;kernel-devel-*&quot; package.  The kernel-devel package contains header files, Makefiles, and smattering of other files.&lt;/p&gt;

&lt;p&gt;What should be noticeably absent are the the .c files.  What does Lustre need .c file for?  To copy ext4&apos;s source code so that it can patch it and build ldiskfs.&lt;/p&gt;

&lt;p&gt;So how then does a person easily obtain .c files for a CentOS kernel?  That person runs &quot;yum install kernel-debuginfo&quot;.&lt;/p&gt;

&lt;p&gt;Great!  Now we&apos;ve got everything we need to build lustre, &lt;em&gt;including&lt;/em&gt; ldiskfs.&lt;/p&gt;

&lt;p&gt;Some of us have been building Lustre this way, or something similar, for many years.&lt;/p&gt;

&lt;p&gt;Pretty soon we&apos;re hoping to go full patchless kernel for servers (see &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-20&quot; title=&quot;patchless server kernel&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-20&quot;&gt;&lt;del&gt;LU-20&lt;/del&gt;&lt;/a&gt;), and this kind of build pattern will become more of the norm rather than the exception.&lt;/p&gt;</comment>
                            <comment id="147484" author="bogl" created="Thu, 31 Mar 2016 18:28:36 +0000"  >&lt;p&gt;Christopher,&lt;br/&gt;
Most of the build methods and environments i know of get additional needed sources by installing and expanding the kernel .src rpm, not by installing kernel-debuginfo.  Not claiming that what you say is invalid, just saying that I haven&apos;t run into it.&lt;/p&gt;
</comment>
                            <comment id="149946" author="morrone" created="Fri, 22 Apr 2016 23:22:13 +0000"  >&lt;p&gt;Bob, actually, no normal kernel modules should ever need to install the kernel .src rpm.  The vast majority of modules are going require the kernel-devel and be perfectly happy with just that.  Lustre is almost entirely happy (or should be) with kernel-devel as well.  The only problem is ldiskfs.  &lt;/p&gt;

&lt;p&gt;ldiskfs is, of course, very unusual.  It isn&apos;t a complete kernel module on its own.  The lustre tree needs to go make a copy of the ext4 source and then apply a bunch of patches to turn it into the ldiskfs source code.  Then it can actually do the build.&lt;/p&gt;

&lt;p&gt;This is problematic because with rpms there is no way (to the best of my knowledge) to express a dependency on a .src.rpm package!&lt;/p&gt;

&lt;p&gt;So how, on an rpm-based system would you make the lustre .src.rpm express this odd dependency on the kernel .src.rpm?  You pretty much can&apos;t.&lt;/p&gt;

&lt;p&gt;So while it is kind of dirty in its own right, the best that we have come up with at LLNL is to make the lustre .src.rpm BuildRequires the kernel-debuginfo package.&lt;/p&gt;</comment>
                            <comment id="158424" author="gerrit" created="Mon, 11 Jul 2016 23:56:17 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/19248/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/19248/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7961&quot; title=&quot;Problem with kernel location detection on CentOS 6&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7961&quot;&gt;&lt;del&gt;LU-7961&lt;/del&gt;&lt;/a&gt; build: Fix ldiskfs source autodetect for CentOS 6&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 2ad5491d6822bd2e813c4e428aee987e71781713&lt;/p&gt;</comment>
                            <comment id="158660" author="jgmitter" created="Wed, 13 Jul 2016 18:10:43 +0000"  >&lt;p&gt;Patch has landed to master for 2.9.0&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                                        </outwardlinks>
                                                        </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_10490" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                        <customfieldname>End date</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 22 Apr 2016 01:39:33 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzy6fr:</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>
                                                                                                                        <customfield id="customfield_10493" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                        <customfieldname>Start date</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 31 Mar 2016 01:39:33 +0000</customfieldvalue>

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