Bug 217341 - Deadlock with mt76x02u_pre_tbtt_work
Summary: Deadlock with mt76x02u_pre_tbtt_work
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: network-wireless (show other bugs)
Hardware: Intel Linux
: P3 normal
Assignee: drivers_network-wireless@kernel-bugs.osdl.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-15 06:17 UTC by yan12125
Modified: 2024-01-21 17:25 UTC (History)
1 user (show)

See Also:
Kernel Version:
Subsystem:
Regression: No
Bisected commit-id:


Attachments
Dmesg log for hung system (21.23 KB, text/plain)
2023-04-15 06:17 UTC, yan12125
Details
Lockdep log for a possible deadlock (7.78 KB, text/plain)
2023-04-15 06:19 UTC, yan12125
Details
Lockdep log with Linux 6.3 (9.87 KB, text/plain)
2023-04-24 18:00 UTC, yan12125
Details

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.

Note You need to log in before you can comment on or make changes to this bug.