problem with the gnome display after kernel update

Issues related to applications and software problems and general support
go11um
Posts: 12
Joined: 2020/08/11 16:42:31

problem with the gnome display after kernel update

Post by go11um » 2020/08/11 16:46:33

Hi everyone, i'm quite a newbie in Centos and even linux, so please be patient with me :).
I updated my kernel during a general update and from that moment on i couldn't start with the new kernel because centos stopped during the launching with an error about no being able to start the gnome display.
Does anyone have an idea about to fix it ?
Thank you for reading me :)

go11um
Posts: 12
Joined: 2020/08/11 16:42:31

Re: problem with the gnome display after kernel update

Post by go11um » 2020/08/14 19:47:36

Hi everyone, i answer to myself because i do really need help. I see that around 100 people read that post but nobody could help, so i asked myself if the question wasn't clear. What kind of information should i add to help clarify the question.
I hope someone will be able to help.

Thank you

lightman47
Posts: 1522
Joined: 2014/05/21 20:16:00
Location: Central New York, USA

Re: problem with the gnome display after kernel update

Post by lightman47 » 2020/08/14 20:13:20

Did you perhaps previously install a driver for a specific video card (like nvidia, for example)? If so, you'll need to re-install it every time the kernel changes. There are 'options' that can automate this ugliness, but others are more qualified to help with that than I.

go11um
Posts: 12
Joined: 2020/08/11 16:42:31

Re: problem with the gnome display after kernel update

Post by go11um » 2020/08/15 07:00:52

Hello and thank you for your answer. Yes i installed an nvidia driver and now when i try to reinstall it i obtain this error :

"Using: nvidia-installer ncurses v6 user interface
-> Detected 4 CPUs online; setting concurrency level to 4.
-> Tagging shared libraries with chcon -t textrel_shlib_t.
ERROR: An NVIDIA kernel module 'nvidia-drm' appears to already be loaded in your kernel. This may be because it is in use (for example, by an X server, a CUDA program, or the NVIDIA Persistence Daemon), but this may also happen if your kernel was configured without support for module unloading. Please be sure to exit any programs that may be using the GPU(s) before attempting to upgrade your driver. If no GPU-based programs are running, you know that your kernel supports module unloading, and you still receive this message, then an error may have occured that has corrupted an NVIDIA kernel module's usage count, for which the simplest remedy is to reboot your computer.
ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log' for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com."


Can i uninstall this driver and reinstall it without having any trouble ? Like having to reboot and linux having trouble because there's no more graphic driver ?

Thank you

organicchemistry_01
Posts: 54
Joined: 2017/08/27 09:48:47

Re: problem with the gnome display after kernel update

Post by organicchemistry_01 » 2020/08/16 00:48:55

You will have to boot first into run level 3. That is in Terminal without desktop GUI. Just terminal interface.

To do this. Add `3` to the boot options then install your driver from terminal. it may also be necessary to add `nomodeset` for difficult situations.

go11um
Posts: 12
Joined: 2020/08/11 16:42:31

Re: problem with the gnome display after kernel update

Post by go11um » 2020/08/16 07:54:38

Hi, could you describe a little bit how to "Add `3` to the boot options then install your driver from terminal. it may also be necessary to add `nomodeset` for difficult situations." please.
I don't know how to do this, newbie here :P

Thank you!

User avatar
TrevorH
Site Admin
Posts: 33218
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: problem with the gnome display after kernel update

Post by TrevorH » 2020/08/16 13:45:12

Interrupt the boot at the grub menu, hit 'e' to edit the entry, find the linux16/linuxefi line that loads the current kernel, scroll to the end of it, add a space followed by the digit 3, press ctrl-x to continue booting.

You might also want to investigate using ELRepo for the nvidia driver as theirs survives most kernel updates where using the .run file will require you to reinstall it each and every time there is a kernel update.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

go11um
Posts: 12
Joined: 2020/08/11 16:42:31

Re: problem with the gnome display after kernel update

Post by go11um » 2020/08/18 06:17:27

Hi, thank you for your answer TrevorH!
Your hint about ELRepo seems what i'm searching for, because i don't want to reinstall the driver each time i update the kernel. I'll look into that.

Thx! :D

go11um
Posts: 12
Joined: 2020/08/11 16:42:31

Re: problem with the gnome display after kernel update

Post by go11um » 2020/08/23 08:29:02

Hi, I tried the method you advised me : "Interrupt the boot at the grub menu, hit 'e' to edit the entry, find the linux16/linuxefi line that loads the current kernel, scroll to the end of it, add a space followed by the digit 3, press ctrl-x to continue booting.", but i'm not sure of the linux16/linuxefi line. This is what i have when i hit 'e' to interrupt the boot at the grab menu :
load_video
set gfx_payload=keep
insmod gzio
linux ($root)/vmlinuz-4.18.0-193.14.2.el8_2.x86_64 root=/dev/mapper/cl-root rocrashkernel=auto resume=/dev/mapper/cl-swap rd.lvm.lv=cl/root rd.lvm.lv=cl/swap rhgb quiet nouveau.modeset=0
initrd ($root)/initramfs-4.18.0-193.14.2.el8_2.x86_64.img $tuned_initrd

is is after nouveau.modeset=0 that i should add a space followed by the digit 3 ?

Thank you for your help :D

User avatar
TrevorH
Site Admin
Posts: 33218
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: problem with the gnome display after kernel update

Post by TrevorH » 2020/08/23 12:09:55

is is after nouveau.modeset=0 that i should add a space followed by the digit 3 ?
yes.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply