We have one machine running CentOS 8, and cant get it working to backup with veeam agent, adding some printouts of configuration:
Code: Select all
yum install veeamsnap-5.0.0.4318-1.noarch.rpm
Last metadata expiration check: 2:02:49 ago on Mon 09 Aug 2021 02:34:00 PM EEST.
Dependencies resolved.
===============================================================================================================================================================================================================
Package Architecture Version Repository Size
===============================================================================================================================================================================================================
Installing:
veeamsnap noarch 5.0.0.4318-1 @commandline 113 k
Transaction Summary
===============================================================================================================================================================================================================
Install 1 Package
Total size: 113 k
Installed size: 545 k
Is this ok [y/N]: y
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : veeamsnap-5.0.0.4318-1.noarch 1/1
Running scriptlet: veeamsnap-5.0.0.4318-1.noarch 1/1
Loading new veeamsnap-5.0.0.4318 DKMS files...
Building for 5.13.9-1.el8.elrepo.x86_64
Building initial module for 5.13.9-1.el8.elrepo.x86_64
Error! Bad return status for module build on kernel: 5.13.9-1.el8.elrepo.x86_64 (x86_64)
Consult /var/lib/dkms/veeamsnap/5.0.0.4318/build/make.log for more information.
WARNING: Package not configured! See output!
warning: %post(veeamsnap-5.0.0.4318-1.noarch) scriptlet failed, exit status 1
Error in POSTIN scriptlet in rpm package veeamsnap
Verifying : veeamsnap-5.0.0.4318-1.noarch 1/1
Installed products updated.
Installed:
veeamsnap-5.0.0.4318-1.noarch
Complete!
Code: Select all
DKMS make.log for veeamsnap-5.0.0.4318 for kernel 5.13.9-1.el8.elrepo.x86_64 (x86_64)
Mon Aug 9 16:36:58 EEST 2021
make: Entering directory '/usr/src/kernels/5.13.9-1.el8.elrepo.x86_64'
CC [M] /var/lib/dkms/veeamsnap/5.0.0.4318/build/log.o
CC [M] /var/lib/dkms/veeamsnap/5.0.0.4318/build/mem_alloc.o
CC [M] /var/lib/dkms/veeamsnap/5.0.0.4318/build/sparse_bitmap.o
CC [M] /var/lib/dkms/veeamsnap/5.0.0.4318/build/container.o
CC [M] /var/lib/dkms/veeamsnap/5.0.0.4318/build/container_spinlocking.o
CC [M] /var/lib/dkms/veeamsnap/5.0.0.4318/build/queue_spinlocking.o
CC [M] /var/lib/dkms/veeamsnap/5.0.0.4318/build/bitmap_sync.o
CC [M] /var/lib/dkms/veeamsnap/5.0.0.4318/build/page_array.o
CC [M] /var/lib/dkms/veeamsnap/5.0.0.4318/build/rangelist.o
CC [M] /var/lib/dkms/veeamsnap/5.0.0.4318/build/rangelist_ex.o
CC [M] /var/lib/dkms/veeamsnap/5.0.0.4318/build/rangevector.o
CC [M] /var/lib/dkms/veeamsnap/5.0.0.4318/build/blk_util.o
In file included from /var/lib/dkms/veeamsnap/5.0.0.4318/build/blk_util.c:6:
/var/lib/dkms/veeamsnap/5.0.0.4318/build/blk_util.h: In function ‘blk_dev_get_capacity’:
/var/lib/dkms/veeamsnap/5.0.0.4318/build/blk_util.h:34:21: error: ‘struct block_device’ has no member named ‘bd_part’; did you mean ‘bd_partno’?
return blk_dev->bd_part->nr_sects;
^~~~~~~
bd_partno
/var/lib/dkms/veeamsnap/5.0.0.4318/build/blk_util.h: In function ‘blk_dev_get_start_sect’:
/var/lib/dkms/veeamsnap/5.0.0.4318/build/blk_util.h:39:21: error: ‘struct block_device’ has no member named ‘bd_part’; did you mean ‘bd_partno’?
return blk_dev->bd_part->start_sect;
^~~~~~~
bd_partno
/var/lib/dkms/veeamsnap/5.0.0.4318/build/blk_util.c: In function ‘blk_dev_open’:
/var/lib/dkms/veeamsnap/5.0.0.4318/build/blk_util.c:17:15: error: implicit declaration of function ‘bdget’; did you mean ‘dget’? [-Werror=implicit-function-declaration]
blk_dev = bdget( dev_id );
^~~~~
dget
/var/lib/dkms/veeamsnap/5.0.0.4318/build/blk_util.c:17:13: warning: assignment to ‘struct block_device *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
blk_dev = bdget( dev_id );
^
/var/lib/dkms/veeamsnap/5.0.0.4318/build/blk_util.c:26:16: error: implicit declaration of function ‘blkdev_get’; did you mean ‘blkdev_put’? [-Werror=implicit-function-declaration]
refCount = blkdev_get( blk_dev, FMODE_READ | FMODE_WRITE, NULL );
^~~~~~~~~~
blkdev_put
/var/lib/dkms/veeamsnap/5.0.0.4318/build/blk_util.c: In function ‘_blk_dev_get_info’:
/var/lib/dkms/veeamsnap/5.0.0.4318/build/blk_util.c:48:18: error: ‘struct block_device’ has no member named ‘bd_part’; did you mean ‘bd_partno’?
if (blk_dev->bd_part)
^~~~~~~
bd_partno
/var/lib/dkms/veeamsnap/5.0.0.4318/build/blk_util.c:49:36: error: ‘struct block_device’ has no member named ‘bd_part’; did you mean ‘bd_partno’?
SectorsCapacity = blk_dev->bd_part->nr_sects;
^~~~~~~
bd_partno
/var/lib/dkms/veeamsnap/5.0.0.4318/build/blk_util.c: In function ‘blk_freeze_bdev’:
/var/lib/dkms/veeamsnap/5.0.0.4318/build/blk_util.c:117:16: warning: assignment to ‘struct super_block *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
superblock = freeze_bdev(device);
^
/var/lib/dkms/veeamsnap/5.0.0.4318/build/blk_util.c: In function ‘blk_thaw_bdev’:
/var/lib/dkms/veeamsnap/5.0.0.4318/build/blk_util.c:140:22: error: too many arguments to function ‘thaw_bdev’
int result = thaw_bdev( device, superblock );
^~~~~~~~~
In file included from /var/lib/dkms/veeamsnap/5.0.0.4318/build/stdafx.h:17,
from /var/lib/dkms/veeamsnap/5.0.0.4318/build/blk_util.c:3:
./include/linux/blkdev.h:2017:5: note: declared here
int thaw_bdev(struct block_device *bdev);
^~~~~~~~~
cc1: some warnings being treated as errors
make[1]: *** [scripts/Makefile.build:273: /var/lib/dkms/veeamsnap/5.0.0.4318/build/blk_util.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:1853: /var/lib/dkms/veeamsnap/5.0.0.4318/build] Error 2
make: Leaving directory '/usr/src/kernels/5.13.9-1.el8.elrepo.x86_64'
My configuration:
Code: Select all
#uname -r
5.13.9-1.el8.elrepo.x86_64
#rpm -qa | egrep -i 'veeam|dkms'
dkms-2.8.4-1.el8.noarch
veeamsnap-5.0.0.4318-1.noarch
#rpm -qa | egrep -i 'kernel'
kernel-core-4.18.0-240.22.1.el8_3.x86_64
kernel-ml-core-5.13.9-1.el8.elrepo.x86_64
kernel-tools-libs-4.18.0-305.10.2.el8_4.x86_64
kernel-ml-5.13.8-1.el8.elrepo.x86_64
kernel-4.18.0-305.7.1.el8_4.x86_64
kernel-ml-modules-5.13.9-1.el8.elrepo.x86_64
kernel-modules-4.18.0-305.7.1.el8_4.x86_64
kernel-ml-5.13.9-1.el8.elrepo.x86_64
kernel-modules-4.18.0-240.22.1.el8_3.x86_64
kernel-core-4.18.0-305.10.2.el8_4.x86_64
kernel-4.18.0-305.10.2.el8_4.x86_64
kernel-ml-core-5.13.8-1.el8.elrepo.x86_64
kernel-ml-devel-5.13.8-1.el8.elrepo.x86_64
kernel-devel-4.18.0-305.10.2.el8_4.x86_64
kernel-tools-4.18.0-305.10.2.el8_4.x86_64
kernel-ml-devel-5.13.9-1.el8.elrepo.x86_64
kernel-headers-4.18.0-305.10.2.el8_4.x86_64
kernel-4.18.0-240.22.1.el8_3.x86_64
kernel-core-4.18.0-305.7.1.el8_4.x86_64
kernel-modules-4.18.0-305.10.2.el8_4.x86_64
kernel-ml-modules-5.13.8-1.el8.elrepo.x86_64