<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:27:18 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-9564] Support for Lustre Servers on Ubuntu 14.04/16.04 Kernel 4.4.0</title>
                <link>https://jira.whamcloud.com/browse/LU-9564</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Currently, only SuSE or RedHat machines can be used as Lustre servers. Ubuntu can only be used as a Client.&lt;/p&gt;

&lt;p&gt;Since Lustre has recently started supporting SLES12 with Kernel 4.4.0 &#8211; the very same version used by Ubuntu 16.04 (and 14.04. via HWE Kernels), we had the idea of porting Lustre over (since our future usage of Lustre would greatly benefit from that).&lt;/p&gt;

&lt;p&gt;We made good progress in that respect and have adjusted the Kernel-Patches for &quot;ldiskfs&quot; to also work for Ubuntu&apos;s flavour of Kernel 4.4.0. Additionally, we have extended the Debian build system provided by Lustre, to be able to create both client and server tools and modules.&lt;/p&gt;

&lt;p&gt;You can find the patches against Lustre 2.9.57 attached to this ticket. The kernel patches target version 4.4.0-45.66.&lt;/p&gt;

&lt;p&gt;The compilation and creation of the packages works well and produces the needed modules and tools. Both debian packages install cleanly and the modules (lnet, ldiskfs, lustre) load correctly.&lt;/p&gt;

&lt;p&gt;Unfortunately, once we come to the creation of the Lustre file system, we run into a curious 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;root@musxbeo050:~#  mkfs.lustre --mgs --mdt --fsname=lustre --backfstype=ldiskfs --index=0 /dev/sda7
mkfs.lustre FATAL: unhandled/unloaded fs type 1 &apos;ldiskfs&apos;
mkfs.lustre FATAL: unable to prepare backend (22)
mkfs.lustre: exiting with 22 (Invalid argument)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This is despite the fact, that &quot;ldiskfs&quot; is properly registered with the kernel:&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;root@musxbeo050:~# uname -a
Linux musxbeo050 4.4.0-45-generic #66~14.04.1lustre SMP Mon May 8 18:23:05 CEST 2017 x86_64 x86_64 x86_64 GNU/Linux

root@musxbeo050:~# grep &quot;ldiskfs\|lustre&quot; /proc/filesystems
        ldiskfs
        lustre
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The only unusual message in the kernel log is a complaint by the &quot;ldiskfs&quot; module, that it cant&apos; register itself under the &quot;ext3&quot; alias.&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;May 26 14:16:11 musxbeo050 kernel: [159891.600363] LDISKFS-fs: Unable to register as ext3 (-16)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;So far, we have not yet tested the ZFS backend, but since no kernel changes are needed for that one at all, we don&apos;t think that it will be a great issue, once this one is solved.&lt;/p&gt;

&lt;p&gt;Thanks!&lt;/p&gt;</description>
                <environment>Ubuntu 14.04.5 with Backport Kernel 4.4.0 from Ubuntu 16.04</environment>
        <key id="46319">LU-9564</key>
            <summary>Support for Lustre Servers on Ubuntu 14.04/16.04 Kernel 4.4.0</summary>
                <type id="2" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11311&amp;avatarType=issuetype">New Feature</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="mhschroe">Martin Schr&#246;der</reporter>
                        <labels>
                            <label>ubuntu</label>
                    </labels>
                <created>Fri, 26 May 2017 15:08:07 +0000</created>
                <updated>Sun, 23 Dec 2018 18:51:28 +0000</updated>
                            <resolved>Tue, 6 Feb 2018 05:02:48 +0000</resolved>
                                    <version>Lustre 2.9.0</version>
                                    <fixVersion>Lustre 2.11.0</fixVersion>
                                        <due></due>
                            <votes>1</votes>
                                    <watches>17</watches>
                                                                            <comments>
                            <comment id="197220" author="adilger" created="Sat, 27 May 2017 05:15:41 +0000"  >&lt;p&gt;Please submit patches to Gerrit, so that they can be reviewed. &lt;/p&gt;

&lt;p&gt;The ldiskfs error appears to be related to the userspace tools (mount_utils_ldiskfs) dynamically loaded, rather than kernel issues. &lt;/p&gt;</comment>
                            <comment id="197237" author="pjones" created="Sat, 27 May 2017 15:09:44 +0000"  >&lt;p&gt;Bob/Others&lt;/p&gt;

&lt;p&gt;Any advise to give here?&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="197238" author="pjones" created="Sat, 27 May 2017 15:14:24 +0000"  >&lt;p&gt;Also, given the ZFS support in Ubuntu 16.04, I would think that would be more interesting than ldiskfs - &lt;a href=&quot;http://open-zfs.org/wiki/Distributions#Ubuntu&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://open-zfs.org/wiki/Distributions#Ubuntu&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="197243" author="bogl" created="Sat, 27 May 2017 19:15:24 +0000"  >&lt;p&gt;I suspect you are missing any lustre capable version of e2fsprogs.  Needed for mkfs.lustre of ldiskfs.   We have versions available &amp;amp; downloadable for RHEL and SLES, but since we&apos;ve never done server support for Ubuntu we have none for that.&lt;/p&gt;

&lt;p&gt;Don&apos;t even know if the master-lustre branch of e2fsprogs is capable of building .debs for Ubuntu.&lt;/p&gt;</comment>
                            <comment id="197244" author="thomas.stibor" created="Sat, 27 May 2017 19:37:05 +0000"  >&lt;p&gt;I have built the Lustre specific e2fsprogs for Debian Jessie. Probably it can be used for your testing&lt;br/&gt;
 purpose. It is available here: &lt;a href=&quot;http://web-docs.gsi.de/~tstibor/lustre/lustre-builds/jessie/server/2.9/ldiskfs/e2fsprogs-1.42.13.wc5.deb&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://web-docs.gsi.de/~tstibor/lustre/lustre-builds/jessie/server/2.9/ldiskfs/e2fsprogs-1.42.13.wc5.deb&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Cheers&lt;/p&gt;

&lt;p&gt;&#160;Thomas&lt;/p&gt;</comment>
                            <comment id="197458" author="mhschroe" created="Mon, 29 May 2017 08:24:06 +0000"  >&lt;p&gt;Hi everyone.&lt;/p&gt;

&lt;p&gt;@Peter: Yes, we also want to look at using ZFS at a later point, but for now we want to make sure that we can test both file-systems.&lt;/p&gt;

&lt;p&gt;@Bob, Thomas: I compiled and deployed the ldiskfs-enabled e2fsprogs for Ubuntu already. I probably should have mentioned that in my original submission. &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.whamcloud.com/images/icons/emoticons/tongue.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;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;[-bash-4.3]$ dpkg -l &quot;e2fs*&quot; | grep e2fs
un  e2fsck-static                          &amp;lt;none&amp;gt;                                  &amp;lt;none&amp;gt;       (no description available)
ii  e2fslibs:amd64                         1.42.13-1-intel                         amd64        ext2/ext3/ext4 file system libraries
ii  e2fsprogs                              1.42.13-1-intel                         amd64        ext2/ext3/ext4 file system utilities

&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;This is e2fsprogs-1.42.13.wc5, just with a tiny modification to successfully create a DEB on Ubuntu (the file &quot;ext2_types-wrapper.h&quot; is in the wrong location).&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;[10:24:55][mhschroe@musxbeo022:/local/mhschroe/e2fsprogs-1.42.13.wc5]
[-bash-4.3]$ git log --oneline -3
f77990b Fixed issue with compiling on Ubuntu
00c3728 LU-7867 e2fsprogs: update build version to 1.42.13.wc5
595b511 LU-7867 debugfs: fix check for out-of-bound xattr value
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;


&lt;p&gt;Anyway, the same error occurs also with the modified e2fsprogs.&lt;/p&gt;

&lt;p&gt;@Andreas: I had hoped to upload a working set of changes to Gerrit &#8211; especially since my changes to the Automake system and debian/rules will most likely (currently) break your Jenkins config for the Ubuntu Client builds.&lt;br/&gt;
 But if you think it&apos;s useful, I will upload both changesets later today.&lt;/p&gt;</comment>
                            <comment id="197473" author="gerrit" created="Mon, 29 May 2017 15:58:45 +0000"  >&lt;p&gt;Martin Schroeder (martin.h.schroeder@intel.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/27323&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/27323&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9564&quot; title=&quot;Support for Lustre Servers on Ubuntu 14.04/16.04 Kernel 4.4.0&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9564&quot;&gt;&lt;del&gt;LU-9564&lt;/del&gt;&lt;/a&gt; build: Add server-build for Ubuntu with Kernel 4.4.0&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 89cf22fad8717a1ac7c5abf8a2e009e55e334da1&lt;/p&gt;</comment>
                            <comment id="197664" author="mhschroe" created="Wed, 31 May 2017 11:48:27 +0000"  >&lt;p&gt;Hi everyone.&lt;/p&gt;

&lt;p&gt;I have now also checked the tool with the ZFS backend, and it has the same depressing result:&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;root@musxbeo050:~# dpkg -s &quot;zfsutils&quot; | grep Version
Version: 0.6.5.9-1~trusty

root@musxbeo050:~# grep &quot;zfs&quot; /proc/filesystems
nodev   zfs

root@musxbeo050:~# modinfo osd_zfs
filename:       /lib/modules/4.4.0-45-generic/updates/fs/osd_zfs.ko
license:        GPL
version:        2.9.55_78_g1bb015f

root@musxbeo050:~# mkfs.lustre --mgs --mdt --fsname=lustre --backfstype=zfs --index=0 /dev/sda7
mkfs.lustre FATAL: unhandled/unloaded fs type 5 &apos;zfs&apos;

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

&lt;p&gt;So the tools are all present and &#8211; as far as I can tell &#8211; properly compiled and installed.&lt;/p&gt;

&lt;p&gt;For example, I can create a ZFS pool manually:&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;root@musxbeo050:~# zpool create pool-lustre /dev/sda7
root@musxbeo050:~# zpool status
  pool: pool-lustre
 state: ONLINE
  scan: none requested
config:

        NAME        STATE     READ WRITE CKSUM
        pool-lustre  ONLINE       0     0     0
          sda7      ONLINE       0     0     0

errors: No known data errors

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

&lt;p&gt;By now, I presume that there is actually a problem in the source code of &quot;mkfs.lustre&quot; which prevents it from realizing that, yes, its desired file-systems are indeed available on that Ubuntu Server.&lt;/p&gt;

&lt;p&gt;I&apos;ll try to compile the tool with debugging symbols and then try to check why that error is raised.&lt;/p&gt;</comment>
                            <comment id="197702" author="mhschroe" created="Wed, 31 May 2017 15:43:19 +0000"  >&lt;p&gt;Good news, everyone.&lt;/p&gt;

&lt;p&gt;The debugging session helped and showed me that the Debian packages were missing the &quot;osd_&amp;lt;fstype&amp;gt;.so&quot; files to be deployed into /usr/lib.&lt;/p&gt;

&lt;p&gt;After a quick adjustment of the &quot;debian/*.install&quot; files, a recompile and reinstall, I now get:&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;root@musxbeo050:~# mkfs.lustre --mgs --mdt --fsname=lustre --backfstype=ldiskfs --index=0 /dev/sda7

 Permanent disk data:
Target: lustre:MDT0000
Index: 0
Lustre FS: lustre
Mount type: ldiskfs
[...]
formatting backing filesystem ldiskfs on /dev/sda7
[...]

&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&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;&#160;&lt;/p&gt;

&lt;p&gt;This means the Ubuntu support should be good now.&lt;/p&gt;

&lt;p&gt;I&apos;ve uploaded PatchSet #3 to Gerrit that includes the needed changes for you to review.&lt;/p&gt;

&lt;p&gt;In the meantime, I&apos;ll try seeing how well the system performs.&lt;/p&gt;

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

&lt;p&gt;Thanks, everyone for your input!&lt;/p&gt;</comment>
                            <comment id="201134" author="mhschroe" created="Thu, 6 Jul 2017 10:14:07 +0000"  >&lt;p&gt;Hi everyone.&lt;/p&gt;

&lt;p&gt;The change in Gerrit (&lt;a href=&quot;https://review.whamcloud.com/#/c/27323/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/#/c/27323/&lt;/a&gt;) is ready for merge for 12 days now.&lt;/p&gt;

&lt;p&gt;It has the needed V+1 from Jenkins and Maloo, as well as two CR+1 votes from James and Thomas.&lt;/p&gt;

&lt;p&gt;What else needs to be done to get this merged? &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;</comment>
                            <comment id="201150" author="pjones" created="Thu, 6 Jul 2017 12:38:09 +0000"  >&lt;p&gt;&amp;gt; What else needs to be done to get this merged? &lt;/p&gt;

&lt;p&gt;The 2.10 code freeze to end &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;</comment>
                            <comment id="202605" author="gerrit" created="Wed, 19 Jul 2017 03:31:01 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/27323/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/27323/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9564&quot; title=&quot;Support for Lustre Servers on Ubuntu 14.04/16.04 Kernel 4.4.0&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9564&quot;&gt;&lt;del&gt;LU-9564&lt;/del&gt;&lt;/a&gt; build: Add server-build for Ubuntu with Kernel 4.4.0&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 86c3f90d3ab8dbd21dc6fa325aa3a0556fb94035&lt;/p&gt;</comment>
                            <comment id="202651" author="pjones" created="Wed, 19 Jul 2017 04:03:55 +0000"  >&lt;p&gt;The patch has landed - is that all that is required to complete this task or is further work needed?&lt;/p&gt;</comment>
                            <comment id="202682" author="mhschroe" created="Wed, 19 Jul 2017 08:00:07 +0000"  >&lt;p&gt;Hi Peter.&lt;/p&gt;

&lt;p&gt;The only work that needs to be done is to finish the Wiki dokumentation (it is 95% done):&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;&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;/li&gt;
&lt;/ul&gt;


&lt;p&gt;I should be done with that within the week and will then migrate it to the lustre.org Wiki, too.&lt;/p&gt;

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

&lt;p&gt;Beyond that, the only change that needs to be done is to occassionally align the LDISKFS patches with the Ubuntu Kernel releases.&lt;/p&gt;

&lt;p&gt;Currently it looks like that will only be necessary once every few months, given the rate of changes on the Ubuntu Linux Kernel&apos;s 4.4.0 branch.&lt;/p&gt;</comment>
                            <comment id="202711" author="gerrit" created="Wed, 19 Jul 2017 12:23:00 +0000"  >&lt;p&gt;Martin Schroeder (martin.h.schroeder@intel.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/28100&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/28100&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9564&quot; title=&quot;Support for Lustre Servers on Ubuntu 14.04/16.04 Kernel 4.4.0&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9564&quot;&gt;&lt;del&gt;LU-9564&lt;/del&gt;&lt;/a&gt; build: Added Ubuntu Kernel versions to which_patch and ChangeLog&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: eed1dd8b05304c4b6577c4c0f3274a64e130d051&lt;/p&gt;</comment>
                            <comment id="202845" author="mdiep" created="Thu, 20 Jul 2017 00:19:16 +0000"  >&lt;p&gt;it seems that this patch caused lustre-master build failed&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://build.hpdd.intel.com/job/lustre-master/3615/arch=x86_64,build_type=client,distro=ubuntu1604,ib_stack=inkernel/consoleText&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://build.hpdd.intel.com/job/lustre-master/3615/arch=x86_64,build_type=client,distro=ubuntu1604,ib_stack=inkernel/consoleText&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;dh_gencontrol: No packages to build.
dh_md5sums -p lustre-client-modules-4.4.0-71-&lt;span class=&quot;code-keyword&quot;&gt;generic&lt;/span&gt;
dh_builddeb --destdir=/&lt;span class=&quot;code-keyword&quot;&gt;var&lt;/span&gt;/lib/jenkins/workspace/lustre-master/arch/x86_64/build_type/client/distro/ubuntu1604/ib_stack/inkernel/.. -p lustre-client-modules-4.4.0-71-&lt;span class=&quot;code-keyword&quot;&gt;generic&lt;/span&gt;
dpkg-deb: error: failed to open &lt;span class=&quot;code-keyword&quot;&gt;package&lt;/span&gt; info file &lt;span class=&quot;code-quote&quot;&gt;&apos;debian/lustre-client-modules-4.4.0-71-&lt;span class=&quot;code-keyword&quot;&gt;generic&lt;/span&gt;/DEBIAN/control&apos;&lt;/span&gt; &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; reading: No such file or directory
dh_builddeb: dpkg-deb --build debian/lustre-client-modules-4.4.0-71-&lt;span class=&quot;code-keyword&quot;&gt;generic&lt;/span&gt; /&lt;span class=&quot;code-keyword&quot;&gt;var&lt;/span&gt;/lib/jenkins/workspace/lustre-master/arch/x86_64/build_type/client/distro/ubuntu1604/ib_stack/inkernel/.. returned exit code 2
debian/rules:424: recipe &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; target &lt;span class=&quot;code-quote&quot;&gt;&apos;binary-modules&apos;&lt;/span&gt; failed
make[2]: *** [binary-modules] Error 1
make[2]: Leaving directory &lt;span class=&quot;code-quote&quot;&gt;&apos;/&lt;span class=&quot;code-keyword&quot;&gt;var&lt;/span&gt;/lib/jenkins/workspace/lustre-master/arch/x86_64/build_type/client/distro/ubuntu1604/ib_stack/inkernel/debian/tmp/modules-deb/usr_src/modules/lustre&apos;&lt;/span&gt;
/&lt;span class=&quot;code-keyword&quot;&gt;var&lt;/span&gt;/lib/jenkins/workspace/lustre-master/arch/x86_64/build_type/client/distro/ubuntu1604/ib_stack/inkernel/debian/tmp/modules-deb/usr_share_modass/include/common-rules.make:56: recipe &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; target &lt;span class=&quot;code-quote&quot;&gt;&apos;kdist_build&apos;&lt;/span&gt; failed
make[1]: *** [kdist_build] Error 2
make[1]: Leaving directory &lt;span class=&quot;code-quote&quot;&gt;&apos;/&lt;span class=&quot;code-keyword&quot;&gt;var&lt;/span&gt;/lib/jenkins/workspace/lustre-master/arch/x86_64/build_type/client/distro/ubuntu1604/ib_stack/inkernel/debian/tmp/modules-deb/usr_src/modules/lustre&apos;&lt;/span&gt;
tput: No value &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; $TERM and no -T specified
BUILD FAILED!
tput: No value &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; $TERM and no -T specified
See /&lt;span class=&quot;code-keyword&quot;&gt;var&lt;/span&gt;/lib/jenkins/workspace/lustre-master/arch/x86_64/build_type/client/distro/ubuntu1604/ib_stack/inkernel/debian/tmp/modules-deb/var_cache_modass/lustre.buildlog.4.4.0-71-&lt;span class=&quot;code-keyword&quot;&gt;generic&lt;/span&gt;.1500438566 &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; details.
autoMakefile:1142: recipe &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; target &lt;span class=&quot;code-quote&quot;&gt;&apos;debs&apos;&lt;/span&gt; failed
make: *** [debs] Error 7

&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="202952" author="mhschroe" created="Thu, 20 Jul 2017 16:04:14 +0000"  >&lt;p&gt;Hi Minh Diep.&lt;/p&gt;

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

&lt;p&gt;Curious that the tests started from Gerrit for the change have not picked that issue up.&lt;/p&gt;

&lt;p&gt;I will try to replicate it on our Ubuntu servers and get back to y&apos;all. I do admit that in my test cases, I only looked at the &quot;make debs&quot; target in isolation, and never run the &quot;make dist&quot; target as done by this Jenkins test.&lt;/p&gt;</comment>
                            <comment id="202962" author="simmonsja" created="Thu, 20 Jul 2017 17:02:31 +0000"  >&lt;p&gt;I&apos;m building my debs against only ZFS but when I run make dist I see:&lt;/p&gt;

&lt;p&gt;tardir=lustre-2.10.50_68_gb2c8846_dirty &amp;amp;&amp;amp; tar -&lt;del&gt;format=ustar -chf - &quot;$tardir&quot; | GZIP=&lt;/del&gt;-best gzip -c &amp;gt;lustre-2.10.50_68_gb2c8846_dirty.tar.gz&lt;br/&gt;
tar: lustre-2.10.50_68_gb2c8846_dirty/debian/lustre-source/usr/share/modass/overrides/lustre-source: File removed before we read it&lt;br/&gt;
tar: lustre-2.10.50_68_gb2c8846_dirty/debian/tmp/modules-deb/usr_src/modules/lustre/debian/lustre-client-utils.manpages: link name is too long; not dumped&lt;/p&gt;

&lt;p&gt;This is on Ubuntu 17.&lt;/p&gt;</comment>
                            <comment id="204015" author="gerrit" created="Tue, 1 Aug 2017 05:05:33 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/28293&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/28293&lt;/a&gt;&lt;br/&gt;
Subject: Revert &quot;&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9564&quot; title=&quot;Support for Lustre Servers on Ubuntu 14.04/16.04 Kernel 4.4.0&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9564&quot;&gt;&lt;del&gt;LU-9564&lt;/del&gt;&lt;/a&gt; build: Add server-build for Ubuntu with Kernel 4.4.0&quot;&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 94ed9f023bfeadcdf25202d2d0432339b9fd71b0&lt;/p&gt;</comment>
                            <comment id="204016" author="gerrit" created="Tue, 1 Aug 2017 05:32:44 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/28293/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/28293/&lt;/a&gt;&lt;br/&gt;
Subject: Revert &quot;&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9564&quot; title=&quot;Support for Lustre Servers on Ubuntu 14.04/16.04 Kernel 4.4.0&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9564&quot;&gt;&lt;del&gt;LU-9564&lt;/del&gt;&lt;/a&gt; build: Add server-build for Ubuntu with Kernel 4.4.0&quot;&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 2deec088aa4e1153bc00730c2b1b4bf5d40d275a&lt;/p&gt;</comment>
                            <comment id="204035" author="green" created="Tue, 1 Aug 2017 07:18:08 +0000"  >&lt;p&gt;Please resubmit this patch in a form that actually works in our build system (mix in the changelog/which_patch/... update too please)&lt;/p&gt;

&lt;p&gt;Thanks.&lt;/p&gt;</comment>
                            <comment id="204038" author="mhschroe" created="Tue, 1 Aug 2017 08:46:21 +0000"  >&lt;p&gt;Will do that, yes.&lt;/p&gt;

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

&lt;p&gt;Of course, this only raises the point that the build system that covers the uploads does not actually cover all the build types that you use.&lt;/p&gt;

&lt;p&gt;From what I can tell, it covers only the &quot;make debs&quot; path on Ubuntu&#160;(which works) &#8211; but not the &quot;make dist&quot; call (which does not).&lt;/p&gt;

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

&lt;p&gt;Indeed, I never even knew that there was an alternative make rule for building Debs to begin with. &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.whamcloud.com/images/icons/emoticons/tongue.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&#160;&lt;/p&gt;

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

&lt;p&gt;&lt;b&gt;So, my question would be:&lt;/b&gt; What would it take to have both &quot;make debs&quot; and &quot;make dist&quot; be checked by your Jenkins builds that trigger on Gerrit upload?&lt;/p&gt;

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

&lt;p&gt;EDIT: Typo correction &#8211; it is &quot;make dist&quot;, not &quot;make site&quot;.&lt;/p&gt;</comment>
                            <comment id="204050" author="pjones" created="Tue, 1 Aug 2017 12:08:41 +0000"  >&lt;p&gt;Martin&lt;/p&gt;

&lt;p&gt;Yes it will be possible to make these checks routine once they are reliably working&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="209576" author="mhschroe" created="Tue, 26 Sep 2017 14:58:49 +0000"  >&lt;p&gt;Hi everyone.&lt;/p&gt;



&lt;p&gt;I have finally found the time to look at this, and I can&apos;t replicate the issue that was reported.&lt;/p&gt;

&lt;p&gt;I installed two VMs &#8211; one with Ubuntu 14.04 and one with 16.04 and ran the DEB creation sucessfully on both of them, while following the build steps used by the HPDD build server, namely in the form of these commands:&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;$ sh autogen.sh &amp;amp;&amp;amp; ./configure --enable-dist
$ make dist
$ rm -rf BUILD
$ mkdir BUILD
$ cd BUILD
$ tar -zxf ../lustre-2.10.53_1_ga949a00.tar.gz
$ cd lustre-2.10.53_1_ga949a00
$ ./configure --with-linux=${BUILDPATH}/ubuntu-kernel --disable-server
$ make debs
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;The kernel that was used to compile Lustre against was 4.4.0-71 in both cases &#8211; the same that was used by the failing run above.&lt;/p&gt;

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

&lt;p&gt;Hence, I can only conclude that it was a one-off failure on the build system &#8211; or is something specific to the environment / kernel sources used by the HPDD build server.&lt;/p&gt;

&lt;p&gt;I will shortly upload a new changeset to Gerrit, so that it can be tested on the build-server.&lt;/p&gt;

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

&lt;p&gt;Thanks,&lt;br/&gt;
&#160; &#160; Martin.&lt;/p&gt;</comment>
                            <comment id="209589" author="gerrit" created="Tue, 26 Sep 2017 15:52:39 +0000"  >&lt;p&gt;Martin Schroeder (martin.h.schroeder@intel.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/29215&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/29215&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9564&quot; title=&quot;Support for Lustre Servers on Ubuntu 14.04/16.04 Kernel 4.4.0&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9564&quot;&gt;&lt;del&gt;LU-9564&lt;/del&gt;&lt;/a&gt; build: Add server-build for Ubuntu with Kernel 4.4.0&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: a949a00df7ccb18e054f3b9acc6b5ab104dff535&lt;/p&gt;</comment>
                            <comment id="209731" author="mhschroe" created="Wed, 27 Sep 2017 16:07:32 +0000"  >&lt;p&gt;Hi everyone.&lt;/p&gt;

&lt;p&gt;Just as a heads-up. I narrowed the bug down. The code builds perfectly fine on Ubuntu 14, but fails on Ubuntu 16 while assembling the DEB for the client-modules.&lt;br/&gt;
 It seems they changed some things in the &quot;debhelper&quot; macros that used to work on earlier versions deployed in 14.04 and early 16.04, but fails in the recent updates to 16.06.&lt;/p&gt;

&lt;p&gt;Fun times. &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.whamcloud.com/images/icons/emoticons/biggrin.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;{EDIT}&lt;br/&gt;
Found it!&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;Build-Depends: debhelper (&amp;gt;= 7.0.0), bzip2

&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;The &quot;7.0.0&quot; must not be used. It seems that the current way of building modules (via modules-assistant) confuses newer debhelper variants.&lt;/p&gt;


&lt;p&gt;Once I reverted this to request version &quot;5.0.0&quot;, the build works on 16.04. now, too.&lt;/p&gt;</comment>
                            <comment id="209734" author="simmonsja" created="Wed, 27 Sep 2017 16:16:39 +0000"  >&lt;p&gt;Have you tried upping the  debhelper version. I found on my Ubuntu17 system it complains about debhelper using protocol 7 instead of 9 which is the supported default.&lt;/p&gt;</comment>
                            <comment id="209746" author="mhschroe" created="Wed, 27 Sep 2017 17:14:41 +0000"  >&lt;p&gt;Hi James.&lt;/p&gt;

&lt;p&gt;Thanks, as I said above (in the edit), it works when requesting an even&#160;&lt;em&gt;older&lt;/em&gt; version, namely 5.0.0.&lt;/p&gt;

&lt;p&gt;Since the original code uses 5.0.0 I&apos;ll keep it at that version, but I&apos;ll also check it with &quot;9.0.0&quot; and update this post, once it&apos;s done.&lt;/p&gt;

&lt;p&gt;{EDIT}&lt;br/&gt;
Correction: It seems that it is not the debhelper version, but the presence/absence of the &quot;Build-Profiles&quot; section I had added. Once I removed those, it worked with all versions equally.&lt;/p&gt;

&lt;p&gt;One never stops learning. &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.whamcloud.com/images/icons/emoticons/biggrin.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;</comment>
                            <comment id="211153" author="mhschroe" created="Mon, 16 Oct 2017 09:02:52 +0000"  >&lt;p&gt;Hi everyone.&lt;/p&gt;

&lt;p&gt;The Gerrit change which fixes all outstanding issues has been uploaded 3 weeks ago and has passed all automated tests.&lt;/p&gt;

&lt;p&gt;I wonder what else is needed to entice users that have CR rights to review and ultimately merge the changes? &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;&#160;&lt;/p&gt;

&lt;p&gt;Would it help if I got out of the spaceship and pushed it?&#160; &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.whamcloud.com/images/icons/emoticons/wink.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;</comment>
                            <comment id="211179" author="simmonsja" created="Mon, 16 Oct 2017 14:43:38 +0000"  >&lt;p&gt;Sorry I saw previous comments but didn&apos;t realize you updated the patch. Will look now. I will the proper people to review.&lt;/p&gt;</comment>
                            <comment id="211180" author="bogl" created="Mon, 16 Oct 2017 14:55:36 +0000"  >&lt;p&gt;the latest kernel version on Ubuntu 16 appears to be 4.10, not 4.4.  Is that supported?&lt;/p&gt;</comment>
                            <comment id="211181" author="pjones" created="Mon, 16 Oct 2017 15:07:17 +0000"  >&lt;p&gt;We officially support the 4.4 kernel version because that is a known quantity and allows us to maintain support for Ubuntu 16 regardless of what kernel version is used the cutting edge version. We do attempt to keep as abreast with the latest kernel versions as possible so most of the time I would expect us to be able to support either option. James will be able to comment authoritatively but I think that we&apos;re able to support up to 4.11 and are very close to 4.12 so I would expect 4.10 to be ok.&lt;/p&gt;</comment>
                            <comment id="211191" author="mhschroe" created="Mon, 16 Oct 2017 15:56:46 +0000"  >&lt;p&gt;Hi everyone.&lt;/p&gt;

&lt;p&gt;I can only assent to what Peter said. I chose Kernel 4.4.0, because of several reasons:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;It is the Kernel shipped with the original Ubuntu 16.04&lt;/li&gt;
	&lt;li&gt;It is supported via backports on Ubuntu 14.04 (and is default on 14.04.5)&lt;/li&gt;
	&lt;li&gt;It is already supported by the Lustre team for RedHat/SuSE, so I was able to re-use the existing Kernel patches with minimal changes.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;In other words: I went the path of least resistance. &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.whamcloud.com/images/icons/emoticons/biggrin.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;&#160;&lt;/p&gt;

&lt;p&gt;From what I have seen when adjusting the patches for Ubuntu&apos;s 4.4.0 version, I do not think it would be a great problem to target 4.10 --&#160;&lt;em&gt;eventually.&lt;/em&gt;&lt;br/&gt;
After all, the build scripts already dynamically detect the Kernel version and choose the correct set of patches.&lt;/p&gt;

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

&lt;p&gt;But to get this patch merged, I&apos;d vote for sticking with 4.4.0 for a while, until someone with more experience than me regarding Lustre Kernel patches can find the time to port them to 4.10. &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;</comment>
                            <comment id="211195" author="simmonsja" created="Mon, 16 Oct 2017 16:05:53 +0000"  >&lt;p&gt;Martin you are going to need to rebase the patch : -). It failed to apply when I went to try it. &lt;/p&gt;

&lt;p&gt;As for newer kernel support we are one patch away from 4.12 kernel support for the client. I have updated the patch, which is &lt;a href=&quot;https://review.whamcloud.com/#/c/28511&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/#/c/28511&lt;/a&gt;. For lustre 2.10 we are one patch away from 4.11 kernel support. This is also assuming GSS keyring is disabled which is stuck at pre-4.6 kernels.&lt;/p&gt;

&lt;p&gt;Also the latest ZFS + lustre with a 4.12 kernel works fine. Its ldiskfs which I haven&apos;t touched for a 4.12 kernel. I haven&apos;t tried to port ldiskfs to any newer kernels.&lt;/p&gt;</comment>
                            <comment id="211223" author="bogl" created="Mon, 16 Oct 2017 18:28:50 +0000"  >&lt;p&gt;Latest patch isn&apos;t working for me at all.&lt;br/&gt;
&apos;build debs&apos; fails with errors like the following:&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;# Create the module-source tarball.
cd debian/lustre-source/usr/src &amp;amp;&amp;amp; tar jcf lustre.tar.bz2 modules 
rm -rf debian/lustre-source/usr/src/modules
dh_install -plustre-source
dh_installchangelogs -p lustre-source lustre/ChangeLog
dh_installdocs -p lustre-source 
dh_link -p lustre-source /usr/share/modass/packages/default.sh
/usr/share/modass/overrides/lustre-source
dh_compress -p lustre-source
dh_installdeb -p lustre-source
dh_fixperms -p lustre-source
dh_gencontrol -p lustre-source
dh_md5sums -p lustre-source
dh_builddeb -p lustre-source
dpkg-deb: building package &apos;lustre-source&apos; in
&apos;../lustre-source_2.10.54-14-g65983ee-1_all.deb&apos;.
dh_testdir
dh_testroot
dh_installdirs -p lustre-server-utils
dh_installdocs -p  lustre-server-utils
dh_installman -p lustre-server-utils
dh_install -p lustre-server-utils
dh_install: lustre-server-utils missing files: debian/tmp/usr/lib/lustre/*.la
dh_install: missing files, aborting
debian/rules:239: recipe for target &apos;binary-lustre-server-utils&apos; failed
make[1]: *** [binary-lustre-server-utils] Error 255
make[1]: Leaving directory &apos;/home/bogl/lustre-release&apos;
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
autoMakefile:1142: recipe for target &apos;debs&apos; failed
make: *** [debs] Error 2
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="211231" author="simmonsja" created="Mon, 16 Oct 2017 20:00:30 +0000"  >&lt;p&gt;It needs a rebase as well.&lt;/p&gt;</comment>
                            <comment id="211232" author="bogl" created="Mon, 16 Oct 2017 20:02:44 +0000"  >&lt;p&gt;that fail was a rebase on latest master&lt;/p&gt;</comment>
                            <comment id="211263" author="mhschroe" created="Tue, 17 Oct 2017 08:43:09 +0000"  >&lt;p&gt;Okay, I&apos;ll rebase and see where the problem might be.&lt;/p&gt;

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

&lt;p&gt;I do remember the &quot;missing files&quot; issue, which happened when certain configurations would not build shared libraries, only static ones. But I believed to have fixed all of them. Let me check. &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;</comment>
                            <comment id="211287" author="simmonsja" created="Tue, 17 Oct 2017 15:20:39 +0000"  >&lt;p&gt;Its a libtool thing. Looking on my ubuntu system I don&apos;t see any *.la files installed. I noticed we are installing them.&lt;/p&gt;</comment>
                            <comment id="218311" author="mhschroe" created="Tue, 16 Jan 2018 14:38:51 +0000"  >&lt;p&gt;Hi everyone.&lt;/p&gt;

&lt;p&gt;I have rebased the code, fixed the build-time issues and changed the DEB file creation to allow more than one &quot;lustre - * - modules - &amp;lt;KVERS&amp;gt;&quot; package to be installed simultaneously.&lt;/p&gt;

&lt;p&gt;I have checked the compilation on both Ubuntu 14.04 and 16.04. and against the most recent Linux Kernel version available for both.&lt;/p&gt;

&lt;p&gt;If you have the time, please review the Gerrit change under: &lt;a href=&quot;https://review.whamcloud.com/#/c/29215&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/#/c/29215&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Do note especially the small workaround for &quot;IB_DEVICE_SG_GAPS_REG&quot; and &quot;IB_MR_TYPE_SG_GAPS&quot;, that is needed to compile against the Ubuntu Kernels, which do not have those macros. The change to &quot;lnet/klnds/o2iblnd/o2iblnd.c&quot; should be broadly compatible with both older and newer kernels.&lt;/p&gt;

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

&lt;p&gt;Thanks!&lt;/p&gt;</comment>
                            <comment id="218313" author="chunteraa" created="Tue, 16 Jan 2018 14:50:33 +0000"  >&lt;p&gt;For &quot;IB_MR_TYPE_SG_GAPS&quot; you might want to look at &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-10089&quot; title=&quot;kiblnd_fmr_pool_map() Failed to map mr 10/11 elements&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-10089&quot;&gt;&lt;del&gt;LU-10089&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="218320" author="mhschroe" created="Tue, 16 Jan 2018 15:58:40 +0000"  >&lt;p&gt;Hi Chris. I&apos;ve seen that commit (and an earlier one that was already merged) when I encountered the compile-time issue.&lt;/p&gt;

&lt;p&gt;The problem here is, that neither &quot;IB_DEVICE_SG_GAPS_REG&quot; nor &quot;IB_MR_TYPE_SG_GAPS&quot; are available on the 4.4.0-series Kernels as used by Ubuntu at all. So any code that mentions them outside of a suitable preprocessor guard will fail to compile. In this case, the guard matched, even when the symbols were not present.&lt;/p&gt;

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

&lt;p&gt;The reason for their absence appears to be, that there is a general warning against using these symbols:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;https://patchwork.kernel.org/patch/9573483/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://patchwork.kernel.org/patch/9573483/&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;https://lkml.org/lkml/2017/3/13/206&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://lkml.org/lkml/2017/3/13/206&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;So either they removed them, or they never used them on the 4.4.0 Kernel.&lt;/p&gt;

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

&lt;p&gt;I changed the code so that Lustre will use them, if the symbols are present. If missing, it will revert to the old pre-patch behaviour.&lt;br/&gt;
 At least that&apos;s what I hope my code does. Checking for symbols via preprocessor macros can be iffy, if what you check turns out not to be a macro in the first place. &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.whamcloud.com/images/icons/emoticons/tongue.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;&#160;&lt;/p&gt;</comment>
                            <comment id="218345" author="bogl" created="Tue, 16 Jan 2018 19:07:34 +0000"  >&lt;p&gt;I would prefer to see those o2iblnd.c changes as a separate patch.  That fix isn&apos;t specific to server builds.  It is needed for any build on current Ubuntu kernel versions, including client builds.&lt;/p&gt;</comment>
                            <comment id="218391" author="mhschroe" created="Wed, 17 Jan 2018 09:49:47 +0000"  >&lt;p&gt;Okay, I will extract the o2iblnd.c changes into a separate changeset and then adjust the dependencies of the current one, so that it depends on the other. &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;</comment>
                            <comment id="218394" author="mhschroe" created="Wed, 17 Jan 2018 10:21:16 +0000"  >&lt;p&gt;Add reference to blocking subtask for o2iblnd.c changes.&lt;/p&gt;</comment>
                            <comment id="218396" author="mhschroe" created="Wed, 17 Jan 2018 10:27:14 +0000"  >&lt;p&gt;@Bob Glossmann: Please review: &lt;a href=&quot;https://review.whamcloud.com/#/c/30893/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/#/c/30893/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="218893" author="mhschroe" created="Tue, 23 Jan 2018 10:09:01 +0000"  >&lt;p&gt;Okay everyone.&lt;/p&gt;

&lt;p&gt;Both changes have CR+1/V+1. Now, I guess all that is needed is to find someone with&#160;the needed permissions to push the code into the mainline.&lt;/p&gt;

&lt;p&gt;So... any volunteers on the front of merging the two commits? &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;&#160;&lt;/p&gt;

&lt;p&gt;Once the code is merged and shown to not cause any problems (like last time), it would also be a good idea to add a Ubuntu Server build to the Jenkins config. The Client build is already there, after all.&#160;&lt;img class=&quot;emoticon&quot; src=&quot;https://jira.whamcloud.com/images/icons/emoticons/biggrin.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;&#160;&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
&#160; &#160; Martin.&lt;/p&gt;</comment>
                            <comment id="218903" author="pjones" created="Tue, 23 Jan 2018 14:17:35 +0000"  >&lt;p&gt;Martin&lt;/p&gt;

&lt;p&gt;The commits will be landed by the gatekeeper when he has completed necessary reviews and tests. One of the patches is in the batch being processed ATM - &lt;a href=&quot;https://git.hpdd.intel.com/?p=fs/lustre-release.git;a=shortlog;h=refs/heads/master-next&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.hpdd.intel.com/?p=fs/lustre-release.git;a=shortlog;h=refs/heads/master-next&lt;/a&gt;&#160;- and the other will likely be in the next batch&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="220059" author="gerrit" created="Tue, 6 Feb 2018 04:27:22 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/29215/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/29215/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9564&quot; title=&quot;Support for Lustre Servers on Ubuntu 14.04/16.04 Kernel 4.4.0&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9564&quot;&gt;&lt;del&gt;LU-9564&lt;/del&gt;&lt;/a&gt; build: Add server-build for Ubuntu with Kernel 4.4.0&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 027a7237b560489099ba490db925db17a554f37d&lt;/p&gt;</comment>
                            <comment id="220084" author="pjones" created="Tue, 6 Feb 2018 05:02:48 +0000"  >&lt;p&gt;Landed for 2.11&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10120">
                    <name>Blocker</name>
                                                                <inwardlinks description="is blocked by">
                                        <issuelink>
            <issuekey id="50285">LU-10526</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="52457">LU-11071</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="26817" name="lustre-2.9.57-001-ubuntu-kernel-patches.patch" size="155525" author="mhschroe" created="Fri, 26 May 2017 15:07:19 +0000"/>
                            <attachment id="26816" name="lustre-2.9.57-002-ubuntu-debian-package.patch" size="17969" author="mhschroe" created="Fri, 26 May 2017 15:07:18 +0000"/>
                    </attachments>
                <subtasks>
                            <subtask id="50285">LU-10526</subtask>
                    </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_10030" key="com.atlassian.jira.plugin.system.customfieldtypes:labels">
                        <customfieldname>Epic/Theme</customfieldname>
                        <customfieldvalues>
                                        <label>ubuntu</label>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzzdnr:</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>