You are not logged in.

#1 2021-06-16 18:15:42

elekius
Member
Registered: 2021-06-16
Posts: 3

[SOLVED] initcpio cant find nvidia modules

Hi!

I currently have a problem with my Arch installation I made 1 month ago.

Today, I tried installing a custom kernel (Linux-Zen) and during the mkinitcpio process, It gave me the following errors:

==> ERROR: module not found: `nvidia'
==> ERROR: module not found: `nvidia_modeset'
==> ERROR: module not found: `nvidia_uvm'
==> ERROR: module not found: `nvidia_drm'

I did not have these errors when I installed Arch.
My Arch still works perfectly fine but I can't create my initcpio.
Kernel, and everything else is Up-to-Date
Nvidia Drivers are installed and Up-to-Date

Here is my mkinitcpio.conf file: https://pastebin.com/Sm7nTA99
Kernel: 5.12.10-arch1-1
Running KDE Plasma

Thanks in Advance :-)
Edit: Bit more information

Last edited by elekius (2021-06-16 18:39:36)

Offline

#2 2021-06-16 18:23:18

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,729

Re: [SOLVED] initcpio cant find nvidia modules

For the zen kernel you need to install nvidia-dkms and linux-zen-headers so the modules can be built and used. Right now you wouldn't be able to use the nvidia driver on the zen kernel.

Offline

#3 2021-06-16 18:30:18

elekius
Member
Registered: 2021-06-16
Posts: 3

Re: [SOLVED] initcpio cant find nvidia modules

V1del wrote:

For the zen kernel you need to install nvidia-dkms and linux-zen-headers so the modules can be built and used. Right now you wouldn't be able to use the nvidia driver on the zen kernel.

I had Nvidia-dkms already installed.
Installing the linux-zen-headers gives me these errors:

Error! Bad return status for module build on kernel: 5.12.10-zen1-1-zen (x86_64)
Consult /var/lib/dkms/exfat-5.8/1/build/make.log for more information.
==> Warning, `dkms install --no-depmod -m exfat-5.8 -v 1 -k 5.12.10-zen1-1-zen' returned 10

Contents of /var/lib/dkms/exfat-5.8/1/build/make.log:
https://pastebin.com/pcW7mj8G

Last edited by elekius (2021-06-16 18:33:36)

Offline

#4 2021-06-16 18:38:31

elekius
Member
Registered: 2021-06-16
Posts: 3

Re: [SOLVED] initcpio cant find nvidia modules

Uninstalling my exfat drivers fixed all errors.

Thanks!

Offline

Board footer

Powered by FluxBB