this post was submitted on 14 Aug 2023
20 points (95.5% liked)

Linux

48222 readers
814 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I am using a Dell Latitude 3420 (Ubuntu 22.04.3) and it uses a slightly older OEM kernel 5.14.0-1048-oem. The generic kernels keep getting upgraded but are never used. The current generic that I have is 6.2.0-26-generic and 5.15.0-79-generic.

So I have 2 questions

  1. Should I leave the kernel as it is? Some threads online say it's better to leave it as it is as an OEM kernel is better for Ubuntu-certified laptops
  2. If I should change the kernel, what would be the best way? I don't want to hard-code the kernel version.
    • If I have issues in the latest generic kernel, I should be able to roll-back to the OEM kernel.

Related links

  1. https://askubuntu.com/questions/1395080/which-kernel-should-i-use-for-my-hardware-oem-or-generic
  2. https://www.reddit.com/r/XPS/comments/rif7wo/ubuntu_after_installation_oem_kernel_instead_of/
  3. https://askubuntu.com/questions/1387979/removing-a-oem-installed-kernel
top 8 comments
sorted by: hot top controversial new old
[–] Oisteink@feddit.nl 13 points 1 year ago (1 children)

https://wiki.ubuntu.com/Kernel/OEMKernel

Unless you know that you need/want features/fixes not (yet) part of the OEM kernel you should stay with that.

You can go with generic, build your own, or even go for the mainline kernel. But you might find some hardware not supported.

[–] xavier666@lemm.ee 1 points 1 year ago (1 children)

I was going through the wiki and found this line

The OEM kernel is also called the OEM staging kernel, because the delta in OEM kernel should all be merged to the generic kernel in the next Ubuntu release, so it is essentially a staging code base.

Since the latest kernel SHOULD have all the hardware-specific commits of the OEM, right?

[–] Oisteink@feddit.nl 1 points 1 year ago

My details on how canonical handle their kernels are very limited. I’m no Ubuntu fan, I just manage Ubuntu servers.

You can check the delta here: https://staging.kernel.ubuntu.com/oem-delta/

[–] trompete@hexbear.net 7 points 1 year ago* (last edited 1 year ago)

Is the OEM kernel getting security updates? Then it should be fine.

If you want a specific feature that's available in the newer kernel, then just try it out. You can select the kernel during boot. If it all works, uninstall the OEM kernel and it should default to the generic one.

Edit: If you want to find out whether you're getting security updates, I'd check the changelog. It should be somewhere like /usr/share/doc/linux-image-somethingsomething/changelog.gz. The entries there should have a date. If the last security fix is older than a couple of weeks, that would be concerning.

[–] CameronDev@programming.dev 5 points 1 year ago

Are there specific bugs vulnerabilities in your current kernel that you want to avoid? There usually isn't much to gain by upgrading kernels, unless you have unsupported hardware or a kernel vulnerability. And if your lucky, the OEM kernel should have bug fixes backported to it anyway.

If you have the generic kernels installed, you should be able to boot them from GRUB/bootloader, try it and see if it all still works?

[–] Delta_44@lemmy.world 3 points 1 year ago (1 children)

You should, you're missing out on a lot of fixes, performance improvements (and energy improvement) and filesystem improvements.

Don't listen to who says "it's only security stuff". Better hardware support, everyone?

Upgrade and if you have a problem you can always go back to an older one.

[–] xavier666@lemm.ee 1 points 1 year ago

I have switched to it (but temporarily). So far, no issues but I'm keeping the OEM kernel just in case.

[–] mrvictory1@lemmy.world 2 points 1 year ago

Hold shift and spacebar on boot (idk which one) and pick a different kernel.