The LED light keeps blinking regularly after update to the latest Dietpi and Pihole v6 on Raspi Zero 2W

Creating a bug report/issue

I have searched the existing open and closed issues

Required Information

  • DietPi version | G_DIETPI_VERSION_CORE=9
    G_DIETPI_VERSION_SUB=11
    G_DIETPI_VERSION_RC=2
    G_GITBRANCH=‘master’
    G_GITOWNER=‘MichaIng’

  • Distro version | bookworm 0

  • Kernel version | Linux DietPi 6.6.74+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.74-1+rpt1 (2025-01-27) aarch64 GNU/Linux

  • Architecture | arm64

  • SBC model | RPi Zero 2 W (aarch64)

  • Power supply used | 5V 1A

  • SD card used | SanDisk ultra

Additional Information (if applicable)

Recently updated Pihole to v6(Core [v6.0.5],
FTL [v6.0.4], Web interface[v6.0.2]) first and then ran the latest dietpi update (which went through the RPi stack migration update and then with the pihole cleanup update)

Expected behaviour

Static LED light and blinking only on gravity updates or disk activity etc.

Actual behaviour

Continuous periodic blinking right from boot

Extra details

Thought it could be the migration causing database/gravity migrations and cleanups. But it didn’t stop even after many hours. Updated the gravity database manually and inspected the size of the old logs and database but they weren’t even large. The CPU and memory usage is normal. I have also reset led settings using dietpi-led_control but the blinking still persists.

this has nothing to do with PiHole or any other app. It looks like a challenger of kernel 6.6. You can remove /etc/udev/rules.d/dietpi-led_control.rules to get back default functionality.

probably similry to RPi 3A+ activity led always on (RPi 3B off)

but i did not specify any custom rules.

root@DietPi:~# cat /etc/udev/rules.d/dietpi-led_control.rules
cat: /etc/udev/rules.d/dietpi-led_control.rules: No such file or directory
root@DietPi:~# ls -l /sys/class/leds/
total 0
lrwxrwxrwx 1 root root 0 Mar 19 02:17 ACT -> ../../devices/platform/leds/leds/ACT
lrwxrwxrwx 1 root root 0 Mar 19 02:17 default-on -> ../../devices/virtual/leds/default-on
lrwxrwxrwx 1 root root 0 Mar 19 02:17 mmc0 -> ../../devices/virtual/leds/mmc0
root@DietPi:~# cat /sys/class/leds/ACT/trigger
none rc-feedback kbd-scrolllock kbd-numlock kbd-capslock kbd-kanalock kbd-shiftlock kbd-altgrlock kbd-ctrllock kbd-altlock kbd-shiftllock kbd-shiftrlock kbd-ctrlllock kbd-ctrlrlock timer oneshot heartbeat backlight cpu cpu0 cpu1 cpu2 cpu3 default-on input panic [actpwr] mmc1 mmc0 rfkill-any rfkill-none rfkill0

these are also the exact settings configured on a different raspi running older dietpi (which shows a static led most of the times btw). i am guessing some default behavior has changed with the kernel update. for now, i have changed the ACT [actpwr] trigger to mmc0 [mmc0] to get rid of the blinking.

This has nothing to do with DietPi itself. The kernel is the original one provided by RPi foundation