After the latest update to kernel 4.18.0-1-amd64 veeamsnap module was not able to build. It worked on kernel: 4.17.0-3-amd64.
Code: Select all
root@amos:~# modprobe veeamsnap
modprobe: FATAL: Module veeamsnap not found in directory /lib/modules/4.18.0-1-amd64
Code: Select all
Loading new veeamsnap-2.0.1.665 DKMS files...
Building for 4.18.0-1-amd64
Building initial module for 4.18.0-1-amd64
Error! Bad return status for module build on kernel: 4.18.0-1-amd64 (x86_64)
Consult /var/lib/dkms/veeamsnap/2.0.1.665/build/make.log for more information.
dpkg: error processing package veeamsnap (--configure):
installed veeamsnap package post-installation script subprocess returned error exit status 10
dpkg: dependency problems prevent configuration of veeam:
veeam depends on veeamsnap (= 2.0.1.665); however:
Package veeamsnap is not configured yet.
dpkg: error processing package veeam (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
veeamsnap
veeam
Code: Select all
DKMS make.log for veeamsnap-2.0.1.665 for kernel 4.18.0-1-amd64 (x86_64)
Thu Sep 20 13:38:49 CEST 2018
make: Entering directory '/usr/src/linux-headers-4.18.0-1-amd64'
CC [M] /var/lib/dkms/veeamsnap/2.0.1.665/build/log.o
CC [M] /var/lib/dkms/veeamsnap/2.0.1.665/build/mem_alloc.o
CC [M] /var/lib/dkms/veeamsnap/2.0.1.665/build/sparse_array_1lv.o
CC [M] /var/lib/dkms/veeamsnap/2.0.1.665/build/sparse_bitmap.o
CC [M] /var/lib/dkms/veeamsnap/2.0.1.665/build/container.o
CC [M] /var/lib/dkms/veeamsnap/2.0.1.665/build/container_spinlocking.o
CC [M] /var/lib/dkms/veeamsnap/2.0.1.665/build/queue_spinlocking.o
CC [M] /var/lib/dkms/veeamsnap/2.0.1.665/build/bitmap_sync.o
CC [M] /var/lib/dkms/veeamsnap/2.0.1.665/build/page_array.o
CC [M] /var/lib/dkms/veeamsnap/2.0.1.665/build/rangelist.o
CC [M] /var/lib/dkms/veeamsnap/2.0.1.665/build/rangevector.o
CC [M] /var/lib/dkms/veeamsnap/2.0.1.665/build/blk_util.o
CC [M] /var/lib/dkms/veeamsnap/2.0.1.665/build/blk_direct.o
In file included from /var/lib/dkms/veeamsnap/2.0.1.665/build/blk_util.c:4:0:
/var/lib/dkms/veeamsnap/2.0.1.665/build/blk_util.h: In function ‘blk_bioset_create’:
/var/lib/dkms/veeamsnap/2.0.1.665/build/blk_util.h:121:9: error: implicit declaration of function ‘bioset_create’; did you mean ‘blk_bioset_create’? [-Werror=implicit-function-declaration]
return bioset_create(64, front_pad, BIOSET_NEED_BVECS | BIOSET_NEED_RESCUER);
^~~~~~~~~~~~~
blk_bioset_create
/var/lib/dkms/veeamsnap/2.0.1.665/build/blk_util.h:121:9: warning: return makes pointer from integer without a cast [-Wint-conversion]
return bioset_create(64, front_pad, BIOSET_NEED_BVECS | BIOSET_NEED_RESCUER);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CC [M] /var/lib/dkms/veeamsnap/2.0.1.665/build/blk_redirect.o
cc1: some warnings being treated as errors
CC [M] /var/lib/dkms/veeamsnap/2.0.1.665/build/blk_deferred.o
make[3]: *** [/usr/src/linux-headers-4.18.0-1-common/scripts/Makefile.build:323: /var/lib/dkms/veeamsnap/2.0.1.665/build/blk_util.o] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from /var/lib/dkms/veeamsnap/2.0.1.665/build/blk_deferred.c:3:0:
/var/lib/dkms/veeamsnap/2.0.1.665/build/blk_util.h: In function ‘blk_bioset_create’:
/var/lib/dkms/veeamsnap/2.0.1.665/build/blk_util.h:121:9: error: implicit declaration of function ‘bioset_create’; did you mean ‘blk_bioset_create’? [-Werror=implicit-function-declaration]
return bioset_create(64, front_pad, BIOSET_NEED_BVECS | BIOSET_NEED_RESCUER);
^~~~~~~~~~~~~
blk_bioset_create
/var/lib/dkms/veeamsnap/2.0.1.665/build/blk_util.h:121:9: warning: return makes pointer from integer without a cast [-Wint-conversion]
return bioset_create(64, front_pad, BIOSET_NEED_BVECS | BIOSET_NEED_RESCUER);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /var/lib/dkms/veeamsnap/2.0.1.665/build/blk_direct.h:2:0,
from /var/lib/dkms/veeamsnap/2.0.1.665/build/blk_direct.c:2:
/var/lib/dkms/veeamsnap/2.0.1.665/build/blk_util.h: In function ‘blk_bioset_create’:
/var/lib/dkms/veeamsnap/2.0.1.665/build/blk_util.h:121:9: error: implicit declaration of function ‘bioset_create’; did you mean ‘blk_bioset_create’? [-Werror=implicit-function-declaration]
return bioset_create(64, front_pad, BIOSET_NEED_BVECS | BIOSET_NEED_RESCUER);
^~~~~~~~~~~~~
blk_bioset_create
/var/lib/dkms/veeamsnap/2.0.1.665/build/blk_util.h:121:9: warning: return makes pointer from integer without a cast [-Wint-conversion]
return bioset_create(64, front_pad, BIOSET_NEED_BVECS | BIOSET_NEED_RESCUER);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/veeamsnap/2.0.1.665/build/blk_deferred.c: In function ‘blk_deferred_bioset_free’:
/var/lib/dkms/veeamsnap/2.0.1.665/build/blk_deferred.c:177:3: error: implicit declaration of function ‘bioset_free’; did you mean ‘bvec_free’? [-Werror=implicit-function-declaration]
bioset_free( BlkDeferredBioset );
^~~~~~~~~~~
bvec_free
/var/lib/dkms/veeamsnap/2.0.1.665/build/blk_direct.c: In function ‘blk_direct_bioset_free’:
/var/lib/dkms/veeamsnap/2.0.1.665/build/blk_direct.c:26:3: error: implicit declaration of function ‘bioset_free’; did you mean ‘bvec_free’? [-Werror=implicit-function-declaration]
bioset_free( BlkDirectBioset );
^~~~~~~~~~~
bvec_free
In file included from /var/lib/dkms/veeamsnap/2.0.1.665/build/blk_redirect.c:2:0:
/var/lib/dkms/veeamsnap/2.0.1.665/build/blk_util.h: In function ‘blk_bioset_create’:
/var/lib/dkms/veeamsnap/2.0.1.665/build/blk_util.h:121:9: error: implicit declaration of function ‘bioset_create’; did you mean ‘blk_bioset_create’? [-Werror=implicit-function-declaration]
return bioset_create(64, front_pad, BIOSET_NEED_BVECS | BIOSET_NEED_RESCUER);
^~~~~~~~~~~~~
blk_bioset_create
/var/lib/dkms/veeamsnap/2.0.1.665/build/blk_util.h:121:9: warning: return makes pointer from integer without a cast [-Wint-conversion]
return bioset_create(64, front_pad, BIOSET_NEED_BVECS | BIOSET_NEED_RESCUER);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/veeamsnap/2.0.1.665/build/blk_redirect.c: In function ‘blk_redirect_bioset_free’:
/var/lib/dkms/veeamsnap/2.0.1.665/build/blk_redirect.c:23:3: error: implicit declaration of function ‘bioset_free’; did you mean ‘bvec_free’? [-Werror=implicit-function-declaration]
bioset_free( BlkRedirectBioset );
^~~~~~~~~~~
bvec_free
cc1: some warnings being treated as errors
make[3]: *** [/usr/src/linux-headers-4.18.0-1-common/scripts/Makefile.build:323: /var/lib/dkms/veeamsnap/2.0.1.665/build/blk_direct.o] Error 1
cc1: some warnings being treated as errors
make[3]: *** [/usr/src/linux-headers-4.18.0-1-common/scripts/Makefile.build:323: /var/lib/dkms/veeamsnap/2.0.1.665/build/blk_deferred.o] Error 1
cc1: some warnings being treated as errors
make[3]: *** [/usr/src/linux-headers-4.18.0-1-common/scripts/Makefile.build:323: /var/lib/dkms/veeamsnap/2.0.1.665/build/blk_redirect.o] Error 1
make[2]: *** [/usr/src/linux-headers-4.18.0-1-common/Makefile:1518: _module_/var/lib/dkms/veeamsnap/2.0.1.665/build] Error 2
make[1]: *** [Makefile:146: sub-make] Error 2
make: *** [Makefile:8: all] Error 2
make: Leaving directory '/usr/src/linux-headers-4.18.0-1-amd64'