Edit: The solution in my case was to run these commands:

sudo apt update
sudo apt install linux-image-rpi-v8 linux-headers-rpi-v8

The new kernel wasn’t used after rebooting though, so I had to edit /boot/config.txt and add:

# New kernel (test)
kernel=vmlinuz-6.12.75+rpt-rpi-v8
initramfs initrd.img-6.12.75+rpt-rpi-v8 followkernel

I’ll figure out how to make it so I don’t have to manually keep config.txt updated but for now, I’m happy to have a process to stay up to date with current kernels.

/edit

Reading about the latest Copy Fail security vulnerability I realised I was overdue a check on my system. It turns out I had even bigger problems - I was still on Debian 10/Buster.

To solve it I updated my apt list to contain: deb http://archive.raspberrypi.org/debian/ bookworm main

But after doing this, updating and doing a full upgrade, my kernel is still 6.1.21.

I’m now reading that I should not have upgraded from bullseye to bookworm, so what is the easiest way forward from here? If there is a documented set of steps for this scenario I’d appreciate a link. I have a lot of services and scripts so reinstalling from scratch is not really an option.

uname -a
Linux 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux.

cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"``___

  • dgdft@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    10 days ago

    That’s what you’re supposed to be on for bookworm. Debian backports security fixes for things like Copy Fail to that kernel version.

    • FarraigePlaisteaċ (sé/é)@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      10 days ago

      It’s dated 2023 though. I’ve received no back ports or updates to kernel in three years it seems. apt is telling me there are no updates regardless.

      On my setup the Raspberry Pi repo only offers raspberrypi-kernel 1:1.20230405-1, and apt-cache madison shows no newer kernel versions available. So I appear to be stuck on an older snapshot.

      • dgdft@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        10 days ago

        Hmm, you’re right — that does seem funky.

        Unfortunately I can only speak to the debian side of the house, not the raspbian. But I agree you should be seeing something more recent than that.

        • FarraigePlaisteaċ (sé/é)@lemmy.worldOP
          link
          fedilink
          English
          arrow-up
          2
          ·
          6 days ago

          Thanks. The Pi quirks are a little frustrating to me, although I know they’re for reasons / benefits.

          I’ve updated the post with a solution, but since I find it easier to find solutions for Debian than RaspberrypiOS i might actually switch hardware in the future.