<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:10:20 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-779] RHEL6.0 base kernel build new kernel as RPM fails</title>
                <link>https://jira.whamcloud.com/browse/LU-779</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;I followed the instructions on this website: &lt;a href=&quot;http://wiki.whamcloud.com/pages/viewpage.action?pageId=8126905&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://wiki.whamcloud.com/pages/viewpage.action?pageId=8126905&lt;/a&gt;&lt;br/&gt;
The only difference is that I had to get the source on a windows host and then ftp it to a linux host.&lt;/p&gt;

&lt;p&gt;git clone git://git.whamcloud.com/fs/lustre-release.git&lt;br/&gt;
cd lustre-release&lt;br/&gt;
git checkout --track -b b2_1 origin/b2_1&lt;/p&gt;

&lt;p&gt;I tried without the last step as well.&lt;/p&gt;

&lt;p&gt;I followed the instructions verbatim.  When I got to the &quot;Build the new kernel as an RPM&quot; step, I issued the six make commands listed there, and building the rpm failed, with the following message:&lt;/p&gt;


&lt;p&gt;arch/x86/kernel/tboot.c:136:43: error: macro &quot;pte_alloc_map&quot; requires 4 arguments, but only 3 given&lt;br/&gt;
arch/x86/kernel/tboot.c: In function &apos;map_tboot_page&apos;:&lt;br/&gt;
arch/x86/kernel/tboot.c:136: error: &apos;pte_alloc_map&apos; undeclared (first use in this function)&lt;br/&gt;
arch/x86/kernel/tboot.c:136: error: (Each undeclared identifier is reported only once&lt;br/&gt;
arch/x86/kernel/tboot.c:136: error: for each function it appears in.)&lt;br/&gt;
make&lt;span class=&quot;error&quot;&gt;&amp;#91;4&amp;#93;&lt;/span&gt;: *** &lt;span class=&quot;error&quot;&gt;&amp;#91;arch/x86/kernel/tboot.o&amp;#93;&lt;/span&gt; Error 1&lt;br/&gt;
make&lt;span class=&quot;error&quot;&gt;&amp;#91;3&amp;#93;&lt;/span&gt;: *** &lt;span class=&quot;error&quot;&gt;&amp;#91;arch/x86/kernel&amp;#93;&lt;/span&gt; Error 2&lt;br/&gt;
make&lt;span class=&quot;error&quot;&gt;&amp;#91;2&amp;#93;&lt;/span&gt;: *** &lt;span class=&quot;error&quot;&gt;&amp;#91;arch/x86&amp;#93;&lt;/span&gt; Error 2&lt;br/&gt;
make&lt;span class=&quot;error&quot;&gt;&amp;#91;2&amp;#93;&lt;/span&gt;: *** Waiting for unfinished jobs....&lt;/p&gt;


&lt;p&gt;I&apos;ve attached the complete build output to this report.&lt;/p&gt;</description>
                <environment>Red Hat Enterprise Linux 6.0 x64, kernel version 2.6.32-71 (base)</environment>
        <key id="12189">LU-779</key>
            <summary>RHEL6.0 base kernel build new kernel as RPM fails</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="1" iconUrl="https://jira.whamcloud.com/images/icons/priorities/blocker.svg">Blocker</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="rhenwood">Richard Henwood</assignee>
                                    <reporter username="stewarts">Sean Stewart</reporter>
                        <labels>
                    </labels>
                <created>Wed, 19 Oct 2011 18:54:46 +0000</created>
                <updated>Mon, 24 Oct 2011 14:37:53 +0000</updated>
                            <resolved>Mon, 24 Oct 2011 14:37:53 +0000</resolved>
                                    <version>Lustre 2.1.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                            <comments>
                            <comment id="21516" author="pjones" created="Wed, 19 Oct 2011 19:00:16 +0000"  >&lt;p&gt;Richard&lt;/p&gt;

&lt;p&gt;Could you please see if your instructions on the wiki need updating? I know that you wrote them prior to 2.1 being GA&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="21541" author="rhenwood" created="Thu, 20 Oct 2011 10:50:05 +0000"  >&lt;p&gt;Thanks for this report.&lt;/p&gt;

&lt;p&gt;I&apos;m refreshing the wiki page - and I&apos;ll make sure it is &apos;post 2.1 GA&apos; compliant.&lt;/p&gt;</comment>
                            <comment id="21546" author="stewarts" created="Thu, 20 Oct 2011 12:26:34 +0000"  >&lt;p&gt;If I am not following the correct process to get the Lustre 2.1 source, then please let me know.  I&apos;m new to using git, so it&apos;s a little confusing.&lt;/p&gt;</comment>
                            <comment id="21554" author="adilger" created="Thu, 20 Oct 2011 16:09:59 +0000"  >&lt;p&gt;Sean, just to confirm - you are building a kernel for the server, right?  A patched kernel is not needed on the client.&lt;/p&gt;</comment>
                            <comment id="21555" author="stewarts" created="Thu, 20 Oct 2011 16:12:32 +0000"  >&lt;p&gt;Correct, this is for the server. I had that question about the client, though, so that is helpful to know.&lt;/p&gt;</comment>
                            <comment id="21574" author="rhenwood" created="Thu, 20 Oct 2011 18:49:54 +0000"  >&lt;p&gt;I&apos;ve noticed that I missed &lt;tt&gt;yum -y install git&lt;/tt&gt; from the walk-thru. There is an additional complication in that if you have installed the epel repo, and now want to install git, you might pick up a more recent version than is supplied by RHEL and experience dependency conflict.&lt;/p&gt;

&lt;p&gt;Can you double check that git is correctly installed?&lt;/p&gt;

&lt;p&gt;If so, did: &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;git clone git:&lt;span class=&quot;code-comment&quot;&gt;//git.whamcloud.com/fs/lustre-release.git&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;return an error?&lt;/p&gt;</comment>
                            <comment id="21579" author="stewarts" created="Thu, 20 Oct 2011 19:17:38 +0000"  >&lt;p&gt;I actually had trouble running that on my linux host in general, most likely due to a limitation of our test lab network. I instead installed git on my windows machine, tried to change branches, and then used scp to transfer it to my linux host.  From my linux host the connection just would time out.&lt;/p&gt;</comment>
                            <comment id="21658" author="rhenwood" created="Fri, 21 Oct 2011 16:12:45 +0000"  >&lt;p&gt;Doing the additional step to get the source shouldn&apos;t have made too much difference.&lt;/p&gt;

&lt;p&gt;I have reviewed the wiki page and found a considerable number of &apos;rough edges&apos;. I&apos;ve taken these off.&lt;/p&gt;

&lt;p&gt;In addition, I&apos;ve tried to generalize the walk through for RHEL 6.0 and CentOS. &lt;/p&gt;

&lt;p&gt;However, I have been unable to reproduce your issue. Can you double check that you&apos;re patching:&lt;br/&gt;
&lt;a href=&quot;http://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/os/SRPMS/kernel-2.6.32-131.2.1.el6.src.rpm&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/os/SRPMS/kernel-2.6.32-131.2.1.el6.src.rpm&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="21659" author="stewarts" created="Fri, 21 Oct 2011 16:15:56 +0000"  >&lt;p&gt;It&apos;s also worth noting that I am not using that specified kernel version. I am trying RHEL 6.0 base which is 2.6.32-71 (because that&apos;s what the solution I need to test uses.)  I&apos;ll need to do the same for RHEL6.1 base 2.6.32-131.0.15, but I am running into a different issue with that where it complains about a failed dependency that I cannot seem to resolve...  I was wondering if you guys have tried this process with 2.6.32-71?&lt;/p&gt;</comment>
                            <comment id="21683" author="stewarts" created="Fri, 21 Oct 2011 20:38:13 +0000"  >&lt;p&gt;One of the updates in the page solved the dependency problem for 6.1, so I was able to get RPM packages created for RHEL 6.1.  I had to issue make before make rpms when building lustre.. Just running make rpms failed the first time.&lt;/p&gt;


&lt;p&gt;I do not believe the kernel compilation problem i&apos;m experiencing on 6.0 is resolved yet..  I can try it again later, though.&lt;/p&gt;</comment>
                            <comment id="21780" author="rhenwood" created="Mon, 24 Oct 2011 10:55:41 +0000"  >&lt;p&gt;Thanks for this info: I saw the &lt;tt&gt;make&lt;/tt&gt; before &lt;tt&gt;make rpm&lt;/tt&gt; issue last week, but thought it might be a foible of my setup.&lt;/p&gt;

&lt;p&gt;I&apos;ve now confirmed it:&lt;br/&gt;
&lt;a href=&quot;http://jira.whamcloud.com/browse/LU-788&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;http://jira.whamcloud.com/browse/LU-788&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I&apos;m continuing to try and reproduce the: &quot;Build the new kernel as an RPM&quot; failure you experienced on 6.0.&lt;/p&gt;</comment>
                            <comment id="21809" author="rhenwood" created="Mon, 24 Oct 2011 14:37:53 +0000"  >&lt;p&gt;Because you&apos;ve included a dump from your build, I can see that the kernel you were patching was: 2.6.32-71&lt;/p&gt;

&lt;p&gt;Lustre Master follows the current RHEL kernel (2.6.32-131.2.1 for RHEL6 as of this writing.) Older kernels become unsupported once RHEL releases a new kernel (typically with security fixes.)&lt;/p&gt;

&lt;p&gt;I have updated to the walk-thru to point to the latest kernel - and included a warning travelers that this may be an issue.&lt;/p&gt;


&lt;p&gt;I&apos;m closing this ticket. &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-788&quot; title=&quot;&amp;#39;make rpm&amp;#39; fails unless &amp;#39;make&amp;#39; is performed first&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-788&quot;&gt;&lt;del&gt;LU-788&lt;/del&gt;&lt;/a&gt; remains.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="10554" name="LOG" size="13621" author="stewarts" created="Wed, 19 Oct 2011 18:54:46 +0000"/>
                    </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|hzvhu7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>6539</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>