<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<font face="Helvetica, Arial, sans-serif">Hi all,<br>
<br>
As Lustre 2.10 is supported on Ubuntu 16.04 and SLES12 with both based on the 4.4 kernel.<br>
I tried to compile the 2.10.6 client using DKMS on the latest Kernel.org 4.4 LTS (4.4-174).<br>
<br>
But it is failing with what looks like differences in the API (full output attached).<br>
<br>
</font>
<blockquote><font face="Helvetica, Arial, sans-serif">make[3]: Entering directory `/usr/src/kernels/4.4.174-1.el6.elrepo.x86_64'<br>
  LD      /var/lib/dkms/lustre-client/2.10.6/build/built-in.o<br>
  LD      /var/lib/dkms/lustre-client/2.10.6/build/libcfs/built-in.o<br>
  LD      /var/lib/dkms/lustre-client/2.10.6/build/libcfs/libcfs/built-in.o<br>
  CC [M]  /var/lib/dkms/lustre-client/2.10.6/build/libcfs/libcfs/linux/linux-tracefile.o<br>
  CC [M]  /var/lib/dkms/lustre-client/2.10.6/build/libcfs/libcfs/linux/linux-debug.o<br>
  CC [M]  /var/lib/dkms/lustre-client/2.10.6/build/libcfs/libcfs/linux/linux-prim.o<br>
  CC [M]  /var/lib/dkms/lustre-client/2.10.6/build/libcfs/libcfs/linux/linux-cpu.o<br>
  CC [M]  /var/lib/dkms/lustre-client/2.10.6/build/libcfs/libcfs/linux/linux-curproc.o<br>
cc1: warnings being treated as errors<br>
/var/lib/dkms/lustre-client/2.10.6/build/libcfs/libcfs/linux/linux-curproc.c: In function ‘cfs_access_process_vm’:<br>
/var/lib/dkms/lustre-client/2.10.6/build/libcfs/libcfs/linux/linux-curproc.c:157: error: passing argument 6 of ‘get_user_pages’ makes pointer from integer without a cast<br>
include/linux/mm.h:1200: note: expected ‘struct page **’ but argument is of type ‘int’<br>
/var/lib/dkms/lustre-client/2.10.6/build/libcfs/libcfs/linux/linux-curproc.c:157: error: passing argument 7 of ‘get_user_pages’ from incompatible pointer type<br>
include/linux/mm.h:1200: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’<br>
/var/lib/dkms/lustre-client/2.10.6/build/libcfs/libcfs/linux/linux-curproc.c:157: error: too many arguments to function ‘get_user_pages’<br>
make[6]: *** [/var/lib/dkms/lustre-client/2.10.6/build/libcfs/libcfs/linux/linux-curproc.o] Error 1<br>
make[5]: *** [/var/lib/dkms/lustre-client/2.10.6/build/libcfs/libcfs] Error 2<br>
make[4]: *** [/var/lib/dkms/lustre-client/2.10.6/build/libcfs] Error 2<br>
make[3]: *** [_module_/var/lib/dkms/lustre-client/2.10.6/build] Error 2<br>
make[3]: Leaving directory `/usr/src/kernels/4.4.174-1.el6.elrepo.x86_64'<br>
make[2]: *** [modules] Error 2<br>
make[2]: Leaving directory `/var/lib/dkms/lustre-client/2.10.6/build'<br>
make[1]: *** [all-recursive] Error 1<br>
make[1]: Leaving directory `/var/lib/dkms/lustre-client/2.10.6/build'<br>
make: *** [all] Error 2<br>
</font><br>
</blockquote>
<font face="Helvetica, Arial, sans-serif">Is there a way to get that to work ?<br>
<br>
Full disclosure: I need to upgrade the kernel of some Centos6 boxes due to a bug (not Lustre related), but can't upgrade the OS for *reasons*.<br>
<br>
<br>
Best regards,<br>
Louis<br>
<br>
<br>
</font>
</body>
</html>