veeamsnap build fails on 4.13.0-17-generic

Backup agent for Linux servers and workstations on-premises or in the public cloud

veeamsnap build fails on 4.13.0-17-generic

Veeam Logoby sl0n » Thu Dec 07, 2017 12:25 pm

Hi,

I have:

# lsb_release -a
No LSB modules are available.
Distributor ID:Ubuntu
Description:Ubuntu 17.10
Release:17.10
Codename:artful

# uname -a
Linux e7240 4.13.0-17-generic #20-Ubuntu SMP Mon Nov 6 10:04:08 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

And the following fails:

Code: Select all
# dkms build -m veeamsnap -v 1.0.1.364

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
make -j4 KERNELRELEASE=4.13.0-17-generic -C /lib/modules/4.13.0-17-generic/build M=/var/lib/dkms/veeamsnap/1.0.1.364/build...(bad exit status: 2)
Error! Bad return status for module build on kernel: 4.13.0-17-generic (x86_64)
Consult /var/lib/dkms/veeamsnap/1.0.1.364/build/make.log for more information.


Log file:

Code: Select all
# cat /var/lib/dkms/veeamsnap/1.0.1.364/build/make.log
DKMS make.log for veeamsnap-1.0.1.364 for kernel 4.13.0-17-generic (x86_64)
Thu Dec  7 13:24:22 CET 2017
make: Entering directory '/usr/src/linux-headers-4.13.0-17-generic'
  AR      /var/lib/dkms/veeamsnap/1.0.1.364/build/built-in.o
  CC [M]  /var/lib/dkms/veeamsnap/1.0.1.364/build/mem_alloc.o
  CC [M]  /var/lib/dkms/veeamsnap/1.0.1.364/build/sparse_array_1lv.o
  CC [M]  /var/lib/dkms/veeamsnap/1.0.1.364/build/container.o
  CC [M]  /var/lib/dkms/veeamsnap/1.0.1.364/build/sparse_bitmap.o
/var/lib/dkms/veeamsnap/1.0.1.364/build/mem_alloc.c: In function ‘dbg_kmalloc_huge’:
/var/lib/dkms/veeamsnap/1.0.1.364/build/mem_alloc.c:138:55: error: ‘__GFP_REPEAT’ undeclared (first use in this function); did you mean ‘__GFP_RECLAIM’?
   ptr = dbg_kmalloc( max_size, flags | __GFP_NOWARN | __GFP_REPEAT);
                                                       ^~~~~~~~~~~~
                                                       __GFP_RECLAIM
/var/lib/dkms/veeamsnap/1.0.1.364/build/mem_alloc.c:138:55: note: each undeclared identifier is reported only once for each function it appears in
scripts/Makefile.build:302: recipe for target '/var/lib/dkms/veeamsnap/1.0.1.364/build/mem_alloc.o' failed
make[1]: *** [/var/lib/dkms/veeamsnap/1.0.1.364/build/mem_alloc.o] Error 1
make[1]: *** Waiting for unfinished jobs....
Makefile:1546: recipe for target '_module_/var/lib/dkms/veeamsnap/1.0.1.364/build' failed
make: *** [_module_/var/lib/dkms/veeamsnap/1.0.1.364/build] Error 2
make: Leaving directory '/usr/src/linux-headers-4.13.0-17-generic'
sl0n
Novice
 
Posts: 5
Liked: never
Joined: Mon Jan 23, 2017 3:40 pm

Re: veeamsnap build fails on 4.13.0-17-generic

Veeam Logoby PTide » Thu Dec 07, 2017 12:28 pm

Hi,

Ubuntu 17.10 support will be introduced in the upcoming VAL 2.0 version this year. For now please contact our support directly to obtain the fix.

Thanks
PTide
Veeam Software
 
Posts: 3308
Liked: 274 times
Joined: Tue May 19, 2015 1:46 pm

Re: veeamsnap build fails on 4.13.0-17-generic

Veeam Logoby marcinbojko » Fri Dec 15, 2017 4:12 pm

The same is on LinuxMint 18.3 (Ubuntu 16.04 based), so it's not an Ubuntu version.
Kernel 4.13.0.16-generic
marcinbojko
Enthusiast
 
Posts: 33
Liked: 9 times
Joined: Thu Mar 06, 2014 10:40 am
Location: Lublin/Poland
Full Name: Marcin Bojko


Return to Veeam Agent for Linux



Who is online

Users browsing this forum: No registered users and 1 guest