Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: Error! Bad return status for module build on kernel: 6.1.4-artix1-1 (Read 673 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Error! Bad return status for module build on kernel: 6.1.4-artix1-1

Newest kernel updates of Zen, Artix, and LTS get "bad module build error" because of my Nvidia driver.

==> WARNING: `dkms install --no-depmod nvidia/470.141.03 -k 6.1.4-artix1-1' exited 10

Nvidia 470xx-dkms in universe repo is version 470.141.03. The AUR is version 470.161.03-2. I'm assuming there is an update coming that will remedy this? Any ideas?

Thanks all

Re: Error! Bad return status for module build on kernel: 6.1.4-artix1-1

Reply #1
Code: [Select]
universe/nvidia-470xx-utils 470.141.03-2 (161.7 MiB 420.1 MiB) 
    NVIDIA drivers utilities
universe/nvidia-470xx-dkms 470.141.03-2 (24.5 MiB 47.1 MiB)
    NVIDIA drivers - module sources
Looks like the update is present in the repositories when I searched.

Re: Error! Bad return status for module build on kernel: 6.1.4-artix1-1

Reply #2
Code: [Select]
universe/nvidia-470xx-utils 470.141.03-2 (161.7 MiB 420.1 MiB) 
    NVIDIA drivers utilities
universe/nvidia-470xx-dkms 470.141.03-2 (24.5 MiB 47.1 MiB)
    NVIDIA drivers - module sources
Looks like the update is present in the repositories when I searched.

Hmm. I guess I'm confused. The package in universe is 470.141.03-2. Wouldn't that make The AUR version 470.161.03-2 newer, and therefore the up to date package vs universe??

Re: Error! Bad return status for module build on kernel: 6.1.4-artix1-1

Reply #3
Quote
Wouldn't that make The AUR version 470.161.03-2 newer, and therefore the up to date package vs universe??
The versions appear to be identical.
I looked at the AUR nvidia-4700xx site.
ptr1337 commented on 2023-01-13 12:23 (UTC): mentions this nvidia-drivers-470.141.03-clang15.patch.
So my guess is that this patch would allow it create the modules in the newer kernels since it is very new.

I am sure the copy of the package in universe will be updated in due course. The safest thing to do would be to hold off on installing any new kernels until that time unless you want to manually build and install the nvidia-4700xx with that patch.

Re: Error! Bad return status for module build on kernel: 6.1.4-artix1-1

Reply #4

I am sure the copy of the package in universe will be updated in due course. The safest thing to do would be to hold off on installing any new kernels until that time unless you want to manually build and install the nvidia-4700xx with that patch.

Ok, holding off was my thought as well. Thanks very much for the input

 

Re: Error! Bad return status for module build on kernel: 6.1.4-artix1-1

Reply #5
Nvidia 470xx package updates came though in universe. Updated my kernels with no issues. Thanks