Standalone backup agents for Linux, Mac, AIX & Solaris workloads on-premises or in the public cloud
Post Reply
psych
Influencer
Posts: 12
Liked: 1 time
Joined: May 10, 2019 2:54 pm
Full Name: GB Sistemos
Contact:

Centos 8 issue

Post by psych »

Hello,

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!

/var/lib/dkms/veeamsnap/5.0.0.4318/build/make.log

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

What am I missing? Maybe this kernel is not supported?
aj_potc
Expert
Posts: 141
Liked: 35 times
Joined: Mar 17, 2018 12:43 pm
Contact:

Re: Centos 8 issue

Post by aj_potc » 1 person likes this post

Only kernels contained in CentOS up to version 8.3 are supported (that would be 4.18.0-240.22.1.el8_3.x86_64).

See this thread for more:
topic67143.html
PTide
Product Manager
Posts: 6428
Liked: 729 times
Joined: May 19, 2015 1:46 pm
Contact:

Re: Centos 8 issue

Post by PTide »

Hi,

Unless I am missing something, the kernel you are running is not even from any official CentOS repo.

Code: Select all

#uname -r
5.13.9-1.el8.elrepo.x86_64
So it's not officially supported.

Since it's 5.13, I am not sure whether it will work even with this patch from our github.

Thanks!
psych
Influencer
Posts: 12
Liked: 1 time
Joined: May 10, 2019 2:54 pm
Full Name: GB Sistemos
Contact:

Re: Centos 8 issue

Post by psych »

aj_potc wrote: Aug 09, 2021 2:01 pm Only kernels contained in CentOS up to version 8.3 are supported (that would be 4.18.0-240.22.1.el8_3.x86_64).

See this thread for more:
topic67143.html
Thank you very much!

Changed my default kernel to 4.18.0-240.22.1.el8_3.x86_64, removed veeam and all of it`s modules and now it works properly, thank you once again!

P.S. BTW, it won`t work with this patch
Post Reply

Who is online

Users browsing this forum: No registered users and 10 guests