Hi Together, Last days I tested on my Lenovo Yoga 7 Gen 7 (14ARB7) the new kernel 6.2.0-rc1 & kernel 6.2.0-rc2. It works fine, except for the wireless driver mt7922 (MT7921e). Driver and firmware is loading without any problems, but I can't connect to a wireless network. Here is a part of my log file (kernel v6.2.0-rc2): Jan 06 11:56:11 yoga kernel: mt7921e 0000:01:00.0: Message 00020003 (seq 10) timeout Jan 06 11:56:14 yoga kernel: mt7921e 0000:01:00.0: Message 00020002 (seq 11) timeout Jan 06 11:56:14 yoga kernel: mt7921e 0000:01:00.0: HW/SW Version: 0x8a108a10, Build Time: 20220908203203a Jan 06 11:56:14 yoga kernel: mt7921e 0000:01:00.0: WM Firmware Version: ____000000, Build Time: 20220908203253 Jan 06 11:56:15 yoga wpa_supplicant[1710]: BSSID ec:01:d5:66:c6:82 ignore list count incremented to 2, ignoring for 10 seconds Jan 06 11:56:15 yoga NetworkManager[1412]: <info> [1673002575.9801] device (wlp1s0): supplicant interface state: associating -> disconnected Jan 06 11:56:15 yoga kernel: wlp1s0: Driver requested disconnection from AP ec:01:d5:66:c6:82 Jan 06 11:56:16 yoga NetworkManager[1412]: <info> [1673002576.0850] device (wlp1s0): supplicant interface state: disconnected -> scanning Jan 06 11:56:16 yoga wpa_supplicant[1710]: wlp1s0: SME: Trying to authenticate with 24:36:da:c0:54:82 (SSID='hotspot.koeln' freq=2462 MHz) Jan 06 11:56:16 yoga kernel: wlp1s0: authenticate with 24:36:da:c0:54:82 Jan 06 11:56:16 yoga kernel: wlp1s0: send auth to 24:36:da:c0:54:82 (try 1/3) Jan 06 11:56:16 yoga wpa_supplicant[1710]: wlp1s0: Trying to associate with 24:36:da:c0:54:82 (SSID='hotspot.koeln' freq=2462 MHz) Jan 06 11:56:16 yoga kernel: wlp1s0: authenticated Jan 06 11:56:16 yoga kernel: wlp1s0: associate with 24:36:da:c0:54:82 (try 1/3) Jan 06 11:56:16 yoga NetworkManager[1412]: <info> [1673002576.5847] device (wlp1s0): supplicant interface state: scanning -> authenticating Jan 06 11:56:16 yoga NetworkManager[1412]: <info> [1673002576.5848] device (wlp1s0): supplicant interface state: authenticating -> associating Jan 06 11:56:16 yoga kernel: mt7921e 0000:01:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x000d address=0xfff2e800 flags=0x0000] Jan 06 11:56:17 yoga kernel: wlp1s0: associate with 24:36:da:c0:54:82 (try 2/3) Jan 06 11:56:18 yoga kernel: wlp1s0: associate with 24:36:da:c0:54:82 (try 3/3) Jan 06 11:56:19 yoga kernel: wlp1s0: association with 24:36:da:c0:54:82 timed out Jan 06 11:56:22 yoga kernel: mt7921e 0000:01:00.0: Message 00020003 (seq 4) timeout Jan 06 11:56:25 yoga kernel: mt7921e 0000:01:00.0: Message 00020002 (seq 5) timeout Jan 06 11:56:25 yoga kernel: mt7921e 0000:01:00.0: HW/SW Version: 0x8a108a10, Build Time: 20220908203203a Jan 06 11:56:25 yoga kernel: mt7921e 0000:01:00.0: WM Firmware Version: ____000000, Build Time: 20220908203253 Jan 06 11:56:25 yoga systemd[1]: systemd-hostnamed.service: Deactivated successfully. Jan 06 11:56:26 yoga wpa_supplicant[1710]: wlp1s0: SME: Deauth request to the driver failed Jan 06 11:56:26 yoga wpa_supplicant[1710]: BSSID 24:36:da:c0:54:82 ignore list count incremented to 2, ignoring for 10 seconds Jan 06 11:56:26 yoga kernel: wlp1s0: Driver requested disconnection from AP 24:36:da:c0:54:82 Jan 06 11:56:26 yoga wpa_supplicant[1710]: BSSID 00:00:00:00:00:00 ignore list count incremented to 2, ignoring for 10 seconds Jan 06 11:56:26 yoga NetworkManager[1412]: <info> [1673002586.9923] device (wlp1s0): supplicant interface state: associating -> disconnected Jan 06 11:56:27 yoga NetworkManager[1412]: <info> [1673002587.5091] device (wlp1s0): supplicant interface state: disconnected -> scanning Jan 06 11:56:27 yoga NetworkManager[1412]: <warn> [1673002587.5266] device (wlp1s0): Activation: (wifi) association took too long, failing activation Jan 06 11:56:27 yoga NetworkManager[1412]: <info> [1673002587.5267] device (wlp1s0): state change: config -> failed (reason 'supplicant-timeout', sys-iface-state: 'managed') Jan 06 11:56:27 yoga NetworkManager[1412]: <info> [1673002587.5270] manager: NetworkManager state is now DISCONNECTED Jan 06 11:56:27 yoga systemd-networkd[752]: wlp1s0: Link DOWN Jan 06 11:56:27 yoga NetworkManager[1412]: <info> [1673002587.5555] device (wlp1s0): set-hw-addr: set MAC address to 6A:FA:A9:D9:C3:1A (scanning) Jan 06 11:56:27 yoga dhcpcd[1393]: wlp1s0: old hardware address: 16:e6:1e:70:6b:23 Jan 06 11:56:27 yoga dhcpcd[1393]: wlp1s0: new hardware address: 6a:fa:a9:d9:c3:1a Jan 06 11:56:27 yoga systemd-networkd[752]: wlp1s0: Link UP an 06 11:56:27 yoga NetworkManager[1412]: <warn> [1673002587.6097] device (wlp1s0): Activation: failed for connection 'hotspot.koeln' Jan 06 11:56:27 yoga NetworkManager[1412]: <info> [1673002587.6099] device (wlp1s0): supplicant interface state: scanning -> interface_disabled Jan 06 11:56:27 yoga NetworkManager[1412]: <info> [1673002587.6100] device (wlp1s0): state change: failed -> disconnected (reason 'none', sys-iface-state: 'managed') Jan 06 11:56:27 yoga NetworkManager[1412]: <info> [1673002587.6257] device (wlp1s0): supplicant interface state: interface_disabled -> inactive Jan 06 11:56:30 yoga NetworkManager[1412]: <info> [1673002590.0369] policy: auto-activating connection 'hotspot.koeln' (52f470b2-803c-412b-888d-0787277390fb) Jan 06 11:56:30 yoga NetworkManager[1412]: <info> [1673002590.0371] device (wlp1s0): Activation: starting connection 'hotspot.koeln' (52f470b2-803c-412b-888d-0787277390fb) Jan 06 11:56:30 yoga NetworkManager[1412]: <info> [1673002590.0372] device (wlp1s0): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed') Jan 06 11:56:30 yoga NetworkManager[1412]: <info> [1673002590.0373] manager: NetworkManager state is now CONNECTING Jan 06 11:56:30 yoga systemd-networkd[752]: wlp1s0: Link DOWN Jan 06 11:56:30 yoga NetworkManager[1412]: <info> [1673002590.0653] device (wlp1s0): set-hw-addr: set-cloned MAC address to 66:4D:08:1B:92:CA (random) Jan 06 11:56:30 yoga dhcpcd[1393]: wlp1s0: old hardware address: 6a:fa:a9:d9:c3:1a Jan 06 11:56:30 yoga dhcpcd[1393]: wlp1s0: new hardware address: 66:4d:08:1b:92:ca Jan 06 11:56:30 yoga systemd-networkd[752]: wlp1s0: Link UP Jan 06 11:56:30 yoga NetworkManager[1412]: <info> [1673002590.1178] device (wlp1s0): state change: prepare -> config (reason 'none', sys-iface-state: 'managed') Jan 06 11:56:30 yoga NetworkManager[1412]: <info> [1673002590.1182] device (wlp1s0): Activation: (wifi) connection 'hotspot.koeln' requires no security. No secrets needed. Jan 06 11:56:30 yoga NetworkManager[1412]: <info> [1673002590.1182] Config: added 'ssid' value 'hotspot.koeln' Jan 06 11:56:30 yoga NetworkManager[1412]: <info> [1673002590.1183] Config: added 'scan_ssid' value '1' Jan 06 11:56:30 yoga NetworkManager[1412]: <info> [1673002590.1183] Config: added 'bgscan' value 'simple:30:-70:86400' Jan 06 11:56:30 yoga NetworkManager[1412]: <info> [1673002590.1183] Config: added 'key_mgmt' value 'NONE' Jan 06 11:56:30 yoga NetworkManager[1412]: <info> [1673002590.1187] device (wlp1s0): supplicant interface state: inactive -> interface_disabled Jan 06 11:56:30 yoga NetworkManager[1412]: <info> [1673002590.1280] device (wlp1s0): supplicant interface state: interface_disabled -> inactive Jan 06 11:56:30 yoga wpa_supplicant[1710]: wlp1s0: SME: Trying to authenticate with ec:01:d5:66:c6:82 (SSID='hotspot.koeln' freq=2412 MHz) Jan 06 11:56:30 yoga kernel: wlp1s0: authenticate with ec:01:d5:66:c6:82 Jan 06 11:56:30 yoga kernel: wlp1s0: send auth to ec:01:d5:66:c6:82 (try 1/3) Jan 06 11:56:30 yoga NetworkManager[1412]: <info> [1673002590.3194] device (wlp1s0): supplicant interface state: inactive -> authenticating Jan 06 11:56:30 yoga wpa_supplicant[1710]: wlp1s0: Trying to associate with ec:01:d5:66:c6:82 (SSID='hotspot.koeln' freq=2412 MHz) Jan 06 11:56:30 yoga NetworkManager[1412]: <info> [1673002590.3215] device (wlp1s0): supplicant interface state: authenticating -> associating Jan 06 11:56:30 yoga kernel: wlp1s0: authenticated Jan 06 11:56:30 yoga kernel: wlp1s0: associate with ec:01:d5:66:c6:82 (try 1/3) Jan 06 11:56:30 yoga kernel: mt7921e 0000:01:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x000d address=0xfff39080 flags=0x0000] Jan 06 11:56:31 yoga kernel: wlp1s0: associate with ec:01:d5:66:c6:82 (try 2/3) Jan 06 11:56:32 yoga kernel: wlp1s0: associate with ec:01:d5:66:c6:82 (try 3/3) Jan 06 11:56:34 yoga kernel: wlp1s0: association with ec:01:d5:66:c6:82 timed out Jan 06 11:56:37 yoga kernel: mt7921e 0000:01:00.0: Message 00020003 (seq 4) timeout Jan 06 11:56:40 yoga kernel: mt7921e 0000:01:00.0: Message 00020002 (seq 5) timeout Jan 06 11:56:40 yoga kernel: mt7921e 0000:01:00.0: HW/SW Version: 0x8a108a10, Build Time: 20220908203203a Jan 06 11:56:40 yoga kernel: mt7921e 0000:01:00.0: WM Firmware Version: ____000000, Build Time: 20220908203253 Jan 06 11:56:41 yoga wpa_supplicant[1710]: wlp1s0: SME: Deauth request to the driver failed Jan 06 11:56:41 yoga wpa_supplicant[1710]: BSSID ec:01:d5:66:c6:82 ignore list count incremented to 2, ignoring for 10 seconds Jan 06 11:56:41 yoga wpa_supplicant[1710]: wlp1s0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="hotspot.koeln" auth_failures=1 duration=10 reason=CONN_FAILED Jan 06 11:56:41 yoga wpa_supplicant[1710]: BSSID 00:00:00:00:00:00 ignore list count incremented to 2, ignoring for 10 seconds Jan 06 11:56:41 yoga wpa_supplicant[1710]: wlp1s0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="hotspot.koeln" auth_failures=2 duration=20 reason=CONN_FAILED Jan 06 11:56:41 yoga kernel: wlp1s0: Driver requested disconnection from AP ec:01:d5:66:c6:82 Jan 06 11:56:41 yoga NetworkManager[1412]: <info> [1673002601.9611] device (wlp1s0): supplicant interface state: associating -> disconnected Jan 06 11:56:46 yoga NetworkManager[1412]: <info> [1673002606.9773] device (wlp1s0): supplicant interface state: disconnected -> scanning Jan 06 11:56:55 yoga NetworkManager[1412]: <warn> [1673002615.5280] device (wlp1s0): Activation: (wifi) association took too long, failing activation Jan 06 11:56:55 yoga NetworkManager[1412]: <info> [1673002615.5281] device (wlp1s0): state change: config -> failed (reason 'supplicant-timeout', sys-iface-state: 'managed') Jan 06 11:56:55 yoga NetworkManager[1412]: <info> [1673002615.5284] manager: NetworkManager state is now DISCONNECTED Jan 06 11:56:55 yoga systemd-networkd[752]: wlp1s0: Link DOWN Jan 06 11:56:55 yoga dhcpcd[1393]: wlp1s0: old hardware address: 66:4d:08:1b:92:ca Jan 06 11:56:55 yoga dhcpcd[1393]: wlp1s0: new hardware address: 32:1c:0b:2d:a9:6c Jan 06 11:56:55 yoga NetworkManager[1412]: <info> [1673002615.5614] device (wlp1s0): set-hw-addr: set MAC address to 32:1C:0B:2D:A9:6C (scanning) Jan 06 11:56:55 yoga systemd-networkd[752]: wlp1s0: Link UP Jan 06 11:56:55 yoga NetworkManager[1412]: <warn> [1673002615.6153] device (wlp1s0): Activation: failed for connection 'hotspot.koeln' Jan 06 11:56:55 yoga NetworkManager[1412]: <info> [1673002615.6155] device (wlp1s0): supplicant interface state: scanning -> interface_disabled Jan 06 11:56:55 yoga NetworkManager[1412]: <info> [1673002615.6157] device (wlp1s0): state change: failed -> disconnected (reason 'none', sys-iface-state: 'managed') Jan 06 11:56:55 yoga NetworkManager[1412]: <info> [1673002615.6277] device (wlp1s0): supplicant interface state: interface_disabled -> inactive Jan 06 11:56:58 yoga NetworkManager[1412]: <info> [1673002618.1224] policy: auto-activating connection 'hotspot.koeln' (52f470b2-803c-412b-888d-0787277390fb) Jan 06 11:56:58 yoga NetworkManager[1412]: <info> [1673002618.1227] device (wlp1s0): Activation: starting connection 'hotspot.koeln' (52f470b2-803c-412b-888d-0787277390fb) Jan 06 11:56:58 yoga NetworkManager[1412]: <info> [1673002618.1227] device (wlp1s0): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed') Jan 06 11:56:58 yoga NetworkManager[1412]: <info> [1673002618.1228] manager: NetworkManager state is now CONNECTING Jan 06 11:56:58 yoga systemd-networkd[752]: wlp1s0: Link DOWN Jan 06 11:56:58 yoga NetworkManager[1412]: <info> [1673002618.1555] device (wlp1s0): set-hw-addr: set-cloned MAC address to 7E:BB:E1:B1:EC:45 (random) Jan 06 11:56:58 yoga dhcpcd[1393]: wlp1s0: old hardware address: 32:1c:0b:2d:a9:6c Jan 06 11:56:58 yoga dhcpcd[1393]: wlp1s0: new hardware address: 7e:bb:e1:b1:ec:45 Jan 06 11:56:58 yoga NetworkManager[1412]: <info> [1673002618.2082] device (wlp1s0): state change: prepare -> config (reason 'none', sys-iface-state: 'managed') Jan 06 11:56:58 yoga systemd-networkd[752]: wlp1s0: Link UP Jan 06 11:56:58 yoga NetworkManager[1412]: <info> [1673002618.2085] device (wlp1s0): Activation: (wifi) connection 'hotspot.koeln' requires no security. No secrets needed. Jan 06 11:56:58 yoga NetworkManager[1412]: <info> [1673002618.2085] Config: added 'ssid' value 'hotspot.koeln' Jan 06 11:56:58 yoga NetworkManager[1412]: <info> [1673002618.2085] Config: added 'scan_ssid' value '1' Jan 06 11:56:58 yoga NetworkManager[1412]: <info> [1673002618.2086] Config: added 'bgscan' value 'simple:30:-70:86400' Jan 06 11:56:58 yoga NetworkManager[1412]: <info> [1673002618.2086] Config: added 'key_mgmt' value 'NONE' Jan 06 11:56:58 yoga NetworkManager[1412]: <info> [1673002618.2090] device (wlp1s0): supplicant interface state: inactive -> interface_disabled Jan 06 11:56:58 yoga NetworkManager[1412]: <info> [1673002618.2249] device (wlp1s0): supplicant interface state: interface_disabled -> inactive Jan 06 11:56:58 yoga wpa_supplicant[1710]: wlp1s0: SME: Trying to authenticate with ec:01:d5:66:c6:82 (SSID='hotspot.koeln' freq=2412 MHz) Jan 06 11:56:58 yoga kernel: wlp1s0: authenticate with ec:01:d5:66:c6:82 Jan 06 11:56:58 yoga NetworkManager[1412]: <info> [1673002618.4149] device (wlp1s0): supplicant interface state: inactive -> authenticating Jan 06 11:56:58 yoga kernel: wlp1s0: send auth to ec:01:d5:66:c6:82 (try 1/3) Jan 06 11:56:58 yoga kernel: mt7921e 0000:01:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x000d address=0xfff2e800 flags=0x0050] Jan 06 11:56:59 yoga kernel: wlp1s0: send auth to ec:01:d5:66:c6:82 (try 2/3) Jan 06 11:57:00 yoga kernel: wlp1s0: send auth to ec:01:d5:66:c6:82 (try 3/3) Jan 06 11:57:00 yoga kwin_x11[2210]: kwin_core: XCB error: 150 (BadDamage), sequence: 37190, resource id: 16780916, major code: 142 (DAMAGE), minor code: 3 (Subtract) Jan 06 11:57:01 yoga kernel: wlp1s0: authentication with ec:01:d5:66:c6:82 timed out Jan 06 11:57:04 yoga kernel: mt7921e 0000:01:00.0: Message 00020003 (seq 14) timeout Jan 06 11:57:07 yoga kernel: mt7921e 0000:01:00.0: Message 00020002 (seq 15) timeout Jan 06 11:57:07 yoga kernel: ------------[ cut here ]------------ Jan 06 11:57:07 yoga kernel: WARNING: CPU: 8 PID: 1873 at drivers/iommu/dma-iommu.c:1035 iommu_dma_unmap_page+0xa2/0xd0 Jan 06 11:57:07 yoga kernel: Modules linked in: uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videodev videobuf2_common btusb btrtl btbcm btintel btmtk snd_ctl_led joydev wacom snd_hda_cod> Jan 06 11:57:07 yoga kernel: CPU: 8 PID: 1873 Comm: kworker/u32:72 Tainted: G W 6.2.0-rc2-x86_64+ #34 Jan 06 11:57:07 yoga kernel: Hardware name: LENOVO 82QF/LNVNB161216, BIOS K5CN35WW 09/23/2022 Jan 06 11:57:07 yoga kernel: Workqueue: mt76 mt7921_mac_reset_work [mt7921_common] Jan 06 11:57:07 yoga kernel: RIP: 0010:iommu_dma_unmap_page+0xa2/0xd0 Jan 06 11:57:07 yoga kernel: Code: 48 8b 1c 24 4c 8b 74 24 20 4c 89 ea 4c 89 e6 4c 8b 6c 24 18 4c 8b 64 24 10 48 89 ef 48 8b 6c 24 08 48 83 c4 30 e9 1e a2 91 ff <0f> 0b 48 8b 1c 24 48 8b 6c 24 08 4c 8b> Jan 06 11:57:07 yoga kernel: RSP: 0018:ffffc90005b3fd30 EFLAGS: 00010246 Jan 06 11:57:07 yoga kernel: RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 Jan 06 11:57:07 yoga kernel: RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000fff2e000 Jan 06 11:57:07 yoga kernel: RBP: ffff888100fd40d0 R08: ffffc90005b3fd10 R09: 0000000000000081 Jan 06 11:57:07 yoga kernel: R10: 0000000000000001 R11: ffff888000000000 R12: ffff888105172040 Jan 06 11:57:07 yoga kernel: R13: 00000000000006c0 R14: 0000000000000002 R15: 00000000fff2e000 Jan 06 11:57:07 yoga kernel: FS: 0000000000000000(0000) GS:ffff888761e00000(0000) knlGS:0000000000000000 Jan 06 11:57:07 yoga kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 Jan 06 11:57:07 yoga kernel: CR2: 0000560a7e43fdc0 CR3: 000000010f128000 CR4: 0000000000750ee0 Jan 06 11:57:07 yoga kernel: PKRU: 55555554 Jan 06 11:57:07 yoga kernel: Call Trace: Jan 06 11:57:07 yoga kernel: <TASK> Jan 06 11:57:07 yoga kernel: mt76_dma_get_buf+0xac/0x190 [mt76] Jan 06 11:57:07 yoga kernel: mt76_dma_rx_cleanup+0xa8/0x140 [mt76] Jan 06 11:57:07 yoga kernel: mt7921_wpdma_reset+0xac/0x1c0 [mt7921e] Jan 06 11:57:07 yoga kernel: mt7921e_mac_reset+0x116/0x2c0 [mt7921e] Jan 06 11:57:07 yoga kernel: mt7921_mac_reset_work+0x8e/0x140 [mt7921_common] Jan 06 11:57:07 yoga kernel: process_one_work+0x1c2/0x3c0 Jan 06 11:57:07 yoga kernel: worker_thread+0x48/0x3d0 Jan 06 11:57:07 yoga kernel: ? __pfx_worker_thread+0x10/0x10 Jan 06 11:57:07 yoga kernel: kthread+0xce/0x100 Jan 06 11:57:07 yoga kernel: ? __pfx_kthread+0x10/0x10 Jan 06 11:57:07 yoga kernel: ret_from_fork+0x2c/0x50 Jan 06 11:57:07 yoga kernel: </TASK> Jan 06 11:57:07 yoga kernel: ---[ end trace 0000000000000000 ]--- Jan 06 11:57:07 yoga kernel: mt7921e 0000:01:00.0: HW/SW Version: 0x8a108a10, Build Time: 20220908203203a Jan 06 11:57:07 yoga kernel: mt7921e 0000:01:00.0: WM Firmware Version: ____000000, Build Time: 20220908203253 Jan 06 11:57:08 yoga wpa_supplicant[1710]: wlp1s0: SME: Deauth request to the driver failed Jan 06 11:57:08 yoga wpa_supplicant[1710]: BSSID ec:01:d5:66:c6:82 ignore list count incremented to 2, ignoring for 10 seconds Jan 06 11:57:08 yoga wpa_supplicant[1710]: wlp1s0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="hotspot.koeln" auth_failures=1 duration=10 reason=CONN_FAILED Jan 06 11:57:08 yoga wpa_supplicant[1710]: BSSID 00:00:00:00:00:00 ignore list count incremented to 2, ignoring for 10 seconds Jan 06 11:57:08 yoga wpa_supplicant[1710]: wlp1s0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="hotspot.koeln" auth_failures=2 duration=20 reason=CONN_FAILED Jan 06 11:57:08 yoga kernel: wlp1s0: Driver requested disconnection from AP ec:01:d5:66:c6:82 Jan 06 11:57:08 yoga NetworkManager[1412]: <info> [1673002628.9736] device (wlp1s0): supplicant interface state: authenticating -> disconnected Jan 06 11:57:18 yoga NetworkManager[1412]: <info> [1673002638.9961] device (wlp1s0): supplicant interface state: disconnected -> scanning Jan 06 11:57:23 yoga NetworkManager[1412]: <warn> [1673002643.5284] device (wlp1s0): Activation: (wifi) association took too long, failing activation Jan 06 11:57:23 yoga NetworkManager[1412]: <info> [1673002643.5285] device (wlp1s0): state change: config -> failed (reason 'ssid-not-found', sys-iface-state: 'managed') Jan 06 11:57:23 yoga NetworkManager[1412]: <info> [1673002643.5288] manager: NetworkManager state is now DISCONNECTED Jan 06 11:57:23 yoga systemd-networkd[752]: wlp1s0: Link DOWN Jan 06 11:57:23 yoga dhcpcd[1393]: wlp1s0: old hardware address: 7e:bb:e1:b1:ec:45 Jan 06 11:57:23 yoga NetworkManager[1412]: <info> [1673002643.5624] device (wlp1s0): set-hw-addr: set MAC address to DA:CF:BD:E2:59:37 (scanning) Jan 06 11:57:23 yoga dhcpcd[1393]: wlp1s0: new hardware address: da:cf:bd:e2:59:37 Jan 06 11:57:23 yoga systemd-networkd[752]: wlp1s0: Link UP Jan 06 11:57:23 yoga NetworkManager[1412]: <warn> [1673002643.6156] device (wlp1s0): Activation: failed for connection 'hotspot.koeln' Jan 06 11:57:23 yoga NetworkManager[1412]: <info> [1673002643.6157] device (wlp1s0): supplicant interface state: scanning -> interface_disabled Jan 06 11:57:23 yoga NetworkManager[1412]: <info> [1673002643.6158] device (wlp1s0): state change: failed -> disconnected (reason 'none', sys-iface-state: 'managed') Jan 06 11:57:23 yoga NetworkManager[1412]: <info> [1673002643.6306] device (wlp1s0): supplicant interface state: interface_disabled -> inactive Jan 06 11:57:26 yoga NetworkManager[1412]: <info> [1673002646.0302] policy: auto-activating connection 'hotspot.koeln' (52f470b2-803c-412b-888d-0787277390fb) Jan 06 11:57:26 yoga NetworkManager[1412]: <info> [1673002646.0304] device (wlp1s0): Activation: starting connection 'hotspot.koeln' (52f470b2-803c-412b-888d-0787277390fb) Jan 06 11:57:26 yoga NetworkManager[1412]: <info> [1673002646.0304] device (wlp1s0): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed') Jan 06 11:57:26 yoga NetworkManager[1412]: <info> [1673002646.0305] manager: NetworkManager state is now CONNECTING Jan 06 11:57:26 yoga systemd-networkd[752]: wlp1s0: Link DOWN Jan 06 11:57:26 yoga NetworkManager[1412]: <info> [1673002646.0545] device (wlp1s0): set-hw-addr: set-cloned MAC address to C2:4F:EB:1E:00:24 (random) Jan 06 11:57:26 yoga dhcpcd[1393]: wlp1s0: old hardware address: da:cf:bd:e2:59:37 Jan 06 11:57:26 yoga dhcpcd[1393]: wlp1s0: new hardware address: c2:4f:eb:1e:00:24 Jan 06 11:57:26 yoga systemd-networkd[752]: wlp1s0: Link UP Jan 06 11:57:26 yoga NetworkManager[1412]: <info> [1673002646.1077] device (wlp1s0): state change: prepare -> config (reason 'none', sys-iface-state: 'managed') Jan 06 11:57:26 yoga NetworkManager[1412]: <info> [1673002646.1080] device (wlp1s0): Activation: (wifi) connection 'hotspot.koeln' requires no security. No secrets needed. Jan 06 11:57:26 yoga NetworkManager[1412]: <info> [1673002646.1081] Config: added 'ssid' value 'hotspot.koeln' Jan 06 11:57:26 yoga NetworkManager[1412]: <info> [1673002646.1081] Config: added 'scan_ssid' value '1' Jan 06 11:57:26 yoga NetworkManager[1412]: <info> [1673002646.1081] Config: added 'bgscan' value 'simple:30:-70:86400' Jan 06 11:57:26 yoga NetworkManager[1412]: <info> [1673002646.1081] Config: added 'key_mgmt' value 'NONE' Jan 06 11:57:26 yoga NetworkManager[1412]: <info> [1673002646.1084] device (wlp1s0): supplicant interface state: inactive -> interface_disabled Jan 06 11:57:26 yoga NetworkManager[1412]: <info> [1673002646.1218] device (wlp1s0): supplicant interface state: interface_disabled -> inactive Jan 06 11:57:26 yoga wpa_supplicant[1710]: wlp1s0: SME: Trying to authenticate with ec:01:d5:66:c6:82 (SSID='hotspot.koeln' freq=2412 MHz) Jan 06 11:57:26 yoga kernel: wlp1s0: authenticate with ec:01:d5:66:c6:82 Jan 06 11:57:26 yoga kernel: wlp1s0: send auth to ec:01:d5:66:c6:82 (try 1/3) Jan 06 11:57:26 yoga kernel: mt7921e 0000:01:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x000d address=0xfff39080 flags=0x0050] Jan 06 11:57:26 yoga NetworkManager[1412]: <info> [1673002646.2976] device (wlp1s0): supplicant interface state: inactive -> authenticating Jan 06 11:57:27 yoga kernel: wlp1s0: send auth to ec:01:d5:66:c6:82 (try 2/3) Jan 06 11:57:29 yoga kernel: wlp1s0: send auth to ec:01:d5:66:c6:82 (try 3/3) Jan 06 11:57:30 yoga kernel: wlp1s0: authentication with ec:01:d5:66:c6:82 timed out Jan 06 11:57:33 yoga kernel: mt7921e 0000:01:00.0: Message 00020003 (seq 11) timeout Jan 06 11:57:36 yoga kernel: mt7921e 0000:01:00.0: Message 00020002 (seq 12) timeout Jan 06 11:57:36 yoga kernel: ------------[ cut here ]------------ Jan 06 11:57:36 yoga kernel: WARNING: CPU: 13 PID: 1876 at drivers/iommu/dma-iommu.c:1035 iommu_dma_unmap_page+0xa2/0xd0 Jan 06 11:57:36 yoga kernel: Modules linked in: uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videodev videobuf2_common btusb btrtl btbcm btintel btmtk snd_ctl_led joydev wacom snd_hda_cod> Jan 06 11:57:36 yoga kernel: CPU: 13 PID: 1876 Comm: kworker/u32:75 Tainted: G W 6.2.0-rc2-x86_64+ #34 Jan 06 11:57:36 yoga kernel: Hardware name: LENOVO 82QF/LNVNB161216, BIOS K5CN35WW 09/23/2022 Jan 06 11:57:36 yoga kernel: Workqueue: mt76 mt7921_mac_reset_work [mt7921_common] Jan 06 11:57:36 yoga kernel: RIP: 0010:iommu_dma_unmap_page+0xa2/0xd0 Jan 06 11:57:36 yoga kernel: Code: 48 8b 1c 24 4c 8b 74 24 20 4c 89 ea 4c 89 e6 4c 8b 6c 24 18 4c 8b 64 24 10 48 89 ef 48 8b 6c 24 08 48 83 c4 30 e9 1e a2 91 ff <0f> 0b 48 8b 1c 24 48 8b 6c 24 08 4c 8b> Jan 06 11:57:36 yoga kernel: RSP: 0018:ffffc90005b6bd30 EFLAGS: 00010246 Jan 06 11:57:36 yoga kernel: RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 Jan 06 11:57:36 yoga kernel: RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000fff39800 Jan 06 11:57:36 yoga kernel: RBP: ffff888100fd40d0 R08: ffffc90005b6bd10 R09: 0000000000000081 Jan 06 11:57:36 yoga kernel: R10: 0000000000000001 R11: ffff888000000000 R12: ffff888105172040 Jan 06 11:57:36 yoga kernel: R13: 00000000000006c0 R14: 0000000000000002 R15: 00000000fff39800 Jan 06 11:57:36 yoga kernel: FS: 0000000000000000(0000) GS:ffff888761f40000(0000) knlGS:0000000000000000 Jan 06 11:57:36 yoga kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 Jan 06 11:57:36 yoga kernel: CR2: 00007f51b82a6000 CR3: 0000000004e0c000 CR4: 0000000000750ee0 Jan 06 11:57:36 yoga kernel: PKRU: 55555554 Jan 06 11:57:36 yoga kernel: Call Trace: Jan 06 11:57:36 yoga kernel: <TASK> Jan 06 11:57:36 yoga kernel: mt76_dma_get_buf+0xac/0x190 [mt76] Jan 06 11:57:36 yoga kernel: mt76_dma_rx_cleanup+0xa8/0x140 [mt76] Jan 06 11:57:36 yoga kernel: mt7921_wpdma_reset+0xac/0x1c0 [mt7921e] Jan 06 11:57:36 yoga kernel: mt7921e_mac_reset+0x116/0x2c0 [mt7921e] Jan 06 11:57:36 yoga kernel: mt7921_mac_reset_work+0x8e/0x140 [mt7921_common] Jan 06 11:57:36 yoga kernel: process_one_work+0x1c2/0x3c0 Jan 06 11:57:36 yoga kernel: worker_thread+0x48/0x3d0 Jan 06 11:57:36 yoga kernel: ? __pfx_worker_thread+0x10/0x10 Jan 06 11:57:36 yoga kernel: kthread+0xce/0x100 Jan 06 11:57:36 yoga kernel: ? __pfx_kthread+0x10/0x10 Jan 06 11:57:36 yoga kernel: ret_from_fork+0x2c/0x50 Jan 06 11:57:36 yoga kernel: </TASK> Jan 06 11:57:36 yoga kernel: ---[ end trace 0000000000000000 ]--- Jan 06 11:57:36 yoga kernel: mt7921e 0000:01:00.0: HW/SW Version: 0x8a108a10, Build Time: 20220908203203a Jan 06 11:57:36 yoga kernel: mt7921e 0000:01:00.0: WM Firmware Version: ____000000, Build Time: 20220908203253 Jan 06 11:57:37 yoga wpa_supplicant[1710]: wlp1s0: SME: Deauth request to the driver failed Jan 06 11:57:37 yoga wpa_supplicant[1710]: BSSID ec:01:d5:66:c6:82 ignore list count incremented to 2, ignoring for 10 seconds Jan 06 11:57:37 yoga wpa_supplicant[1710]: wlp1s0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="hotspot.koeln" auth_failures=1 duration=10 reason=CONN_FAILED Jan 06 11:57:37 yoga wpa_supplicant[1710]: BSSID 00:00:00:00:00:00 ignore list count incremented to 2, ignoring for 10 seconds Jan 06 11:57:37 yoga wpa_supplicant[1710]: wlp1s0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="hotspot.koeln" auth_failures=2 duration=20 reason=CONN_FAILED Jan 06 11:57:37 yoga kernel: wlp1s0: Driver requested disconnection from AP ec:01:d5:66:c6:82 Jan 06 11:57:37 yoga NetworkManager[1412]: <info> [1673002657.9582] device (wlp1s0): supplicant interface state: authenticating -> disconnected ...and so on!
Created attachment 303550 [details] Log file
I had similar problems since linux-6.2-rc1. This solved this for me: diff --git a/drivers/net/wireless/mediatek/mt76/dma.c b/drivers/net/wireless/mediatek/mt76/dma.c index f795548562f5..f0b7ddd11d64 100644 --- a/drivers/net/wireless/mediatek/mt76/dma.c +++ b/drivers/net/wireless/mediatek/mt76/dma.c @@ -215,6 +215,11 @@ mt76_dma_add_buf(struct mt76_dev *dev, struct mt76_queue *q, u32 ctrl; int i, idx = -1; + if (txwi) { + q->entry[q->head].txwi = DMA_DUMMY_DATA; + q->entry[q->head].skip_buf0 = true; + } + for (i = 0; i < nbufs; i += 2, buf += 2) { u32 buf0 = buf[0].addr, buf1 = 0; @@ -238,11 +243,6 @@ mt76_dma_add_buf(struct mt76_dev *dev, struct mt76_queue *q, ctrl = FIELD_PREP(MT_DMA_CTL_SD_LEN0, buf[0].len) | MT_DMA_CTL_TO_HOST; } else { - if (txwi) { - q->entry[q->head].txwi = DMA_DUMMY_DATA; - q->entry[q->head].skip_buf0 = true; - } - if (buf[0].skip_unmap) entry->skip_buf0 = true; entry->skip_buf1 = i == nbufs - 1;
Not my area of expertise, but I wonder if this is the same issue as this one: https://lore.kernel.org/all/CABXGCsMEnQd=gYKTd1knRsWuxCb=Etv5nAre+XJS_s5FgVteYA@mail.gmail.com/ There is a proposed fix here: https://lore.kernel.org/all/3cb53fbd-0bee-22f9-bba2-6ac4a87db521@nbd.name/ (In reply to spasswolf from comment #2) > I had similar problems since linux-6.2-rc1. This solved this for me: Did you report or submit this fix to the developers (who likely won't see anything that is discussed here by default).
Hi Guys, Thank you for your prompt reply. Unfortunately no patch works for me. The codebase looks different and I can't migrate the patches.
This patch should work for linux-6.2-rc3: diff -aur linux-6.2-rc3.old/drivers/net/wireless/mediatek/mt76/dma.c linux-6.2-rc3/drivers/net/wireless/mediatek/mt76/dma.c --- linux-6.2-rc3.old/drivers/net/wireless/mediatek/mt76/dma.c 2023-01-08 18:49:43.000000000 +0100 +++ linux-6.2-rc3/drivers/net/wireless/mediatek/mt76/dma.c 2023-01-09 22:07:29.533248047 +0100 @@ -215,6 +215,11 @@ u32 ctrl; int i, idx = -1; + if (txwi) { + q->entry[q->head].txwi = DMA_DUMMY_DATA; + q->entry[q->head].skip_buf0 = true; + } + for (i = 0; i < nbufs; i += 2, buf += 2) { u32 buf0 = buf[0].addr, buf1 = 0; @@ -238,11 +243,6 @@ ctrl = FIELD_PREP(MT_DMA_CTL_SD_LEN0, buf[0].len) | MT_DMA_CTL_TO_HOST; } else { - if (txwi) { - q->entry[q->head].txwi = DMA_DUMMY_DATA; - q->entry[q->head].skip_buf0 = true; - } - if (buf[0].skip_unmap) entry->skip_buf0 = true; entry->skip_buf1 = i == nbufs - 1; @Thorsten Lemhuis: Would the correct place be linux-wireless@vger.kernel.org?
@spasswolf@web.de Many thanks you for your work. The patch works fine for me.
(In reply to spasswolf from comment #5) > @Thorsten Lemhuis: Would the correct place be linux-wireless@vger.kernel.org? Kinda, but you needs to CC the maintainers as well. This explains the process: https://www.kernel.org/doc/html/latest/process/submitting-patches.html