ath9k: ath9k_txq_has_key regularly produces soft lockups
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
We first saw this bug using the Kernel 5.4.0-89 shipped provided by Ubuntu. 5.4.0-88 still works fine. I'm not a kernel expert but https:/
The bug is hard to reproduce under lab conditions but happens regularly on our mobile robots. We suspect that it's related to roaming. The log below is one of the first occurrences of this bug from October last year:
Oct 21 09:51:53 toru-0071 kernel: watchdog: BUG: soft lockup - CPU#7 stuck for 22s! [wpa_supplicant
Oct 21 09:51:53 toru-0071 kernel: Modules linked in: can_raw can xsk_diag af_packet_diag netlink_diag tcp_diag udp_diag raw_diag inet_diag unix_diag nft_ct nf_tables_set ccm ath9k ath9k_common ath9k_hw ath inte>
Oct 21 09:51:53 toru-0071 kernel: glue_helper igb e1000e drm ahci dca i2c_i801 i2c_algo_bit libahci video
Oct 21 09:51:53 toru-0071 kernel: CPU: 7 PID: 484 Comm: wpa_supplicant Tainted: G OEL 5.4.0-89-generic #100-Ubuntu
Oct 21 09:51:53 toru-0071 kernel: Hardware name: Default string Default string/SKYBAY, BIOS 5.12 03/28/2017
Oct 21 09:51:53 toru-0071 kernel: RIP: 0010:ath9k_
Oct 21 09:51:53 toru-0071 kernel: Code: 8d 84 10 22 01 00 00 48 c1 e0 04 49 8b 44 05 10 48 39 c6 74 26 0f b6 58 53 84 db 75 16 48 8b 48 20 48 85 c9 74 0d 0f b6 49 4b <41> 39 c9 0f 84 6e ff ff ff 48 8b 00 48 39 >
Oct 21 09:51:53 toru-0071 kernel: RSP: 0018:ffffb1dec0
Oct 21 09:51:53 toru-0071 kernel: RAX: ffff96524e14ac98 RBX: 0000000000000000 RCX: 00000000000000ff
Oct 21 09:51:53 toru-0071 kernel: RDX: 0000000000000001 RSI: ffff96524e7e3320 RDI: ffff96524e7e3310
Oct 21 09:51:53 toru-0071 kernel: RBP: ffffb1dec0693670 R08: ffff965241f15630 R09: 0000000000000004
Oct 21 09:51:53 toru-0071 kernel: R10: 0000000000000027 R11: 0000000000000000 R12: 0000000000000003
Oct 21 09:51:53 toru-0071 kernel: R13: ffff96524e7e1e80 R14: 000000000000014a R15: ffff96524e7e3300
Oct 21 09:51:53 toru-0071 kernel: FS: 00007f5be4a7614
Oct 21 09:51:53 toru-0071 kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Oct 21 09:51:53 toru-0071 kernel: CR2: 00007f814ca21028 CR3: 000000080ce6a006 CR4: 00000000003606e0
Oct 21 09:51:53 toru-0071 kernel: DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Oct 21 09:51:53 toru-0071 kernel: DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Oct 21 09:51:53 toru-0071 kernel: Call Trace:
Oct 21 09:51:53 toru-0071 kernel: ath9k_set_
Oct 21 09:51:53 toru-0071 kernel: ieee80211_
Oct 21 09:51:53 toru-0071 kernel: ieee80211_
Oct 21 09:51:53 toru-0071 kernel: __sta_info_
Oct 21 09:51:53 toru-0071 kernel: __sta_info_
Oct 21 09:51:53 toru-0071 kernel: ieee80211_
Oct 21 09:51:53 toru-0071 kernel: ieee80211_
Oct 21 09:51:53 toru-0071 kernel: ieee80211_
Oct 21 09:51:53 toru-0071 kernel: cfg80211_
Oct 21 09:51:53 toru-0071 kernel: nl80211_
Oct 21 09:51:53 toru-0071 kernel: genl_family_
Oct 21 09:51:53 toru-0071 kernel: ? __netlink_
Oct 21 09:51:53 toru-0071 kernel: genl_rcv_
Oct 21 09:51:53 toru-0071 kernel: ? _cond_resched+
Oct 21 09:51:53 toru-0071 kernel: ? genl_family_
Oct 21 09:51:53 toru-0071 kernel: netlink_
Oct 21 09:51:53 toru-0071 kernel: genl_rcv+0x29/0x40
Oct 21 09:51:53 toru-0071 kernel: netlink_
Oct 21 09:51:53 toru-0071 kernel: netlink_
Oct 21 09:51:53 toru-0071 kernel: sock_sendmsg+
Oct 21 09:51:53 toru-0071 kernel: ____sys_
Oct 21 09:51:53 toru-0071 kernel: ___sys_
Oct 21 09:51:53 toru-0071 kernel: ? sock_sendmsg+
Oct 21 09:51:53 toru-0071 kernel: ? sock_write_
Oct 21 09:51:53 toru-0071 kernel: ? new_sync_
Oct 21 09:51:53 toru-0071 kernel: ? __cgroup_
Oct 21 09:51:53 toru-0071 kernel: ? _cond_resched+
Oct 21 09:51:53 toru-0071 kernel: ? aa_sk_perm+
Oct 21 09:51:53 toru-0071 kernel: __sys_sendmsg+
Oct 21 09:51:53 toru-0071 kernel: __x64_sys_
Oct 21 09:51:53 toru-0071 kernel: do_syscall_
Oct 21 09:51:53 toru-0071 kernel: entry_SYSCALL_
Oct 21 09:51:53 toru-0071 kernel: RIP: 0033:0x7f5be4e06747
Oct 21 09:51:53 toru-0071 kernel: Code: 64 89 02 48 c7 c0 ff ff ff ff eb bb 0f 1f 80 00 00 00 00 f3 0f 1e fa 64 8b 04 25 18 00 00 00 85 c0 75 10 b8 2e 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 51 c3 48 83 ec 28 89 >
Oct 21 09:51:53 toru-0071 kernel: RSP: 002b:00007fff90
Oct 21 09:51:53 toru-0071 kernel: RAX: ffffffffffffffda RBX: 0000558020f4b440 RCX: 00007f5be4e06747
Oct 21 09:51:53 toru-0071 kernel: RDX: 0000000000000000 RSI: 00007fff905645d0 RDI: 0000000000000004
Oct 21 09:51:53 toru-0071 kernel: RBP: 0000558020f52830 R08: 0000000000000004 R09: 00007f5be4eceb80
Oct 21 09:51:53 toru-0071 kernel: R10: 00007fff905646a4 R11: 0000000000000246 R12: 0000558020f4b350
Oct 21 09:51:53 toru-0071 kernel: R13: 00007fff905645d0 R14: 00007fff905646a4 R15: 0000558020f53440
Description: Ubuntu 20.04.4 LTS
Release: 20.04
This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:
apport-collect 1979571
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.