Raspberry Pi Zero Kernel Panics Randomly

Having issues with your DietPi installation or found a bug? Post it here.
Post Reply
Posts: 1
Joined: Tue Apr 20, 2021 9:54 am

Raspberry Pi Zero Kernel Panics Randomly

Post by rohan_agashe »

I have a raspberry pi zero w with the following software installed
1. Node-red
2. Mosquitto
3. Webmin

It randomly gives me kernel panic after few hours with the following stack trace, I tried to analyse it but could not found what it's related to and how to fix it. Please find the screenshot of the stake trace in the attachments.
User avatar
Posts: 4504
Joined: Sat Nov 16, 2019 12:49 am

Re: Raspberry Pi Zero Kernel Panics Randomly

Post by Joulinar »


probably it would be better to report this to Raspberry OS kernel developer. Maybe they have an idea how to debug. As well you could try a different kernel version using rpi-update https://www.raspberrypi.org/documentati ... -update.md
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
User avatar
Posts: 724
Joined: Thu Jul 20, 2017 8:55 am

Re: Raspberry Pi Zero Kernel Panics Randomly

Post by WarHawk »

What does your RAM usage look like?

Do you have ZRAM turned on?
Do you have any SWAP enabled?

There isn't alot of RAM on a Pi0 so all those programs running might be filling up the RAM and causing stability issues

Also...is the processor running hot?

Also have you done an apt update and upgrade? Could be an old kernel that might be flaky

But as Joulinar said it might be better to Raspberry group...something just ain't adding up
Post Reply