brcmfmac wedges NetworkManager+wpa_supplicant into unkillable D-state, aborting suspend
Hardware
MacBookPro11,5 (2015, pre-T2), BCM43602 14e4:43ba via brcmfmac, kernel 7.2.3-arch1-3, Omarchy 4.x. The #10332 sleep hook was installed but never ran here -- suspend aborted before hooks.
Sequence (single boot, timestamps from journal)
- 14:41:16 -- one warning, the only one:
brcmf_cfg80211_get_tx_power: error (-5) - 14:41:17 -- freeze starts on a systemctl suspend path
- 14:41:37 --
Freezing user space processes failed after 20.002 seconds (2 tasks refusing to freeze, wq_busy=0): NetworkManager (785) and wpa_supplicant (881), both state D inside the driver - Suspend aborted (
Failed to put system to sleep); machine stayed awake with dead Wi-Fi (iwhangs) - Reboot: user@1000, avahi, wpa_supplicant, NetworkManager all survive final SIGKILL (D-state, unkillable by design); /home and /tmp fail to unmount
- Hard poweroff required; first reboot froze before the splash with no journal; second booted clean, btrfs device stats zero errors
Why this is its own issue
Distinct signature from #10332's timeout cascade (no msgbuf timeouts here -- one -5, then wedge). Whether the wedge was spontaneous or triggered by freeze initiation at that exact second is unknowable from the logs; both readings are consistent. Either way the outcome class matters: a wifi firmware hiccup escalates to SIGKILL-proof processes, failed unmounts, and a hard poweroff -- there is no graceful recovery short of a driver reload done before the wedge (modprobe -r cycle works fine while the stack is healthy).
Update: a likely trigger mechanism found since filing -- unloading brcmfmac while its firmware is already timing out walks into a GPF use-after-free in cfg80211 unregister, which segfaults modprobe and wedges wpa_supplicant into D (full trace in #10332). That turns a flaky radio into exactly this issue's corpse: unfreezable tasks, aborted suspend, SIGKILL-proof shutdown, hard poweroff.
Diagnosed by Claude Opus 5.5 against quattro at 5f25ef1d. The second opinion did not run: the reviewer (Codex Medium) answered a ping, but today's review budget was already spent, so this diagnosis is one model's reasoning. Nothing was run on a worker, because a VM has no BCM43602 to wedge.
Nothing in Omarchy's code causes this. On quattro, the only code that touches brcmfmac is install/hardware/apple/fix-brcmfmac-supplicant.sh and its migration migrations/1786391100.sh. Both only write feature_disable=0x82000 to /etc/modprobe.d/brcmfmac.conf. Neither runs at suspend, and neither loads or unloads the module. quattro ships no sleep hook for this chip yet. The hook you had installed comes from #10332, which is still open. The tasks are stuck in uninterruptible sleep inside the driver, and only the kernel can get them out of that. So there is no fix to make in this repository.
What is established, and what is not. The crash you describe in your follow-up is the P2P interface removal race in brcmfmac. A crash in _cfg80211_unregister_wdev via brcmf_pcie_remove → brcmf_detach is what @makoni reproduced on #7333 and traced to that race. The upstream fix is "wifi: brcmfmac: fix P2P device removal race in brcmf_detach()" (08a3f02fea63). It carries Cc: stable and was reported on #7333 as reaching mainline for 7.3-rc7, but it was not in a 7.2.y release as of v7.2.9. The repository's kernel today is linux-omarchy 7.2.8-5. I could not find its package source, so I could not confirm whether it carries that patch. What I cannot establish is whether that race explains the sequence in your report. You say the hook never ran, and the only warning before the freeze is a single -5 from brcmf_cfg80211_get_tx_power. That fits firmware that had stopped answering, but nothing in the log shows which lock NetworkManager and wpa_supplicant were waiting on. If it happens again, the kernel's hung-task warning for those PIDs, or sudo cat /proc/<pid>/stack for each before you power off, would show where in the driver they are stuck.
Related: the open fixes for BCM43602 Wi-Fi dying after suspend are #7333, #10332, #7180 and #12314. All of them unbind the device or unload the driver around sleep, so all of them go through the teardown path that hit this crash. The reviews on #7333 and #10332 already conclude that neither is safe to ship until the kernel carries the fix above.
What happens next. This waits on the maintainer. The remedy is a linux-omarchy that carries 08a3f02fea63, either from a 7.2.y stable release or as a patch on the package. It is also the precondition for any of the sleep fixes above to be safe.
On the open question above, whether linux-omarchy 7.2.8-5 carries 08a3f02fea63: it doesn't.
- 7.2.8-5 is only in the
edgerepo so far;stablestill has 7.2.5-3. - The package source is in omacom/omarchy-pkgs.
pkgbuilds/linux-omarchyis a meta package forlinux-omarchy-bore, whose PKGBUILD (last changed in223f1d34, "Update Linux kernel release to v7.2.8-5") builds the plain 7.2.8 tarball from kernel.org plus 150 patches. None of those patches touches brcmfmac; I searched all of them forbrcmfmacandbrcmf_detach. - The fix isn't in a 7.2.y release yet either. In v7.2.10, the newest one, the last brcmfmac change to
core.cis "fix lost 802.1x TX completion wakeup". - It is in mainline as of v7.3-rc7.
So until it lands in 7.2.y (or Omarchy moves to 7.3), the way to get it into Omarchy's kernel is to carry it as a patch in linux-omarchy-bore. It's a small change to brcmf_detach() and already has Cc: stable.
Re-checked by Claude Opus 5.5, with Codex Medium as the second opinion, after @makoni's answer above. Nothing was run on a worker, because a VM has no BCM43602.
Confirmed: Omarchy's kernel does not carry the brcmfmac fix. In omacom/omarchy-pkgs, pkgbuilds/linux-omarchy is a meta package that depends on linux-omarchy-bore. That package's PKGBUILD builds pkgver=7.2.8, pkgrel=5 from the kernel.org linux-7.2.8 tarball. It applies 150 local patches, and none of them mentions brcmfmac or brcmf_detach. _rcpatch is never set, so no stable-review patch is applied either. Codex checked the same files on its own and agrees. I did not check kernel.org's 7.2.y history myself, so the claim that v7.2.10 still lacks 08a3f02fea63 rests on @makoni's reading.
Codex added one point. The report says the machine was running 7.2.3-arch1-3. That is Arch's own linux package, not linux-omarchy, which Omarchy installs from install/omarchy-other.packages on quattro. A patch on linux-omarchy-bore would reach machines running Omarchy's kernel. A machine still on Arch's linux gets the fix only when Arch's 7.2.y picks it up.
Unchanged: nothing in this repository causes the wedge, and nothing here can fix it. We also have not shown that the P2P removal race explains this exact sequence, where the sleep hook never ran and a single -5 came before the freeze. The kernel stacks of the stuck NetworkManager and wpa_supplicant tasks are still what would show that.
What happens next: this waits on the maintainer. The remedy is to carry 08a3f02fea63 as a patch in linux-omarchy-bore in omacom/omarchy-pkgs, or to wait for a 7.2.y stable release that includes it. That is also what the sleep fixes in #7333 and #10332 need before they are safe.
Follow-up to my comment above: the fix is now in a stable release. 7.2.11 (2026-10-15) carries 08a3f02fea63 as 47ca6395a1d9 ("wifi: brcmfmac: fix P2P device removal race in brcmf_detach()").
linux-omarchyis still 7.2.8-5 inedgeand 7.2.5-3 instable, and omarchy-pkgs has no 7.2.11 bump yet, so movinglinux-omarchy-boreto 7.2.11 or later brings the fix in without carrying a patch.- Arch has 7.2.11.arch1 in
core-testing(coreis still on 7.2.10.arch1), so the7.2.3-arch1-3kernel from the report gets the fix once that reachescore.
Re-checked by Claude Opus 5.5 after @makoni's update above. Codex Medium ran as the second opinion but had no network access, so it could not check kernel.org, the stable tree or omarchy-pkgs; everything below about those is one model's checking. Nothing was run on a worker, because a VM has no BCM43602.
Confirmed: the fix is in 7.2.11 stable. 47ca6395a1d9 in the stable tree is "wifi: brcmfmac: fix P2P device removal race in brcmf_detach()", marked commit 08a3f02fea63 upstream. It is in v7.2.11 and not in v7.2.10. Arch's linux is 7.2.11.arch1 in core-testing and still 7.2.10.arch1 in core, so the 7.2.3-arch1-3 kernel from the report gets the fix once that reaches core.
Omarchy's kernel still lacks it, and moved since the last comment. omarchy-pkgs a3c7f30b (2026-10-16) took linux-omarchy-bore to 7.2.8-7, still built on the linux-7.2.8 tarball. That bump adds two brcmfmac patches: 0680-wifi-brcmfmac-pcie-ignore-missing-d3-ack-without-wowl.patch, which lets suspend carry on powering the chip off when the firmware never acknowledges D3, and 0681-wifi-brcmfmac-report-port-authorized-for-4-way-hs-offload.patch. Neither touches brcmf_detach() or P2P teardown. Neither bears on this report either: the D3 change runs in the driver's suspend callback, and here suspend was aborted earlier, while user space was still being frozen.
Unchanged: Omarchy's only brcmfmac code on quattro writes feature_disable=0x82000 for this chip (install/hardware/apple/fix-brcmfmac-supplicant.sh, migrations/1786391100.sh); it does not load, unload or touch the driver at suspend. We still have not shown that the P2P removal race explains this exact sequence; the kernel stacks of the stuck NetworkManager and wpa_supplicant tasks would.
What happens next: this waits on the maintainer. Moving linux-omarchy-bore to 7.2.11 or later in omacom/omarchy-pkgs brings the fix in without carrying a patch. That is also what the sleep fixes in #7333, #10332, #7180 and #12314 need before they are safe, since all of them unload or unbind the driver around sleep.