PTRJhAiz 40xD7lPbXK3BFJnjhIMFNj43NAMPBNaWwiY4GsFGNTXxTXgDBgUlxb7jVEiBoIUcrzsz IxdsOexNxuwvJdiz/Mt60GC+tuTo6f42aoD+4XEa/kClzT9Mbvix4wbBKM+iUf/jwIhp dXUQFtZ4FCiuSMV19/HuUbrGJf61TZGlBvyHA0bflEpK5iukeTDRRH5tuYDd6X1TOIHo 2amQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version; bh=j539+aRzY8e+N09QbUPz9SHrquHiUxIGXlmn0oapgKU=; fh=iWvShUK/bL2ysY/jxLT+YDxT1xZJ99Kbx9I7IYP16Fo=; b=cNnxxC6oTBrwVY9x28szucFHvOQNw9XbG0C7CDyZCCPkxTxkMJmCliFKq/O+8Pxhbm Qh1Pp2GoRze2TkPdlP533Cy0q+AZTriz+ys+sXBW0Hhy9aP5G0XZVl9vMtrfhdimMO0x h9eM73WYpWuwkWK3G1mAyV0k7ZZzF0ej//lAgE8BMxbYtnD2VdONCusIyBSxyn/pCF/b wZpoAjnAbBMfJVZJ26H9KiXMEn2yvbuPXgozBXQP3ZXtZm1XX6Jv3lXAlwikCqvJKODB uXmrDZyOvjJR76ZAUP2491O0kXlnTgLI+Ox2JHVPDrUJKSQH9Lk45swAMIKZmkXdgWaa LryQ==; darn=freebsd.org ARC-Authentication-Results: i=1; mx.google.com; arc=none X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769412303; x=1770017103; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=j539+aRzY8e+N09QbUPz9SHrquHiUxIGXlmn0oapgKU=; b=O2FJdDqO76/3wPSh0B3wR5vXcdreFvqWHDJZBIKgasYWBMkYYrkqvkfCmBw+TcsRVC 2uXGLcFKbXxhxTw+48vtLevvP9PrBSGTcfuoZJiaQIg5hIxupjeEegxZDpNlczvmLS5N fl7nzPC2Y7cRmvqhyU232hKLAPEutNq9K46kmkwnlXAF3QyivJImvptaVCwiMU0jflEr KCwCpXDQTCLqJt2vB7pXC2H0EJEKiUBzAPVSQOHTFq7dA9+pd0GBOYHR+kAlqNXIuGA2 pUUJeeMkCzbZ+uhqUO2Z0kyuSGn+dN702XqHtrmC+fmVP/0AczSTJKU1Ih/uZVc5zq93 w/sA== X-Gm-Message-State: AOJu0YxKCIiM1eEeRJl6MolCbXrW2+kY50l5ayFQ4acpg2ECYMpv/jPY ANXrYW6Rjn8KMgdVvCy+It35G8mRiNsTnKyF4pwPxU96o1xCpBdPY+h2ArORKSwdbTYbeEO+3Jq b4pZJ80FUuBaLX6qJPDD2hqfmYiPGmrU= X-Gm-Gg: AZuq6aKV3Hb9oEKIUCXqhqdkJb3YQr9QBYPhJOHX4Bw5wNTft8MJhXA4CwqiZdFe/1X 2b5q9ve8KDFCw+ccasrJaGXY54AiP3YkoOOyqNqbDV9SeCQgBnYDkpu5GISxkf2qyP5KZl4oJh6 vpz4XXyrYU1CyZWp81GgLS+ZvnFxdypOE+k5vG+trK/ppa3ZTI6F8ySpX6A7updzCJjDYiS605j TicOLWePxzRQwpdLkfO4/5+zMHpka+i+YaxVzAlArvfo4gQtVmw5mp+MknAUu5IZnzhj5tITQPA Yheh3L36PwZhADBvFIiQ2eySyMJNR1cfiIBxFby/Vwu5NMvVBrp8Ysca9FL+ X-Received: by 2002:a05:622a:153:b0:4ed:67ea:1e5d with SMTP id d75a77b69052e-50314d183femr42663891cf.53.1769412303391; Sun, 25 Jan 2026 23:25:03 -0800 (PST) List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@FreeBSD.org MIME-Version: 1.0 References: <79780743-961b-4a3c-a043-8c9a59ca2f82@freebsd.org> In-Reply-To: <79780743-961b-4a3c-a043-8c9a59ca2f82@freebsd.org> From: Adrian Chadd Date: Sun, 25 Jan 2026 23:24:51 -0800 X-Gm-Features: AZwV_QhsSDg_Gi_EHGMIuUT-g5hJcOK6-RJKCN1MN7B_CMnLX8uZ7G0_4wZLa-o Message-ID: Subject: Re: [Bug 292695] rpi3b+ muge0 panic on shutdown To: Alex Samorukov Cc: freebsd-arm@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Spamd-Bar: - X-Spamd-Result: default: False [-1.14 / 15.00]; ARC_ALLOW(-1.00)[google.com:s=arc-20240605:i=1]; NEURAL_SPAM_MEDIUM(0.91)[0.906]; NEURAL_HAM_LONG(-0.85)[-0.847]; NEURAL_HAM_SHORT(-0.30)[-0.301]; FORGED_SENDER(0.30)[adrian@freebsd.org,adrianchadd@gmail.com]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; MIME_GOOD(-0.10)[text/plain]; DMARC_POLICY_SOFTFAIL(0.10)[freebsd.org : SPF not aligned (relaxed), No valid DKIM,none]; MISSING_XM_UA(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; TO_DN_SOME(0.00)[]; FROM_NEQ_ENVFROM(0.00)[adrian@freebsd.org,adrianchadd@gmail.com]; RCPT_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; TAGGED_FROM(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.160.176:from]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; RCVD_TLS_LAST(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[209.85.160.176:from]; R_DKIM_NA(0.00)[] X-Rspamd-Queue-Id: 4f00Rh415Mz41l7 On Sat, 24 Jan 2026 at 13:15, Alex Samorukov 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. > > >