Re: hang during shutdown in next-20260722+ with MT7925
From: Nicolas Cavallari
Date: Sun Jul 26 2026 - 05:21:20 EST
On 7/24/26 17:14, Bert Karwatzki wrote:
> Since next-20260722 my debian sid system hangs when shutting down or
> rebooting (No error message when monitoring the shutdown process via
> netconsole). I bisected the error to commit
> 13b7e6a96a00 ("wifi: mt76: Disable napi when removing device")
> and reverting this commit in next-20260723 makes shutting down or
> rebooting work normally again.
You can probably reproduce the problem with more logs by just unloading
the mt7925 module. I'm on vacation on a half-broken laptop, but try this
patch:
diff --git a/drivers/net/wireless/mediatek/mt76/mt7925/pci.c
b/drivers/net/wireless/mediatek/mt76/mt7925/pci.c
index 4e734f4f65d1..f606c0a8ad29 100644
--- a/drivers/net/wireless/mediatek/mt76/mt7925/pci.c
+++ b/drivers/net/wireless/mediatek/mt76/mt7925/pci.c
@@ -50,8 +50,6 @@ static void mt7925e_unregister_device(struct
mt792x_dev *dev)
cancel_work_sync(&dev->reset_work);
cancel_work_sync(&dev->init_work);
mt76_unregister_device(&dev->mt76);
- mt76_for_each_q_rx(&dev->mt76, i)
- napi_disable(&dev->mt76.napi[i]);
cancel_delayed_work_sync(&pm->ps_work);
cancel_delayed_work_sync(&dev->mlo_pm_work);
cancel_work_sync(&pm->wake_work);