CUSE Module not found in Rocky 8.10

Even if you install all the fuse related packages like fuse3 and fuse3-dev the cuse module is still no there.

[root@serapheim-rocky810-0 ~] 2025-01-27 23:33:32 $ modprobe cuse
modprobe: FATAL: Module cuse not found in directory /lib/modules/4.18.0-553.16.1.el8_10.x86_64
[root@serapheim-rocky810-0 ~] 2025-01-27 23:33:40 $ find /lib/modules/4.18.0-553.16.1.el8_10.x86_64 | grep fuse
/lib/modules/4.18.0-553.16.1.el8_10.x86_64/kernel/fs/fuse
/lib/modules/4.18.0-553.16.1.el8_10.x86_64/kernel/fs/fuse/fuse.ko.xz
/lib/modules/4.18.0-553.16.1.el8_10.x86_64/kernel/fs/fuse/virtiofs.ko.xz

The kernel definitely supports it as I can tell:

$ grep CUSE /boot/c*
/boot/config-4.18.0-513.24.1.el8_9.x86_64:CONFIG_CUSE=m
/boot/config-4.18.0-553.36.1.el8_10.x86_64:CONFIG_CUSE=m
/boot/config-4.18.0-553.el8_10.x86_64:CONFIG_CUSE=m

I wonder whether they miss packaging cuse.ko after the fuse rpm is build. If that’s the case does anyone know where I can get more help? or even better a repo when I can look at their .spec file and see if I can include the kernel module?

Thank you in advance,
Serapheim

The cuse module is in kernel-modules-extra.

[root@cm01 ~]# dnf repoquery -q --whatprovides \*/cuse.ko* --latest-limit=1
kernel-debug-modules-extra-0:4.18.0-553.36.1.el8_10.x86_64
kernel-modules-extra-0:4.18.0-553.36.1.el8_10.x86_64

[root@cm01 ~]# dnf repoquery -q -l kernel-modules-extra | grep cuse
/lib/modules/4.18.0-553.16.1.el8_10.x86_64/kernel/fs/fuse/cuse.ko.xz
/lib/modules/4.18.0-553.22.1.el8_10.x86_64/kernel/fs/fuse/cuse.ko.xz
/lib/modules/4.18.0-553.27.1.el8_10.x86_64/kernel/fs/fuse/cuse.ko.xz
/lib/modules/4.18.0-553.30.1.el8_10.x86_64/kernel/fs/fuse/cuse.ko.xz
/lib/modules/4.18.0-553.32.1.el8_10.x86_64/kernel/fs/fuse/cuse.ko.xz
/lib/modules/4.18.0-553.33.1.el8_10.x86_64/kernel/fs/fuse/cuse.ko.xz
/lib/modules/4.18.0-553.34.1.el8_10.x86_64/kernel/fs/fuse/cuse.ko.xz
/lib/modules/4.18.0-553.36.1.el8_10.x86_64/kernel/fs/fuse/cuse.ko.xz
/lib/modules/4.18.0-553.5.1.el8_10.x86_64/kernel/fs/fuse/cuse.ko.xz
/lib/modules/4.18.0-553.8.1.el8_10.x86_64/kernel/fs/fuse/cuse.ko.xz
/lib/modules/4.18.0-553.el8_10.x86_64/kernel/fs/fuse/cuse.ko.xz

We aren’t missing packaging the module (thankfully). In fact, anything that’s an “extra” module is listed here: SOURCES/mod-extra.list · r8 · staging / rpms / kernel · GitLab

The spec file for the kernel begins using the mod-extra.list here: SPECS/kernel.spec · r8 · staging / rpms / kernel · GitLab

You’ll simply need to run dnf install kernel-modules-extra and you’ll have the cuse module available.

Hope this helps.

That did the trick! Thank you so muck @nazunalika . My dnf-foo is not that good coming from apt/deb world. Marked your answer as the solution!

1 Like