You are not logged in.

#1 2024-11-19 00:26:05

SavariaS
Member
Registered: 2024-11-18
Posts: 5

[SOLVED] modprobe "Module nvidia not found" after system update

Tonight, I did my daily system update with pacman -Syu. The nvidia package was updated, so I rebooted because I usually get minor problems if I do not. After rebooting, I could not start Xorg. I realised the nvidia module was not loaded and that modprobe could not find it.

$ modprobe nvidia
modprobe: FATAL: Module nvidia not found in directory /lib/modules/6.11.8-arch1-2

I looked around and I realised the module was installed in /lib/modules/6.11.9-arch1-1. My kernel is 6.11.8-arch1-2.

$ uname -r
6.11.8-arch1-2

I checked the upstream linux package and the most recent kernel is 6.11.9-arch1-1. But my installation is still using the older kernel, even after refreshing the package list several times.
https://archlinux.org/packages/core/x86_64/linux/

$ sudo pacman -Sy linux
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 multilib is up to date
warning: linux-6.11.8.arch1-2 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) linux-6.11.8.arch1-2

Total Installed Size:  137.29 MiB
Net Upgrade Size:        0.00 MiB

:: Proceed with installation? [Y/n]

In the mean time, I have manually installed the previous version of nvidia from the archive. Why is my package list not picking up the newest linux kernel? Is there something wrong with my pacman configuration?
http://archive.archlinux.org/packages/n … kg.tar.zst

Last edited by SavariaS (2024-11-19 13:19:30)

Offline

#2 2024-11-19 00:31:18

mesaprotector
Member
Registered: 2024-03-03
Posts: 163

Re: [SOLVED] modprobe "Module nvidia not found" after system update

Have you rebuilt initramfs? You should write a pacman hook to run mkinitcpio every time nvidia (or nvidia-open) updates. Alternatively, you can install nvidia-dkms or nvidia-open-dkms, which will do so automatically (but in my experience adds about two minutes per kernel on to updates).

EDIT: https://wiki.archlinux.org/title/NVIDIA#pacman_hook is the relevant Arch wiki section. "mkinitcpio -P" will update it manually any time if you wish to do so.

Last edited by mesaprotector (2024-11-19 00:32:41)

Offline

#3 2024-11-19 00:52:58

SavariaS
Member
Registered: 2024-11-18
Posts: 5

Re: [SOLVED] modprobe "Module nvidia not found" after system update

Yes, I have rebuilt initramfs manually after installing the older nvidia package. I did not know writing a pacman hook was so easy though, thank you for the suggestion.

Offline

#4 2024-11-19 02:42:22

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,119

Re: [SOLVED] modprobe "Module nvidia not found" after system update

Sounds like a bad mirror, it's picked up the updates in Extra but not Core. Try a different one.

Offline

#5 2024-11-19 12:15:09

SavariaS
Member
Registered: 2024-11-18
Posts: 5

Re: [SOLVED] modprobe "Module nvidia not found" after system update

Pacman finds the newest linux and linux-headers packages this morning. I have commented the first mirror in /etc/pacman.d/mirrorlist, "http://mirrors.pablonara.com/archlinux/$repo/os/$arch", in case it was the bad mirror. May I keep this ticket open until the next linux package update?

Offline

#6 2024-11-19 12:58:15

seth
Member
Registered: 2012-09-03
Posts: 59,082

Re: [SOLVED] modprobe "Module nvidia not found" after system update

Maybe use https://archlinux.org/packages/extra/any/reflector/

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

#7 2024-11-19 13:18:30

SavariaS
Member
Registered: 2024-11-18
Posts: 5

Re: [SOLVED] modprobe "Module nvidia not found" after system update

I did use reflector to generate the mirror list during the installation.

reflector --country Canada -l 200 -n 20 -p http --sort rate --save /etc/pacman.d/mirrorlist

I have marked the thread as resolved. I will re-open it if the issue persists.

Offline

#8 2024-11-19 13:53:23

seth
Member
Registered: 2012-09-03
Posts: 59,082

Re: [SOLVED] modprobe "Module nvidia not found" after system update

It's typically not a good idea to filter by location, there only 17 Mirrors in Canada, but 70 mirrors in the US and even some European mirrors might outperform some of the Canadian ones.
Network throughput is only partly determined by geographical distance.

Offline

#9 2024-11-19 22:42:18

SavariaS
Member
Registered: 2024-11-18
Posts: 5

Re: [SOLVED] modprobe "Module nvidia not found" after system update

Also fixed. Thank you.

reflector -l 200 -n 20 -p http --sort rate --save /etc/pacman.d/mirrorlist

Last edited by SavariaS (2024-11-19 22:42:31)

Offline

Board footer

Powered by FluxBB