• NotAnArdvark@lemmy.ca
    link
    fedilink
    arrow-up
    45
    ·
    1 year 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.

        • empireOfLove@lemmy.one
          link
          fedilink
          English
          arrow-up
          44
          ·
          edit-2
          1 year ago

          LTS means that the kernel will not recieve new features, but will receive security patches. Thus remaining stable with no breaking changes.

          90% of android device manufacturers will drop in one kernel at launch day and then never, ever, ever touch it again. Fuck security, fuck the user.

          • PupBiru@kbin.social
            link
            fedilink
            arrow-up
            9
            ·
            1 year ago

            okay, so it seems as though disregarding android usage of LTS seems reasonable because whilst it shouldn’t be this way, nothing will actually change

            • empireOfLove@lemmy.one
              link
              fedilink
              English
              arrow-up
              14
              ·
              1 year ago

              Yeah android devices are a weird beast. They use Linux in name, but not in spirit, since the entire system is locked off from the typical user.

                • DickFiasco@lemm.ee
                  link
                  fedilink
                  arrow-up
                  5
                  arrow-down
                  1
                  ·
                  1 year ago

                  What you’re referring to as anti-Linux is, in fact, anti-GNU/Linux, or as I’ve recently taken to calling it, anti-GNU plus anti-Linux…

    • Ubuntu Server and other long term support distro also tend to stick with LTS kernels, though Ubuntu has a method to update the kernel these days (they call it “hardware enablement” and it basically means you can pick a relatively modern kernel on an old OS). If you’re promising your customers ten years of support, you’d better make sure to stick to kernels that everyone else is also maintaining unchanged for as long as possible, so LTS makes sense.

      Most desktop Linux users probably don’t need to stick with LTS kernels, though if your hardware is working fine on the stock Ubuntu LTS you may as well.

      • caseyweederman@lemmy.ca
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        HWE is just a much newer upstream base. I’ve had issues with their HWE line (6.2 base) but then I’ve had issues with their Generic line (5.15 base) so while newer isn’t always better, older isn’t better either.

  • Oliver Lowe@lemmy.sdf.org
    link
    fedilink
    arrow-up
    23
    ·
    1 year 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
    ·
    1 year 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
      1 year 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
      5
      ·
      1 year 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
      ·
      1 year 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
        ·
        1 year 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