<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:42:59 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-11335] Build failed for ubuntu-14.04  kernel 4.4.0.85.108</title>
                <link>https://jira.whamcloud.com/browse/LU-11335</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Build failed on&#160;4.4.0-85.108&#160;&#160;kernel (downloaded here&#160;&lt;a href=&quot;https://launchpad.net/ubuntu/+source/linux/4.4.0-85.108)&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://launchpad.net/ubuntu/+source/linux/4.4.0-85.108)&lt;/a&gt;&#160;during applying LDISKFS patches&lt;/p&gt;

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

&lt;p&gt;ln -s ../../ldiskfs/kernel_patches/patches linux-stage/patches&lt;/p&gt;

&lt;p&gt;ln -s ../../ldiskfs/kernel_patches/series/ldiskfs-4.4.0-73-ubuntu14+16.series linux-stage/series&lt;/p&gt;

&lt;p&gt;cd linux-stage &amp;amp;&amp;amp; quilt push -a -q&lt;/p&gt;

&lt;p&gt;Applying patch patches/sles12sp2/ext4-inode-version.patch&lt;/p&gt;

&lt;p&gt;Applying patch patches/sles12sp2/ext4-lookup-dotdot.patch&lt;/p&gt;

&lt;p&gt;Applying patch patches/sles12sp2/ext4-print-inum-in-htree-warning.patch&lt;/p&gt;

&lt;p&gt;Applying patch patches/sles12sp2/ext4-prealloc.patch&lt;/p&gt;

&lt;p&gt;Applying patch patches/sles12sp2/ext4-osd-iop-common.patch&lt;/p&gt;

&lt;p&gt;Applying patch patches/ubuntu14+16/ext4-misc.patch&lt;/p&gt;

&lt;p&gt;Applying patch patches/sles12sp2/ext4-mballoc-extra-checks.patch&lt;/p&gt;

&lt;p&gt;Applying patch patches/sles12sp2/ext4-hash-indexed-dir-dotdot-update.patch&lt;/p&gt;

&lt;p&gt;Applying patch patches/sles12sp2/ext4-kill-dx-root.patch&lt;/p&gt;

&lt;p&gt;Applying patch patches/rhel7/ext4-mballoc-pa-free-mismatch.patch&lt;/p&gt;

&lt;p&gt;Applying patch patches/ubuntu14+16/ext4-data-in-dirent-001.patch&lt;/p&gt;

&lt;p&gt;Applying patch patches/ubuntu14+16/ext4-large-eas.patch&lt;/p&gt;

&lt;p&gt;Applying patch patches/ubuntu14+16/ext4-disable-mb-cache-001.patch&lt;/p&gt;

&lt;p&gt;Applying patch patches/rhel7/ext4-nocmtime.patch&lt;/p&gt;

&lt;p&gt;Applying patch patches/ubuntu14+16/ext4-large-dir-001.patch&lt;/p&gt;

&lt;p&gt;Applying patch patches/ubuntu14+16/ext4-pdirop-001.patch&lt;/p&gt;

&lt;p&gt;Applying patch patches/sles12sp2/ext4-max-dir-size.patch&lt;/p&gt;

&lt;p&gt;Applying patch patches/rhel7/ext4-remove-truncate-warning.patch&lt;/p&gt;

&lt;p&gt;Applying patch patches/sles12sp2/ext4-corrupted-inode-block-bitmaps-handling-patches.patch&lt;/p&gt;

&lt;p&gt;Applying patch patches/sles12sp2/ext4-give-warning-with-dir-htree-growing.patch&lt;/p&gt;

&lt;p&gt;Applying patch patches/sles12sp2/ext4-mmp-brelse.patch&lt;/p&gt;

&lt;p&gt;Applying patch patches/rhel7/ext4-jcb-optimization.patch&lt;/p&gt;

&lt;p&gt;Applying patch patches/sles12sp2/ext4-attach-jinode-in-writepages.patch&lt;/p&gt;

&lt;p&gt;1 out of 3 hunks FAILED&lt;/p&gt;

&lt;p&gt;Patch patches/sles12sp2/ext4-attach-jinode-in-writepages.patch does not apply (enforce with -f)&lt;/p&gt;

&lt;p&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;sources&amp;#93;&lt;/span&gt; Error 1&lt;/p&gt;

&lt;p&gt;make&lt;span class=&quot;error&quot;&gt;&amp;#91;2&amp;#93;&lt;/span&gt;: Leaving directory `/lustre/mnt/orig/cray-lustre/ldiskfs&apos;&lt;/p&gt;

&lt;p&gt;make&lt;span class=&quot;error&quot;&gt;&amp;#91;1&amp;#93;&lt;/span&gt;: *** &lt;span class=&quot;error&quot;&gt;&amp;#91;all-recursive&amp;#93;&lt;/span&gt; Error 1&lt;/p&gt;

&lt;p&gt;make&lt;span class=&quot;error&quot;&gt;&amp;#91;1&amp;#93;&lt;/span&gt;: Leaving directory `/lustre/mnt/orig/cray-lustre&apos;&lt;/p&gt;

&lt;p&gt;make: *** &lt;span class=&quot;error&quot;&gt;&amp;#91;all&amp;#93;&lt;/span&gt; Error 2&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="53216">LU-11335</key>
            <summary>Build failed for ubuntu-14.04  kernel 4.4.0.85.108</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="6" iconUrl="https://jira.whamcloud.com/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="2">Won&apos;t Fix</resolution>
                                        <assignee username="wc-triage">WC Triage</assignee>
                                    <reporter username="artem_blagodarenko">Artem Blagodarenko</reporter>
                        <labels>
                    </labels>
                <created>Wed, 5 Sep 2018 15:06:44 +0000</created>
                <updated>Sat, 2 Sep 2023 13:05:54 +0000</updated>
                            <resolved>Sat, 2 Sep 2023 13:05:54 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="233053" author="mdiep" created="Wed, 5 Sep 2018 15:16:07 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.whamcloud.com/secure/ViewProfile.jspa?name=artem_blagodarenko&quot; class=&quot;user-hover&quot; rel=&quot;artem_blagodarenko&quot;&gt;artem_blagodarenko&lt;/a&gt;&lt;br/&gt;
Are you trying to build lustre server on ubuntu 14.04?&lt;/p&gt;</comment>
                            <comment id="233116" author="artem_blagodarenko" created="Thu, 6 Sep 2018 13:11:34 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.whamcloud.com/secure/ViewProfile.jspa?name=mdiep&quot; class=&quot;user-hover&quot; rel=&quot;mdiep&quot;&gt;mdiep&lt;/a&gt; I get reported output when tried to build Lustre using ubuntu kernel sources on SL-based system. Now I rechecked this on &lt;br/&gt;
14.04.05 (last available 14.04 ubuntu distrib), but build still fails. &lt;/p&gt;

&lt;p&gt;I followed this manual &lt;a href=&quot;https://wiki.hpdd.intel.com/pages/viewpage.action?pageId=63968116&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://wiki.hpdd.intel.com/pages/viewpage.action?pageId=63968116&lt;/a&gt;&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;
ln -s ../../ldiskfs/kernel_patches/patches linux-stage/patches
ln -s ../../ldiskfs/kernel_patches/series/ldiskfs-4.4.0-73-ubuntu14+16.series linux-stage/series
cd linux-stage &amp;amp;&amp;amp; quilt push -a -q
Applying patch sles12sp2/ext4-inode-version.patch
Applying patch sles12sp2/ext4-lookup-dotdot.patch
Applying patch sles12sp2/ext4-print-inum-in-htree-warning.patch
Applying patch sles12sp2/ext4-prealloc.patch
Applying patch sles12sp2/ext4-osd-iop-common.patch
Applying patch ubuntu14+16/ext4-misc.patch
Applying patch sles12sp2/ext4-mballoc-extra-checks.patch
Applying patch sles12sp2/ext4-hash-indexed-dir-dotdot-update.patch
Applying patch sles12sp2/ext4-kill-dx-root.patch
Applying patch rhel7/ext4-mballoc-pa-free-mismatch.patch
Applying patch ubuntu14+16/ext4-data-in-dirent-001.patch
1 out of 29 hunks FAILED
Patch ubuntu14+16/ext4-data-in-dirent-001.patch does not apply (enforce with -f)
make[4]: *** [sources] Error 1
make[4]: Leaving directory `/lustre/mnt/orig/cray-lustre/ldiskfs&apos;
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/lustre/mnt/orig/cray-lustre&apos;
make[2]: *** [all] Error 2
make[2]: Leaving directory `/lustre/mnt/orig/cray-lustre&apos;
make[1]: *** [build-stamp] Error 2
make[1]: Leaving directory `/lustre/mnt/orig/cray-lustre&apos;
dpkg-buildpackage: error: debian/rules build gave error exit status 2
make: *** [debs] Error 2
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&#160;Here is steps I did based on manual&lt;/p&gt;

&lt;p&gt;1. Download ubuntu kernel&lt;br/&gt;
#git clone git://kernel.ubuntu.com/ubuntu/ubuntu-trusty.git ubuntu-kernel&lt;br/&gt;
4.4.0-31-generic&lt;br/&gt;
#uname -r&lt;br/&gt;
#git tag | grep 4.4.0-31&lt;br/&gt;
#git checkout Ubuntu-lts-4.4.0-31.50_14.04.1&lt;br/&gt;
#cp /boot/config-4.4.0-31-generic .config&lt;br/&gt;
#touch .scmversion&lt;br/&gt;
#sed -i &apos;s/^VERSION = .*/VERSION = 4/&apos; Makefile&lt;br/&gt;
#sed -i &apos;s/^PATCHLEVEL = .*/PATCHLEVEL = 4/&apos; Makefile&lt;br/&gt;
#sed -i &apos;s/^SUBLEVEL = .*/SUBLEVEL = 0/&apos; Makefile&lt;br/&gt;
#sed -i &apos;s/^EXTRAVERSION =.*/EXTRAVERSION = -31-generic/&apos; Makefile&lt;br/&gt;
#make -j33&lt;br/&gt;
#./configure --with-linux=/root/ubuntu-kernel&lt;br/&gt;
  --enable-server --enable-modules \&lt;br/&gt;
  --enable-ldiskfs &amp;amp;&amp;amp;&lt;br/&gt;
#make debs -j $(nproc)&lt;/p&gt;

&lt;p&gt;Tried with kernel 4.4.0-45&lt;br/&gt;
#git checkout Ubuntu-lts-4.4.0-45.66_14.04.1&lt;/p&gt;

&lt;p&gt;same result.&lt;/p&gt;</comment>
                            <comment id="233118" author="mdiep" created="Thu, 6 Sep 2018 13:34:18 +0000"  >&lt;p&gt;I assume you ran autogen.sh?&lt;/p&gt;</comment>
                            <comment id="233119" author="artem_blagodarenko" created="Thu, 6 Sep 2018 13:38:54 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.whamcloud.com/secure/ViewProfile.jspa?name=mdiep&quot; class=&quot;user-hover&quot; rel=&quot;mdiep&quot;&gt;mdiep&lt;/a&gt; yes. Didn&apos;t add this to command list, but yes, autopen.sh executed.&lt;/p&gt;</comment>
                            <comment id="242542" author="zam" created="Fri, 22 Feb 2019 20:18:37 +0000"  >&lt;p&gt;I tried ubuntu 16.04 / 18.04 builds recently for &lt;a href=&quot;https://review.whamcloud.com/#/c/21142&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/#/c/21142&lt;/a&gt; and it looks the build is not working:&lt;br/&gt;
 1. Jenkings doesn&apos;t build Lustre server for ubuntu, see &lt;a href=&quot;https://build.whamcloud.com/job/lustre-reviews/61988/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://build.whamcloud.com/job/lustre-reviews/61988/&lt;/a&gt; , despite I explicitly set serverdistro=ubbuntu1604 in gerrit request&lt;/p&gt;

&lt;p&gt;2. an attempt to do provisioning test fails &lt;a href=&quot;https://testing.whamcloud.com/test_sessions/28690c15-78e3-4b28-ac0a-a62f9ed06ec6&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sessions/28690c15-78e3-4b28-ac0a-a62f9ed06ec6&lt;/a&gt; , which is expected b/c server build wasn&apos;t done.&lt;/p&gt;

&lt;p&gt;3. and, finally, I tried to apply ldiskfs patches manually to the kernels linux_4.4.0-131.157 and got an error:&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;[zam@devvm1 linux-4.4]$ quilt push -q -a
Applying patch patches/sles12sp2/ext4-inode-version.patch
Applying patch patches/sles12sp2/ext4-lookup-dotdot.patch
Applying patch patches/sles12sp2/ext4-print-inum-in-htree-warning.patch
Applying patch patches/sles12sp2/ext4-prealloc.patch
Applying patch patches/sles12sp2/ext4-osd-iop-common.patch
Applying patch patches/ubuntu14+16/ext4-misc.patch
Applying patch patches/sles12sp2/ext4-mballoc-extra-checks.patch
1 out of 20 hunks FAILED
Patch patches/sles12sp2/ext4-mballoc-extra-checks.patch does not apply (enforce with -f)
[zam@devvm1 linux-4.4]$ 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;for kernel 4.15.0-32.35 patches are ok:&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;[zam@devvm1 linux-4.15]$ quilt push -a -q
Applying patch patches/sles12sp2/ext4-inode-version.patch
Applying patch patches/sles12sp2/ext4-lookup-dotdot.patch
Applying patch patches/sles12sp2/ext4-print-inum-in-htree-warning.patch
Applying patch patches/sles12sp2/ext4-prealloc.patch
Applying patch patches/ubuntu18/ext4-osd-iop-common.patch
Applying patch patches/ubuntu18/ext4-misc.patch
Applying patch patches/ubuntu18/ext4-mballoc-extra-checks.patch
Applying patch patches/ubuntu18/ext4-hash-indexed-dir-dotdot-update.patch
Applying patch patches/ubuntu18/ext4-kill-dx-root.patch
Applying patch patches/rhel7/ext4-mballoc-pa-free-mismatch.patch
Applying patch patches/ubuntu18/ext4-data-in-dirent.patch
Applying patch patches/ubuntu18/ext4-nocmtime.patch
Applying patch patches/ubuntu18/ext4-pdirop.patch
Applying patch patches/sles12sp2/ext4-max-dir-size.patch
Applying patch patches/ubuntu18/ext4-remove-truncate-warning.patch
Applying patch patches/ubuntu18/ext4-corrupted-inode-block-bitmaps-handling-patches-001.patch
Applying patch patches/ubuntu18/ext4-give-warning-with-dir-htree-growing.patch
Applying patch patches/ubuntu18/ext4-jcb-optimization.patch
Applying patch patches/ubuntu18/ext4-attach-jinode-in-writepages.patch
Applying patch patches/ubuntu18/ext4-dont-check-before-replay.patch
Applying patch patches/rhel7/ext4-use-GFP_NOFS-in-ext4_inode_attach_jinode.patch
Applying patch patches/rhel7/ext4-export-orphan-add.patch
Applying patch patches/rhel7/ext4-mmp-dont-mark-bh-dirty.patch
Applying patch patches/ubuntu18/ext4-include-terminating-u32-in-size-of-xattr-entries-when-expanding-inodes.patch
Applying patch patches/sles12sp2/ext4-export-mb-stream-allocator-variables.patch
Now at patch patches/sles12sp2/ext4-export-mb-stream-allocator-variables.patch
[zam@devvm1 linux-4.15]$ 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&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|i001u7:</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>