View Issue Details

IDProjectCategoryView StatusLast Update
0001172channel: elrepo/el8kmod-drbd90public2021-12-16 07:47
Reportermatt42 Assigned Totoracat  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionno change required 
Summary0001172: build kmod-drbd90 for kernel 4.18.0-348.2.1.el8_5.x86_64 Almalinux 8.5
DescriptionKernel:
4.18.0-348.2.1.el8_5.x86_64

# modinfo drbd
filename: /lib/modules/4.18.0-348.2.1.el8_5.x86_64/weak-updates/drbd90/drbd.ko
alias: block-major-147-*
license: GPL
version: 9.1.4
description: drbd - Distributed Replicated Block Device v9.1.4
author: Philipp Reisner <phil@linbit.com>, Lars Ellenberg <lars@linbit.com>
rhelversion: 8.5
srcversion: 0AA445C0EF5B72C06FF2648
depends: libcrc32c
name: drbd
vermagic: 4.18.0-348.el8.x86_64 SMP mod_unload modversions


# modprobe drbd
modprobe: ERROR: could not insert 'drbd': Required key not available

# cat /etc/oracle-release
Almalinux release 8.5

Please rebuild kmod-drbd90 for new kernel
TagsNo tags attached.

Activities

matt42

2021-12-15 10:56

reporter   ~0008070

Sorry, wrong os in description. Here comes the right one:

cat /etc/os-release
NAME="CentOS Stream"
VERSION="8"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="8"
PLATFORM_ID="platform:el8"
PRETTY_NAME="CentOS Stream 8"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:8"
HOME_URL="https://centos.org/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux 8"
REDHAT_SUPPORT_PRODUCT_VERSION="CentOS Stream"

toracat

2021-12-15 15:18

administrator   ~0008071

We do not support CentOS Stream kernels.

You can install the regular distro kernel, or ask the CentOS kmods-SIG group to provide the kmod-drbd package.

toracat

2021-12-15 15:28

administrator   ~0008072

Here's the info about the CentOS kmods-SIG:

https://wiki.centos.org/SpecialInterestGroup/Kmods

pperry

2021-12-15 15:40

administrator   ~0008075

This error:

# modprobe drbd
modprobe: ERROR: could not insert 'drbd': Required key not available

would appear to imply you have SecureBoot enabled on the system and have not imported the elrepo SecureBoot signing key. Is that correct?

And to avoid confusing, please can you start again and confirm the distro / running kernel / and any error messages you see.

Thanks

matt42

2021-12-16 03:23

reporter   ~0008078

Thank you very much. Indeed I didn't install elrepo SecureBoot signing key. After doing so it works as expected.

lsmod | grep drbd
drbd 634880 0
libcrc32c 16384 5 nf_conntrack,nf_nat,nf_tables,xfs,drbd

/var/log/messages
kernel: drbd: loading out-of-tree module taints kernel.
kernel: drbd: initialized. Version: 9.1.4 (api:2/proto:110-121)
kernel: drbd: GIT-hash: e4de25c3a65811b0fa4733b1c2a000ee322f5cfa build by akemi@Build64R8, 2021-11-10 12:55:21
kernel: drbd: registered as block device major 147

Since elrepo does not support centos stream,
I would switch to Almalinux, which is supported by elrepo, right?

pperry

2021-12-16 07:47

administrator   ~0008079

Thank you for reporting back and confirming it's now working.

Elrepo supports RHEL, and by definition all compatible clones, including AlmaLinux.

Unfortunately the kernel in CentOS Stream is not always compatible with the current RHEL kernel, hence we cannot guarantee support with Stream.

Marking as resolved

Issue History

Date Modified Username Field Change
2021-12-15 10:52 matt42 New Issue
2021-12-15 10:52 matt42 Status new => assigned
2021-12-15 10:52 matt42 Assigned To => toracat
2021-12-15 10:56 matt42 Note Added: 0008070
2021-12-15 15:18 toracat Note Added: 0008071
2021-12-15 15:28 toracat Note Added: 0008072
2021-12-15 15:40 pperry Note Added: 0008075
2021-12-16 03:23 matt42 Note Added: 0008078
2021-12-16 07:47 pperry Note Added: 0008079
2021-12-16 07:47 pperry Status assigned => resolved
2021-12-16 07:47 pperry Resolution open => no change required