Re: [Bug 292695] rpi3b+ muge0 panic on shutdown

From: Adrian Chadd <adrian_at_freebsd.org>
Date: Mon, 26 Jan 2026 07:24:51 UTC
On Sat, 24 Jan 2026 at 13:15, Alex Samorukov <samm@freebsd.org> wrote:
>
> Hi, i spent some time and did a patch for the issue.
>
> It works for me.
>
> Kindly asking to review and merge if possible,
>
> https://bz-attachments.freebsd.org/attachment.cgi?id=267455

hi!

Hm! So, is the panic because the callout is running during shutdown?
Chances are you want to set the flag early in detach, and then go
through the shutdown
path of cancel/draining the poll callout, it should catch it 100%
without needing the pause!


-a

>
>
> On 24.01.2026 16:50, bugzilla-noreply@freebsd.org wrote:
> > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292695
> >
> >              Bug ID: 292695
> >             Summary: rpi3b+ muge0 panic on shutdown
> >             Product: Base System
> >             Version: 15.0-RELEASE
> >            Hardware: Any
> >                  OS: Any
> >              Status: New
> >            Severity: Affects Some People
> >            Priority: ---
> >           Component: arm
> >            Assignee: freebsd-arm@FreeBSD.org
> >            Reporter: samm@FreeBSD.org
> >
> > Created attachment 267440
> >    --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=267440&action=edit
> > core.txt.0
> >
> > I just installed FreeBSD 15 on the RPI 3b+ using the official image. Everything
> > works great, except the shutdown process. On the final shutdown stage, it's
> > crashing on muge0 with a panic. Similar behavior was also observed by another
> > user:
> >
> > https://forums.freebsd.org/threads/panic-on-raspberry-pi.100613/
> >
> > I also found that if I physically unplug the cable, a crash does not occur, so
> > my expectation is that there is some race in the shutdown process.
> >
>