Hi everyone!
UPDATE: Issue Resolved
This issue has been resolved in Raspberry Pi kernel version 6.12.34
.
To update your system to the latest kernel, run the following commands:
sudo apt update
sudo apt full-upgrade
sudo reboot
After the reboot, you can verify the new kernel version by running:
uname -r
We’ve been getting reports about problems running Raspberry Pi examples after recent kernel updates. We’re aware of this issue and actively working on a permanent solution.
Quick Fix: For now, the easiest workaround is to downgrade your kernel to version 6.12.20 or earlier (or any 6.6.x version). This should get everything working smoothly again.
How to Downgrade Your Raspberry Pi Kernel
Before running this backup your Pi to prevent data loss
Downgrade to kernel 6.6.77 using rpi-update.
The hash is based on this commit:
kernel: Bump to 6.6.77
sudo rpi-update 8bd0d75837d6a99138c7cbbc24888601b220405a
Restart your Pi to load the downgraded kernel
sudo reboot
Verify the Kernel Version
Once rebooted, confirm the change by checking the kernel version:
uname -r
Now, your Raspberry Pi should be running the older, stable kernel and the examples should work properly again.
The output should now start with 6.6.77.
To revert back to the Main Kernel:
Put the stable kernel files back in place
sudo apt install --reinstall raspberrypi-kernel raspberrypi-bootloader
Now, synchronize all other packages to match that new kernel
sudo apt full-upgrade
With the system now in a consistent state, it’s safe to reboot
sudo reboot
If you want kernel 6.12.20, try the solution in here : (not recommended)
The commit for 6.12.20 does not install using rpi-update, please correct us if we are wrong.
We’ll update everyone once we have a permanent fix. Thanks for your patience while we sort this out!