You are not logged in.

#1 2023-02-21 05:17:27

drtkm
Member
Registered: 2022-01-03
Posts: 10

DKMS install fails for new kernels with Nvidia GeForce GT 710 [SOLVED]

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

#2 2023-02-21 05:35:13

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,727

Re: DKMS install fails for new kernels with Nvidia GeForce GT 710 [SOLVED]

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

#3 2023-02-21 10:30:26

TheSgtBilko
Member
Registered: 2013-08-13
Posts: 89

Re: DKMS install fails for new kernels with Nvidia GeForce GT 710 [SOLVED]

@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

#4 2023-02-22 02:42:20

drtkm
Member
Registered: 2022-01-03
Posts: 10

Re: DKMS install fails for new kernels with Nvidia GeForce GT 710 [SOLVED]

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

#5 2023-02-22 03:33:36

drtkm
Member
Registered: 2022-01-03
Posts: 10

Re: DKMS install fails for new kernels with Nvidia GeForce GT 710 [SOLVED]

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

#6 2023-02-22 08:56:17

TheSgtBilko
Member
Registered: 2013-08-13
Posts: 89

Re: DKMS install fails for new kernels with Nvidia GeForce GT 710 [SOLVED]

Just for clarity for later readers: I meant rebuilding/(re)install the aur package for nividia 470 NOT rebuilding the kernel.

Offline

#7 2023-02-22 09:20:41

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,255

Re: DKMS install fails for new kernels with Nvidia GeForce GT 710 [SOLVED]

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

#8 2023-02-22 14:00:09

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,727

Re: DKMS install fails for new kernels with Nvidia GeForce GT 710 [SOLVED]

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.

Offline

#9 2023-02-23 15:01:48

TheSgtBilko
Member
Registered: 2013-08-13
Posts: 89

Re: DKMS install fails for new kernels with Nvidia GeForce GT 710 [SOLVED]

Scimmia wrote:
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

Board footer

Powered by FluxBB