So, I have installed OpenSuSe 13.2 on my new machine and after installing the nvidia drivers this is all I get (pages and pages of fast scrolling errors).
My Card is Nvidia 970.
How do I forbid the nvidia module from loading through grub? Or does someone have the answer to this issue?
Have you tried booting to rescue mode in the advanced option in grub?
Short out line if above does not work
Boot to a terminal (press e at boot find line starting linux go to the true end of that line, it is long and wraps, put space and 3 at end press F10 to boot)
The packages in the nvidia repo do not support the 9xx cards yet.
You need the latest 343.xx driver for that, which at the moment is only available on nvidia’s homepage.
So as gogalthorp suggested, remove all “nvidia” packages with YaST and install the driver “the hard way”: (be sure to download and install the 343.xx version) https://en.opensuse.org/SDB:NVIDIA_the_hard_way
yes the current package of nvidia drivers doesn’t support 970
either by default, or in the nvidia driver package, there is a file **/etc/modprobe.d/50-nvidia.conf **
that will block the boot of a machine if the nvidia module cannot be succesfully loaded
The second problem cannot be avoided, as the module is loaded even for runlevel 1.
I had to:
boot into a live CD
chroot into the system
delete the /etc/modprobe.d/50-nvidia.conf
boot into the normal system 1. install nvidia driver manually
50-nvidia.conf is part of the nvidia packages, so it should be removed when you uninstall the packages.
And booting to recovery mode should have worked in any case I think.
Unless you use GNOME. But even then you should have been able to login in text mode.
Anyway, I take it your problem is solved now?
And I hope you uninstalled the nvidia packages before you installed the driver manually. Otherwise some files will be overwritten when there’s an update to the packages, which will cause you problems again.
Please note, that when installing the driver manually, you have to reinstall it after certain updates (kernel, Xorg, Mesa).
Well you cannot really remove a package if you cant boot the system.
I must admit that I’m not 100% sure, but I’m pretty confident that kernel modules are loaded always, as they are the requirement for everything else in the system.
I haven’t figured out how to blacklist a specific module through grub.
I must admit that I’m not 100% sure, but I’m pretty confident that kernel modules are loaded always, as they are the requirement for everything else in the system.
But that file doesn’t tell the system to load the kernel module.
It rather changes some parameters in case the module is loaded.
Recovery has a lot of failsafe kernel options. Those might prevent the nvidia from being loaded. At least they do seem to prevent the fglrx kernel module from being loaded, as I saw in a different thread in the german subforum recently where somebody had problems after installing fglrx because the kernel module was not loaded as he had the “acpi=off” and “apm=off” kernel options on the normal boot’s kernel command line…
I haven’t figured out how to blacklist a specific module through grub.