You are not logged in.

#1 2018-08-10 09:39:46

Liranai
Member
Registered: 2018-08-10
Posts: 3

[SOLVED]Nvidia-DKMS installation failed, no log created

Hey Archlinux forums,

You guys have been my saviors many a times before, but this time I've run into an issue I don't know how to solve.
I'm using the nvidia-dkms drivers for support with my 'custom' kernel, using the linux-vfio kernel.
After an update the dkms hook ran fine for the 4.17.13 kernel, but it failed to install for kernel 4.17.10-1-vfio.
When I try to manually reinstall the driver it gives the following output:

(1/1) reinstalling nvidia-dkms                                      [#####################################] 100%
:: Running post-transaction hooks...
(1/2) Install DKMS modules
==> dkms install nvidia/396.45 -k 4.17.10-1-vfio
Error! Bad return status for module build on kernel: 4.17.10-1-vfio (x86_64)
Consult /var/lib/dkms/nvidia/396.45/build/make.log for more information.
==> dkms install nvidia/396.45 -k 4.17.13-arch1-1-ARCH
(2/2) Arming ConditionNeedsUpdate... 

Unfortunately however, there is no log under /var/lib/dkms/nvidia/396.45/build/make.log, nor does the build directory exist.
Normally I'd be able to google the problem, but since no logs are created and I don't know how to fix that, I am at a loss.

Thanks in advance,
Gwen

TL;DR Nvidia-dkms install does not create build log, how to fix?

Last edited by Liranai (2018-08-10 15:49:44)

Offline

#2 2018-08-10 09:43:19

loqs
Member
Registered: 2014-03-06
Posts: 19,113

Re: [SOLVED]Nvidia-DKMS installation failed, no log created

Rebuild 4.17.10-1-vfio with gcc 8.2.0-2 then rebuild the nvidia module for 4.17.10-1-vfio.
Edit:
spelling the not tne.

Last edited by loqs (2018-08-10 09:43:54)

Offline

#3 2018-08-10 11:27:54

Liranai
Member
Registered: 2018-08-10
Posts: 3

Re: [SOLVED]Nvidia-DKMS installation failed, no log created

Thanks for the reply.

I've rebuild 4.17.10-1-vfio but unfortunately nothing has changed. Still no log and no build, meaning x won't start.

I'm unsure how to continue from here on, did I not use the right gcc still or do you have any clue what else it could be?

I'm assuming at least it build with the right gcc version;

[liranai@EvolvedArch ~]$ cat /proc/version 
Linux version 4.17.10-1-vfio (liranai@EvolvedArch) (gcc version 8.2.0 (GCC)) #1 SMP PREEMPT Fri Aug 10 11:56:23 CEST 2018

Edit: I did not realise at the time I also had to recompile the kernel headers. It's fixed now, thank you so much!

Last edited by Liranai (2018-08-10 15:49:07)

Offline

#4 2018-08-10 12:26:18

Liranai
Member
Registered: 2018-08-10
Posts: 3

Re: [SOLVED]Nvidia-DKMS installation failed, no log created

[deleted]

Last edited by Liranai (2018-08-10 15:49:22)

Offline

Board footer

Powered by FluxBB