<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:12:29 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-14753] Build and Install Lustre master on Aarch64 failed</title>
                <link>https://jira.whamcloud.com/browse/LU-14753</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Follow the document:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://wiki.whamcloud.com/pages/viewpage.action?pageId=154144662&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://wiki.whamcloud.com/pages/viewpage.action?pageId=154144662&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Build custom Aarch64 kernel, and Lustre RPMs.&lt;/p&gt;

&lt;p&gt;&#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;
[root@localhost lustre-&lt;span class=&quot;code-keyword&quot;&gt;package&lt;/span&gt;]# rpm -qa | grep kernel
kernel-tools-4.18.0-80.11.2.el8_lustre.aarch64
kernel-devel-4.18.0-80.11.2.el8_lustre.aarch64
kernel-rpm-macros-125-1.el8.noarch
kernel-core-4.18.0-80.11.2.el8_lustre.aarch64
kernel-tools-libs-4.18.0-80.11.2.el8_lustre.aarch64
kernel-4.18.0-80.11.2.el8_lustre.aarch64
kernel-headers-4.18.0-80.11.2.el8_lustre.aarch64
kernel-tools-libs-devel-4.18.0-80.11.2.el8_lustre.aarch64
kernel-abi-stablelists-4.18.0-305.3.1.el8.noarch
kernel-modules-4.18.0-80.11.2.el8_lustre.aarch64
kernel-modules-extra-4.18.0-80.11.2.el8_lustre.aarch64
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="64617">LU-14753</key>
            <summary>Build and Install Lustre master on Aarch64 failed</summary>
                <type id="9" iconUrl="https://jira.whamcloud.com/images/icons/issuetypes/undefined.png">Question/Request</type>
                                            <priority id="4" iconUrl="https://jira.whamcloud.com/images/icons/priorities/minor.svg">Minor</priority>
                        <status id="1" iconUrl="https://jira.whamcloud.com/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="wc-triage">WC Triage</assignee>
                                    <reporter username="kevin.zhao">Kevin Zhao</reporter>
                        <labels>
                    </labels>
                <created>Thu, 10 Jun 2021 06:58:20 +0000</created>
                <updated>Thu, 10 Jun 2021 11:43:58 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="304082" author="kevin.zhao" created="Thu, 10 Jun 2021 07:02:25 +0000"  >&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;
[root@localhost lustre-&lt;span class=&quot;code-keyword&quot;&gt;package&lt;/span&gt;]# uname -a
Linux localhost.localdomain 4.18.0-80.11.2.el8_lustre.aarch64 #1 SMP Wed Jun 9 09:25:15 BST 2021 aarch64 aarch64 aarch64 GNU/Linux
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Build and install Lustre, encounter issue as attachment &quot;lustre-package-install-error&quot;&lt;/p&gt;

&lt;p&gt;Mainly about much of the ksym lacking.&lt;/p&gt;

&lt;p&gt;Like:&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;
root@localhost lustre-&lt;span class=&quot;code-keyword&quot;&gt;package&lt;/span&gt;]# rpm -i kmod-lustre-2.14.51_208_gd106dfc-1.el8.aarch64.rpmroot@localhost lustre-&lt;span class=&quot;code-keyword&quot;&gt;package&lt;/span&gt;]# rpm -i kmod-lustre-2.14.51_208_gd106dfc-1.el8.aarch64.rpmerror: Failed dependencies: ksym(PDE_DATA) = 0x72ed3810 is needed by kmod-lustre-2.14.51_208_gd106dfc-1.el8.aarch64 ksym(___ratelimit) = 0x1d24c881 is needed by kmod-lustre-2.14.51_208_gd106dfc-1.el8.aarch64 ksym(__alloc_pages_nodemask) = 0xb19fa11f is needed by kmod-lustre-2.14.51_208_gd106dfc-1.el8.aarch64 ksym(__alloc_workqueue_key) = 0x43a53735 is needed by kmod-lustre-2.14.51_208_gd106dfc-1.el8.aarch64 ksym(__arch_clear_user) = 0xf8f4876f is needed by kmod-lustre-2.14.51_208_gd106dfc-1.el8.aarch64 ksym(__arch_copy_from_user) = 0x84bc974b is needed by kmod-lustre-2.14.51_208_gd106dfc-1.el8.aarch64 ksym(__arch_copy_to_user) = 0xb35dea8f is needed by kmod-lustre-2.14.51_208_gd106dfc-1.el8.aarch64 ksym(__bitmap_and) = 0x39b52d19 is needed by kmod-lustre-2.14.51_208_gd106dfc-1.el8.aarch64 ksym(__bitmap_clear) = 0x922f45a6 is needed by kmod-lustre-2.14.51_208_gd106dfc-1.el8.aarch64 ksym(__bitmap_intersects) = 0xbb35675b is needed by kmod-lustre-2.14.51_208_gd106dfc-1.el8.aarch64 ksym(__bitmap_weight) = 0x63c4d61f is needed by kmod-lustre-2.14.51_208_gd106dfc-1.el8.aarch64 ksym(__check_object_size) = 0x88db9f48 is needed by kmod-lustre-2.14.51_208_gd106dfc-1.el8.aarch64 ksym(__class_create) = 0x66bd02c3 is needed by kmod-lustre-2.14.51_208_gd106dfc-1.el8.aarch64 ksym(__cpu_online_mask) = 0x5557784c is needed by kmod-lustre-2.14.51_208_gd106dfc-1.el8.aarch64 ksym(__cpu_possible_mask) = 0x7f3ec02c is needed by kmod-lustre-2.14.51_208_gd106dfc-1.el8.aarch64 ksym(__cpuhp_remove_state) = 0x0e4ba049 is needed by kmod-lustre-2.14.51_208_gd106dfc-1.el8.aarch64
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="304103" author="degremoa" created="Thu, 10 Jun 2021 11:43:58 +0000"  >&lt;p&gt;Hi Kevin,&lt;/p&gt;

&lt;p&gt;Lustre kernel module RPM includes dependencies to some kernel symbols. This dep-symbols are usually provided by the kernel RPM itself. This helps picking the right kernel dependency, especially on RHEL-like system.&lt;/p&gt;

&lt;p&gt;In this case, you build a custom kernel yourself and I&apos;m pretty sure your kernel rpm do not provide this extra Provides. You can check that in two ways:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;First, extract the provides list from your kernel package: &amp;#8211;&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;&#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;
rpm -q --provides kernel-4.18.0-80.11.2.el8_lustre.aarch64
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;ul&gt;
	&lt;li&gt;Second, try to force install your Lustre RPMS ignoring these missing deps. It should be usable.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Is there any reason why you patched your kernel? A non-patched kernel is good enough for most usage and would avoid this issue.&lt;/p&gt;

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

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="39022" name="lustre-package-install-error" size="604805" author="kevin.zhao" created="Thu, 10 Jun 2021 07:01:43 +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|i01wpb:</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>