On Tue, Jul 27, 2021 at 04:09:55PM +0000, Enrica Ruedin wrote:
> Hello,
> 
> I tried to install a fresh PVE Proxmox version 7.0 with DRBD/Linstor on my 
> test environment.
> 
> It doesn't install the DRBD in the current kernel 5.11.22-3-pve.
> 
> Installing message:
> Unpacking drbd-dkms (9.1.3-1) ...
> Setting up linux-compiler-gcc-10-x86 (5.10.46-2) ...
> ... (other entries)
> Setting up linux-headers-5.10.0-8-amd64 (5.10.46-2) ...
> /etc/kernel/header_postinst.d/dkms:
> dkms: running auto installation service for kernel 5.10.0-8-amd64:.
> Setting up dh-strip-nondeterminism (1.12.0-1) ...
> Setting up linux-headers-amd64 (5.10.46-2) ...
> Setting up debhelper (13.3.4) ...
> Setting up drbd-dkms (9.1.3-1) ...
> Loading new drbd-9.1.3-1 DKMS files...
> Building for 5.11.22-3-pve
> Module build for kernel 5.11.22-3-pve was skipped since the
> kernel headers for this kernel does not seem to be installed.

So far so expected. If you don't have the generic pve-headers package
installed you are the one responsible to install pve-headers-$(uname -r)

> Processing triggers for man-db (2.9.4-2) ...
> 
> Then I installed "pve-headers-5.11.22-3-pve" and tried again to install 
> "drbd-dkms". New Error:
> 
> Unpacking drbd-dkms (9.1.3-1) over (9.1.3-1) ...
> Setting up drbd-dkms (9.1.3-1) ...
> Loading new drbd-9.1.3-1 DKMS files...
> Building for 5.11.22-3-pve
> Building initial module for 5.11.22-3-pve
> Error! Bad return status for module build on kernel: 5.11.22-3-pve (x86_64)
> Consult /var/lib/dkms/drbd/9.1.3-1/build/make.log for more information.

Can you provide that file (or the interesting part)?

I have not updated my test clusters to 7.0 myself, but I will do in the
next days. My best guess is that the compat code used there does not
support 5.11.22, or - due to added patches - does not generated a
combination/patch that then applies/compiles.

So please provide the make.log, but most likely this will need some
fixes in the compat code on our side.

Regards, rck
_______________________________________________
Star us on GITHUB: https://github.com/LINBIT
drbd-user mailing list
drbd-user@lists.linbit.com
https://lists.linbit.com/mailman/listinfo/drbd-user

Reply via email to