You are not logged in.
Hi, I accidentally hit CTRL-C while doing a pacman -Syu. It was at the step where it was updating the nvidia driver with
dkms install --no-depmod -m nvidia -v 465.24.02 -k 5.11.15-arch1-2The output is as
==> dkms install --no-depmod -m vboxhost -v 6.1.18_OSE -k 5.11.15-arch1-2
==> dkms install --no-depmod -m nvidia -v 465.24.02 -k 5.11.15-arch1-2
^C
Interrupt signal received
error: command terminated by signal 2: Interrupt
(13/32) Updating linux initcpios...I tried buiding the dkms tree myself but I am stupid enough that since the system was being stressed I interrupted that as well:
$ sudo dkms install --no-depmod -m nvidia -v 465.24.02 -k 5.11.15-arch1-2
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area...
'make' -j12 IGNORE_PREEMPT_RT_PRESENCE=1 NV_EXCLUDE_BUILD_MODULES='__EXCLUDE_MODULES' KERNEL_UNAME=5.11.15-arch1-2 IGNORE_CC_MISMATCH='__IGNORE_CC_MISMATCH' modules.........
^CThe problem is that now I am not sure if the nvidia driver will work in the new kernel if I reboot, and I can't simply reinstall it cause it fails the dkms step saying that it's already on the tree. If I try to remove it I can't with
$ sudo dkms remove nvidia/465.24.02 -k 5.11.15-arch1-2
Error! There is no instance of nvidia 465.24.02
for kernel 5.11.15-arch1-2 (x86_64) located in the DKMS tree.I tried all versions of that with 5.11.15 with and without the arch... I'd appreciate any help into how to make sure that the system will boot correctly if I reboot? how can I check if the modules were built or how can I reinstall them? I am not sure what is the list of files that I should see in /usr/lib/modules.
EDIT: Can I just simply remove the directory /var/lib/dkms/nvidia/465.24.02 and try again reinstalling the package nvidia-dkms?
Last edited by potuz (2021-04-19 12:31:21)
Offline
dkms install --force … ?
W/o having completed the module build, you'll not get KMS thus no GUI, but a console boot should™ still work.
Just rebuild the module and get a cup of coffee in the meantime…
Offline
dkms install --force …?
W/o having completed the module build, you'll not get KMS thus no GUI, but a console boot should™ still work.
Just rebuild the module and get a cup of coffee in the meantime…
No this still fails with the same error:
$ sudo dkms install --force --no-depmod -m nvidia -v 465.24.02 -k 5.11.15-arch1-2
Error! This module/version has already been built on: 5.11.15-arch1-2
Directory: /var/lib/dkms/nvidia/465.24.02/5.11.15-arch1-2/x86_64
already exists. Use the dkms remove function before trying to build again.Offline
update, I removed the directory and reinstalled the dkms package, the dkms install and depmod stages worked without error. Will check if this reboots then
Offline
Yup, was about to say that.
Just checked the manpage and --force only applies to the ldtarball command :\
Offline