I'm having an issue building the kernel modules on Linux. I know I should not post this here and open a support case for this but the webpage for opening the support case is not working. When I try to create the case it asks me to upload a log file. When I try to add the log file, the upload always times out and submitting the case without log file is not allowed
Problem I'm having is building the kernel modules fails on Debian Trixie:
Code: Select all
Building module(s)...(bad exit status: 2)
Failed command:
make -j4 KERNELRELEASE=6.12.73+deb13-amd64 -C /lib/modules/6.12.73+deb13-amd64/build M=/var/lib/dkms/veeamsnap/13.0.1.203/build modules
Error! Bad return status for module build on kernel: 6.12.73+deb13-amd64 (x86_64)
Code: Select all
CC [M] /var/lib/dkms/veeamsnap/13.0.1.203/build/blk_deferred.o
/var/lib/dkms/veeamsnap/13.0.1.203/build/blk_direct.c:159:5: warning: no previous prototype for ‘_dev_direct_submit_pages’ [-Wmissing-prototypes]
159 | int _dev_direct_submit_pages(
| ^~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/veeamsnap/13.0.1.203/build/blk_util.c: In function ‘blk_dev_open’:
/var/lib/dkms/veeamsnap/13.0.1.203/build/blk_util.c:37:15: error: implicit declaration of function ‘blkdev_get_by_dev’; did you mean ‘blkdev_get_no_open’? [-Wimplicit-function-declaration]
37 | blk_dev = blkdev_get_by_dev(dev_id, fmode,
| ^~~~~~~~~~~~~~~~~
| blkdev_get_no_open
/var/lib/dkms/veeamsnap/13.0.1.203/build/blk_util.c:37:13: error: assignment to ‘struct block_device *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
37 | blk_dev = blkdev_get_by_dev(dev_id, fmode,
| ^
/var/lib/dkms/veeamsnap/13.0.1.203/build/blk_util.c: In function ‘blk_dev_close’:
/var/lib/dkms/veeamsnap/13.0.1.203/build/blk_util.c:54:5: error: implicit declaration of function ‘blkdev_put’; did you mean ‘bdev_fput’? [-Wimplicit-function-declaration]
54 | blkdev_put(blk_dev,
| ^~~~~~~~~~
| bdev_fput
make[2]: *** [/usr/src/linux-headers-6.12.73+deb13-common/scripts/Makefile.build:234: /var/lib/dkms/veeamsnap/13.0.1.203/build/blk_util.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/var/lib/dkms/veeamsnap/13.0.1.203/build/blk_redirect.c:127:32: warning: no previous prototype for ‘_bio_endio_alloc_list’ [-Wmissing-prototypes]
127 | blk_redirect_bio_endio_list_t* _bio_endio_alloc_list( struct bio* new_bio )
| ^~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/veeamsnap/13.0.1.203/build/blk_redirect.c:137:6: warning: no previous prototype for ‘bio_endio_list_push’ [-Wmissing-prototypes]
137 | int bio_endio_list_push( blk_redirect_bio_endio_t* rq_endio, struct bio* new_bio )
| ^~~~~~~~~~~~~~~~~~~
/var/lib/dkms/veeamsnap/13.0.1.203/build/blk_redirect.c:156:6: warning: no previous prototype for ‘bio_endio_list_cleanup’ [-Wmissing-prototypes]
156 | void bio_endio_list_cleanup( blk_redirect_bio_endio_list_t* curr )
| ^~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/veeamsnap/13.0.1.203/build/blk_redirect.c:165:5: warning: no previous prototype for ‘_blk_dev_redirect_part_fast’ [-Wmissing-prototypes]
165 | int _blk_dev_redirect_part_fast( blk_redirect_bio_endio_t* rq_endio, int direction, struct block_device* blk_dev, sector_t target_pos, sector_t rq_ofs, sector_t rq_count )
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/veeamsnap/13.0.1.203/build/blk_deferred.c:249:10: warning: no previous prototype for ‘_blk_deferred_submit_pages’ [-Wmissing-prototypes]
249 | sector_t _blk_deferred_submit_pages(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
Code: Select all
Linux version 6.12.73+deb13-amd64 (debian-kernel@lists.debian.org) (x86_64-linux-gnu-gcc-14 (Debian 14.2.0-19) 14.2.0, GNU ld (GNU Binutils for Debian) 2.44) #1 SMP PREEMPT_DYNAMIC Debian 6.12.73-1 (2026-02-17)
PRETTY_NAME="Debian GNU/Linux 13 (trixie)"
NAME="Debian GNU/Linux"
VERSION_ID="13"
VERSION="13 (trixie)"