Code: Select all
dkms build -m veeamsnap/4.0.0.1961 --kernelsourcedir /usr/src/linux-headers-4.19.0-8-amd64
Code: Select all
dkms install -m veeamsnap/4.0.0.1961 --kernelsourcedir /usr/src/linux-headers-4.19.0-8-amd64
I am running proxmox with kernel version 5.3.18-3-pve.
I have installed pve-headers and pve-headers-5.3.18-3-pve (and pve-headers-5.3).
When I try to install Veeamsnap via:
Code: Select all
dkms build -m veeamsnap/4.0.0.1961 --kernelsourcedir /usr/src/linux-headers-5.3.18-3-pve/
Code: Select all
Preparing kernel 5.3.18-3-pve for module build:
(This is not compiling a kernel, just preparing kernel symbols)
Storing current .config to be restored when complete
Running Generic preparation routine
make mrproper...(bad exit status: 2)
Warning: using /usr/src/linux-headers-5.3.18-3-pve//.config
(I hope this is the correct config for this kernel)
make oldconfig...(bad exit status: 2)
make prepare-all...(bad exit status: 2)
Building module:
cleaning build area...(bad exit status: 2)
make -j8 KERNELRELEASE=5.3.18-3-pve -C /usr/src/linux-headers-5.3.18-3-pve/ M=/var/lib/dkms/veeamsnap/4.0.0.1961/build...(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.3.18-3-pve (x86_64)
Consult /var/lib/dkms/veeamsnap/4.0.0.1961/build/make.log for more information.
Code: Select all
DKMS make.log for veeamsnap-4.0.0.1961 for kernel 5.3.18-3-pve (x86_64)
Wed 08 Apr 2020 06:10:36 PM CEST
make: Entering directory '/usr/src/linux-headers-5.3.18-3-pve'
CC [M] /var/lib/dkms/veeamsnap/4.0.0.1961/build/log.o
CC [M] /var/lib/dkms/veeamsnap/4.0.0.1961/build/mem_alloc.o
CC [M] /var/lib/dkms/veeamsnap/4.0.0.1961/build/sparse_bitmap.o
CC [M] /var/lib/dkms/veeamsnap/4.0.0.1961/build/container.o
CC [M] /var/lib/dkms/veeamsnap/4.0.0.1961/build/container_spinlocking.o
CC [M] /var/lib/dkms/veeamsnap/4.0.0.1961/build/queue_spinlocking.o
CC [M] /var/lib/dkms/veeamsnap/4.0.0.1961/build/bitmap_sync.o
CC [M] /var/lib/dkms/veeamsnap/4.0.0.1961/build/page_array.o
CC [M] /var/lib/dkms/veeamsnap/4.0.0.1961/build/rangelist.o
CC [M] /var/lib/dkms/veeamsnap/4.0.0.1961/build/rangelist_ex.o
CC [M] /var/lib/dkms/veeamsnap/4.0.0.1961/build/rangevector.o
CC [M] /var/lib/dkms/veeamsnap/4.0.0.1961/build/blk_util.o
CC [M] /var/lib/dkms/veeamsnap/4.0.0.1961/build/blk_direct.o
CC [M] /var/lib/dkms/veeamsnap/4.0.0.1961/build/blk_redirect.o
CC [M] /var/lib/dkms/veeamsnap/4.0.0.1961/build/blk_deferred.o
CC [M] /var/lib/dkms/veeamsnap/4.0.0.1961/build/defer_io.o
CC [M] /var/lib/dkms/veeamsnap/4.0.0.1961/build/cbt_storage.o
CC [M] /var/lib/dkms/veeamsnap/4.0.0.1961/build/cbt_map.o
CC [M] /var/lib/dkms/veeamsnap/4.0.0.1961/build/cbt_notify.o
CC [M] /var/lib/dkms/veeamsnap/4.0.0.1961/build/cbt_params.o
CC [M] /var/lib/dkms/veeamsnap/4.0.0.1961/build/cbt_persistent.o
CC [M] /var/lib/dkms/veeamsnap/4.0.0.1961/build/cbt_checkfs.o
CC [M] /var/lib/dkms/veeamsnap/4.0.0.1961/build/ext4_check.o
CC [M] /var/lib/dkms/veeamsnap/4.0.0.1961/build/tracker.o
CC [M] /var/lib/dkms/veeamsnap/4.0.0.1961/build/tracker_queue.o
CC [M] /var/lib/dkms/veeamsnap/4.0.0.1961/build/snapimage.o
/var/lib/dkms/veeamsnap/4.0.0.1961/build/cbt_persistent.c: In function ‘cbt_persistent_device_attach’:
/var/lib/dkms/veeamsnap/4.0.0.1961/build/cbt_persistent.c:862:37: error: too few arguments to function ‘lookup_bdev’
struct block_device* bdev = lookup_bdev(dev_name);
^~~~~~~~~~~
In file included from /var/lib/dkms/veeamsnap/4.0.0.1961/build/stdafx.h:12,
from /var/lib/dkms/veeamsnap/4.0.0.1961/build/cbt_persistent.c:1:
./include/linux/fs.h:2680:29: note: declared here
extern struct block_device *lookup_bdev(const char *, int mask);
^~~~~~~~~~~
make[1]: *** [scripts/Makefile.build:290: /var/lib/dkms/veeamsnap/4.0.0.1961/build/cbt_persistent.o] Error 1
make[1]: *** Waiting for unfinished jobs....
CC [M] /var/lib/dkms/veeamsnap/4.0.0.1961/build/snapdata_collect.o
make: *** [Makefile:1655: _module_/var/lib/dkms/veeamsnap/4.0.0.1961/build] Error 2
make: Leaving directory '/usr/src/linux-headers-5.3.18-3-pve'
I have tried many things like reinstalling Veeam Agent, rebooting, building veeamsnap from source. All without success, so I hope someone here might be able to help me.