You are not logged in.

#1 2023-02-13 11:18:14

misob
Member
From: Croatia
Registered: 2022-04-26
Posts: 5
Website

[SOLVED] WiFi locking up

My laptop's wifi sometimes locks up when sending some files. Be it syncthing, kdeconnect or a simple http server. Seeding torrents does not cause it to lock up.

Journalctl gives me this error.

velj 13 11:54:02 archlinux wpa_supplicant[874]: TDLS: Creating peer entry for 32:0d:42:b6:0d:50
velj 13 11:54:03 archlinux wpa_supplicant[874]: TDLS: Dialog Token in TPK M1 34
velj 13 11:54:04 archlinux wpa_supplicant[874]: nl80211: kernel reports: key addition failed
velj 13 11:54:04 archlinux wpa_supplicant[874]: TDLS: Failed to set TPK to the driver
velj 13 11:54:14 archlinux kernel: ------------[ cut here ]------------
velj 13 11:54:14 archlinux kernel: list_del corruption. prev->next should be ffff969bde20dcd0, but was 0000000000000000
velj 13 11:54:14 archlinux kernel: WARNING: CPU: 2 PID: 874 at lib/list_debug.c:59 __list_del_entry_valid+0xb0/0xd0
velj 13 11:54:14 archlinux kernel: Modules linked in: ccm btusb btrtl btbcm btintel bluetooth ecdh_generic crc16 uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_common videodev mc joydev mousedev intel_rapl_msr snd_ctl_led intel_rapl_common edac_mce_amd snd_hda_codec_realtek kvm_amd snd_hda_codec_generic kvm ledtrig_audio snd_hda_codec_hdmi snd_hda_intel irqbypass snd_intel_dspcfg hid_multitouch mt7921e crct10dif_pclmul snd_intel_sdw_acpi mt76_connac_lib crc32_pclmul snd_hda_codec ghash_clmulni_intel mt76 r8169 aesni_intel snd_hda_core snd_pci_acp5x crypto_simd cryptd snd_hwdep mac80211 snd_pcm realtek vfat acer_wmi rapl sp5100_tco pcspkr fat mdio_devres snd_timer snd_rn_pci_acp3x sparse_keymap wmi_bmof k10temp i2c_piix4 snd snd_pci_acp3x libphy soundcore ccp libarc4 i2c_hid_acpi i2c_hid pinctrl_amd acpi_cpufreq acer_wireless cfg80211 mac_hid rfkill dm_multipath dm_mod i2c_dev crypto_user fuse bpf_preload ip_tables x_tables usbhid amdgpu btrfs blake2b_generic libcrc32c crc32c_generic xor
velj 13 11:54:14 archlinux kernel:  raid6_pq serio_raw atkbd libps2 drm_ttm_helper i8042 ttm xhci_pci crc32c_intel xhci_pci_renesas gpu_sched serio video wmi
velj 13 11:54:14 archlinux kernel: CPU: 2 PID: 874 Comm: wpa_supplicant Not tainted 5.15.93-1-lts #1 ec6fe7d8aca7c756c5fcd497acc37be7259f823a
velj 13 11:54:14 archlinux kernel: Hardware name: Acer Aspire A715-42G/Azalea_CAS, BIOS V1.04 05/11/2021
velj 13 11:54:14 archlinux kernel: RIP: 0010:__list_del_entry_valid+0xb0/0xd0
velj 13 11:54:14 archlinux kernel: Code: eb d3 48 89 fe 48 89 c2 48 c7 c7 b0 9a 0c b4 e8 d6 e5 5f 00 0f 0b eb bd 48 89 fe 48 89 c2 48 c7 c7 e8 9a 0c b4 e8 c0 e5 5f 00 <0f> 0b eb a7 48 89 c6 48 c7 c7 28 9b 0c b4 e8 ad e5 5f 00 0f 0b eb
velj 13 11:54:14 archlinux kernel: RSP: 0018:ffffa7ec01a67800 EFLAGS: 00010282
velj 13 11:54:14 archlinux kernel: RAX: 0000000000000000 RBX: ffff969bde20da60 RCX: 0000000000000027
velj 13 11:54:14 archlinux kernel: RDX: ffff969e7e6a06e8 RSI: 0000000000000001 RDI: ffff969e7e6a06e0
velj 13 11:54:14 archlinux kernel: RBP: ffff969b84c8a020 R08: 0000000000000000 R09: ffffa7ec01a67610
velj 13 11:54:14 archlinux kernel: R10: ffffa7ec01a67608 R11: 0000000000000003 R12: ffff969bde20dcd0
velj 13 11:54:14 archlinux kernel: R13: ffff969b84c8da90 R14: ffff969b84c8da88 R15: 0000000000000010
velj 13 11:54:14 archlinux kernel: FS:  00007f5c01b7cdc0(0000) GS:ffff969e7e680000(0000) knlGS:0000000000000000
velj 13 11:54:14 archlinux kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
velj 13 11:54:14 archlinux kernel: CR2: 00007f92ae75c16c CR3: 0000000123784000 CR4: 0000000000350ee0
velj 13 11:54:14 archlinux kernel: Call Trace:
velj 13 11:54:14 archlinux kernel:  <TASK>
velj 13 11:54:14 archlinux kernel:  mt7921_mac_sta_remove+0xd5/0x160 [mt7921e 4e27de9a4a803dce20d6b6459b8aceab8777f2fd]
velj 13 11:54:14 archlinux kernel:  __mt76_sta_remove+0x69/0xc0 [mt76 0df5baf2f96a4b51182dcea67f73cb3b69a98eaa]
velj 13 11:54:14 archlinux kernel:  mt76_sta_state+0x16f/0x180 [mt76 0df5baf2f96a4b51182dcea67f73cb3b69a98eaa]
velj 13 11:54:14 archlinux kernel:  drv_sta_state+0x7c/0x480 [mac80211 0561d772199220863466749ea5b06c7d4a9f8f90]
velj 13 11:54:14 archlinux kernel:  __sta_info_destroy_part2+0x129/0x160 [mac80211 0561d772199220863466749ea5b06c7d4a9f8f90]
velj 13 11:54:14 archlinux kernel:  sta_info_destroy_addr+0x75/0xa0 [mac80211 0561d772199220863466749ea5b06c7d4a9f8f90]
velj 13 11:54:14 archlinux kernel:  ieee80211_tdls_oper+0xd1/0x230 [mac80211 0561d772199220863466749ea5b06c7d4a9f8f90]
velj 13 11:54:14 archlinux kernel:  nl80211_tdls_oper+0x7a/0x120 [cfg80211 6068148fb8060c01baa0fd9015097f589341a165]
velj 13 11:54:14 archlinux kernel:  genl_family_rcv_msg_doit+0x100/0x160
velj 13 11:54:14 archlinux kernel:  genl_rcv_msg+0xee/0x1e0
velj 13 11:54:14 archlinux kernel:  ? nl80211_del_tx_ts+0x120/0x120 [cfg80211 6068148fb8060c01baa0fd9015097f589341a165]
velj 13 11:54:14 archlinux kernel:  ? genl_get_cmd+0xe0/0xe0
velj 13 11:54:14 archlinux kernel:  netlink_rcv_skb+0x51/0x100
velj 13 11:54:14 archlinux kernel:  genl_rcv+0x24/0x40
velj 13 11:54:14 archlinux kernel:  netlink_unicast+0x234/0x370
velj 13 11:54:14 archlinux kernel:  netlink_sendmsg+0x250/0x4d0
velj 13 11:54:14 archlinux kernel:  sock_sendmsg+0x5f/0x70
velj 13 11:54:14 archlinux kernel:  ____sys_sendmsg+0x267/0x2b0
velj 13 11:54:14 archlinux kernel:  ? import_iovec+0x17/0x20
velj 13 11:54:14 archlinux kernel:  ___sys_sendmsg+0x96/0xd0
velj 13 11:54:14 archlinux kernel:  __sys_sendmsg+0x76/0xc0
velj 13 11:54:14 archlinux kernel:  do_syscall_64+0x5b/0x80
velj 13 11:54:14 archlinux kernel:  ? syscall_exit_to_user_mode+0x23/0x50
velj 13 11:54:14 archlinux kernel:  ? do_syscall_64+0x67/0x80
velj 13 11:54:14 archlinux kernel:  ? __audit_syscall_exit+0x251/0x2b0
velj 13 11:54:14 archlinux kernel:  ? syscall_exit_to_user_mode+0x23/0x50
velj 13 11:54:14 archlinux kernel:  ? do_syscall_64+0x67/0x80
velj 13 11:54:14 archlinux kernel:  ? do_syscall_64+0x67/0x80
velj 13 11:54:14 archlinux kernel:  ? do_syscall_64+0x67/0x80
velj 13 11:54:14 archlinux kernel:  entry_SYSCALL_64_after_hwframe+0x61/0xcb
velj 13 11:54:14 archlinux kernel: RIP: 0033:0x7f5c01ffedb4
velj 13 11:54:14 archlinux kernel: Code: 15 c1 df 0c 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 f3 0f 1e fa 80 3d 4d 66 0d 00 00 74 13 b8 2e 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 54 c3 0f 1f 00 48 83 ec 28 89 54 24 1c 48 89
velj 13 11:54:14 archlinux kernel: RSP: 002b:00007ffd45e73778 EFLAGS: 00000202 ORIG_RAX: 000000000000002e
velj 13 11:54:14 archlinux kernel: RAX: ffffffffffffffda RBX: 00005615731b3990 RCX: 00007f5c01ffedb4
velj 13 11:54:14 archlinux kernel: RDX: 0000000000000000 RSI: 00007ffd45e737b0 RDI: 0000000000000006
velj 13 11:54:14 archlinux kernel: RBP: 000056157324e300 R08: 0000000000000004 R09: 000000000000000d
velj 13 11:54:14 archlinux kernel: R10: 00007ffd45e73890 R11: 0000000000000202 R12: 00005615731b3c70
velj 13 11:54:14 archlinux kernel: R13: 00007ffd45e737b0 R14: 0000000000000000 R15: 00007ffd45e73890
velj 13 11:54:14 archlinux kernel:  </TASK>
velj 13 11:54:14 archlinux kernel: ---[ end trace cf5ac7812b1e912d ]---

Thank you

Last edited by misob (2023-02-14 20:20:15)

Offline

#2 2023-02-13 19:40:50

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,999
Website

Re: [SOLVED] WiFi locking up

Try one of the non-LTS kernel versions: https://github.com/openwrt/mt76/issues/681


Jin, Jîyan, Azadî

Offline

#3 2023-02-13 20:18:28

misob
Member
From: Croatia
Registered: 2022-04-26
Posts: 5
Website

Re: [SOLVED] WiFi locking up

I mostly use non-LTS kernels. The issue has been present for as long as I can remember.

Offline

#4 2023-02-13 20:51:32

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,999
Website

Re: [SOLVED] WiFi locking up

Check for conflicting network services:

find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f

Jin, Jîyan, Azadî

Offline

#5 2023-02-13 22:21:35

misob
Member
From: Croatia
Registered: 2022-04-26
Posts: 5
Website

Re: [SOLVED] WiFi locking up

I use NetworkManager with wpa_supplicant. Can't see any conflict.

auto-cpufreq.service                     | multi-user.target.wants
dbus-org.freedesktop.nm-dispatcher.service | system
display-manager.service                  | system
gcr-ssh-agent.socket                     | sockets.target.wants
getty@tty1.service                       | getty.target.wants
gnome-keyring-daemon.socket              | sockets.target.wants
NetworkManager.service                   | multi-user.target.wants
NetworkManager-wait-online.service       | network-online.target.wants
optimus-manager.service                  | graphical.target.wants
p11-kit-server.socket                    | sockets.target.wants
pipewire-session-manager.service         | user
pipewire.socket                          | sockets.target.wants
podman.socket                            | sockets.target.wants
pulseaudio.socket                        | sockets.target.wants
remote-fs.target                         | multi-user.target.wants
sshd.service                             | multi-user.target.wants
wireplumber.service                      | pipewire.service.wants
xdg-user-dirs-update.service             | default.target.wants

Last edited by misob (2023-02-13 22:21:57)

Offline

#6 2023-02-14 08:05:36

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 70,807

Re: [SOLVED] WiFi locking up

Disable https://wiki.archlinux.org/title/Networ … domization
Gut feeling b/c of "mt7921_mac_sta_remove"

Offline

#7 2023-02-14 17:21:29

misob
Member
From: Croatia
Registered: 2022-04-26
Posts: 5
Website

Re: [SOLVED] WiFi locking up

Tested on a different network, not my usual one. Seems to have solved the issue. Even though on this network I never got the same kernel error and it took more for the lock-up to occur.

Offline

#8 2023-02-14 20:00:07

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 70,807

Re: [SOLVED] WiFi locking up

You should probably first test it on the "usual" network and then please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

#9 2023-02-14 20:19:47

misob
Member
From: Croatia
Registered: 2022-04-26
Posts: 5
Website

Re: [SOLVED] WiFi locking up

Will do, thanks.

I am away from my usual network. I will be returning there in 2 days. Will reply to this thread if there are any issues then.

Offline

Board footer

Powered by FluxBB