• NotAnArdvark@lemmy.ca
    link
    fedilink
    arrow-up
    45
    ·
    10 months ago

    They say no one is using these older LTS kernels, but I’m running into them all the time on Android devices. I don’t know if the vendors are taking advantage of those updates, but they’re definitely choosing the LTS kernels for their BSPs at release time.

  • Oliver Lowe@lemmy.sdf.org
    link
    fedilink
    arrow-up
    25
    ·
    10 months ago

    Cut from 6(!) years to 2 years. I had no idea the support stretched as far back as 6 years. 2 still seems totally reasonable, especially given all the work put into backwards compatibility in the kernel already.

  • Catsrules@lemmy.ml
    link
    fedilink
    arrow-up
    12
    ·
    10 months ago

    Sorry for my dumb question but what is the difference between the Linux kernel at kernel.org and say the Linux kernal at Ubuntu.org? It is just different maintainers?

    For example I believe the LTS version of Ubuntu runs for 5 years and you can pay for Pro support and get 10 years on their ESM version, if I understand correctly you can keep the same kernel version though the duration.

    • s_s@lemmy.one
      link
      fedilink
      arrow-up
      21
      ·
      edit-2
      10 months ago

      Linus Torvolds and the folks at kernel.org work to continually improve the kernel and ready it for each release cycle.

      Ubuntu and other distro maintainers take that work and make sure that they are shipping to you a compiled kernel(s) that dependably works with all other software on their distribution.

    • Cyclohexane@lemmy.mlM
      link
      fedilink
      arrow-up
      6
      ·
      10 months ago

      The other two answers are correct but missing one maker thing: many major distributions apply patches to the kernel before distributing. So there are very slight modifications.

    • caseyweederman@lemmy.ca
      link
      fedilink
      arrow-up
      2
      ·
      10 months ago

      On your final note, it’s not really the same kernel version throughout, and at times they have bumped up major upstream kernel versions mid-LTS, but even disregarding that, they are constantly applying security patches (think of it as minor version increments with bugfixes from the future).
      So sure, you’re running kernel 5.15.0 on Ubuntu LTS 22.04, but maybe you started at 5.15.0-36 and after a few months of incremental upgrades you’ll be running 5.15.0-85.

      • caseyweederman@lemmy.ca
        link
        fedilink
        arrow-up
        12
        ·
        10 months ago

        Correct. They regularly freeze and maintain their own kernel, merging patches in as needed.
        5.15.0-83.94-generic
        5.15.0 (mainline kennel version at the point it was frozen)
        83.94 (Canonical’s version numbering with newer upstream patches merged in over time)
        generic (Canonical maintains several specialized flavors of kernel for different needs)

        They’ve recently put out a “HWE” flavor which just starts at a much newer point in the upstream kernel. I’m not sure what the point is in maintaining the 5.15 and the 6.2 flavors side-by-side.

        Sources:
        https://ubuntu.com/kernel
        https://people.canonical.com/~kernel/info/kernel-version-map.html