Bug 217341

Summary: Deadlock with mt76x02u_pre_tbtt_work
Product: Drivers Reporter: yan12125 (3cmqut5e44sxaake)
Component: network-wirelessAssignee: drivers_network-wireless (drivers_network-wireless)
Status: NEW ---    
Severity: normal CC: regressions
Priority: P3    
Hardware: Intel   
OS: Linux   
Kernel Version: Subsystem:
Regression: No Bisected commit-id:
Attachments: Dmesg log for hung system
Lockdep log for a possible deadlock
Lockdep log with Linux 6.3

Description yan12125 2023-04-15 06:17:42 UTC
Created attachment 304139 [details]
Dmesg log for hung system

Since Linux LTS 6.1.21, I got system hang from time to time (see 0326-6.1.21-1-lts.txt for one captured dmesg log) when I'm using my MT7610U chip as AP.

lsusb reports the wireless adapter as 0b05:17d1 ASUSTek Computer, Inc. AC51 802.11a/b/g/n/ac Wireless Adapter [Mediatek MT7610U].

The system is Arch Linux. I'm using NetworkManager 1.42.4 and wpa_supplicant 2.10 for setting up the AP.
Comment 1 yan12125 2023-04-15 06:19:29 UTC
Created attachment 304140 [details]
Lockdep log for a possible deadlock

Lockdep shows there are possible deadlocks. The attached log is for 6.1.23, and I got similar logs on 6.1.15, 6.1.20, 6.1.21 and 6.1.22 as well.
Comment 2 The Linux kernel's regression tracker (Thorsten Leemhuis) 2023-04-24 08:41:02 UTC
Sorry, had missed this report earlier.

Does this problem still happen? BTW, would be good to know if this happens with 6.3 as well.
Comment 3 yan12125 2023-04-24 17:59:12 UTC
I still got lockdep warnings with 6.2.11 and 6.3. I got no more hangs with 6.2.11 after using it for several days. Not sure if those lockdep warnings are false positives or not.
Comment 4 yan12125 2023-04-24 18:00:03 UTC
Created attachment 304184 [details]
Lockdep log with Linux 6.3
Comment 5 The Linux kernel's regression tracker (Thorsten Leemhuis) 2023-04-25 13:25:02 UTC
Please allow me one more question before I contact some developers then: do you still care getting the bug fixed in 6.1.y? Or will you stay on newer kernels anyway?
Comment 6 yan12125 2023-04-25 19:50:39 UTC
I'm fine with moving to 6.3.x, assuming lockdep warnings are false positives.
Comment 7 yan12125 2024-01-21 17:25:02 UTC
This happens again with 6.6.12-1-lts, so the bug is probably still there, just more rare. I will try 6.7 and see if I can get the bug there.


Should I also upload a new dmesg log for 6.6.12-1-lts? Logs for different kernel versions seem quite similar. I'm not sure if more logs are helpful or just adding noises.