Loading...
Loading...
Veeam Agent for Linux backup job fails with "Failed to load module [veeamblksnap] error": [error] Failed to create volume snapshot [error] Failed to take volume snapshot [error] Failed to perform backup [error] Veeam snapshot kernel module not found Deployment of Veeam Agent for Linux from the Veeam Backup & Replication console fails with the error: Failed to install Veeam Agent for Linux: Failed to install agent: non-matching package versions
UEK R8 is built with GCC 14, while Oracle Linux 9 ships GCC 11. This causes veeamsnap kernel module build failure because DKMS uses GCC 11: [root@localhost ~]# cat /var/lib/dkms/blksnap/6.3.1.1016/build/make.log DKMS (dkms-3.1.8) make.log for blksnap/6.3.1.1016 for kernel 6.12.0-0.20.20.el9uek.x86_64 (x86_64) Tue Apr 29 04:08:26 PM EEST 2025 Building module(s) # command: make -j2 KERNELRELEASE=6.12.0-0.20.20.el9uek.x86_64 -j2 -C /lib/modules/6.12.0-0.20.20.el9uek.x86_64/build M=/var/lib/dkms/blksnap/6.3.1.1016/build modules make: Entering directory '/usr/src/kernels/6.12.0-0.20.20.el9uek.x86_64' warning: the compiler differs from the one used to build the kernel The kernel was built by: gcc (GCC) 14.2.1 20240801 (Red Hat 14.2.1-1) You are using: gcc (GCC) 11.5.0 20240719 (Red Hat 11.5.0-5.0.1) CC [M] /var/lib/dkms/blksnap/6.3.1.1016/build/bdevfilter.o CC [M] /var/lib/dkms/blksnap/6.3.1.1016/build/log.o gcc: error: unrecognized command-line option ‘-fmin-function-alignment=16’; did you mean ‘-flimit-function-alignment’? make[2]: *** [scripts/Makefile.build:229: /var/lib/dkms/blksnap/6.3.1.1016/build/bdevfilter.o] Error 1 make[2]: *** Waiting for unfinished jobs.... gcc: error: unrecognized command-line option ‘-fmin-function-alignment=16’; did you mean ‘-flimit-function-alignment’? make[2]: *** [scripts/Makefile.build:229: /var/lib/dkms/blksnap/6.3.1.1016/build/log.o] Error 1 make[1]: *** [/usr/src/kernels/6.12.0-0.20.20.el9uek.x86_64/Makefile:1960: /var/lib/dkms/blksnap/6.3.1.1016/build] Error 2 make: *** [Makefile:226: __sub-make] Error 2 make: Leaving directory '/usr/src/kernels/6.12.0-0.20.20.el9uek.x86_64'
Tip: Hover over the command blocks below to see the copy to clipboard button.
Veeam Integration
Learn more about where this data comes from
Bug Scrub Advisor
Streamline upgrades with automated vendor bug scrubs
BugZero Enterprise
Wish you caught this bug sooner? Get proactive today.