This article will show you how to relax SuSE/SLES third party kmod protections to allow for LINBIT's DRBD to be inserted.
If using DRBD® from our repositorories on SLES, you’ll see the module fail to load. This is because SuSE is picky about support and using third party modules. The errors will look like this:
modprobe: ERROR: module 'drbd' is unsupported
modprobe: ERROR: Use --allow-unsupported or set allow_unsupported_modules 1 in
modprobe: ERROR: /etc/modprobe.d/10-unsupported-modules.conf
modprobe: ERROR: could not insert 'drbd': Operation not permitted
To get around this, there is an option that will allow the system to load unsupported modules at the cost of tainting the kernel. Kernel "taint" is just a way of saying that this SLES kernel is sharing space with modules that SuSE has no control of, and cannot support. There is no functional impact.
To allow the loading of unsupported 3rd party modules in SLES, set 'allow_unsupported_modules 1' in /etc/modprobe.d/unsupported-modules. After making this change, modules missing the "supported" flag will be allowed to load.
Reviewed 2020/12/01 – DGT