[vdo-devel] kmod-kvdo in Centos 8 not built with dkms
Sverker Abrahamsson
sverker at limetransit.com
Wed Jan 27 21:40:08 UTC 2021
Hi,
I ran into the issue that kmod-kvdo rpm in Centos 8 that it has modules
built for a specific kernel which is of course not matching the running
kernel. It doesn't even set dependency on rpm level to the kernel it
does work with.
[root at nginx-centos8 sverker]# modprobe kvdo
modprobe: FATAL: Module kvdo not found in directory
/lib/modules/4.18.0-240.1.1.el8_3.x86_64
[root at nginx-centos8 sverker]# rpm -ql kmod-kvdo
/etc/depmod.d/kvdo.conf
/lib/modules/4.18.0-187.el8.x86_64
/lib/modules/4.18.0-187.el8.x86_64/extra
/lib/modules/4.18.0-187.el8.x86_64/extra/kmod-kvdo
/lib/modules/4.18.0-187.el8.x86_64/extra/kmod-kvdo/uds
/lib/modules/4.18.0-187.el8.x86_64/extra/kmod-kvdo/uds/uds.ko
/lib/modules/4.18.0-187.el8.x86_64/extra/kmod-kvdo/vdo
/lib/modules/4.18.0-187.el8.x86_64/extra/kmod-kvdo/vdo/kvdo.ko
/usr/lib/.build-id
/usr/lib/.build-id/13
/usr/lib/.build-id/13/4cb380830e58755bdc32cc09718f78132ab9fa
/usr/lib/.build-id/6f
/usr/lib/.build-id/6f/eaf669b5109338ae1625a67e066ce03b3d1fef
/usr/share/doc/kmod-kvdo/greylist.txt
I solved it by cloning the git repo and build a rpm from there, which
uses dkms to compile the modules. Works like a charm.
Is there any specific reason why the rpm in Centos 8 doesn't support dkms?
Best regards
Sverker
More information about the vdo-devel
mailing list