View Issue Details

IDProjectCategoryView StatusLast Update
0001492channel: kernel/el9Generalpublic2024-11-24 12:25
ReporterAdrianSevcenco Assigned Totoracat  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Summary0001492: kernel-ml lacks drbd module
DescriptionHi! kernel-ml on Alma9 (6.11.9-1.el9.elrepo.x86_64) lacks the drbd module
Would be possible to have it built in the future kernel-ml releases?
Steps To ReproduceJust install
kernel-ml-6.11.9-1.el9.elrepo.x86_64
kernel-ml-core-6.11.9-1.el9.elrepo.x86_64
kernel-ml-devel-6.11.9-1.el9.elrepo.x86_64
kernel-ml-devel-matched-6.11.9-1.el9.elrepo.x86_64
kernel-ml-modules-6.11.9-1.el9.elrepo.x86_64
kernel-ml-modules-extra-6.11.9-1.el9.elrepo.x86_64
kernel-ml-tools-6.11.9-1.el9.elrepo.x86_64
kernel-ml-tools-libs-6.11.9-1.el9.elrepo.x86_64
kernel-ml-tools-libs-devel-6.11.9-1.el9.elrepo.x86_64
TagsNo tags attached.

Activities

AdrianSevcenco

2024-11-20 14:25

reporter   ~0010190

I forgot:
grep -i drbd /boot/config-6.11.9-1.el9.elrepo.x86_64
# CONFIG_BLK_DEV_DRBD is not set

toracat

2024-11-20 15:23

administrator   ~0010191

We will try enabling drbd in the next kernel updates.

Have you considered using our kmod package? If you have updated your Alma system to 9.5, you can install the latest kmod-drbd9x by running:

sudo dnf --enablerepo=elrepo-testing install kmod-drbd9x

AdrianSevcenco

2024-11-20 17:04

reporter   ~0010193

well, i tried but i do not have the module present
i just tried also the elrepo-testing:
[root@vmhost1 ~]# rpm -qa | grep drbd
drbdlinks-1.29-5.el9.noarch
drbd9x-utils-9.29.0-1.el9.elrepo.x86_64
kmod-drbd9x-9.2.12-1.el9_5.elrepo.x86_64

[root@vmhost1 ~]# locate drbd | grep modules
/usr/lib/modules/5.14.0-503.11.1.el9_5.x86_64/extra/drbd9x
/usr/lib/modules/5.14.0-503.11.1.el9_5.x86_64/extra/drbd9x/drbd.ko
/usr/lib/modules/5.14.0-503.11.1.el9_5.x86_64/extra/drbd9x/drbd_transport_lb-tcp.ko
/usr/lib/modules/5.14.0-503.11.1.el9_5.x86_64/extra/drbd9x/drbd_transport_rdma.ko
/usr/lib/modules/5.14.0-503.11.1.el9_5.x86_64/extra/drbd9x/drbd_transport_tcp.ko
/var/lib/selinux/targeted/active/modules/100/drbd
/var/lib/selinux/targeted/active/modules/100/drbd/cil
/var/lib/selinux/targeted/active/modules/100/drbd/hll
/var/lib/selinux/targeted/active/modules/100/drbd/lang_ext

looking into --scripts of kmod-drbd9x i see
```
postinstall scriptlet (using /bin/sh):
modules=( $(find /lib/modules/5.14.0-503.11.1.el9_5.x86_64/extra/drbd9x | grep '\.ko$') )
printf '%s\n' "${modules[@]}" | /usr/sbin/weak-modules --add-modules --no-initramfs

mkdir -p "/var/lib/rpm-state/kmod-dups/kver"
touch "/var/lib/rpm-state/kmod-dups/kver/5.14.0-503.11.1.el9_5.x86_64"

exit 0
```

so it would seem that kernel 5.14 is required

toracat

2024-11-20 17:08

administrator   ~0010194

Sorry, I failed to mention that our kmod packages are for the distro kernel, not kernel-ml or kernel-lt.

If you need to use kernel-ml/-lt, then you cannot use the kmod option.

AdrianSevcenco

2024-11-20 17:45

reporter   ~0010195

yeah, i thought so ... it would make no sense to make kmod packages for a kernel that you build yourself :)

toracat

2024-11-22 20:56

administrator   ~0010202

DRBD is enabled in the following kernel packages published today:

el9:
kernel-ml-6.12.1-1.el9.elrepo.x86_64.rpm
kernel-lt-6.1.119-1.el9.elrepo.x86_64.rpm

el8:
kernel-ml-6.12.1-1.el8.elrepo.x86_64.rpm

Issue History

Date Modified Username Field Change
2024-11-20 14:24 AdrianSevcenco New Issue
2024-11-20 14:24 AdrianSevcenco Status new => assigned
2024-11-20 14:24 AdrianSevcenco Assigned To => toracat
2024-11-20 14:25 AdrianSevcenco Note Added: 0010190
2024-11-20 15:16 toracat Status assigned => acknowledged
2024-11-20 15:16 toracat Project channel: elrepo/el9 => channel: kernel/el9
2024-11-20 15:16 toracat Category --elrepo--request-for-enhancement-- => General
2024-11-20 15:23 toracat Note Added: 0010191
2024-11-20 17:04 AdrianSevcenco Note Added: 0010193
2024-11-20 17:08 toracat Note Added: 0010194
2024-11-20 17:08 toracat Status acknowledged => assigned
2024-11-20 17:45 AdrianSevcenco Note Added: 0010195
2024-11-22 20:56 toracat Note Added: 0010202
2024-11-24 12:25 toracat Status assigned => resolved
2024-11-24 12:25 toracat Resolution open => fixed