[DRBD-user] 9.1.14 upgrade issue

Lars Ellenberg lars.ellenberg at linbit.com
Fri Apr 14 18:13:44 CEST 2023


On Fri, Apr 14, 2023 at 08:54:39AM -0700, Akemi Yagi wrote:
> Hi Nigel,
> 
> kmod-drbd90-9.1.14-2.el8_7.x86_64.rpm will start syncing to our mirrors
> shortly.

Since we modularized the "transport",
DRBD consists of (at least) two modules,
"drbd" and "drbd_transport_tcp".

You ship
./lib/modules/4.18.0-425.10.1.el8_7.x86_64/extra/drbd90/drbd.ko
./lib/modules/4.18.0-425.10.1.el8_7.x86_64/extra/drbd90/drbd_transport_tcp.ko

and a depmod conf snippet in
./etc/depmod.d/kmod-drbd90.conf

which contains
------
override drbd90 * weak-updates/drbd90
------

And that does not make any sense at all.
Because it does not match any module
(unless you patched in some funny alias, which I doubt).
Also it does not even attempt to match the transport tcp.

It should contain something like
------
override drbd * weak-updates/drbd90
override drbd_transport_tcp * weak-updates/drbd90
------

after a depmod run with a corrected depmod conf,
# modinfo -F filename drbd drbd_transport_tcp
should report the same path for both drbd and drbd_transport_tcp, and
not find them in different directories with potentially different versions.
(that would explain the "symbols" errors)

Also you may want to check which path takes precedence,
and which path you _want_ to take precedence,
the "extra" or the "weak-updates" one,
should you have both a "built for this kernel version"
and a "compatible with this kernel version" module installed.

Cheers,
    Lars



More information about the drbd-user mailing list