Skip to content

Issue with boot order probe after reboot #7380

@nandorpal

Description

@nandorpal

Describe the bug

Randomly after rebooting the rpi5, I can't access the pio.
I use it to control some leds, but randomly the the pi locks the driver out.
I noticed that if I check cat /sys/module/ws2812_pio_rp1/refcnt and gives me 1, for sure the leds and not even reboot or system update will work.
I tried with 6.12.75+rpt-rpi-2712, 6.18.29+rpt-rpi-2712

My firmware config

[all]
dtoverlay=ws2812-pio,gpio=10,num_leds=100
dtoverlay=dwc2,dr_mode=peripheral

Steps to reproduce the behaviour

Reboot, check cat /sys/module/ws2812_pio_rp1/refcnt
If it is 1 nothing will work, not even reboot.

Device (s)

Raspberry Pi 5

System

Raspberry Pi reference 2026-04-21
Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, 4ad56cc850fa60adcc7f07dc15879bc95cc1d281, stage2

2026/01/21 13:38:47
Copyright (c) 2012 Broadcom
version ab8a9dde (release) (embedded)

6.12.75+rpt-rpi-2712, 6.18.29+rpt-rpi-2712

Logs

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions