<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:09:01 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-14356] mkfs.lustre exited with 22 on Ubuntu 20.04.1 aarch64</title>
                <link>https://jira.whamcloud.com/browse/LU-14356</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;&#160;Running the following command on an Ubuntu 20.04.1 aarch64 server node exited with code 22:&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;$ sudo mkfs.lustre --mgs --fsname=lustre --mdt --index=0 --backfstype=ldiskfs --device-size=250000 --reformat /tmp/lustre-mdt1
$ echo $?
22
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;strace messages:&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;1611254854.585937 openat(AT_FDCWD, &quot;/usr/lib/lustre/mount_osd_ldiskfs.so&quot;, O_RDONLY|O_CLOEXEC) = 3 &amp;lt;0.000052&amp;gt;
1611254854.586070 read(3, &quot;\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\267\0\1\0\0\0\0\34\0\0\0\0\0\0&quot;..., 832) = 832 &amp;lt;0.000041&amp;gt;
1611254854.586185 fstat(3, {st_mode=S_IFREG|0644, st_size=119344, ...}) = 0 &amp;lt;0.000106&amp;gt;
1611254854.586362 mmap(NULL, 99064, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xffff93f34000 &amp;lt;0.000035&amp;gt;
1611254854.586456 mprotect(0xffff93f3a000, 65536, PROT_NONE) = 0 &amp;lt;0.000034&amp;gt;
1611254854.586543 mmap(0xffff93f4a000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0xffff93f4a000 &amp;lt;0.000039&amp;gt;
1611254854.586654 mmap(0xffff93f4c000, 760, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xffff93f4c000 &amp;lt;0.000117&amp;gt;
1611254854.586857 close(3)              = 0 &amp;lt;0.000030&amp;gt;
1611254854.586976 munmap(0xffff93f34000, 99064) = 0 &amp;lt;0.000053&amp;gt;
1611254854.587104 openat(AT_FDCWD, &quot;/usr/lib/lustre/mount_osd_ldiskfs.so&quot;, O_RDONLY|O_CLOEXEC) = 3 &amp;lt;0.000047&amp;gt;
1611254854.587250 read(3, &quot;\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\267\0\1\0\0\0\0\34\0\0\0\0\0\0&quot;..., 832) = 832 &amp;lt;0.000035&amp;gt;
1611254854.587348 fstat(3, {st_mode=S_IFREG|0644, st_size=119344, ...}) = 0 &amp;lt;0.000029&amp;gt;
1611254854.587440 mmap(NULL, 99064, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xffff93f34000 &amp;lt;0.000032&amp;gt;
1611254854.587527 mprotect(0xffff93f3a000, 65536, PROT_NONE) = 0 &amp;lt;0.000036&amp;gt;
1611254854.587616 mmap(0xffff93f4a000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0xffff93f4a000 &amp;lt;0.000036&amp;gt;
1611254854.587718 mmap(0xffff93f4c000, 760, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xffff93f4c000 &amp;lt;0.000032&amp;gt;
1611254854.587817 close(3)              = 0 &amp;lt;0.000032&amp;gt;
1611254854.587918 munmap(0xffff93f34000, 99064) = 0 &amp;lt;0.000045&amp;gt;
1611254854.588028 openat(AT_FDCWD, &quot;/usr/lib/lustre/mount_osd_smfs.so&quot;, O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) &amp;lt;0.000039&amp;gt;
1611254854.588149 openat(AT_FDCWD, &quot;/usr/lib/lustre/mount_osd_reiserfs.so&quot;, O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) &amp;lt;0.000037&amp;gt;
1611254854.588252 openat(AT_FDCWD, &quot;/usr/lib/lustre/mount_osd_ldiskfs.so&quot;, O_RDONLY|O_CLOEXEC) = 3 &amp;lt;0.000038&amp;gt;
1611254854.588352 read(3, &quot;\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\267\0\1\0\0\0\0\34\0\0\0\0\0\0&quot;..., 832) = 832 &amp;lt;0.000032&amp;gt;
1611254854.588449 fstat(3, {st_mode=S_IFREG|0644, st_size=119344, ...}) = 0 &amp;lt;0.000030&amp;gt;
1611254854.588542 mmap(NULL, 99064, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xffff93f34000 &amp;lt;0.000034&amp;gt;
1611254854.588631 mprotect(0xffff93f3a000, 65536, PROT_NONE) = 0 &amp;lt;0.000037&amp;gt;
1611254854.588722 mmap(0xffff93f4a000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0xffff93f4a000 &amp;lt;0.000035&amp;gt;
1611254854.588820 mmap(0xffff93f4c000, 760, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xffff93f4c000 &amp;lt;0.000032&amp;gt;
1611254854.588915 close(3)              = 0 &amp;lt;0.000028&amp;gt;
1611254854.589012 munmap(0xffff93f34000, 99064) = 0 &amp;lt;0.000049&amp;gt;
1611254854.589119 openat(AT_FDCWD, &quot;/usr/lib/lustre/mount_osd_zfs.so&quot;, O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) &amp;lt;0.000037&amp;gt;
1611254854.589248 exit_group(22)        = ?
1611254854.589506 +++ exited with 22 +++
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="62441">LU-14356</key>
            <summary>mkfs.lustre exited with 22 on Ubuntu 20.04.1 aarch64</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="yujian">Jian Yu</assignee>
                                    <reporter username="yujian">Jian Yu</reporter>
                        <labels>
                    </labels>
                <created>Thu, 21 Jan 2021 19:03:18 +0000</created>
                <updated>Wed, 27 Jan 2021 13:08:06 +0000</updated>
                            <resolved>Wed, 27 Jan 2021 13:08:06 +0000</resolved>
                                    <version>Lustre 2.14.0</version>
                                    <fixVersion>Lustre 2.14.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="290072" author="simmonsja" created="Thu, 21 Jan 2021 19:43:13 +0000"  >&lt;p&gt;Looks like /usr/lib64/lustre/mount_osd_zfs.so is missing.&lt;/p&gt;</comment>
                            <comment id="290073" author="yujian" created="Thu, 21 Jan 2021 19:50:15 +0000"  >&lt;p&gt;The backend fs type is ldiskfs and mount_osd_ldiskfs.so is located:&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;1611254854.588252 openat(AT_FDCWD, &quot;/usr/lib/lustre/mount_osd_ldiskfs.so&quot;, O_RDONLY|O_CLOEXEC) = 3 &amp;lt;0.000038&amp;gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="290170" author="yujian" created="Fri, 22 Jan 2021 20:27:46 +0000"  >&lt;p&gt;It turns out the calling of dlopen(&quot;/usr/lib/lustre/mount_osd_ldiskfs.so&quot;, RTLD_LAZY) in load_backfs_module() returns NULL.&lt;/p&gt;</comment>
                            <comment id="290177" author="yujian" created="Fri, 22 Jan 2021 20:57:20 +0000"  >&lt;p&gt;I added dlerror() to print the error message from the failed dlopen() and got the following one:&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;/usr/lib/lustre/mount_osd_ldiskfs.so: undefined symbol: unix_io_manager
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="290186" author="yujian" created="Fri, 22 Jan 2021 22:22:51 +0000"  >&lt;p&gt;In lustre/utils/Makefile.am:&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) $(LDFLAGS) $(MNTMODLDFLAGS) -shared -export-dynamic -lext2fs \
                         -o mount_osd_ldiskfs.so \
                         `$(AR) -t libmount_utils_ldiskfs.a` \
                         $(MNTMODLIBS)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;After I moved &quot;-lext2fs&quot; to the end of the command, the &quot;undefined symbol: unix_io_manager&quot; issue was resolved.&lt;/p&gt;</comment>
                            <comment id="290218" author="gerrit" created="Sat, 23 Jan 2021 21:01:30 +0000"  >&lt;p&gt;Jian Yu (yujian@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/41305&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/41305&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14356&quot; title=&quot;mkfs.lustre exited with 22 on Ubuntu 20.04.1 aarch64&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14356&quot;&gt;&lt;del&gt;LU-14356&lt;/del&gt;&lt;/a&gt; utils: change position of the -lext2fs option&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 4a13c875b567e6b8f9f4b035e468aaf9be64a59b&lt;/p&gt;</comment>
                            <comment id="290423" author="gerrit" created="Wed, 27 Jan 2021 07:16:48 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/41305/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/41305/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14356&quot; title=&quot;mkfs.lustre exited with 22 on Ubuntu 20.04.1 aarch64&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14356&quot;&gt;&lt;del&gt;LU-14356&lt;/del&gt;&lt;/a&gt; utils: change position of the -lext2fs option&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 9cd651aead327ae4589b58dde5818b068c89b3e5&lt;/p&gt;</comment>
                            <comment id="290438" author="pjones" created="Wed, 27 Jan 2021 13:08:06 +0000"  >&lt;p&gt;Landed for 2.14&lt;/p&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|i01jxb:</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>