On 19/06/2022 06:09, Francis.Montagnac@xxxxxxxx wrote:
On Sat, 18 Jun 2022 23:31:48 +0100 Barry wrote:
Try that (for the running kernel):
dnf remove kmod-nvidia-$(uname -r)
akmods --akmod nvidia
As I said that does not work because the already built modules are not
Deleted.
They are since akmod packages the modules in the kmod-nvidia-$(uname -r) RPM.
Thus "dnf remove kmod-nvidia-$(uname -r)" properly removes the kernel
modules.
The step I had not known about is that the kmod-nvidia is the output
of akmods comilation of the code in akmod-nvidia.
So as you say if that is dnf remove kmod-nvidia then akmods will build a
new one.
What I have tried that fails is to dnf reinstall akmod-nvidia.
The use of akmods --force is only useful if there has been a
failed compilation. It will build again after a sucessfule compilation.
Thanks you for clearing that up!
Barry
It may be you can rm the nvidia module and that may good enough to trigger
the build.
No trigger in this case IMO, you should call akmods to build them.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure