Acronis Backup 12.5.13400 fails to install kernel modules on Ubuntu Server 18.04.2
Fresh install, couldn't build snapapi26, so using the instructions in https://kb.acronis.com/content/60852
# uname -r 4.15.0-52-generic # dkms build -m snapapi26 -v 0.7.123 -k 4.15.0-52-generic --arch x86_64 --kernelsourcedir=/usr/src/linux-headers-4.15.0-52-generic Preparing kernel 4.15.0-52-generic for module build: (This is not compiling a kernel, just preparing kernel symbols) Storing current .config to be restored when complete Storing current Module.symvers to be restored when complete Running Generic preparation routine make mrproper....(bad exit status: 2) using /boot/config-4.15.0-52-generic make oldconfig.... make prepare....(bad exit status: 2) Building module: cleaning build area.... make KERNELRELEASE=4.15.0-52-generic -C /usr/src/linux-headers-4.15.0-52-generic SUBDIRS=/var/lib/dkms/snapapi26/0.7.123/build modules....(bad exit status: 2) Traceback (most recent call last): File "/usr/share/apport/package-hooks/dkms_packages.py", line 22, in <module> import apport ImportError: No module named apport Error! Bad return status for module build on kernel: 4.15.0-52-generic (x86_64) Consult /var/lib/dkms/snapapi26/0.7.123/build/make.log for more information. # apt install python-apport # dkms build -m snapapi26 -v 0.7.123 -k 4.15.0-52-generic --arch x86_64 --kernelsourcedir=/usr/src/linux-headers-4.15.0-52-generic Preparing kernel 4.15.0-52-generic for module build: (This is not compiling a kernel, just preparing kernel symbols) Storing current .config to be restored when complete Storing current Module.symvers to be restored when complete Running Generic preparation routine make mrproper....(bad exit status: 2) using /boot/config-4.15.0-52-generic make oldconfig.... make prepare....(bad exit status: 2) Building module: cleaning build area.... make KERNELRELEASE=4.15.0-52-generic -C /usr/src/linux-headers-4.15.0-52-generic SUBDIRS=/var/lib/dkms/snapapi26/0.7.123/build modules....(bad exit status: 2) ERROR (dkms apport): binary package for snapapi26: 0.7.123 not found Error! Bad return status for module build on kernel: 4.15.0-52-generic (x86_64) Consult /var/lib/dkms/snapapi26/0.7.123/build/make.log for more information. # dkms status -a | grep snapapi snapapi26, 0.7.123, 2.6.18-128.7.1.el5, i686: built snapapi26, 0.7.123, 2.6.18-128.7.1.el5, x86_64: built snapapi26, 0.7.123, 2.6.18-164.15.1.el5, i686: built snapapi26, 0.7.123, 2.6.18-164.15.1.el5, x86_64: built snapapi26, 0.7.123, 2.6.18-164.el5, i686: built snapapi26, 0.7.123, 2.6.18-164.el5, x86_64: built snapapi26, 0.7.123, 2.6.18-194.32.1.el5, i686: built snapapi26, 0.7.123, 2.6.18-194.32.1.el5, x86_64: built snapapi26, 0.7.123, 2.6.18-238.19.1.el5, i686: built snapapi26, 0.7.123, 2.6.18-238.19.1.el5, x86_64: built snapapi26, 0.7.123, 2.6.18-274.18.1.el5, i686: built snapapi26, 0.7.123, 2.6.18-274.18.1.el5, x86_64: built snapapi26, 0.7.123, 2.6.18-308.24.1.el5, i686: built snapapi26, 0.7.123, 2.6.18-308.24.1.el5, x86_64: built snapapi26, 0.7.123, 2.6.18-348.1.1.el5, i686: built snapapi26, 0.7.123, 2.6.18-348.1.1.el5, x86_64: built snapapi26, 0.7.123, 2.6.18-371.12.1.el5, i686: built snapapi26, 0.7.123, 2.6.18-371.12.1.el5, x86_64: built snapapi26, 0.7.123, 2.6.18-398.el5, i686: built snapapi26, 0.7.123, 2.6.18-398.el5, x86_64: built snapapi26, 0.7.123, 2.6.18-419.el5, i686: built snapapi26, 0.7.123, 2.6.18-419.el5, x86_64: built snapapi26, 0.7.123, 2.6.18-53.1.21.el5, i686: built snapapi26, 0.7.123, 2.6.18-53.1.21.el5, x86_64: built snapapi26, 0.7.123, 2.6.18-8.1.15.el5, i686: built snapapi26, 0.7.123, 2.6.18-8.1.15.el5, x86_64: built snapapi26, 0.7.123, 2.6.18-92.1.22.el5, i686: built snapapi26, 0.7.123, 2.6.18-92.1.22.el5, x86_64: built snapapi26, 0.7.123, 2.6.32-131.21.1.el6.i686, i686: built snapapi26, 0.7.123, 2.6.32-131.21.1.el6.x86_64, x86_64: built snapapi26, 0.7.123, 2.6.32-220.23.1.el6.i686, i686: built snapapi26, 0.7.123, 2.6.32-220.23.1.el6.x86_64, x86_64: built snapapi26, 0.7.123, 2.6.32-279.22.1.el6.i686, i686: built snapapi26, 0.7.123, 2.6.32-279.22.1.el6.x86_64, x86_64: built snapapi26, 0.7.123, 2.6.32-279.el6.i686, i686: built snapapi26, 0.7.123, 2.6.32-279.el6.x86_64, x86_64: built snapapi26, 0.7.123, 2.6.32-358.2.1.el6.i686, i686: built snapapi26, 0.7.123, 2.6.32-358.2.1.el6.x86_64, x86_64: built snapapi26, 0.7.123, 2.6.32-431.5.1.el6.i686, i686: built snapapi26, 0.7.123, 2.6.32-431.5.1.el6.x86_64, x86_64: built snapapi26, 0.7.123, 2.6.32-504.12.2.el6.i686, i686: built snapapi26, 0.7.123, 2.6.32-504.12.2.el6.x86_64, x86_64: built snapapi26, 0.7.123, 2.6.32-504.54.1.el6.i686, i686: built snapapi26, 0.7.123, 2.6.32-504.54.1.el6.x86_64, x86_64: built snapapi26, 0.7.123, 2.6.32-573.53.1.el6.i686, i686: built snapapi26, 0.7.123, 2.6.32-573.53.1.el6.x86_64, x86_64: built snapapi26, 0.7.123, 2.6.32-696.23.1.el6.i686, i686: built snapapi26, 0.7.123, 2.6.32-696.23.1.el6.x86_64, x86_64: built snapapi26, 0.7.123, 2.6.32-71.29.1.el6.i686, i686: built snapapi26, 0.7.123, 2.6.32-71.29.1.el6.x86_64, x86_64: built snapapi26, 0.7.123, 3.10.0-123.20.1.el7.i686, i686: built snapapi26, 0.7.123, 3.10.0-123.20.1.el7.x86_64, x86_64: built snapapi26, 0.7.123, 3.10.0-229.1.2.el7.i686, i686: built snapapi26, 0.7.123, 3.10.0-229.1.2.el7.x86_64, x86_64: built snapapi26, 0.7.123, 3.10.0-327.36.3.el7.x86_64, x86_64: built snapapi26, 0.7.123, 3.10.0-327.62.1.el7.x86_64, x86_64: built snapapi26, 0.7.123, 3.10.0-514.26.2.el7.x86_64, x86_64: built snapapi26, 0.7.123, 3.10.0-514.48.1.el7.x86_64, x86_64: built snapapi26, 0.7.123, 3.10.0-693.11.6.el7.x86_64, x86_64: built snapapi26, 0.7.123, 3.10.0-693.2.2.el7.x86_64, x86_64: built snapapi26, 0.7.123, 3.10.0-693.25.2.el7.x86_64, x86_64: built snapapi26, 0.7.123, 3.10.0-862.el7.x86_64, x86_64: built snapapi26, 0.7.123, 4.18.0-80.el8.x86_64, x86_64: built # cat /var/lib/dkms/snapapi26/0.7.123/build/make.log DKMS make.log for snapapi26-0.7.123 for kernel 4.15.0-52-generic (x86_64) Wed Jun 26 11:24:48 PDT 2019 make: Entering directory '/usr/src/linux-headers-4.15.0-52-generic' Makefile:976: "Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel" grep: ./arch/x86/include/asm/system.h: No such file or directory grep: ./include/asm/system.h: No such file or directory grep: ./include/asm-generic/system.h: No such file or directory CC [M] /var/lib/dkms/snapapi26/0.7.123/build/snapapi26.o /var/lib/dkms/snapapi26/0.7.123/build/snapapi26.c: In function ‘sn_bio_associate_blkg’: /var/lib/dkms/snapapi26/0.7.123/build/snapapi26.c:660:34: error: ‘struct bio’ has no member named ‘bi_blkg’; did you mean ‘bi_flags’? if (!q || !q->root_blkg || bio->bi_blkg) ^~~~~~~ bi_flags /var/lib/dkms/snapapi26/0.7.123/build/snapapi26.c:662:6: error: implicit declaration of function ‘blkg_tryget’; did you mean ‘blkg_get’? [-Werror=implicit-function-declaration] if (blkg_tryget(q->root_blkg)) ^~~~~~~~~~~ blkg_get /var/lib/dkms/snapapi26/0.7.123/build/snapapi26.c:663:8: error: ‘struct bio’ has no member named ‘bi_blkg’; did you mean ‘bi_flags’? bio->bi_blkg = q->root_blkg; ^~~~~~~ bi_flags At top level: /var/lib/dkms/snapapi26/0.7.123/build/snapapi26.c:656:13: warning: ‘sn_bio_associate_blkg’ defined but not used [-Wunused-function] static void sn_bio_associate_blkg(struct bio *bio) ^~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors scripts/Makefile.build:337: recipe for target '/var/lib/dkms/snapapi26/0.7.123/build/snapapi26.o' failed make[1]: *** [/var/lib/dkms/snapapi26/0.7.123/build/snapapi26.o] Error 1 Makefile:1552: recipe for target '_module_/var/lib/dkms/snapapi26/0.7.123/build' failed make: *** [_module_/var/lib/dkms/snapapi26/0.7.123/build] Error 2 make: Leaving directory '/usr/src/linux-headers-4.15.0-52-generic'

- Se connecter pour poster des commentaires

I need snapapi, Build 0.7.125
requested program to japanese support team.
but, request is rejected.
- Se connecter pour poster des commentaires

JapaneseUser wrote:I need snapapi, Build 0.7.125
requested program to japanese support team.
but, request is rejected.
Hi! Unfortunately we cannot provide you with a particular snapapi build without investigation. I'm sure, our support team will be able to help, if you agree to give them a second chance.
Feel free to contact me directly, if you think your open support ticket is not handled properly.
- Se connecter pour poster des commentaires

I have the identical issue and was instructed to install matching kernel headers and image, which I already have. After providing my systeminfo, I was asked to pre-compile on another machine. Unfortunately, both my hosts updated to the same kernel and have the same issue. These are both vanilla Ubuntu Server LTS hosts with generic kernels (4.15.0-52-generic).
Historically, new SnapAPI source was provided to correct this issue, but if Acronis no longer provides updated module source, then I'll wait for the next release of AB rather than downgrade my kernels.
- Se connecter pour poster des commentaires

Sean Casey wrote:Historically, new SnapAPI source was provided to correct this issue, but if Acronis no longer provides updated module source, then I'll wait for the next release of AB rather than downgrade my kernels.
Hello Sean,
Acronis support engineers can only provide custom builds or snapapi after confirming this is a known issue with the fix or after getting the custom build from the RnD - in both cases investigation is needed. I've checked your support ticket and see that my colleagues have provided the custom snapapi developed for your issue.
- Se connecter pour poster des commentaires

Same problem here! I downloaded the latest Acronis Backup 12.5 full installer for Linux 64-bit from the website The installer fails to install the SnapAPI module on Ubuntu 18.04.2. This also occurs on Ubuntu 18.10. I tried to build the module manually and it failed. I have been going back and forth with multiple support team members and now an "expert" support team member for the past two weeks and still no luck resolving the problem. The latest was to use snapapi build 0.7.124. Does the "expert" support team have access to the snapapi build 0.7.125? Is there a plan to incorporate the .125 build into the installer so users do not have to compile the modules manually? If so, what is the timeline of this release?
- Se connecter pour poster des commentaires

Hello Scott,
welcome to Acronis forums!
The decision which snapapi build should be provided in every case is based on analysis of the Linux System Information collected from a customer's system.
Please refer to the instructions on how to manually update the snapapi module in Linux:
By default, the Snapapi rpm package is included in the product.
To update the SnapAPI module in Linux, please do the following:
- Open terminal (console);
- Stop Acronis processes:
# /etc/init.d/acronis_mms stop (alternatively, use # systemctl stop acronis_mms)
- Remove SnapAPI module from the kernel:
# rmmod snapapi26
- Check SnapAPI version in the dkms tree:
# dkms status
=> check for the "snapapi" entry similar to:
snapapi26, 0.7.51, 2.6.31-gentoo-r6, x86_64: installed
(0.7.51 is the version of the SnapAPI module in this example)
- Remove SnapAPI from the dkms tree using the respective version:
# dkms remove -m snapapi26 -v [VERSION] --all
where [VERSION] is the version of SnapAPI found out in step 4., e.g.: # dkms remove -m snapapi26 -v 0.7.51 --all
# rm -rf /usr/src/snapapi*
- Install new SnapAPI from rpm package
# rpm -Uhv snapapi26_modules-[VERSION]-1.noarch.rpm --nodeps
- Add tarball to the dkms tree:
# dkms ldtarball /usr/lib/Acronis/kernel_modules/snapapi26-[VERSION]-all.tar.gz
- Build and install SnapAPI module:
# dkms build -m snapapi26 -v [VERSION]
# dkms install -m snapapi26 -v [VERSION],
where [VERSION] equals 0.7.124 as in yor case
- Se connecter pour poster des commentaires

Hi Ekaterina,
Support reviewed my system info and provided me updated module source, which resolved my issue on both hosts.
Thank you,
Sean
- Se connecter pour poster des commentaires

Sean Casey wrote:Hi Ekaterina,
Support reviewed my system info and provided me updated module source, which resolved my issue on both hosts.
Sean, thanks for the update / feedback, glad the custom snapapi did the trick for you!
- Se connecter pour poster des commentaires

Hi,
I have the same issue, Ubuntu 18.04.2: kernel 4.15.0-55-generic snapapi26 0.7.123
DKMS make.log for snapapi26-0.7.123 for kernel 4.15.0-55-generic (x86_64)
Tue Jul 30 13:08:35 EEST 2019
make: Entering directory '/usr/src/linux-headers-4.15.0-55-generic'
grep: ./arch/x86/include/asm/system.h: No such file or directory
grep: ./include/asm/system.h: No such file or directory
grep: ./include/asm-generic/system.h: No such file or directory
CC [M] /var/lib/dkms/snapapi26/0.7.123/build/snapapi26.o
/var/lib/dkms/snapapi26/0.7.123/build/snapapi26.c: In function ‘sn_bio_associate_blkg’:
/var/lib/dkms/snapapi26/0.7.123/build/snapapi26.c:660:34: error: ‘struct bio’ has no member named ‘bi_blkg’; did you mean ‘bi_flags’?
if (!q || !q->root_blkg || bio->bi_blkg)
^~~~~~~
bi_flags
/var/lib/dkms/snapapi26/0.7.123/build/snapapi26.c:662:6: error: implicit declaration of function ‘blkg_tryget’; did you mean ‘blkg_get’? [-Werror=implicit-function-declaration]
if (blkg_tryget(q->root_blkg))
^~~~~~~~~~~
blkg_get
/var/lib/dkms/snapapi26/0.7.123/build/snapapi26.c:663:8: error: ‘struct bio’ has no member named ‘bi_blkg’; did you mean ‘bi_flags’?
bio->bi_blkg = q->root_blkg;
^~~~~~~
bi_flags
At top level:
/var/lib/dkms/snapapi26/0.7.123/build/snapapi26.c:656:13: warning: ‘sn_bio_associate_blkg’ defined but not used [-Wunused-function]
static void sn_bio_associate_blkg(struct bio *bio)
^~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
scripts/Makefile.build:337: recipe for target '/var/lib/dkms/snapapi26/0.7.123/build/snapapi26.o' failed
make[1]: *** [/var/lib/dkms/snapapi26/0.7.123/build/snapapi26.o] Error 1
Makefile:1552: recipe for target '_module_/var/lib/dkms/snapapi26/0.7.123/build' failed
make: *** [_module_/var/lib/dkms/snapapi26/0.7.123/build] Error 2
make: Leaving directory '/usr/src/linux-headers-4.15.0-55-generic'
How do I get the snapapi26 0.7.125?
Thank you
- Se connecter pour poster des commentaires

Silviu-Ionut Radu wrote:Hi,
I have the same issue, Ubuntu 18.04.2: kernel 4.15.0-55-generic snapapi26 0.7.123How do I get the snapapi26 0.7.125?
Hi! You'll need to raise a support ticket, so that our engineers can help.
- Se connecter pour poster des commentaires