You are not logged in.
Hardware: D-Link PCI Express Wireless Adapter Card AC1200 Dual Band Gigabit Ethernet Network Wi-Fi PCIe Desktop (DWA-582) - this is a PCIe wifi adapter using a realtek driver.
This has been happening most often since pacman sync a few days ago. network-manager keeps losing the connection. I reconnect successfully and it seems fine for a bit, then happens again. Sometimes I have mere minutes, sometimes it's fine for perhaps a few hours.
I finally tailed it with journalctl -fb and saw the following.
Sep 17 20:44:05 thanatos NetworkManager[475]: <warn> [1600389845.8256] device (wlp6s0): no secrets: No agents were available for this request.
Sep 17 20:44:05 thanatos kernel: ------------[ cut here ]------------
Sep 17 20:44:05 thanatos kernel: WARNING: CPU: 2 PID: 475 at drivers/iommu/dma-iommu.c:471 __iommu_dma_unmap+0xe8/0x100
Sep 17 20:44:05 thanatos kernel: Modules linked in: fuse ccm nls_iso8859_1 nls_cp437 hid_logitech_hidpp joydev input_leds mousedev hid_logitech_dj edac_mce_amd amdgpu eeepc_wmi hid_generic asus_wmi battery kvm_amd sparse_keymap mxm_wmi rtl8821ae wmi_bmof kvm snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio snd_hda_codec_hdmi btcoexist snd_hda_intel snd_intel_dspcfg snd_hda_codec snd_hda_core irqbypass rtl_pci crct10dif_pclmul ghash_clmulni_intel rtlwifi ti_usb_3410_5052 aesni_intel mac80211 snd_hwdep snd_pcm gpu_sched crypto_simd cfg80211 cryptd snd_timer ttm glue_helper usbhid snd soundcore drm_kms_helper hid rapl rfkill cec libarc4 igb pcspkr rc_core syscopyarea sysfillrect sysimgblt fb_sys_fops sp5100_tco i2c_algo_bit ccp dca rng_core k10temp i2c_piix4 wmi evdev pinctrl_amd acpi_cpufreq mac_hid gpio_amdpt drm crypto_user agpgart ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 crc32_pclmul crc32c_intel xhci_pci xhci_pci_renesas xhci_hcd vfat fat
Sep 17 20:44:05 thanatos kernel: CPU: 2 PID: 475 Comm: NetworkManager Tainted: G W 5.8.9-arch2-1 #1
Sep 17 20:44:05 thanatos kernel: Hardware name: System manufacturer System Product Name/PRIME X470-PRO, BIOS 5007 06/17/2019
Sep 17 20:44:05 thanatos kernel: RIP: 0010:__iommu_dma_unmap+0xe8/0x100
Sep 17 20:44:05 thanatos kernel: Code: c0 74 0b 48 89 e6 4c 89 f7 e8 24 63 76 00 48 c7 44 24 08 00 00 00 00 48 c7 44 24 10 00 00 00 00 48 c7 04 24 ff ff ff ff eb a1 <0f> 0b eb 93 e8 1f 4c 36 00 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f
Sep 17 20:44:05 thanatos kernel: RSP: 0018:ffff9f9a80883218 EFLAGS: 00010006
Sep 17 20:44:05 thanatos kernel: RAX: 0000000040000000 RBX: 00000000000009d8 RCX: 0000000000000015
Sep 17 20:44:05 thanatos kernel: RDX: 0000000000000012 RSI: ffffffffc0000000 RDI: 0000000000000000
Sep 17 20:44:05 thanatos kernel: RBP: 0000000000000000 R08: ffff9f9a80883190 R09: 0000000000000000
Sep 17 20:44:05 thanatos kernel: R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000001000
Sep 17 20:44:05 thanatos kernel: R13: ffff8ec0d9088000 R14: ffff8ec0db017c10 R15: 00000000000009d8
Sep 17 20:44:05 thanatos kernel: FS: 00007f8dfbd5e400(0000) GS:ffff8ec0e0880000(0000) knlGS:0000000000000000
Sep 17 20:44:05 thanatos kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Sep 17 20:44:05 thanatos kernel: CR2: 00003dea0add2000 CR3: 00000007fed86000 CR4: 00000000003406e0
Sep 17 20:44:05 thanatos kernel: Call Trace:
Sep 17 20:44:05 thanatos kernel: rtl_pci_reset_trx_ring+0x1fa/0x3a0 [rtl_pci]
Sep 17 20:44:05 thanatos kernel: rtl_ps_enable_nic+0x28/0x150 [rtlwifi]
Sep 17 20:44:05 thanatos kernel: rtl8821ae_phy_set_rf_power_state+0x72/0x380 [rtl8821ae]
Sep 17 20:44:05 thanatos kernel: rtl_ps_set_rf_state.isra.0+0xc0/0x100 [rtlwifi]
Sep 17 20:44:05 thanatos kernel: _rtl_ps_inactive_ps+0x36/0xc0 [rtlwifi]
Sep 17 20:44:05 thanatos kernel: rtl_ips_nic_on+0x7a/0xc0 [rtlwifi]
Sep 17 20:44:05 thanatos kernel: rtl_op_stop+0xf5/0x100 [rtlwifi]
Sep 17 20:44:05 thanatos kernel: drv_stop+0x2f/0x130 [mac80211]
Sep 17 20:44:05 thanatos kernel: ieee80211_do_stop+0x59d/0x8b0 [mac80211]
Sep 17 20:44:05 thanatos kernel: ieee80211_stop+0x16/0x20 [mac80211]
Sep 17 20:44:05 thanatos kernel: __dev_close_many+0xaa/0x120
Sep 17 20:44:05 thanatos kernel: __dev_change_flags+0xdf/0x200
Sep 17 20:44:05 thanatos kernel: dev_change_flags+0x21/0x60
Sep 17 20:44:05 thanatos kernel: do_setlink+0x2b7/0xfd0
Sep 17 20:44:05 thanatos kernel: ? __nla_validate_parse+0x5f/0x910
Sep 17 20:44:05 thanatos kernel: ? __iommu_map+0xfa/0x250
Sep 17 20:44:05 thanatos kernel: __rtnl_newlink+0x65f/0x9e0
Sep 17 20:44:05 thanatos kernel: rtnl_newlink+0x44/0x70
Sep 17 20:44:05 thanatos kernel: rtnetlink_rcv_msg+0x13e/0x390
Sep 17 20:44:05 thanatos kernel: ? rtnl_calcit.isra.0+0x120/0x120
Sep 17 20:44:05 thanatos kernel: netlink_rcv_skb+0x75/0x140
Sep 17 20:44:05 thanatos kernel: netlink_unicast+0x242/0x340
Sep 17 20:44:05 thanatos kernel: netlink_sendmsg+0x243/0x480
Sep 17 20:44:05 thanatos kernel: sock_sendmsg+0x5e/0x60
Sep 17 20:44:05 thanatos kernel: ____sys_sendmsg+0x25a/0x2a0
Sep 17 20:44:05 thanatos kernel: ? copy_msghdr_from_user+0x6e/0xa0
Sep 17 20:44:05 thanatos kernel: ___sys_sendmsg+0x97/0xe0
Sep 17 20:44:05 thanatos kernel: __sys_sendmsg+0x81/0xd0
Sep 17 20:44:05 thanatos kernel: do_syscall_64+0x44/0x70
Sep 17 20:44:05 thanatos kernel: entry_SYSCALL_64_after_hwframe+0x44/0xa9
Sep 17 20:44:05 thanatos kernel: RIP: 0033:0x7f8dfd05981d
Sep 17 20:44:05 thanatos kernel: Code: 28 89 54 24 1c 48 89 74 24 10 89 7c 24 08 e8 8a 40 f8 ff 8b 54 24 1c 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 2e 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 33 44 89 c7 48 89 44 24 08 e8 de 40 f8 ff 48
Sep 17 20:44:05 thanatos kernel: RSP: 002b:00007ffef9d66fb0 EFLAGS: 00000293 ORIG_RAX: 000000000000002e
Sep 17 20:44:05 thanatos kernel: RAX: ffffffffffffffda RBX: 000055cc28783050 RCX: 00007f8dfd05981d
Sep 17 20:44:05 thanatos kernel: RDX: 0000000000000000 RSI: 00007ffef9d66ff0 RDI: 000000000000000c
Sep 17 20:44:05 thanatos kernel: RBP: 0000000000000878 R08: 0000000000000000 R09: 0000000000000000
Sep 17 20:44:05 thanatos kernel: R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000
Sep 17 20:44:05 thanatos kernel: R13: 00007ffef9d67140 R14: 00007ffef9d6713c R15: 0000000000000000
Sep 17 20:44:05 thanatos kernel: ---[ end trace c8c70905a16fe707 ]---
Sep 17 20:44:05 thanatos NetworkManager[475]: <info> [1600389845.8257] device (wlp6s0): state change: need-auth -> failed (reason 'no-secrets', sys-iface-state: 'managed')
Sep 17 20:44:05 thanatos NetworkManager[475]: <info> [1600389845.8265] manager: NetworkManager state is now DISCONNECTED
Sep 17 20:44:06 thanatos systemd-networkd[329]: wlp6s0: Link DOWN
Sep 17 20:44:06 thanatos NetworkManager[475]: <info> [1600389846.1531] device (wlp6s0): set-hw-addr: set MAC address to EA:4C:0A:19:72:CB (scanning)
Sep 17 20:44:06 thanatos systemd-networkd[329]: wlp6s0: Link UP
Sep 17 20:44:06 thanatos NetworkManager[475]: <warn> [1600389846.4802] device (wlp6s0): Activation: failed for connection 'lanesend'
Sep 17 20:44:06 thanatos NetworkManager[475]: <info> [1600389846.4831] device (wlp6s0): supplicant interface state: inactive -> interface_disabled
Sep 17 20:44:06 thanatos NetworkManager[475]: <info> [1600389846.4832] device (p2p-dev-wlp6s0): supplicant management interface state: inactive -> interface_disabled
Sep 17 20:44:06 thanatos NetworkManager[475]: <info> [1600389846.4832] device (wlp6s0): supplicant interface state: interface_disabled -> inactive
Sep 17 20:44:06 thanatos NetworkManager[475]: <info> [1600389846.4832] device (p2p-dev-wlp6s0): supplicant management interface state: interface_disabled -> inactive
Sep 17 20:44:06 thanatos NetworkManager[475]: <info> [1600389846.4843] device (wlp6s0): state change: failed -> disconnected (reason 'none', sys-iface-state: 'managed')
Sep 17 20:44:06 thanatos wpa_supplicant[490]: wlp6s0: Reject scan trigger since one is already pending
Any thoughts on a solution would be appreciated.
uname -a output:
Linux thanatos 5.8.9-arch2-1 #1 SMP PREEMPT Sun, 13 Sep 2020 23:44:55 +0000 x86_64 GNU/Linux
Offline
I did another update in the past day or two and stability seems improved. Now I am on kernel 5.8.10-arch1-1.
I still had at least one loss of wifi. I didn't investigate what caused it, but will try to check the logs next time it happens.
(Also, to add a datapoint I should have mentioned in the first place, other wifi devices around the house are working fine.)
Offline
Seems to have happened again last night, but the frequency of this has dropped significantly.
Sep 21 22:11:04 thanatos NetworkManager[476]: <warn> [1600740664.0614] device (wlp6s0): no secrets: No agents were available for this request.
Sep 21 22:11:04 thanatos NetworkManager[476]: <info> [1600740664.0614] device (wlp6s0): state change: need-auth -> failed (reason 'no-secrets', sys-iface-state: 'managed')
Sep 21 22:11:04 thanatos NetworkManager[476]: <info> [1600740664.0623] manager: NetworkManager state is now DISCONNECTED
Sep 21 22:11:04 thanatos kernel: ------------[ cut here ]------------
Sep 21 22:11:04 thanatos kernel: WARNING: CPU: 3 PID: 476 at drivers/iommu/dma-iommu.c:471 __iommu_dma_unmap+0xe8/0x100
Sep 21 22:11:04 thanatos kernel: Modules linked in: fuse ccm nls_iso8859_1 nls_cp437 hid_logitech_hidpp joydev amdgpu hid_logitech_dj mousedev input_leds rtl8821ae eeepc_wmi btcoexist wmi_bmof asus_wmi mxm_wmi gpu_sched hid_generic battery sparse_keymap edac_mce_amd snd_>
Sep 21 22:11:04 thanatos kernel: CPU: 3 PID: 476 Comm: NetworkManager Tainted: G W 5.8.10-arch1-1 #1
Sep 21 22:11:04 thanatos kernel: Hardware name: System manufacturer System Product Name/PRIME X470-PRO, BIOS 5007 06/17/2019
Sep 21 22:11:04 thanatos kernel: RIP: 0010:__iommu_dma_unmap+0xe8/0x100
Sep 21 22:11:04 thanatos kernel: Code: c0 74 0b 48 89 e6 4c 89 f7 e8 e4 73 76 00 48 c7 44 24 08 00 00 00 00 48 c7 44 24 10 00 00 00 00 48 c7 04 24 ff ff ff ff eb a1 <0f> 0b eb 93 e8 df 4c 36 00 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f
Sep 21 22:11:04 thanatos kernel: RSP: 0018:ffffb8c3c0857218 EFLAGS: 00010006
Sep 21 22:11:04 thanatos kernel: RAX: 0000000040000000 RBX: 00000000000009d8 RCX: 0000000000000015
Sep 21 22:11:04 thanatos kernel: RDX: 0000000000000012 RSI: ffffffffc0000000 RDI: 0000000000000000
Sep 21 22:11:04 thanatos kernel: RBP: 0000000000000000 R08: ffffb8c3c0857190 R09: 0000000000000000
Sep 21 22:11:04 thanatos kernel: R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000001000
Sep 21 22:11:04 thanatos kernel: R13: ffff98cc59046000 R14: ffff98cc5c26d210 R15: 00000000000009d8
Sep 21 22:11:04 thanatos kernel: FS: 00007fcb9e9f8400(0000) GS:ffff98cc608c0000(0000) knlGS:0000000000000000
Sep 21 22:11:04 thanatos kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Sep 21 22:11:04 thanatos kernel: CR2: 00007f6b3a71eb54 CR3: 00000008022fa000 CR4: 00000000003406e0
Sep 21 22:11:04 thanatos kernel: Call Trace:
Sep 21 22:11:04 thanatos kernel: rtl_pci_reset_trx_ring+0x1fa/0x3a0 [rtl_pci]
Sep 21 22:11:04 thanatos kernel: rtl_ps_enable_nic+0x28/0x150 [rtlwifi]
Sep 21 22:11:04 thanatos kernel: rtl8821ae_phy_set_rf_power_state+0x72/0x380 [rtl8821ae]
Sep 21 22:11:04 thanatos kernel: rtl_ps_set_rf_state.isra.0+0xc0/0x100 [rtlwifi]
Sep 21 22:11:04 thanatos kernel: _rtl_ps_inactive_ps+0x36/0xc0 [rtlwifi]
Sep 21 22:11:04 thanatos kernel: rtl_ips_nic_on+0x7a/0xc0 [rtlwifi]
Sep 21 22:11:04 thanatos kernel: rtl_op_stop+0xf5/0x100 [rtlwifi]
Sep 21 22:11:04 thanatos kernel: drv_stop+0x2f/0x130 [mac80211]
Sep 21 22:11:04 thanatos kernel: ieee80211_do_stop+0x59d/0x8b0 [mac80211]
Sep 21 22:11:04 thanatos kernel: ieee80211_stop+0x16/0x20 [mac80211]
Sep 21 22:11:04 thanatos kernel: __dev_close_many+0xaa/0x120
Sep 21 22:11:04 thanatos kernel: __dev_change_flags+0xdf/0x200
Sep 21 22:11:04 thanatos kernel: dev_change_flags+0x21/0x60
Sep 21 22:11:04 thanatos kernel: do_setlink+0x2b7/0xfd0
Sep 21 22:11:04 thanatos kernel: ? update_blocked_averages+0x539/0x620
Sep 21 22:11:04 thanatos kernel: ? __nla_validate_parse+0x5f/0x910
Sep 21 22:11:04 thanatos kernel: __rtnl_newlink+0x65f/0x9e0
Sep 21 22:11:04 thanatos kernel: rtnl_newlink+0x44/0x70
Sep 21 22:11:04 thanatos kernel: rtnetlink_rcv_msg+0x13e/0x390
Sep 21 22:11:04 thanatos kernel: ? rtnl_calcit.isra.0+0x120/0x120
Sep 21 22:11:04 thanatos kernel: netlink_rcv_skb+0x75/0x140
Sep 21 22:11:04 thanatos kernel: netlink_unicast+0x242/0x340
Sep 21 22:11:04 thanatos kernel: netlink_sendmsg+0x243/0x480
Sep 21 22:11:04 thanatos kernel: sock_sendmsg+0x5e/0x60
Sep 21 22:11:04 thanatos kernel: ____sys_sendmsg+0x25a/0x2a0
Sep 21 22:11:04 thanatos kernel: ? copy_msghdr_from_user+0x6e/0xa0
Sep 21 22:11:04 thanatos kernel: ___sys_sendmsg+0x97/0xe0
Sep 21 22:11:04 thanatos kernel: __sys_sendmsg+0x81/0xd0
Sep 21 22:11:04 thanatos kernel: do_syscall_64+0x44/0x70
Sep 21 22:11:04 thanatos kernel: entry_SYSCALL_64_after_hwframe+0x44/0xa9
Sep 21 22:11:04 thanatos kernel: RIP: 0033:0x7fcb9fcf381d
Sep 21 22:11:04 thanatos kernel: Code: 28 89 54 24 1c 48 89 74 24 10 89 7c 24 08 e8 8a 40 f8 ff 8b 54 24 1c 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 2e 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 33 44 89 c7 48 89 44 24 08 e8 de 40 f8 ff 48
Sep 21 22:11:04 thanatos kernel: RSP: 002b:00007ffc88ac5b00 EFLAGS: 00000293 ORIG_RAX: 000000000000002e
Sep 21 22:11:04 thanatos kernel: RAX: ffffffffffffffda RBX: 0000561390d3b050 RCX: 00007fcb9fcf381d
Sep 21 22:11:04 thanatos kernel: RDX: 0000000000000000 RSI: 00007ffc88ac5b40 RDI: 000000000000000c
Sep 21 22:11:04 thanatos kernel: RBP: 00000000000000db R08: 0000000000000000 R09: 0000000000000000
Sep 21 22:11:04 thanatos kernel: R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000
Sep 21 22:11:04 thanatos kernel: R13: 00007ffc88ac5c90 R14: 00007ffc88ac5c8c R15: 0000000000000000
Sep 21 22:11:04 thanatos kernel: ---[ end trace 30c64654ad5aef6e ]---
Sep 21 22:11:04 thanatos systemd-networkd[331]: wlp6s0: Link DOWN
Sep 21 22:11:04 thanatos NetworkManager[476]: <info> [1600740664.3930] device (wlp6s0): set-hw-addr: set MAC address to AE:BF:7C:13:19:6E (scanning)
Sep 21 22:11:04 thanatos systemd-networkd[331]: wlp6s0: Link UP
Sep 21 22:11:04 thanatos NetworkManager[476]: <warn> [1600740664.7209] device (wlp6s0): Activation: failed for connection 'lanesend'
Sep 21 22:11:04 thanatos NetworkManager[476]: <info> [1600740664.7259] device (wlp6s0): supplicant interface state: inactive -> interface_disabled
Sep 21 22:11:04 thanatos NetworkManager[476]: <info> [1600740664.7259] device (p2p-dev-wlp6s0): supplicant management interface state: inactive -> interface_disabled
Sep 21 22:11:04 thanatos NetworkManager[476]: <info> [1600740664.7304] device (wlp6s0): state change: failed -> disconnected (reason 'none', sys-iface-state: 'managed')
Sep 21 22:11:04 thanatos NetworkManager[476]: <info> [1600740664.7998] device (wlp6s0): supplicant interface state: interface_disabled -> inactive
Sep 21 22:11:04 thanatos NetworkManager[476]: <info> [1600740664.7999] device (p2p-dev-wlp6s0): supplicant management interface state: interface_disabled -> inactive
Offline