You are not logged in.
I tried Linux-hardened.."dkms install --no-depmod nvidia/470.141.03 -k 6.1.12-hardened1-1-hardened
Error! Bad return status for module build on kernel: 6.1.12-hardened1-1-hardened (x86_64)"
Same error for kernel linux-6.1.12.arch1-1, linux-lts-6.1.12-1, and linux-zen-6.1.12.zen1-1.
I am running 5.19.6-xanmod1-1-x64v2 kernel now. But I am anxious that it's 6.x version may also go the same way.
What is the solution?
Thank you.
Last edited by drtkm (2023-02-23 00:44:42)
Offline
We'll need to see the build log. The error should have mentioned it.
And why are you on such an old driver? The 470 series has moved beyond that version.
Last edited by Scimmia (2023-02-21 05:38:12)
Offline
@OP: I'm not sure nvidia packages built for kernel 5.19 will work on 6.1.xxx. You probably need to rebuild for the newer kernel and then (re)install them.
Offline
Thanks Scimmia and TheSgtBilko for trying to help me.
@ Scimmia - This is the build log. Too technical for me to comprehend. https://controlc.com/9acfe795
This driver was mentioned in Arch Wiki earlier. So I was using it. You may have pointed to an easy
solution. I shall try 470.161.03-3 driver.
@ TheSgtBilko - To rebuild for the newer kernel and then (re)install it is more difficult. So, i shall first try the latest
470 driver as suggested by Scimmia. If that fails, I shall have no choice other than to rebuild the
kernel but I shall need detailed instruction how to do it.
Offline
Success! Installing Nvidia 470.161.03-3 driver solved the issue. Linux, Zen and LTS - all kernels were correctly installed and running now. The issue occurred due to installation of Nvidia-DKMS package through AUR. How to install it through Pacman which will automatically update it?
Thanks again to Scimmia.
Offline
Just for clarity for later readers: I meant rebuilding/(re)install the aur package for nividia 470 NOT rebuilding the kernel.
Offline
Since pacman does not handle the AUR there's no way to configure pacman to do this automatically. The way to do it is keeping an eye on it and occasionally pullng new changes to the AUR package. If you really want to do it automatically there are AUR helpers to help you with this. But heed the notes that they are - as is the AUR as a whole - not supported or actively maintained by project members and you need to be weary of any issues that may arise with them: https://wiki.archlinux.org/title/AUR_helpers
Offline
Just for clarity for later readers: I meant rebuilding/(re)install the aur package for nividia 470 NOT rebuilding the kernel.
And for more clarity, rebuilding a -dkms package doesn't do anything useful unless you're updating it as well.
Offline
TheSgtBilko wrote:Just for clarity for later readers: I meant rebuilding/(re)install the aur package for nividia 470 NOT rebuilding the kernel.
And for more clarity, rebuilding a -dkms package doesn't do anything useful unless you're updating it as well.
Good point, should have made that clear!
Offline