Upgraded to latest kernel 5.13 and having trouble booting

General support questions
User avatar
jlehtone
Posts: 4523
Joined: 2007/12/11 08:17:33
Location: Finland

Re: Upgraded to latest kernel 5.13 and having trouble booting

Post by jlehtone » 2021/07/14 19:35:23

The "latest mainline kernel" is a recent version from kernel developers. It is very different from "latest CentOS Linux 7 kernel". The latter is derived from RHEL 7's kernel that is a fork of old "mainline kernel" version with plenty of backports by Red Hat.
dictum wrote:
2021/07/14 16:29:10
I already had the Nvidia driver installed before all this, I wonder if kmod-nvidia de-installed it.
If you had installed NVidia driver with NVidia's "binary blob" installer, then it had placed files somewhere.
The kmod-nvidia from ELRepo does not know about unmanaged files and is thus likely to overwrite unmanaged files.
Replacing (some) files silently is quite different from managed uninstall of old package & managed install of new package.

NVidia does have its own Yum-repositories too. They are mainly for CUDA, but do contain drivers too -- as RPM packages.
Just like ELRepo's RPM packages, the NVidia's RPM packages require specific version of kernel.
I bet they do not support "kernel-ml" either.

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 22:52:01

Looking though past commands, I did install the ML version:

yum --enablerepo=elrepo-kernel install kernel-ml -y

I have Nvidia driver installed, they are loaded. The nouveau driver is removed as is the kmod stuff.

Still it won't boot. It is still stuck at the

Started Gnome Manager Display Manager

The previous 3.10 kernel will boot just fine.

any specifics as to what I can do now?

Whoever
Posts: 1357
Joined: 2013/09/06 03:12:10

Re: Upgraded to latest kernel 5.13 and having trouble booting

Post by Whoever » 2021/07/15 01:13:46

dictum wrote:
2021/07/14 22:52:01
Looking though past commands, I did install the ML version:

yum --enablerepo=elrepo-kernel install kernel-ml -y
Why did you do this? Why not just stick with the default CentOS kernel?

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/18 04:15:46

Because that's what the instructions said:

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

I have Nvidia drivers and still have issues booting.

Whoever
Posts: 1357
Joined: 2013/09/06 03:12:10

Re: Upgraded to latest kernel 5.13 and having trouble booting

Post by Whoever » 2021/07/18 05:39:40

dictum wrote:
2021/07/18 04:15:46
Because that's what the instructions said:

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

I have Nvidia drivers and still have issues booting.
Let me suggest that you don't visit that site in the future. Apart from the poor advice, the writing was very poor.

You don't need the latest mainline kernel. Go back to the normal CentOS kernel and work from there.

Post Reply