On Fri, Apr 14, 2023 at 9:13 AM Lars Ellenberg <lars.ellenb...@linbit.com> wrote:
> 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 > Hi Lars, Thank you for your notes. I'll have more detailed look and see if I can fix the problem. Akemi
_______________________________________________ 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