[lustre-discuss] Lustre client on kernel.org 4.4 ?

Louis Bailleul Louis.Bailleul at pgs.com
Tue Feb 12 07:51:13 PST 2019


Hi all,

As Lustre 2.10 is supported on Ubuntu 16.04 and SLES12 with both based on the 4.4 kernel.
I tried to compile the 2.10.6 client using DKMS on the latest Kernel.org 4.4 LTS (4.4-174).

But it is failing with what looks like differences in the API (full output attached).

make[3]: Entering directory `/usr/src/kernels/4.4.174-1.el6.elrepo.x86_64'
  LD      /var/lib/dkms/lustre-client/2.10.6/build/built-in.o
  LD      /var/lib/dkms/lustre-client/2.10.6/build/libcfs/built-in.o
  LD      /var/lib/dkms/lustre-client/2.10.6/build/libcfs/libcfs/built-in.o
  CC [M]  /var/lib/dkms/lustre-client/2.10.6/build/libcfs/libcfs/linux/linux-tracefile.o
  CC [M]  /var/lib/dkms/lustre-client/2.10.6/build/libcfs/libcfs/linux/linux-debug.o
  CC [M]  /var/lib/dkms/lustre-client/2.10.6/build/libcfs/libcfs/linux/linux-prim.o
  CC [M]  /var/lib/dkms/lustre-client/2.10.6/build/libcfs/libcfs/linux/linux-cpu.o
  CC [M]  /var/lib/dkms/lustre-client/2.10.6/build/libcfs/libcfs/linux/linux-curproc.o
cc1: warnings being treated as errors
/var/lib/dkms/lustre-client/2.10.6/build/libcfs/libcfs/linux/linux-curproc.c: In function ‘cfs_access_process_vm’:
/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
include/linux/mm.h:1200: note: expected ‘struct page **’ but argument is of type ‘int’
/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
include/linux/mm.h:1200: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’
/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’
make[6]: *** [/var/lib/dkms/lustre-client/2.10.6/build/libcfs/libcfs/linux/linux-curproc.o] Error 1
make[5]: *** [/var/lib/dkms/lustre-client/2.10.6/build/libcfs/libcfs] Error 2
make[4]: *** [/var/lib/dkms/lustre-client/2.10.6/build/libcfs] Error 2
make[3]: *** [_module_/var/lib/dkms/lustre-client/2.10.6/build] Error 2
make[3]: Leaving directory `/usr/src/kernels/4.4.174-1.el6.elrepo.x86_64'
make[2]: *** [modules] Error 2
make[2]: Leaving directory `/var/lib/dkms/lustre-client/2.10.6/build'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/lib/dkms/lustre-client/2.10.6/build'
make: *** [all] Error 2

Is there a way to get that to work ?

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*.


Best regards,
Louis


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20190212/15d5726f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: make.log
Type: text/x-log
Size: 3164 bytes
Desc: make.log
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20190212/15d5726f/attachment.bin>


More information about the lustre-discuss mailing list