Hello Everyone,
First time poster and new RaspberryPi user here. I have a raspberry pi5 set up at my house as a server to host homeassistant running in docker. I made the mistake of trusting AI and used it's recommendation to update a items on my pi5. It had me use the command, and like a fool, I didn't listen to the warning text from this command about it being a bleeding-edge version of the kernel that would be installed.
I'm currently stuck in 6.6.74 of the rpi kernel, but all of my apps and services I'm running are expecting 6.6.62. I've tried what seems like everything to get it back to the old version, but nothing seems to work that AI is giving me. I'm convinced there is some file lingering somewhere that is forcing my system to keep booting with 6.6.74, but I just can't figure it out.
I put together this script to collect some useful information that might help the crowdsource understand the current state of the system. I'm very confused because it seems all directories related to boot don't have any record of the new .74 kernel, yet it continues to reboot into this kernel version. I left out the logs sections of this script for the sake of brevity.
1. Raspberry Pi Model:
Raspberry Pi 5 Model B Rev 1.0
2. OS Information:
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
3. Kernel Version:
Linux billsteinpi5 6.6.74-v8-16k+ #1842 SMP PREEMPT Fri Jan 24 16:20:20 GMT 2025 aarch64 GNU/Linux
4. Installed Kernel Versions:
rc linux-image-6.6.31+rpt-rpi-2712 1:6.6.31-1+rpt1 arm64 Linux 6.6 for Raspberry Pi 2712, Raspberry Pi
rc linux-image-6.6.31+rpt-rpi-v8 1:6.6.31-1+rpt1 arm64 Linux 6.6 for Raspberry Pi v8, Raspberry Pi
ii linux-image-6.6.51+rpt-rpi-2712 1:6.6.51-1+rpt3 arm64 Linux 6.6 for Raspberry Pi 2712, Raspberry Pi
ii linux-image-6.6.51+rpt-rpi-v8 1:6.6.51-1+rpt3 arm64 Linux 6.6 for Raspberry Pi v8, Raspberry Pi
ii linux-image-6.6.62+rpt-rpi-2712 1:6.6.62-1+rpt1 arm64 Linux 6.6 for Raspberry Pi 2712, Raspberry Pi
ii linux-image-6.6.62+rpt-rpi-v8 1:6.6.62-1+rpt1 arm64 Linux 6.6 for Raspberry Pi v8, Raspberry Pi
ii linux-image-rpi-2712 1:6.6.62-1+rpt1 arm64 Linux for Raspberry Pi 2712 (meta-package)
ii linux-image-rpi-v8 1:6.6.62-1+rpt1 arm64 Linux for Raspberry Pi v8 (meta-package)
5. Active Kernel:
6.6.74-v8-16k+
6. Bootloader Configuration (config.txt):
DO NOT EDIT THIS FILE
The file you are looking for has moved to /boot/firmware/config.txt
7. Bootloader Command Line (cmdline.txt):
DO NOT EDIT THIS FILE
The file you are looking for has moved to /boot/firmware/cmdline.txt
8. Files in /boot:
total 135M
-rw-r--r-- 1 root root 30K Apr 5 2023 bcm2710-rpi-2-b.dtb
-rw-r--r-- 1 root root 32K Apr 5 2023 bcm2710-rpi-3-b.dtb
-rw-r--r-- 1 root root 32K Apr 5 2023 bcm2710-rpi-3-b-plus.dtb
-rw-r--r-- 1 root root 30K Apr 5 2023 bcm2710-rpi-cm3.dtb
-rw-r--r-- 1 root root 31K Apr 5 2023 bcm2710-rpi-zero-2.dtb
-rw-r--r-- 1 root root 31K Apr 5 2023 bcm2710-rpi-zero-2-w.dtb
-rw-r--r-- 1 root root 52K Apr 5 2023 bcm2711-rpi-400.dtb
-rw-r--r-- 1 root root 52K Apr 5 2023 bcm2711-rpi-4-b.dtb
-rw-r--r-- 1 root root 52K Apr 5 2023 bcm2711-rpi-cm4.dtb
-rw-r--r-- 1 root root 38K Apr 5 2023 bcm2711-rpi-cm4-io.dtb
-rw-r--r-- 1 root root 50K Apr 5 2023 bcm2711-rpi-cm4s.dtb
-rw-r--r-- 1 root root 52K Apr 5 2023 bootcode.bin
-rw-r--r-- 1 root root 92 Jul 3 2024 cmdline.txt
-rw-r--r-- 1 root root 233K Oct 8 13:49 config-6.6.51+rpt-rpi-2712
-rw-r--r-- 1 root root 233K Oct 8 13:49 config-6.6.51+rpt-rpi-v8
-rw-r--r-- 1 root root 234K Nov 25 09:28 config-6.6.62+rpt-rpi-2712
-rw-r--r-- 1 root root 234K Nov 25 09:28 config-6.6.62+rpt-rpi-v8
-rw-r--r-- 1 root root 91 Jul 3 2024 config.txt
-rw-r--r-- 1 root root 19K Apr 5 2023 COPYING.linux
drwxr-xr-x 4 root root 6.0K Dec 31 1969 firmware
drwxr-xr-x 4 root root 4.0K Dec 31 1969 firmware.bak
-rw-r--r-- 1 root root 3.1K Apr 5 2023 fixup4cd.dat
-rw-r--r-- 1 root root 5.3K Apr 5 2023 fixup4.dat
-rw-r--r-- 1 root root 8.2K Apr 5 2023 fixup4db.dat
-rw-r--r-- 1 root root 8.2K Apr 5 2023 fixup4x.dat
-rw-r--r-- 1 root root 3.1K Apr 5 2023 fixup_cd.dat
-rw-r--r-- 1 root root 7.1K Apr 5 2023 fixup.dat
-rw-r--r-- 1 root root 10K Apr 5 2023 fixup_db.dat
-rw-r--r-- 1 root root 10K Apr 5 2023 fixup_x.dat
-rw-r--r-- 1 root root 18M Jan 21 19:19 initrd.img-6.6.51+rpt-rpi-2712
-rw-r--r-- 1 root root 18M Jan 21 19:19 initrd.img-6.6.51+rpt-rpi-v8
-rw-r--r-- 1 root root 18M Jan 21 19:19 initrd.img-6.6.62+rpt-rpi-2712
-rw-r--r-- 1 root root 18M Jan 21 19:19 initrd.img-6.6.62+rpt-rpi-v8
lrwxrwxrwx 1 root root 18 Jul 3 2024 issue.txt -> firmware/issue.txt
-rw-r--r-- 1 root root 7.9M Apr 5 2023 kernel8.img
-rw-r--r-- 1 root root 1.6K Apr 5 2023 LICENCE.broadcom
lrwxrwxrwx 1 root root 17 Jul 3 2024 overlays -> firmware/overlays
-rw-r--r-- 1 root root 787K Apr 5 2023 start4cd.elf
-rw-r--r-- 1 root root 3.6M Apr 5 2023 start4db.elf
-rw-r--r-- 1 root root 2.2M Apr 5 2023 start4.elf
-rw-r--r-- 1 root root 2.9M Apr 5 2023 start4x.elf
-rw-r--r-- 1 root root 787K Apr 5 2023 start_cd.elf
-rw-r--r-- 1 root root 4.6M Apr 5 2023 start_db.elf
-rw-r--r-- 1 root root 2.9M Apr 5 2023 start.elf
-rw-r--r-- 1 root root 3.6M Apr 5 2023 start_x.elf
-rw-r--r-- 1 root root 83 Oct 8 13:49 System.map-6.6.51+rpt-rpi-2712
-rw-r--r-- 1 root root 83 Oct 8 13:49 System.map-6.6.51+rpt-rpi-v8
-rw-r--r-- 1 root root 83 Nov 25 09:28 System.map-6.6.62+rpt-rpi-2712
-rw-r--r-- 1 root root 83 Nov 25 09:28 System.map-6.6.62+rpt-rpi-v8
-rw-r--r-- 1 root root 8.9M Oct 8 13:49 vmlinuz-6.6.51+rpt-rpi-2712
-rw-r--r-- 1 root root 8.9M Oct 8 13:49 vmlinuz-6.6.51+rpt-rpi-v8
-rw-r--r-- 1 root root 9.0M Nov 25 09:28 vmlinuz-6.6.62+rpt-rpi-2712
-rw-r--r-- 1 root root 9.0M Nov 25 09:28 vmlinuz-6.6.62+rpt-rpi-v8
9. Boot Logs (Errors Only):
[ 0.228491] bcm2708_fb: probe of soc:fb failed with error -2
Feb 03 21:17:01 billsteinpi5 kernel: bcm2708_fb: probe of soc:fb failed with error -2
First time poster and new RaspberryPi user here. I have a raspberry pi5 set up at my house as a server to host homeassistant running in docker. I made the mistake of trusting AI and used it's recommendation to update a items on my pi5. It had me use the
Code:
rpi-update
I'm currently stuck in 6.6.74 of the rpi kernel, but all of my apps and services I'm running are expecting 6.6.62. I've tried what seems like everything to get it back to the old version, but nothing seems to work that AI is giving me. I'm convinced there is some file lingering somewhere that is forcing my system to keep booting with 6.6.74, but I just can't figure it out.
I put together this script to collect some useful information that might help the crowdsource understand the current state of the system. I'm very confused because it seems all directories related to boot don't have any record of the new .74 kernel, yet it continues to reboot into this kernel version. I left out the logs sections of this script for the sake of brevity.
Code:
#!/bin/bash# Script to gather Raspberry Pi troubleshooting informationOUTPUT_FILE="rpi_kernel_debug.txt"echo "Collecting Raspberry Pi kernel troubleshooting information..."echo "Output will be saved to $OUTPUT_FILE"{ echo "=== Raspberry Pi Kernel Troubleshooting Information ===" echo "" echo "1. Raspberry Pi Model:" cat /proc/device-tree/model echo "" echo "2. OS Information:" cat /etc/os-release echo "" echo "3. Kernel Version:" uname -a echo "" echo "4. Installed Kernel Versions:" dpkg --list | grep linux-image echo "" echo "5. Active Kernel:" uname -r echo "" echo "6. Bootloader Configuration (config.txt):" cat /boot/config.txt echo "" echo "7. Bootloader Command Line (cmdline.txt):" cat /boot/cmdline.txt echo "" echo "8. Files in /boot:" ls -lh /boot echo "" echo "9. Boot Logs (Errors Only):" dmesg | grep -i error echo "" journalctl -k | grep -i error echo "" echo "10. Full Boot Log:" journalctl -b echo "" echo "11. Disk Space on /boot:" df -h /boot echo "" echo "12. APT Package Status:" sudo apt update && sudo apt upgrade --dry-run echo "" sudo apt --fix-broken install --dry-run echo "" echo "13. Command History (last 20 commands):" history | tail -n 20 echo "" echo "=== End of Information ==="} > "$OUTPUT_FILE"
1. Raspberry Pi Model:
Raspberry Pi 5 Model B Rev 1.0
2. OS Information:
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
3. Kernel Version:
Linux billsteinpi5 6.6.74-v8-16k+ #1842 SMP PREEMPT Fri Jan 24 16:20:20 GMT 2025 aarch64 GNU/Linux
4. Installed Kernel Versions:
rc linux-image-6.6.31+rpt-rpi-2712 1:6.6.31-1+rpt1 arm64 Linux 6.6 for Raspberry Pi 2712, Raspberry Pi
rc linux-image-6.6.31+rpt-rpi-v8 1:6.6.31-1+rpt1 arm64 Linux 6.6 for Raspberry Pi v8, Raspberry Pi
ii linux-image-6.6.51+rpt-rpi-2712 1:6.6.51-1+rpt3 arm64 Linux 6.6 for Raspberry Pi 2712, Raspberry Pi
ii linux-image-6.6.51+rpt-rpi-v8 1:6.6.51-1+rpt3 arm64 Linux 6.6 for Raspberry Pi v8, Raspberry Pi
ii linux-image-6.6.62+rpt-rpi-2712 1:6.6.62-1+rpt1 arm64 Linux 6.6 for Raspberry Pi 2712, Raspberry Pi
ii linux-image-6.6.62+rpt-rpi-v8 1:6.6.62-1+rpt1 arm64 Linux 6.6 for Raspberry Pi v8, Raspberry Pi
ii linux-image-rpi-2712 1:6.6.62-1+rpt1 arm64 Linux for Raspberry Pi 2712 (meta-package)
ii linux-image-rpi-v8 1:6.6.62-1+rpt1 arm64 Linux for Raspberry Pi v8 (meta-package)
5. Active Kernel:
6.6.74-v8-16k+
6. Bootloader Configuration (config.txt):
DO NOT EDIT THIS FILE
The file you are looking for has moved to /boot/firmware/config.txt
7. Bootloader Command Line (cmdline.txt):
DO NOT EDIT THIS FILE
The file you are looking for has moved to /boot/firmware/cmdline.txt
8. Files in /boot:
total 135M
-rw-r--r-- 1 root root 30K Apr 5 2023 bcm2710-rpi-2-b.dtb
-rw-r--r-- 1 root root 32K Apr 5 2023 bcm2710-rpi-3-b.dtb
-rw-r--r-- 1 root root 32K Apr 5 2023 bcm2710-rpi-3-b-plus.dtb
-rw-r--r-- 1 root root 30K Apr 5 2023 bcm2710-rpi-cm3.dtb
-rw-r--r-- 1 root root 31K Apr 5 2023 bcm2710-rpi-zero-2.dtb
-rw-r--r-- 1 root root 31K Apr 5 2023 bcm2710-rpi-zero-2-w.dtb
-rw-r--r-- 1 root root 52K Apr 5 2023 bcm2711-rpi-400.dtb
-rw-r--r-- 1 root root 52K Apr 5 2023 bcm2711-rpi-4-b.dtb
-rw-r--r-- 1 root root 52K Apr 5 2023 bcm2711-rpi-cm4.dtb
-rw-r--r-- 1 root root 38K Apr 5 2023 bcm2711-rpi-cm4-io.dtb
-rw-r--r-- 1 root root 50K Apr 5 2023 bcm2711-rpi-cm4s.dtb
-rw-r--r-- 1 root root 52K Apr 5 2023 bootcode.bin
-rw-r--r-- 1 root root 92 Jul 3 2024 cmdline.txt
-rw-r--r-- 1 root root 233K Oct 8 13:49 config-6.6.51+rpt-rpi-2712
-rw-r--r-- 1 root root 233K Oct 8 13:49 config-6.6.51+rpt-rpi-v8
-rw-r--r-- 1 root root 234K Nov 25 09:28 config-6.6.62+rpt-rpi-2712
-rw-r--r-- 1 root root 234K Nov 25 09:28 config-6.6.62+rpt-rpi-v8
-rw-r--r-- 1 root root 91 Jul 3 2024 config.txt
-rw-r--r-- 1 root root 19K Apr 5 2023 COPYING.linux
drwxr-xr-x 4 root root 6.0K Dec 31 1969 firmware
drwxr-xr-x 4 root root 4.0K Dec 31 1969 firmware.bak
-rw-r--r-- 1 root root 3.1K Apr 5 2023 fixup4cd.dat
-rw-r--r-- 1 root root 5.3K Apr 5 2023 fixup4.dat
-rw-r--r-- 1 root root 8.2K Apr 5 2023 fixup4db.dat
-rw-r--r-- 1 root root 8.2K Apr 5 2023 fixup4x.dat
-rw-r--r-- 1 root root 3.1K Apr 5 2023 fixup_cd.dat
-rw-r--r-- 1 root root 7.1K Apr 5 2023 fixup.dat
-rw-r--r-- 1 root root 10K Apr 5 2023 fixup_db.dat
-rw-r--r-- 1 root root 10K Apr 5 2023 fixup_x.dat
-rw-r--r-- 1 root root 18M Jan 21 19:19 initrd.img-6.6.51+rpt-rpi-2712
-rw-r--r-- 1 root root 18M Jan 21 19:19 initrd.img-6.6.51+rpt-rpi-v8
-rw-r--r-- 1 root root 18M Jan 21 19:19 initrd.img-6.6.62+rpt-rpi-2712
-rw-r--r-- 1 root root 18M Jan 21 19:19 initrd.img-6.6.62+rpt-rpi-v8
lrwxrwxrwx 1 root root 18 Jul 3 2024 issue.txt -> firmware/issue.txt
-rw-r--r-- 1 root root 7.9M Apr 5 2023 kernel8.img
-rw-r--r-- 1 root root 1.6K Apr 5 2023 LICENCE.broadcom
lrwxrwxrwx 1 root root 17 Jul 3 2024 overlays -> firmware/overlays
-rw-r--r-- 1 root root 787K Apr 5 2023 start4cd.elf
-rw-r--r-- 1 root root 3.6M Apr 5 2023 start4db.elf
-rw-r--r-- 1 root root 2.2M Apr 5 2023 start4.elf
-rw-r--r-- 1 root root 2.9M Apr 5 2023 start4x.elf
-rw-r--r-- 1 root root 787K Apr 5 2023 start_cd.elf
-rw-r--r-- 1 root root 4.6M Apr 5 2023 start_db.elf
-rw-r--r-- 1 root root 2.9M Apr 5 2023 start.elf
-rw-r--r-- 1 root root 3.6M Apr 5 2023 start_x.elf
-rw-r--r-- 1 root root 83 Oct 8 13:49 System.map-6.6.51+rpt-rpi-2712
-rw-r--r-- 1 root root 83 Oct 8 13:49 System.map-6.6.51+rpt-rpi-v8
-rw-r--r-- 1 root root 83 Nov 25 09:28 System.map-6.6.62+rpt-rpi-2712
-rw-r--r-- 1 root root 83 Nov 25 09:28 System.map-6.6.62+rpt-rpi-v8
-rw-r--r-- 1 root root 8.9M Oct 8 13:49 vmlinuz-6.6.51+rpt-rpi-2712
-rw-r--r-- 1 root root 8.9M Oct 8 13:49 vmlinuz-6.6.51+rpt-rpi-v8
-rw-r--r-- 1 root root 9.0M Nov 25 09:28 vmlinuz-6.6.62+rpt-rpi-2712
-rw-r--r-- 1 root root 9.0M Nov 25 09:28 vmlinuz-6.6.62+rpt-rpi-v8
9. Boot Logs (Errors Only):
[ 0.228491] bcm2708_fb: probe of soc:fb failed with error -2
Feb 03 21:17:01 billsteinpi5 kernel: bcm2708_fb: probe of soc:fb failed with error -2
Statistics: Posted by woolsocks — Wed Feb 05, 2025 3:29 am