Kernel Panic at virtual address c12e047c

Creating a bug report/issue

I have searched the existing open and closed issues

Required Information

  • DietPi version:
    G_DIETPI_VERSION_CORE=10
    G_DIETPI_VERSION_SUB=6
    G_DIETPI_VERSION_RC=2
    G_GITBRANCH=‘master’
    G_GITOWNER=‘MichaIng’
  • Distro version: trixie 1
  • Kernel version: Linux DietPi 6.18.39+rpt-rpi-v6 #1 Raspbian 1:6.18.39-1+rpt1 (2026-07-29) armv6l GNU/Linux
  • Architecture: armhf
  • SBC model: RPi Zero W (armv6l)
  • Power supply used: 5V 2.5A Voltcraft
  • SD card used | SanDisk ultra

Additional Information (if applicable)

  • The kernel panic occured on a pi where i installed several different kernel modules to interface with some periphery. But also on a fresh install on a different SD card.
    Only the pi itself and the power supply were the same.
  • Currently I check with dietpi on a different RPI Zero W, a different operating system on the “faulty” RPI Zero W and I will also try with a different power supply.

Here are the incidents I recorded, but several more happened yesterday.
Log 3 is on a different sd-card with a fresh install.
dietpi was busy installing stuff during first boot.

Do you have any idea where this might come from?
Why is it always the same adress?

kernel_panic_geo-125_3.txt (5,4 KB)

kernel_panic_geo-125_1.txt (3,0 KB)

Maybe there is some damage to the device. A Zero W is just a small device with less memory. Maybe you are hitting some limits?

thanks for the reply. do you have an idea how to troubleshot that, since the information of the error message is very limited

The obvious most likely explanation is that those modules are broken, or do not support the latest RPi kernel anymore. Which modules do you mean, and how did you compile them?

These are all modules installed as listed in the error:
Modules linked in: binfmt_misc sc16is7xx_i2c sc16is7xx regmap_i2c brcmfmac_cyw brcmfmac brcmutil rfkill raspberrypi_hwmon i2c_bcm2835 raspberrypi_gpiomem i2c_gpio fixed i2c_algo_bit fuse nfnetlink ipv6 libsha1

I added them via the /boot/firmware/config.txt, this is the entire file:

config.txt (3,1 KB)

Ah okay, but the kernel modules are all part of the kernel package, you just added two overlays. I have no experience with those two, but they exist and parameters follow the README. The only thing I see is that enable_uart=1 is doubled, but that should not cause issues.

Anyway, something seems to have caused a memory corruption around the virtual address c12e047c. It is recognized when the kernel does its default_idle_call, but the corruption was most likely caused prior to that by something else, which is not revealed by the error.

I’ve not other idea how to debug than ruling out individual drivers or overlays one by one. The sc16is7xx-i2c overlay and related driver is probably the most specific one you use, hence worth to comment it out and see whether it runs stable afterwards.

Thanks a lot for the detailed reply. I have a look into that and try it with the commented out version if it fails me again. currently the system runs again very smoothly… as if nothing happened.