Your error message tells us the module was built for the 6.8.5 kernel but that kernel is probably not installed.
Rebuild the module for the currently running kernel.
Thanks for the reply.
That kernel version is the one I am running. I also followed the steps in the README on this kernel. I installed Fedora freshly a couple of hours ago.
In that case you would need to install the kernel-devel and/or the kernel-modules package for the 6.8.5 kernel
Additionally you should be aware that the current kernel version for f40 is 6.8.8 and whenever chasing problems like this you should always update to the latest packages so you are not chasing bugs that may have already been fixed. sudo dnf upgrade --refresh followed by a reboot is what I would recommend before further troubleshooting.
Thanks, that fixed it!
I installed Fedora 40 just a couple of hours ago, did software updates and rebooted a couple of times. I still landed on kernel 6.8.5 (although 6.8.8 is also installed).
Have a nice day
This should not happen. Normally fedora always defaults to the latest kernel installed, so please tell us what the results of dnf list installed kernel* and ls /boot /boot/efi /boot/efi/EFI show
Strange.
Have you done something that would make that kernel the default?
Have you tried to display the grub boot menu and select the 6.8.8 kernel for booting?
I was able to boot into 6.8.8, everything worked fine. I ran grubby --default-kernel and it confirmed 6.8.5 is the default. I definitely did not change any grub settings or anything that would change the default kernel I’m quite sure.