on openSUSE Tumbleweed with latest kernel 4.13.1 veeamsnap doesn't build.
this is the first error:
Code: Select all
HOSTNAME:/home/user # dkms install -m veeamsnap -v 1.0.1.364
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area...
make -j4 KERNELRELEASE=4.13.1-1-default -C /lib/modules/4.13.1-1-default/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.1-1-default (x86_64)
Consult /var/lib/dkms/veeamsnap/1.0.1.364/build/make.log for more information.
HOSTNAME:/home/user # more /var/lib/dkms/veeamsnap/1.0.1.364/build/make.log
DKMS make.log for veeamsnap-1.0.1.364 for kernel 4.13.1-1-default (x86_64)
vr sep 15 22:39:29 CEST 2017
make: Entering directory '/usr/src/linux-4.13.1-1-obj/x86_64/default'
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/sparse_bitmap.o
CC [M] /var/lib/dkms/veeamsnap/1.0.1.364/build/container.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
make[3]: *** [/usr/src/linux-4.13.1-1/scripts/Makefile.build:309: /var/lib/dkms/veeamsnap/1.0.1.364/build/mem_alloc.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [/usr/src/linux-4.13.1-1/Makefile:1522: _module_/var/lib/dkms/veeamsnap/1.0.1.364/build] Error 2
make[1]: *** [Makefile:145: sub-make] Error 2
make: *** [Makefile:24: __sub-make] Error 2
make: Leaving directory '/usr/src/linux-4.13.1-1-obj/x86_64/default'
Code: Select all
HOSTNAME:/home/user # dkms install -m veeamsnap -v 1.0.1.364
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area...
make -j4 KERNELRELEASE=4.13.1-1-default -C /lib/modules/4.13.1-1-default/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.1-1-default (x86_64)
Consult /var/lib/dkms/veeamsnap/1.0.1.364/build/make.log for more information.
HOSTNAME:/home/user # more /var/lib/dkms/veeamsnap/1.0.1.364/build/make.log
DKMS make.log for veeamsnap-1.0.1.364 for kernel 4.13.1-1-default (x86_64)
vr sep 15 22:36:47 CEST 2017
make: Entering directory '/usr/src/linux-4.13.1-1-obj/x86_64/default'
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/sparse_bitmap.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/container_spinlocking.o
CC [M] /var/lib/dkms/veeamsnap/1.0.1.364/build/queue_spinlocking.o
CC [M] /var/lib/dkms/veeamsnap/1.0.1.364/build/bitmap_sync.o
CC [M] /var/lib/dkms/veeamsnap/1.0.1.364/build/log.o
CC [M] /var/lib/dkms/veeamsnap/1.0.1.364/build/page_array.o
CC [M] /var/lib/dkms/veeamsnap/1.0.1.364/build/blk_dev_utile.o
CC [M] /var/lib/dkms/veeamsnap/1.0.1.364/build/dio_request.o
CC [M] /var/lib/dkms/veeamsnap/1.0.1.364/build/rangeset.o
In file included from /var/lib/dkms/veeamsnap/1.0.1.364/build/dio_request.c:7:0:
/var/lib/dkms/veeamsnap/1.0.1.364/build/blk_dev_utile.h: In function ‘blk_bio_end’:
/var/lib/dkms/veeamsnap/1.0.1.364/build/blk_dev_utile.h:77:7: error: ‘struct bio’ has no member named ‘bi_error’; did you mean ‘bi_iter’?
bio->bi_error = err;
^~~~~~~~
bi_iter
/var/lib/dkms/veeamsnap/1.0.1.364/build/dio_request.c: In function ‘dio_bioset_create’:
/var/lib/dkms/veeamsnap/1.0.1.364/build/dio_request.c:113:16: error: too few arguments to function ‘bioset_create’
dio_bio_set = bioset_create( 64, sizeof( dio_bio_complete_t ) );
^~~~~~~~~~~~~
In file included from /usr/src/linux-4.13.1-1/include/linux/blkdev.h:20:0,
from /var/lib/dkms/veeamsnap/1.0.1.364/build/stdafx.h:10,
from /var/lib/dkms/veeamsnap/1.0.1.364/build/dio_request.c:1:
/usr/src/linux-4.13.1-1/include/linux/bio.h:390:24: note: declared here
extern struct bio_set *bioset_create(unsigned int, unsigned int, int flags);
^~~~~~~~~~~~~
In file included from /var/lib/dkms/veeamsnap/1.0.1.364/build/blk_dev_utile.c:4:0:
/var/lib/dkms/veeamsnap/1.0.1.364/build/blk_dev_utile.h: In function ‘blk_bio_end’:
/var/lib/dkms/veeamsnap/1.0.1.364/build/blk_dev_utile.h:77:7: error: ‘struct bio’ has no member named ‘bi_error’; did you mean ‘bi_iter’?
bio->bi_error = err;
^~~~~~~~
bi_iter
/var/lib/dkms/veeamsnap/1.0.1.364/build/dio_request.c: In function ‘dio_bio_end_io’:
/var/lib/dkms/veeamsnap/1.0.1.364/build/dio_request.c:170:20: error: ‘struct bio’ has no member named ‘bi_error’; did you mean ‘bi_iter’?
local_err = bio->bi_error;
^~~~~~~~
bi_iter
/var/lib/dkms/veeamsnap/1.0.1.364/build/blk_dev_utile.c: In function ‘blk_bioset_create’:
/var/lib/dkms/veeamsnap/1.0.1.364/build/blk_dev_utile.c:11:16: error: too few arguments to function ‘bioset_create’
blk_bio_set = bioset_create( 64, sizeof( tracking_bio_complete_t ) );
^~~~~~~~~~~~~
In file included from /usr/src/linux-4.13.1-1/include/linux/blkdev.h:20:0,
from /var/lib/dkms/veeamsnap/1.0.1.364/build/stdafx.h:10,
from /var/lib/dkms/veeamsnap/1.0.1.364/build/blk_dev_utile.c:1:
/usr/src/linux-4.13.1-1/include/linux/bio.h:390:24: note: declared here
extern struct bio_set *bioset_create(unsigned int, unsigned int, int flags);
^~~~~~~~~~~~~
/var/lib/dkms/veeamsnap/1.0.1.364/build/blk_dev_utile.c: In function ‘tracking_bio_end_io’:
/var/lib/dkms/veeamsnap/1.0.1.364/build/blk_dev_utile.c:43:26: error: ‘struct bio’ has no member named ‘bi_error’; did you mean ‘bi_iter’?
bio_compl->error = bb->bi_error;
^~~~~~~~
bi_iter
/var/lib/dkms/veeamsnap/1.0.1.364/build/blk_dev_utile.c: In function ‘tracking_redirect_bio_endio’:
/var/lib/dkms/veeamsnap/1.0.1.364/build/blk_dev_utile.c:267:17: error: ‘struct bio’ has no member named ‘bi_error’; did you mean ‘bi_iter’?
int err = bb->bi_error;
^~~~~~~~
bi_iter
make[3]: *** [/usr/src/linux-4.13.1-1/scripts/Makefile.build:309: /var/lib/dkms/veeamsnap/1.0.1.364/build/dio_request.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [/usr/src/linux-4.13.1-1/scripts/Makefile.build:309: /var/lib/dkms/veeamsnap/1.0.1.364/build/blk_dev_utile.o] Error 1
make[2]: *** [/usr/src/linux-4.13.1-1/Makefile:1522: _module_/var/lib/dkms/veeamsnap/1.0.1.364/build] Error 2
make[1]: *** [Makefile:145: sub-make] Error 2
make: *** [Makefile:24: __sub-make] Error 2
make: Leaving directory '/usr/src/linux-4.13.1-1-obj/x86_64/default'