LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   Oracle Linux 9.2 manually updating kernel (https://www.linuxquestions.org/questions/linux-kernel-70/oracle-linux-9-2-manually-updating-kernel-4175726196/)

etcetera 06-21-2023 12:45 AM

Oracle Linux 9.2 manually updating kernel
 
I was booting the latest-greatest 5.15.0-102.110.5 but for an unknown reason and without any cause, X-Windows stopped starting correctly, as if did not see any video card or drivers. I have X-windows but the font is huge and it does not see external monitors. Looks like a driver issue.
So I had to roll back to 5.15.0-101.103., set that as my default kernel. X-windows (gnome 40) correctly starts there. Everything works.


How, from 101.103 do I upgrade to a newer kernel version? dnf update does not do anything. Am I stuck on 101.103 forever?


# grubby --default-kernel
/boot/vmlinuz-5.15.0-101.103.2.1.el9uek.x86_64

# grubby --info=ALL | grep title
title="Oracle Linux Server (5.15.0-102.110.5.1.el9uek.x86_64 with Unbreakable Enterprise Kernel) 9.2"
title="Oracle Linux Server (5.15.0-102.110.5.el9uek.x86_64 with Unbreakable Enterprise Kernel) 9.2"
title="Oracle Linux Server (5.15.0-101.103.2.1.el9uek.x86_64 with Unbreakable Enterprise Kernel) 9.2"
title="Oracle Linux Server (5.14.0-284.11.1.el9_2.x86_64) 9.2"
title="Oracle Linux Server (5.14.0-162.23.1.el9_1.x86_64) 9.1"
title="Oracle Linux Server (5.14.0-162.6.1.el9_1.x86_64) 9.1"
title="Oracle Linux Server (0-rescue-0499eea7446d45589d2c21a700291cf4 with Unbreakable Enterprise Kernel) 9.0"

# yum update
Last metadata expiration check: 2:08:48 ago on Tue 20 Jun 2023 11:35:38 PM EDT.
Dependencies resolved.
Nothing to do.
Complete!

TB0ne 06-21-2023 07:18 AM

Quote:

Originally Posted by etcetera (Post 6437665)
I was booting the latest-greatest 5.15.0-102.110.5 but for an unknown reason and without any cause, X-Windows stopped starting correctly, as if did not see any video card or drivers. I have X-windows but the font is huge and it does not see external monitors. Looks like a driver issue.
So I had to roll back to 5.15.0-101.103., set that as my default kernel. X-windows (gnome 40) correctly starts there. Everything works.


How, from 101.103 do I upgrade to a newer kernel version? dnf update does not do anything. Am I stuck on 101.103 forever?


# grubby --default-kernel
/boot/vmlinuz-5.15.0-101.103.2.1.el9uek.x86_64

# grubby --info=ALL | grep title
title="Oracle Linux Server (5.15.0-102.110.5.1.el9uek.x86_64 with Unbreakable Enterprise Kernel) 9.2"
title="Oracle Linux Server (5.15.0-102.110.5.el9uek.x86_64 with Unbreakable Enterprise Kernel) 9.2"
title="Oracle Linux Server (5.15.0-101.103.2.1.el9uek.x86_64 with Unbreakable Enterprise Kernel) 9.2"
title="Oracle Linux Server (5.14.0-284.11.1.el9_2.x86_64) 9.2"
title="Oracle Linux Server (5.14.0-162.23.1.el9_1.x86_64) 9.1"
title="Oracle Linux Server (5.14.0-162.6.1.el9_1.x86_64) 9.1"
title="Oracle Linux Server (0-rescue-0499eea7446d45589d2c21a700291cf4 with Unbreakable Enterprise Kernel) 9.0"

# yum update
Last metadata expiration check: 2:08:48 ago on Tue 20 Jun 2023 11:35:38 PM EDT.
Dependencies resolved.
Nothing to do.
Complete!

It is not for 'an unknown reason': the reason is that you're manually shoving things in/updating things. That's the reason.

You, again, do not manually update things, as you've been told before. The ENTIRE POINT of a server distro is stability, not just shoving things in for no reason. You wait for Oracle to update the kernel. This is very similar to your other thread:
https://www.linuxquestions.org/quest...ll-4175725628/

...where you manually updated the kernel, and were surprised you didn't have headers and other things needed to update the nVidia driver, for graphics on a server-distro.

Again: use a consumer distro like Fedora. Otherwise, you'll KEEP facing these same issues.


All times are GMT -5. The time now is 02:12 PM.