| rkta | I have an old RPi4 here and today I noticed that the kernel is quite outdated. uname says I'm running 5.10.17-v8 #1 SMP PREEMPT. aptitude search \~ilinux-image shows raspberrypi-linux-image. When I try to install linux-image-rt-arm64 I get cryptsetup: ERROR: Couldn't resolve device /dev/root. Full error log here: http://rkta.de/pub/kernel.err How can I get this RPi to have a current kernel? I need to run wireguard on it. | 09:49 |
|---|---|---|
| rkta | This is a daedalus. | 09:50 |
| gnarface | hmm, you sure your sources.list is right? | 09:59 |
| gnarface | i'm not sure if that's the right package name for the kernel | 09:59 |
| gnarface | i thought some of the other images anyway didn't even have a packaged kernel, so i dunno if this is necessarily even expected to work | 10:00 |
| rkta | http://rkta.de/pub/sources.list | 10:01 |
| rkta | I'm also not sure what would be the right image name, hence I'm asking here. | 10:04 |
| rkta | I would have expected that the raspberrypi-linux-image would pull in a recent image. | 10:08 |
| gnarface | sorry, if you want me to actually check the sources.list for you just /msg it to me or use paste.debian.net | 10:25 |
| gnarface | i thought the right package name would start with something like linux-image-6.* | 10:26 |
| gnarface | linux-image-6.1-arm64 or something like that | 10:26 |
| gnarface | i could be wrong but i thought there weren't actual raspberry pi kernels in the debian repos, you'd have to get it from raspbian | 10:27 |
| gnarface | and that might work | 10:27 |
| gnarface | not sure | 10:27 |
| gnarface | it should be possible to build your own from the source package too | 10:27 |
| gnarface | but i don't know where to get the non-free rpi firmware stuff | 10:28 |
| gnarface | hmm, just saw your sources.list, looks fine | 10:29 |
| gnarface | although, maybe if you're looking for raspberrrypi specific stuff, they'd be in non-free or non-free-firmware? | 10:29 |
| rkta | This is build from a devuan RPi image, not upgraded debian or something. | 10:30 |
| gnarface | if you changed "main" to "main contrib non-free non-free-firmware" you'd be sure you're seeing everything | 10:30 |
| gnarface | but, mind you, you might not want to actually do that | 10:30 |
| gnarface | do this: apt-cache search ^linux\-image\-6\.1 | 10:32 |
| gnarface | what does that return? | 10:32 |
| rkta | A long list of kernel images. | 10:33 |
| rkta | 84 lines | 10:33 |
| gnarface | is one of them called linux-image-6.1.0-32-arm64? | 10:33 |
| gnarface | or maybe linux-image-6.1.0-32-aarch64? | 10:33 |
| rkta | there is linux-image-6.1.0-32-arm64 | 10:34 |
| gnarface | maybe that one | 10:35 |
| rkta | But is linux-image-arm64 not only a meta package for the latest version? linux-image-arm64 shows the same error as the -rt- one. | 10:36 |
| gnarface | if, like with the rpi1, there are broadcom proprietary closed-source firmwares required for certain features, it might lack those... | 10:36 |
| gnarface | hmm, i don't think that's a meta package that always points to the latest version, try it | 10:37 |
| gnarface | mabye also remove the linux-image-arm64 meta-package | 10:37 |
| gnarface | you have a recovery path if this doesn't work, right? | 10:38 |
| gnarface | like a backup or something? | 10:38 |
| gnarface | if you stick around longer and talk to someone who actually has one of those things it might help | 10:39 |
| rkta | recovery would be to reinstall, or fix it in a chroot. | 10:39 |
| rkta | linux-image-arm64 is not installed, it stopped because of the errors. | 10:39 |
| gnarface | what we're gambling on here basically is that the common arm64 kernel is enough to boot a rpi4... with some of the arm boards there was no packaged kernel in the official repos so no upgrade path besides building your own | 10:40 |
| gnarface | i forget if this was one of those, i thought it might not be, so that linux-image-6.1.0-32-arm64 one really might work | 10:40 |
| gnarface | if not, maybe just try stealing the raspbian 9one | 10:40 |
| gnarface | *one | 10:40 |
| gnarface | or stick around to talk to someone who has done their own build of it | 10:41 |
| rkta | I'll stick around. Might be afk, but will be connected. | 10:43 |
| rkta | If it is too much trouble, I'll use the official RPi images... | 10:43 |
| davesp | FWIW, on my Rpi 4 also running daedalus, using synaptic to search for just "linux-image" returns 92 packages; of those, the only one installed is "linux-image-bcm2711-rpi-4". | 12:49 |
| rkta | davesp: What version kernel is provided with this? What does uname -r show? I can't find that package here. | 12:52 |
| rkta | Theres some RPi repos at http://archive.raspberrypi.org/debian/, would it make sense to get the kernel from there or is mixing sources a recipe for disaster? | 13:30 |
| gnarface | if you just get the kernel and no other packages, it might be fine | 13:53 |
| gnarface | if you're paranoid it shouldn't be hard to just copy the kernel binary and modules themselves out of it though | 13:54 |
| rkta | I'm flashing a newer image and will have a look how it looks there | 15:17 |
| gnarface | oh you maybe need to copy some firmware from /boot too | 16:37 |
| gnarface | or /lib/... | 16:37 |
| gnarface | i'm pretty sure it's been done successfully before though | 16:37 |
| davesp | rkta "uname -r" says "6.1.93". Also, my four sources.list lines are "stable", "stable-updates", "stable-proposed-updates", and "stable-security", and all four have "main non-free-firmware non-free contrib". | 16:44 |
| rkta | I'm moving my old home to the newly flashed image. lets see if I can work with the new image. If not, I'm going to switch to official images, I guess. | 16:58 |
| davesp | If my notes are correct, I created my Rpi 4 with "rpi-4-devuan-daedalus-6.1.93-arm64-ext4-2025-01-05-0317.zip". IIRC, "linux-image-bcm2711-rpi-4" came with that image. | 17:28 |
| davesp | Regarding rkta's initial question, "How can I get this RPi to have a current kernel?", that's something I'd like to know, too, especially if RPi users need to "roll their own" kernels. | 19:38 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!