Re: [DRBD-user] building v9

2020-12-13 Thread Pierre-Philipp Braun
Hope this helps... My building issues were solved already, once I reverted to longterm 5.4, as I stated in my answer to Yannis in this very thread. In my answer to Christoph, I was rather contradicting the fact that Coccinelle could be avoided in case of supported kernels. And yes, I also

Re: [DRBD-user] building v9

2020-12-12 Thread Stéphane Rivière
Hi Gianni, > Seems to be working fine here, but I'm using the tarballs from linbit > web page (download section) instead of using git, perhaps that makes a > difference ? Yes. It seems. I choose the wrong way... Now I use the Proxmox depot (lazy mode :) Thanks for testing. -- Stéphane

Re: [DRBD-user] building v9

2020-12-12 Thread Gianni Milo
Seems to be working fine here, but I'm using the tarballs from linbit web page (download section) instead of using git, perhaps that makes a difference ? root@debian10:~# uname -r 4.19.0-13-amd64 DRBDADM_BUILDTAG=GIT-hash:\ fa9b9d3823b6e1792919e711fcf6164cac629290\ build\ by\ root@debian10\,\

Re: [DRBD-user] building v9

2020-12-12 Thread Stéphane Rivière
> Hmm interesting. It would help to know how to find out about the exact and > ideal version. It must be available somewhere, right? Having this version > at the top of the table you've shared above (and even as number 1 supported > kernel) would seem logical to me. And it would be great if

Re: [DRBD-user] building v9

2020-12-11 Thread Pierre-Philipp Braun
> ubuntu-focal-amd64    | ✗ 5.4.0-51; ✗ 5.4.0-52; 5.4.0-48; 5.4.0-53; > 5.4.0-54; 5.4.0-56; 5.4.0-26 [...] > Using one of these kernels will give you the smoothest experience when > building DRBD. We actually pre-compute all compat patches for these > kernels and put them in our release

Re: [DRBD-user] building v9

2020-12-11 Thread Pierre-Philipp Braun
> I tested building on 5.8.0-31-generic (Ubuntu Focal) and I'm getting the > same error as you do, so I'd assume that drbd cannot build against that > kernel at the moment. > I have reverted back to 5.4.0-48-generic which seems to be ok. Thank you! That's some kind of a workaround, but it

Re: [DRBD-user] building v9

2020-12-10 Thread Eddie Chapman
On 10/12/2020 12:07, Christoph Böhmwalder wrote: Hi Pierre, As much as we may want it, DRBD's coccinelle-based compat system is not a general purpose solution. We can't guarantee that DRBD will build for any given kernel – there is simply too much going on in the block layer and other parts

Re: [DRBD-user] building v9

2020-12-10 Thread Yannis Milios
Thanks Christoph for the very clear explanation, I think that it was a piece which was missing for all of us! B.R. Yannis On Thu, 10 Dec 2020 at 12:07, Christoph Böhmwalder < christoph.boehmwal...@linbit.com> wrote: > Hi Pierre, > > As much as we may want it, DRBD's coccinelle-based compat

Re: [DRBD-user] building v9

2020-12-10 Thread Christoph Böhmwalder
Hi Pierre, As much as we may want it, DRBD's coccinelle-based compat system is not a general purpose solution. We can't guarantee that DRBD will build for any given kernel – there is simply too much going on in the block layer and other parts of the kernel, so that we cannnot possibly cover

Re: [DRBD-user] building v9

2020-12-10 Thread Yannis Milios
I tested building on 5.8.0-31-generic (Ubuntu Focal) and I'm getting the same error as you do, so I'd assume that drbd cannot build against that kernel at the moment. I have reverted back to 5.4.0-48-generic which seems to be ok. On Thu, 10 Dec 2020 at 05:59, Pierre-Philipp Braun wrote: > Hey.

[DRBD-user] building v9

2020-12-06 Thread Pierre-Philipp Braun
Hello I am having troubles building the v9 module although I tried with various releases and against many kernel versions. With branch drbd-9.0 and drbd-9.0.26-0rc2 against stock Ubuntu 5.8.0-31-generic In file included from /root/tp/drbd/drbd/drbd_main.c:19: ./include/linux/vermagic.h:6:2: