Standalone backup agents for Linux, Mac, AIX & Solaris workloads on-premises or in the public cloud
Post Reply
philipraets
Novice
Posts: 3
Liked: never
Joined: Aug 21, 2017 2:59 pm
Full Name: Philip Raets
Contact:

openSUSE Tumbleweed kernel 4.13.1 dkms error building

Post by philipraets »

Hi,

on openSUSE Tumbleweed with latest kernel 4.13.1 veeamsnap doesn't build.

this is the first error:

Code: Select all

HOSTNAME:/home/user # dkms install -m veeamsnap -v 1.0.1.364

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
make -j4 KERNELRELEASE=4.13.1-1-default -C /lib/modules/4.13.1-1-default/build M=/var/lib/dkms/veeamsnap/1.0.1.364/build...(bad exit status: 2)
Error! Bad return status for module build on kernel: 4.13.1-1-default (x86_64)
Consult /var/lib/dkms/veeamsnap/1.0.1.364/build/make.log for more information.

HOSTNAME:/home/user # more /var/lib/dkms/veeamsnap/1.0.1.364/build/make.log 
DKMS make.log for veeamsnap-1.0.1.364 for kernel 4.13.1-1-default (x86_64)
vr sep 15 22:39:29 CEST 2017
make: Entering directory '/usr/src/linux-4.13.1-1-obj/x86_64/default'
  AR      /var/lib/dkms/veeamsnap/1.0.1.364/build/built-in.o
  CC [M]  /var/lib/dkms/veeamsnap/1.0.1.364/build/mem_alloc.o
  CC [M]  /var/lib/dkms/veeamsnap/1.0.1.364/build/sparse_array_1lv.o
  CC [M]  /var/lib/dkms/veeamsnap/1.0.1.364/build/sparse_bitmap.o
  CC [M]  /var/lib/dkms/veeamsnap/1.0.1.364/build/container.o
/var/lib/dkms/veeamsnap/1.0.1.364/build/mem_alloc.c: In function ‘dbg_kmalloc_huge’:
/var/lib/dkms/veeamsnap/1.0.1.364/build/mem_alloc.c:138:55: error: ‘__GFP_REPEAT’ undeclared (first use in this function); did you mean ‘__GFP_RECLAIM
’?
   ptr = dbg_kmalloc( max_size, flags | __GFP_NOWARN | __GFP_REPEAT);
                                                       ^~~~~~~~~~~~
                                                       __GFP_RECLAIM
/var/lib/dkms/veeamsnap/1.0.1.364/build/mem_alloc.c:138:55: note: each undeclared identifier is reported only once for each function it appears in
make[3]: *** [/usr/src/linux-4.13.1-1/scripts/Makefile.build:309: /var/lib/dkms/veeamsnap/1.0.1.364/build/mem_alloc.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [/usr/src/linux-4.13.1-1/Makefile:1522: _module_/var/lib/dkms/veeamsnap/1.0.1.364/build] Error 2
make[1]: *** [Makefile:145: sub-make] Error 2
make: *** [Makefile:24: __sub-make] Error 2
make: Leaving directory '/usr/src/linux-4.13.1-1-obj/x86_64/default'
I switched "GFP_REPEAT" with GFP_RETRY_MAYFAIL", but the errors keep coming:

Code: Select all

HOSTNAME:/home/user # dkms install -m veeamsnap -v 1.0.1.364

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
make -j4 KERNELRELEASE=4.13.1-1-default -C /lib/modules/4.13.1-1-default/build M=/var/lib/dkms/veeamsnap/1.0.1.364/build...(bad exit status: 2)
Error! Bad return status for module build on kernel: 4.13.1-1-default (x86_64)
Consult /var/lib/dkms/veeamsnap/1.0.1.364/build/make.log for more information.

HOSTNAME:/home/user # more /var/lib/dkms/veeamsnap/1.0.1.364/build/make.log 
DKMS make.log for veeamsnap-1.0.1.364 for kernel 4.13.1-1-default (x86_64)
vr sep 15 22:36:47 CEST 2017
make: Entering directory '/usr/src/linux-4.13.1-1-obj/x86_64/default'
  AR      /var/lib/dkms/veeamsnap/1.0.1.364/build/built-in.o
  CC [M]  /var/lib/dkms/veeamsnap/1.0.1.364/build/mem_alloc.o
  CC [M]  /var/lib/dkms/veeamsnap/1.0.1.364/build/sparse_array_1lv.o
  CC [M]  /var/lib/dkms/veeamsnap/1.0.1.364/build/sparse_bitmap.o
  CC [M]  /var/lib/dkms/veeamsnap/1.0.1.364/build/container.o
  CC [M]  /var/lib/dkms/veeamsnap/1.0.1.364/build/container_spinlocking.o
  CC [M]  /var/lib/dkms/veeamsnap/1.0.1.364/build/queue_spinlocking.o
  CC [M]  /var/lib/dkms/veeamsnap/1.0.1.364/build/bitmap_sync.o
  CC [M]  /var/lib/dkms/veeamsnap/1.0.1.364/build/log.o
  CC [M]  /var/lib/dkms/veeamsnap/1.0.1.364/build/page_array.o
  CC [M]  /var/lib/dkms/veeamsnap/1.0.1.364/build/blk_dev_utile.o
  CC [M]  /var/lib/dkms/veeamsnap/1.0.1.364/build/dio_request.o
  CC [M]  /var/lib/dkms/veeamsnap/1.0.1.364/build/rangeset.o
In file included from /var/lib/dkms/veeamsnap/1.0.1.364/build/dio_request.c:7:0:
/var/lib/dkms/veeamsnap/1.0.1.364/build/blk_dev_utile.h: In function ‘blk_bio_end’:
/var/lib/dkms/veeamsnap/1.0.1.364/build/blk_dev_utile.h:77:7: error: ‘struct bio’ has no member named ‘bi_error’; did you mean ‘bi_iter’?
  bio->bi_error = err;
       ^~~~~~~~
       bi_iter
/var/lib/dkms/veeamsnap/1.0.1.364/build/dio_request.c: In function ‘dio_bioset_create’:
/var/lib/dkms/veeamsnap/1.0.1.364/build/dio_request.c:113:16: error: too few arguments to function ‘bioset_create’
  dio_bio_set = bioset_create( 64, sizeof( dio_bio_complete_t ) );
                ^~~~~~~~~~~~~
In file included from /usr/src/linux-4.13.1-1/include/linux/blkdev.h:20:0,
                 from /var/lib/dkms/veeamsnap/1.0.1.364/build/stdafx.h:10,
                 from /var/lib/dkms/veeamsnap/1.0.1.364/build/dio_request.c:1:
/usr/src/linux-4.13.1-1/include/linux/bio.h:390:24: note: declared here
 extern struct bio_set *bioset_create(unsigned int, unsigned int, int flags);
                        ^~~~~~~~~~~~~
In file included from /var/lib/dkms/veeamsnap/1.0.1.364/build/blk_dev_utile.c:4:0:
/var/lib/dkms/veeamsnap/1.0.1.364/build/blk_dev_utile.h: In function ‘blk_bio_end’:
/var/lib/dkms/veeamsnap/1.0.1.364/build/blk_dev_utile.h:77:7: error: ‘struct bio’ has no member named ‘bi_error’; did you mean ‘bi_iter’?
  bio->bi_error = err;
       ^~~~~~~~
       bi_iter
/var/lib/dkms/veeamsnap/1.0.1.364/build/dio_request.c: In function ‘dio_bio_end_io’:
/var/lib/dkms/veeamsnap/1.0.1.364/build/dio_request.c:170:20: error: ‘struct bio’ has no member named ‘bi_error’; did you mean ‘bi_iter’?
   local_err = bio->bi_error;
                    ^~~~~~~~
                    bi_iter
/var/lib/dkms/veeamsnap/1.0.1.364/build/blk_dev_utile.c: In function ‘blk_bioset_create’:
/var/lib/dkms/veeamsnap/1.0.1.364/build/blk_dev_utile.c:11:16: error: too few arguments to function ‘bioset_create’
  blk_bio_set = bioset_create( 64, sizeof( tracking_bio_complete_t ) );
                ^~~~~~~~~~~~~
In file included from /usr/src/linux-4.13.1-1/include/linux/blkdev.h:20:0,
                 from /var/lib/dkms/veeamsnap/1.0.1.364/build/stdafx.h:10,
                 from /var/lib/dkms/veeamsnap/1.0.1.364/build/blk_dev_utile.c:1:
/usr/src/linux-4.13.1-1/include/linux/bio.h:390:24: note: declared here
 extern struct bio_set *bioset_create(unsigned int, unsigned int, int flags);
                        ^~~~~~~~~~~~~
/var/lib/dkms/veeamsnap/1.0.1.364/build/blk_dev_utile.c: In function ‘tracking_bio_end_io’:
/var/lib/dkms/veeamsnap/1.0.1.364/build/blk_dev_utile.c:43:26: error: ‘struct bio’ has no member named ‘bi_error’; did you mean ‘bi_iter’?
   bio_compl->error = bb->bi_error;
                          ^~~~~~~~
                          bi_iter
/var/lib/dkms/veeamsnap/1.0.1.364/build/blk_dev_utile.c: In function ‘tracking_redirect_bio_endio’:
/var/lib/dkms/veeamsnap/1.0.1.364/build/blk_dev_utile.c:267:17: error: ‘struct bio’ has no member named ‘bi_error’; did you mean ‘bi_iter’?
   int err = bb->bi_error;
                 ^~~~~~~~
                 bi_iter
make[3]: *** [/usr/src/linux-4.13.1-1/scripts/Makefile.build:309: /var/lib/dkms/veeamsnap/1.0.1.364/build/dio_request.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [/usr/src/linux-4.13.1-1/scripts/Makefile.build:309: /var/lib/dkms/veeamsnap/1.0.1.364/build/blk_dev_utile.o] Error 1
make[2]: *** [/usr/src/linux-4.13.1-1/Makefile:1522: _module_/var/lib/dkms/veeamsnap/1.0.1.364/build] Error 2
make[1]: *** [Makefile:145: sub-make] Error 2
make: *** [Makefile:24: __sub-make] Error 2
make: Leaving directory '/usr/src/linux-4.13.1-1-obj/x86_64/default'
PTide
Product Manager
Posts: 6551
Liked: 765 times
Joined: May 19, 2015 1:46 pm
Contact:

Re: openSUSE Tumbleweed kernel 4.13.1 dkms error building

Post by PTide »

Hi,

openSUSE Tumbleweed is not supported.

Anyway, thank you for your input, it will be passed to our development team.

Thanks
ManOrs
Enthusiast
Posts: 30
Liked: 3 times
Joined: Dec 20, 2016 6:39 am
Full Name: Manuel Orsatti
Location: Italy
Contact:

[MERGED] Fedora 26 - kernel 4.13.4 - dkms does not build

Post by ManOrs »

Hello,
kernel 4.13.4 appeared in Fedora 26 repos,
veeamsnap dkms modue was not successful,
confirming veeam-agent-for-linux-f41/opensuse-tumb ... 45585.html
workaround from veeam-agent-for-linux-f41/fedora-26-ker ... 45018.html was reverted (same error with and without it)

here is the log:

Code: Select all

DKMS make.log for veeamsnap-1.0.1.364 for kernel 4.13.4-200.fc26.x86_64 (x86_64)
gio  5 ott 2017, 09.56.26, CEST
make: ingresso nella directory "/usr/src/kernels/4.13.4-200.fc26.x86_64"
  AR      /var/lib/dkms/veeamsnap/1.0.1.364/build/built-in.o
  CC [M]  /var/lib/dkms/veeamsnap/1.0.1.364/build/mem_alloc.o
  CC [M]  /var/lib/dkms/veeamsnap/1.0.1.364/build/sparse_array_1lv.o
/var/lib/dkms/veeamsnap/1.0.1.364/build/mem_alloc.c: In function ‘dbg_kmalloc_huge’:
/var/lib/dkms/veeamsnap/1.0.1.364/build/mem_alloc.c:138:55: error: ‘__GFP_REPEAT’ undeclared (first use in this function); did you mean ‘__GFP_RECLAIM’?
   ptr = dbg_kmalloc( max_size, flags | __GFP_NOWARN | __GFP_REPEAT);
                                                       ^~~~~~~~~~~~
                                                       __GFP_RECLAIM
/var/lib/dkms/veeamsnap/1.0.1.364/build/mem_alloc.c:138:55: note: each undeclared identifier is reported only once for each function it appears in
make[1]: *** [scripts/Makefile.build:302: /var/lib/dkms/veeamsnap/1.0.1.364/build/mem_alloc.o] Error 1
make[1]: *** Attesa per i processi non terminati....
make: *** [Makefile:1516: _module_/var/lib/dkms/veeamsnap/1.0.1.364/build] Error 2
make: uscita dalla directory "/usr/src/kernels/4.13.4-200.fc26.x86_64"
PTide
Product Manager
Posts: 6551
Liked: 765 times
Joined: May 19, 2015 1:46 pm
Contact:

Re: openSUSE Tumbleweed kernel 4.13.1 dkms error building

Post by PTide »

Hi,

Please contact our support team directly on that matter and post your case ID.

Thank you!
ManOrs
Enthusiast
Posts: 30
Liked: 3 times
Joined: Dec 20, 2016 6:39 am
Full Name: Manuel Orsatti
Location: Italy
Contact:

Re: openSUSE Tumbleweed kernel 4.13.1 dkms error building

Post by ManOrs »

Hello PTide,
here is the ticket id: 02334913

thanks
ManOrs
Enthusiast
Posts: 30
Liked: 3 times
Joined: Dec 20, 2016 6:39 am
Full Name: Manuel Orsatti
Location: Italy
Contact:

Re: openSUSE Tumbleweed kernel 4.13.1 dkms error building

Post by ManOrs » 1 person likes this post

support fixed it
rokko74
Novice
Posts: 9
Liked: 4 times
Joined: Sep 12, 2017 7:24 pm
Full Name: Roberto
Contact:

[MERGED] Re: Fedora 26 - kernel 4.12.5 - dkms does not build

Post by rokko74 »

kernel 4.13.4-200.fc26.x86_64 dkms does not build (no workaround yet?):

# cat /var/lib/dkms/veeamsnap/1.0.1.364/build/make.log
DKMS make.log for veeamsnap-1.0.1.364 for kernel 4.13.4-200.fc26.x86_64 (x86_64)
dom 8 ott 2017, 16.44.31, CEST
make: ingresso nella directory "/usr/src/kernels/4.13.4-200.fc26.x86_64"
AR /var/lib/dkms/veeamsnap/1.0.1.364/build/built-in.o
CC [M] /var/lib/dkms/veeamsnap/1.0.1.364/build/mem_alloc.o
CC [M] /var/lib/dkms/veeamsnap/1.0.1.364/build/sparse_array_1lv.o
/var/lib/dkms/veeamsnap/1.0.1.364/build/mem_alloc.c: In function ‘dbg_kmalloc_huge’:
/var/lib/dkms/veeamsnap/1.0.1.364/build/mem_alloc.c:138:55: error: ‘__GFP_REPEAT’ undeclared (first use in this function); did you mean ‘__GFP_RECLAIM’?
ptr = dbg_kmalloc( max_size, flags | __GFP_NOWARN | __GFP_REPEAT);
^~~~~~~~~~~~
__GFP_RECLAIM
/var/lib/dkms/veeamsnap/1.0.1.364/build/mem_alloc.c:138:55: note: each undeclared identifier is reported only once for each function it appears in
make[1]: *** [scripts/Makefile.build:302: /var/lib/dkms/veeamsnap/1.0.1.364/build/mem_alloc.o] Error 1
make[1]: *** Attesa per i processi non terminati....
make: *** [Makefile:1516: _module_/var/lib/dkms/veeamsnap/1.0.1.364/build] Error 2
make: uscita dalla directory "/usr/src/kernels/4.13.4-200.fc26.x86_64"
PTide
Product Manager
Posts: 6551
Liked: 765 times
Joined: May 19, 2015 1:46 pm
Contact:

Re: openSUSE Tumbleweed kernel 4.13.1 dkms error building

Post by PTide »

Please contact our support team directly so they can provide you with a hotfix, and post your case ID here.

Thank you
linuxdrake
Lurker
Posts: 2
Liked: never
Joined: Sep 01, 2016 5:19 pm
Contact:

Re: openSUSE Tumbleweed kernel 4.13.1 dkms error building

Post by linuxdrake »

Opened case 02345912

For unable to build from source the veeamsnap module, on FC26 on kernel 4.13.4-200.fc26.x86_64
deeler
Lurker
Posts: 2
Liked: never
Joined: Oct 25, 2017 12:30 pm
Full Name: Dieter Vanwijnsberghe
Contact:

Re: openSUSE Tumbleweed kernel 4.13.1 dkms error building

Post by deeler »

Hi

I have the same issue with Debian. Was there a response from veeam support already?
I like to know how to fix it, or a workaround

Code: Select all

root@cs:~# more  /var/lib/dkms/veeamsnap/1.0.1.364/build/make.log
DKMS make.log for veeamsnap-1.0.1.364 for kernel 4.13.0-1-amd64 (x86_64)
Wed Oct 25 14:07:01 CEST 2017
make: Entering directory '/usr/src/linux-headers-4.13.0-1-amd64'
  AR      /var/lib/dkms/veeamsnap/1.0.1.364/build/built-in.o
  CC [M]  /var/lib/dkms/veeamsnap/1.0.1.364/build/mem_alloc.o
  CC [M]  /var/lib/dkms/veeamsnap/1.0.1.364/build/sparse_array_1lv.o
  CC [M]  /var/lib/dkms/veeamsnap/1.0.1.364/build/sparse_bitmap.o
  CC [M]  /var/lib/dkms/veeamsnap/1.0.1.364/build/container.o
/var/lib/dkms/veeamsnap/1.0.1.364/build/mem_alloc.c: In function ‘dbg_kmalloc_huge’:
/var/lib/dkms/veeamsnap/1.0.1.364/build/mem_alloc.c:138:55: error: ‘__GFP_REPEAT’ undeclared (first use in this function)
   ptr = dbg_kmalloc( max_size, flags | __GFP_NOWARN | __GFP_REPEAT);
                                                       ^~~~~~~~~~~~
/var/lib/dkms/veeamsnap/1.0.1.364/build/mem_alloc.c:138:55: note: each undeclared identifier is reported only once for each function it appears in
/usr/src/linux-headers-4.13.0-1-common/scripts/Makefile.build:307: recipe for target '/var/lib/dkms/veeamsnap/1.0.1.364/build/mem_alloc.o' failed
make[3]: *** [/var/lib/dkms/veeamsnap/1.0.1.364/build/mem_alloc.o] Error 1
make[3]: *** Waiting for unfinished jobs....
/usr/src/linux-headers-4.13.0-1-common/Makefile:1529: recipe for target '_module_/var/lib/dkms/veeamsnap/1.0.1.364/build' failed
make[2]: *** [_module_/var/lib/dkms/veeamsnap/1.0.1.364/build] Error 2
Makefile:145: recipe for target 'sub-make' failed
make[1]: *** [sub-make] Error 2
Makefile:8: recipe for target 'all' failed
make: *** [all] Error 2
make: Leaving directory '/usr/src/linux-headers-4.13.0-1-amd64'

Code: Select all

root@cs:~# uname -na
Linux cs 4.13.0-1-amd64 #1 SMP Debian 4.13.4-1 (2017-10-01) x86_64 GNU/Linux

thanks!
PTide
Product Manager
Posts: 6551
Liked: 765 times
Joined: May 19, 2015 1:46 pm
Contact:

Re: openSUSE Tumbleweed kernel 4.13.1 dkms error building

Post by PTide »

The fix should work for Debain as well, please contact support directly.

Thanks
deeler
Lurker
Posts: 2
Liked: never
Joined: Oct 25, 2017 12:30 pm
Full Name: Dieter Vanwijnsberghe
Contact:

Re: openSUSE Tumbleweed kernel 4.13.1 dkms error building

Post by deeler »

okay, but why not share the fix?
nielsengelen
Product Manager
Posts: 5797
Liked: 1215 times
Joined: Jul 15, 2013 11:09 am
Full Name: Niels Engelen
Contact:

Re: openSUSE Tumbleweed kernel 4.13.1 dkms error building

Post by nielsengelen »

This way we can assist you incase the fix doesn't work for a specific OS. Once it is proven it will be included in the next version.
Personal blog: https://foonet.be
GitHub: https://github.com/nielsengelen
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests