If you need to compile kernel modules after kernel update, ex. install the Nvidia driver, you have to execute “depmod -a” first. This is the same problem in the following page:
Kernel RPM package is supposed to do it during installation. If it does not and you can reliably reproduce it, you need to open bug report.
Yes, I did open a bug report.
It is considered a good practice to post link here in such cases.
Did you mean the link of the bug report?
I also ran into this problem with an update to 6.4.0.150600.23.38. For my system, I usually have to install the NVIDIA driver the “hard way”, as not every driver released works for both monitors on my system. I don’t have the nvidia-driver-G06-kmp locked, so sometimes it does get installed and I do a…
zypper remove nvidia-driver-G06-kmp
… before executing the NVIDIA script of a known working driver, NVIDIA-Linux-x86_64-550.107.02, for me. This time, the script failed to compile with the new kernel. I was left without graphical.
With command line, zypper install nvidia-driver-G06-kmp, I was able to install the new 570.86.16 driver (noticed it’s beta?) that’s distributed with the distro. This got me to graphical, but only one working monitor. So, I decided remove the 570.86.16 driver with zypper, as above, and install the same driver via NVIDIA script. This also failed to compile.
Anyway, after a series of miss compiles and errors, I somehow have a corrupted primary boot, leading to kernel panic from initrd 6.4.0-150600.23.38 not found, no doubt due to partial compiles and installs. “Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)…”
I was able to edit boot to an older version of the kernel, 6.4.0.150600.23.33, to make further compile attempts, but no luck so far. I keep getting “ERROR: An error occurred while performing the step: “Building kernel modules”. See /var/log/nvidia-installer.log for details.” I’ve looked at the log and there are so many errors to decipher and understand.
I’m hoping to get, at least, back to the new kernel and one monitor, so I can have graphical until an NVIDIA driver update gets me both monitors again.
(Sorry I can’t be more detailed, as some things disappear before I can copy them down and I can’t post from the system affected.)
I gave up on trying to install the “hard way” and did the zypper install nvidia-driver-G06-smp, which again got me the 570.86.16 driver. With this and booting to 6.4.0-150600.23.33-default, I have graphical on a single monitor again.
6.4.0-150600.23.38 from Grub boot is still hosed, so I’ll need to start a new thread to get help on that.
Have you checked the link 1237178 – nvidia open driver KMP conflicts with NVIDIA's installer ?
I did. Seems to be marked as an NVIDIA issue?
As for the 6.4-150600.23.38 kernel being hosed, I reinstalled it, so primary boot works.
My other issue seems to be that 50G of root is getting full (and maybe why the NVIDIA script died?). When I tried to update to 15.6 initially (last year), from 15.4->15.5->15.6, full /root hosed my system, as I couldn’t fully update. (15.4 to 15.5 went fine, but 15.6 hit full.) I ended up doing a clean install and root was significantly smaller, just over half, but somehow I’m back to 50G again. “zypper clean” didn’t free up much. Time to research clean up again.
(For me, clean installs require reinstalling my usual applications again, and dealing with the NVIDIA driver, which I don’t have the time to do yet. I need a working system.)
Full root is starting to cause problems, like zypper not being able to update, so it’s going to be a clean install for me tonight. Wish me luck!
Finished clean install and reinstalling pretty much all the usual applications I use. Kernel is 6.4.0-150600.23.38-default. NVIDIA driver is nvidia-open-driver-G06-signed-kmp-default. Single monitor at 1920 x 1080 @ 77Hz, instead of 1920 x 1200, the monitor native. I’m not clear at this point whether I should install nvidia-drivers-G06 or figure out a way to change the resolution, but those are topics for another thread.
Maybe because of btrfs and snapshots?
Also tmp-directories not cleaned?
50 GB should be enough for btrfs.
I always use the hard way to install nVidia driver. May you execute “nvidia-settings” in Kconsole or search “NVIDIA X Server Settings” at the “Application launcher”? That may help you about the resolution.
Possibly snapshots? I’m not familiar enough with snapshots to know. I actually looked up rolling back when I initially had issues after the kernel update, but snapshot said that it wasn’t possible.
tmp looked small enough.
After the clean install and installs of codecs and applications, root is only 8.8 GB.
I usually use the hard way too, but ran into compile issues this time, perhaps due to root full issues? The error messages didn’t make it clear.
With clean install and nvidia-open-driver-G06-signed-kmp-default, I’m not seeing nvidia-settings. I didn’t see it after installing the nvidia-driver-G06-kmp via zypper and did see something that it was moved to nvidia-utils, but have yet to confirm.
Follow-up to my situation is here:
Ultimately, I ended up installing through Yast2 and not the hard way.
Also, root is only 9.7 GB of 50 GB.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.