Upgraded to latest kernel 5.13 and having trouble booting

General support questions
dictum
Posts: 10
Joined: 2021/07/14 14:16:29

Upgraded to latest kernel 5.13 and having trouble booting

Post by dictum » 2021/07/14 14:21:31

I upgraded CentOS 7 kernel version 3.10 to the latest 5.13 and now during the boot cycle, it is stuck here:

Started GNOME Display Manager.r details.ming.down . . .

I followed the upgrade procedure here:

https://www.osradar.com/how-to-update-y ... st-kernel/

Is this a Nvidia driver issue, if so, is it as simple as installing the drivers? Why is that, if kernel version 3.10 had no issues with drivers?
Last edited by dictum on 2021/07/14 14:41:42, edited 1 time in total.

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

Re: Upgraded to latest kernel 5.13 and having trouble booting

Post by TrevorH » 2021/07/14 14:36:48

If you use the distro kernel then you can use kmod-nvidia from ELRepo to add the nvidia driver to the system. If you are using ELRepo's kernel-ml then you cannot as their kmod only works with the distro 3.10 kernels. If you want to continue to use kernel-ml then you must install the nvidia driver yourself and reinstall it on each and every 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

dictum
Posts: 10
Joined: 2021/07/14 14:16:29

Re: Upgraded to latest kernel 5.13 and having trouble booting

Post by dictum » 2021/07/14 14:43:19

I used CTRL-ALT F2 to break out of the stuck mode and I am at the command prompt. What's next?

I am using Kernel 5.13.1-1.el7.elrepo.x86_64

dictum
Posts: 10
Joined: 2021/07/14 14:16:29

Re: Upgraded to latest kernel 5.13 and having trouble booting

Post by dictum » 2021/07/14 15:27:28

I installed kmod-nvidia and all the dependencies.

Now during the boot cycle, it's stuck at a different place (Not sure if before or after)

Started Virtualization daemon.r details.ming.down . . .

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

Re: Upgraded to latest kernel 5.13 and having trouble booting

Post by TrevorH » 2021/07/14 15:42:19

Again, kmod-nvidia does not work with kernel-ml. For kernel-ml you must download the nvidia driver from, the nvidia website and manually install it. You need to repeat that install after each and every 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

dictum
Posts: 10
Joined: 2021/07/14 14:16:29

Re: Upgraded to latest kernel 5.13 and having trouble booting

Post by dictum » 2021/07/14 16:00:03

I removed libvirtd from starting via systemctl

Now it seems to be stuck at:

Started Update UTMP about System Runlevel changes.completed Startup.
Last edited by dictum on 2021/07/14 16:05:29, edited 1 time in total.

dictum
Posts: 10
Joined: 2021/07/14 14:16:29

Re: Upgraded to latest kernel 5.13 and having trouble booting

Post by dictum » 2021/07/14 16:01:44

what is kernel-ml?

I run the nvidia tool to analize what it needs and that's what it suggested.

can you be more specific what it is that I need to do? As in give the command.

dictum
Posts: 10
Joined: 2021/07/14 14:16:29

Re: Upgraded to latest kernel 5.13 and having trouble booting

Post by dictum » 2021/07/14 16:20:55

I removed the kmod-nvidia, trying to install the Nvidia from their site.

Getting:

Unable to find the kernel source tree for the currently running kernel. Please make sure you have the installed the kernel source files for your kernel and that they are properly configured.
. . . .

Tried to install kernel-source (no such file) and kernel-devel (already installed).

What a total nightmare.
Just ready to give up on the whole thing.

dictum
Posts: 10
Joined: 2021/07/14 14:16:29

Re: Upgraded to latest kernel 5.13 and having trouble booting

Post by dictum » 2021/07/14 16:29:10

PS
I already had the Nvidia driver installed before all this, I wonder if kmod-nvidia de-installed it.

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

Re: Upgraded to latest kernel 5.13 and having trouble booting

Post by TrevorH » 2021/07/14 16:30:09

The link you posted in the first post referenced an article telling you how to install the latest kernel by using a third party yum repo called ELRepo. The package that they provide there is called 'kernel-ml' (ml == mainline). To install the nvidia drivers on that you will need to also install kernel-ml-devel and/or kernel-ml-headers.
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