You are not logged in.

#1 2021-05-21 14:13:30

48d90782
Member
Registered: 2021-05-21
Posts: 4

[SOLVED] Inconsistent state without /boot entry in /etc/fstab

Hey, I got a problem when updating Nvidia drivers from version 465.27 to 465.31. I use i3status-rust, and under the hood, it uses `nvidia-smi` to obtain information about GPU. It stopped working because the 465.31 driver is incompatible with the 465.27 `libxnvctrl` version. Also, after an update, I have only 1 of 3 monitors working. They also disappear from the `arandr`. So, I have to downgrade back to the 465.27 drivers.
Kernel version: 5.12.4-arch1-2
GPU: Nvidia GTX 980

Last edited by 48d90782 (2021-05-23 20:34:31)

Offline

#2 2021-05-22 18:16:56

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,230

Re: [SOLVED] Inconsistent state without /boot entry in /etc/fstab

Both of these utilities work perfectly fine here. What exact "incompatibility" did you see, what error message? FWIW there is no newer release of nvidia-settings.

I find it more likely that you ran into the old race condition and didn't actually have the nvidia xorg driver loaded which could be verified by checking xorg.logs. Also for the most recent set of packages you'd want the 5.12.5 kernel together with nvidia 465.31-3

Online

#3 2021-05-23 13:24:16

48d90782
Member
Registered: 2021-05-21
Posts: 4

Re: [SOLVED] Inconsistent state without /boot entry in /etc/fstab

I updated Nvidia drivers to the latest available - 345.31-4 as well with the latest kernel 5.12.6.arch1-1, but when I try to use nvidia-smi, I got an error - Failed to initialize NVML: Driver/library version mismatch. I rebuilt the kernel and restarted the system.

Offline

#4 2021-05-23 14:25:47

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,998

Re: [SOLVED] Inconsistent state without /boot entry in /etc/fstab

latest available - 345.31-4

???

I assume that's 465.31-4 but it's important to be precise. Don't paraphrase, but copy and paste output etc.

Failed to initialize NVML: Driver/library version mismatch

NVML is from /usr/lib/libnvidia-ml.so.1 which is provided by nvidia-utils.

uname -a
pacman -Qs '(linux|nvidia|libxnvctrl)'
lsmod | grep nvidia
strace -f nvidia-smi > /tmp/nvsmi.strace 2>&1 # post that file

Edit: it *MIGHT* be required to rebuild libxnvctrl, but let's first see what's actually going on.

Last edited by seth (2021-05-23 14:26:44)

Online

#5 2021-05-23 14:48:00

48d90782
Member
Registered: 2021-05-21
Posts: 4

Re: [SOLVED] Inconsistent state without /boot entry in /etc/fstab

You are correct; that's a typo, 465.31-4 is the correct version. I roll back my driver to the 465.27-10 (nvidia), 465.27-1 (nvidia-dkms,nvidia-utils), and kernel to 5.12.4-arch1-2. For me, only this combination is working.
Also, with the NVIDIA 465.31-4 driver version, only 1 of 3 monitors connected via DP works.
With the latest kernel (5.12.6.arch1-1) does not work Ethernet (both):
1. 04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller
2. 06:00.0 Ethernet controller: Intel Corporation I211 Gigabit Network Connection (rev 03)
As well as wifi:
1. 05:00.0 Network controller: Intel Corporation Wi-Fi 6 AX200 (rev 1a)

I'll provide deeper details later.

Last edited by 48d90782 (2021-05-23 16:24:54)

Offline

#6 2021-05-23 19:52:33

48d90782
Member
Registered: 2021-05-21
Posts: 4

Re: [SOLVED] Inconsistent state without /boot entry in /etc/fstab

Ok, I solved this issue smile
For some reason, fstab did not contain /boot entry. Thus all new kernels (except initial (5.12.4-arch1-2), which was generated during the install, and that because it worked) were generated without generating actual kernels, which should be in the /boot. Then the system loaded, but obviously become in the inconsistent state. Solved by adding /boot entry to the fstab, and everything works fine (kernels + Nvidia).

Offline

#7 2021-05-23 20:20:05

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,998

Re: [SOLVED] Inconsistent state without /boot entry in /etc/fstab

Quelle surprise tongue

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.
(You'll likely have to trim the title)

Online

Board footer

Powered by FluxBB