Created attachment 300119 [details] kernel log of the system stuck On AMD Dali platform, mt7921e driver cause system stuck, i try to blacklist mt7921e the system can boot successfully. Here is the error in kernel: kernel: Call Trace: kernel: <TASK> kernel: dma_unmap_page_attrs+0x167/0x1a0 kernel: ? debug_smp_processor_id+0x17/0x20 kernel: mt76_dma_dequeue+0xb6/0xf0 [mt76] kernel: mt76_dma_rx_cleanup+0x53/0xe0 [mt76] kernel: mt7921_wpdma_reset+0xbc/0x1c0 [mt7921e] kernel: mt7921e_init_reset+0x13/0x20 [mt7921e] kernel: mt7921_register_device+0x32f/0x5f0 [mt7921_common] kernel: ? mt7921_dma_enable+0x285/0x2a0 [mt7921e] kernel: mt7921_pci_probe+0x1e1/0x220 [mt7921e]
I have a similar issue on a MSI Alpha 15 B5EEK Laptop, which already occurs with linux-5.16-rc2. Also my error does not occur after a cold start (disconnecting the power supply for ~30s is enough) Dec 28 12:36:57 lisa kernel: [ 10.978831] Bluetooth: hci0: Device setup in 142160 usecs Dec 28 12:36:57 lisa kernel: [ 11.768327] mt7921e 0000:04:00.0: Timeout for driver own Dec 28 12:36:57 lisa kernel: [ 11.768734] ------------[ cut here ]------------ Dec 28 12:36:57 lisa kernel: [ 11.768735] WARNING: CPU: 0 PID: 648 at drivers/iommu/dma-iommu.c:848 iommu_dma_unmap_page+0x79/0x90 Dec 28 12:36:57 lisa kernel: [ 11.768741] Modules linked in: intel_rapl_msr intel_rapl_common snd_soc_dmic snd_acp3x_pdm_dma snd_acp3x_rn snd_soc_core edac_mce_amd snd_hda_codec_realtek snd_compress btusb snd_hda_codec_generic ledtrig_audio btrtl btbcm kvm_amd snd_hda_codec_hdmi btintel bluetooth uvcvideo snd_hda_intel gpio_keys kvm jitterentropy_rng snd_intel_dspcfg videobuf2_vmalloc videobuf2_memops sha512_ssse3 snd_intel_sdw_acpi nls_ascii irqbypass nls_cp437 snd_hda_codec joydev videobuf2_v4l2 sha512_generic snd_hda_core videobuf2_common vfat ghash_clmulni_intel drbg fat videodev aesni_intel snd_hwdep ansi_cprng ecdh_generic snd_pcm mc crypto_simd ecc hid_sensor_accel_3d hid_sensor_gyro_3d cryptd hid_sensor_magn_3d hid_sensor_als hid_sensor_prox snd_timer snd_rn_pci_acp3x rapl hid_sensor_trigger snd ccp hid_sensor_iio_common snd_pci_acp3x industrialio_triggered_buffer msi_wmi sp5100_tco Dec 28 12:36:57 lisa kernel: [ 11.768758] BUG: Bad page state in process systemd-udevd pfn:10e5f8 Dec 28 12:36:57 lisa kernel: [ 11.768760] soundcore Dec 28 12:36:57 lisa kernel: [ 11.768759] page:000000004066cbc4 refcount:-32753 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10e5f8 Dec 28 12:36:57 lisa kernel: [ 11.768771] kfifo_buf serio_raw wmi_bmof efi_pstore pcspkr rng_core watchdog Dec 28 12:36:57 lisa kernel: [ 11.768770] flags: 0x17ffffc0000000(node=0|zone=2|lastcpupid=0x1fffff) Dec 28 12:36:57 lisa kernel: [ 11.768774] hid_multitouch k10temp sparse_keymap industrialio evdev soc_button_array ac Dec 28 12:36:57 lisa kernel: [ 11.768774] raw: 0017ffffc0000000 dead000000000100 dead000000000122 0000000000000000 Dec 28 12:36:57 lisa kernel: [ 11.768776] acpi_cpufreq amd_pmc mt7921e Dec 28 12:36:57 lisa kernel: [ 11.768775] raw: 0000000000000000 0000000000000000 ffff800fffffffff 0000000000000000 Dec 28 12:36:57 lisa kernel: [ 11.768777] mt7921_common mt76_connac_lib mt76 Dec 28 12:36:57 lisa kernel: [ 11.768776] page dumped because: nonzero _refcount Dec 28 12:36:57 lisa kernel: [ 11.768779] mac80211 libarc4 Dec 28 12:36:57 lisa kernel: [ 11.768777] Modules linked in: Dec 28 12:36:57 lisa kernel: [ 11.768780] cfg80211 Dec 28 12:36:57 lisa kernel: [ 11.768778] intel_rapl_msr Dec 28 12:36:57 lisa kernel: [ 11.768780] rfkill msr Dec 28 12:36:57 lisa kernel: [ 11.768779] intel_rapl_common Dec 28 12:36:57 lisa kernel: [ 11.768781] fuse Dec 28 12:36:57 lisa kernel: [ 11.768780] snd_soc_dmic Dec 28 12:36:57 lisa kernel: [ 11.768782] configfs Dec 28 12:36:57 lisa kernel: [ 11.768780] snd_acp3x_pdm_dma Dec 28 12:36:57 lisa kernel: [ 11.768783] efivarfs Dec 28 12:36:57 lisa kernel: [ 11.768781] snd_acp3x_rn Dec 28 12:36:57 lisa kernel: [ 11.768783] ip_tables Dec 28 12:36:57 lisa kernel: [ 11.768782] snd_soc_core Dec 28 12:36:57 lisa kernel: [ 11.768784] x_tables autofs4 Dec 28 12:36:57 lisa kernel: [ 11.768782] edac_mce_amd Dec 28 12:36:57 lisa kernel: [ 11.768785] ext4 crc32c_generic Dec 28 12:36:57 lisa kernel: [ 11.768783] snd_hda_codec_realtek Dec 28 12:36:57 lisa kernel: [ 11.768786] crc16 Dec 28 12:36:57 lisa kernel: [ 11.768784] snd_compress Dec 28 12:36:57 lisa kernel: [ 11.768786] mbcache jbd2 usbhid Dec 28 12:36:57 lisa kernel: [ 11.768785] btusb Dec 28 12:36:57 lisa kernel: [ 11.768787] amdgpu gpu_sched i2c_algo_bit Dec 28 12:36:57 lisa kernel: [ 11.768786] snd_hda_codec_generic Dec 28 12:36:57 lisa kernel: [ 11.768789] drm_ttm_helper Dec 28 12:36:57 lisa kernel: [ 11.768787] ledtrig_audio Dec 28 12:36:57 lisa kernel: [ 11.768789] ttm hid_sensor_hub Dec 28 12:36:57 lisa kernel: [ 11.768788] btrtl Dec 28 12:36:57 lisa kernel: [ 11.768790] hid_generic Dec 28 12:36:57 lisa kernel: [ 11.768788] btbcm kvm_amd Dec 28 12:36:57 lisa kernel: [ 11.768791] xhci_pci drm_kms_helper Dec 28 12:36:57 lisa kernel: [ 11.768790] snd_hda_codec_hdmi Dec 28 12:36:57 lisa kernel: [ 11.768792] xhci_hcd Dec 28 12:36:57 lisa kernel: [ 11.768791] btintel bluetooth Dec 28 12:36:57 lisa kernel: [ 11.768793] nvme Dec 28 12:36:57 lisa kernel: [ 11.768792] uvcvideo Dec 28 12:36:57 lisa kernel: [ 11.768794] cec Dec 28 12:36:57 lisa kernel: [ 11.768792] snd_hda_intel Dec 28 12:36:57 lisa kernel: [ 11.768795] nvme_core rc_core Dec 28 12:36:57 lisa kernel: [ 11.768793] gpio_keys Dec 28 12:36:57 lisa kernel: [ 11.768796] r8169 Dec 28 12:36:57 lisa kernel: [ 11.768794] kvm jitterentropy_rng Dec 28 12:36:57 lisa kernel: [ 11.768797] t10_pi crc32_pclmul Dec 28 12:36:57 lisa kernel: [ 11.768795] snd_intel_dspcfg Dec 28 12:36:57 lisa kernel: [ 11.768798] crc_t10dif Dec 28 12:36:57 lisa kernel: [ 11.768796] videobuf2_vmalloc Dec 28 12:36:57 lisa kernel: [ 11.768798] usbcore psmouse Dec 28 12:36:57 lisa kernel: [ 11.768797] videobuf2_memops Dec 28 12:36:57 lisa kernel: [ 11.768799] crc32c_intel Dec 28 12:36:57 lisa kernel: [ 11.768797] sha512_ssse3 Dec 28 12:36:57 lisa kernel: [ 11.768800] i2c_hid_acpi realtek crct10dif_generic Dec 28 12:36:57 lisa kernel: [ 11.768798] snd_intel_sdw_acpi Dec 28 12:36:57 lisa kernel: [ 11.768801] amd_sfh Dec 28 12:36:57 lisa kernel: [ 11.768799] nls_ascii Dec 28 12:36:57 lisa kernel: [ 11.768801] i2c_hid mdio_devres Dec 28 12:36:57 lisa kernel: [ 11.768800] irqbypass Dec 28 12:36:57 lisa kernel: [ 11.768802] crct10dif_pclmul Dec 28 12:36:57 lisa kernel: [ 11.768800] nls_cp437 Dec 28 12:36:57 lisa kernel: [ 11.768803] drm Dec 28 12:36:57 lisa kernel: [ 11.768801] snd_hda_codec Dec 28 12:36:57 lisa kernel: [ 11.768804] libphy Dec 28 12:36:57 lisa kernel: [ 11.768802] joydev Dec 28 12:36:57 lisa kernel: [ 11.768804] i2c_piix4 usb_common Dec 28 12:36:57 lisa kernel: [ 11.768803] videobuf2_v4l2 Dec 28 12:36:57 lisa kernel: [ 11.768805] crct10dif_common wmi Dec 28 12:36:57 lisa kernel: [ 11.768804] sha512_generic Dec 28 12:36:57 lisa kernel: [ 11.768806] button battery Dec 28 12:36:57 lisa kernel: [ 11.768805] snd_hda_core Dec 28 12:36:57 lisa kernel: [ 11.768807] video hid Dec 28 12:36:57 lisa kernel: [ 11.768805] videobuf2_common vfat Dec 28 12:36:57 lisa kernel: [ 11.768808] Dec 28 12:36:57 lisa kernel: [ 11.768807] ghash_clmulni_intel drbg Dec 28 12:36:57 lisa kernel: [ 11.768809] CPU: 0 PID: 648 Comm: napi/phy0-8196 Not tainted 5.16.0-rc2 #1 Dec 28 12:36:57 lisa kernel: [ 11.768808] fat videodev Dec 28 12:36:57 lisa kernel: [ 11.768810] Hardware name: Micro-Star International Co., Ltd. Alpha 15 B5EEK/MS-158L, BIOS E158LAMS.107 11/10/2021 Dec 28 12:36:57 lisa kernel: [ 11.768809] aesni_intel snd_hwdep ansi_cprng Dec 28 12:36:57 lisa kernel: [ 11.768811] RIP: 0010:iommu_dma_unmap_page+0x79/0x90 Dec 28 12:36:57 lisa kernel: [ 11.768810] ecdh_generic snd_pcm mc crypto_simd Dec 28 12:36:57 lisa kernel: [ 11.768814] Code: 2b 4c 3b 20 72 26 4c 3b 60 08 73 20 49 89 d8 44 89 f1 5b 4c 89 ea 4c 89 e6 48 89 ef 5d 41 5c 41 5d 41 5e 41 5f e9 c7 c7 ad ff <0f> 0b 5b 5d 41 5c 41 5d 41 5e 41 5f c3 66 2e 0f 1f 84 00 00 00 00 Dec 28 12:36:57 lisa kernel: [ 11.768812] ecc hid_sensor_accel_3d Dec 28 12:36:57 lisa kernel: [ 11.768815] RSP: 0018:ffffa96ac07d7dd0 EFLAGS: 00010246 Dec 28 12:36:57 lisa kernel: [ 11.768813] hid_sensor_gyro_3d cryptd Dec 28 12:36:57 lisa kernel: [ 11.768816] Dec 28 12:36:57 lisa kernel: [ 11.768815] hid_sensor_magn_3d Dec 28 12:36:57 lisa kernel: [ 11.768816] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 Dec 28 12:36:57 lisa kernel: [ 11.768815] hid_sensor_als Dec 28 12:36:57 lisa kernel: [ 11.768817] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffa96ac07d7db0 Dec 28 12:36:57 lisa kernel: [ 11.768816] hid_sensor_prox Dec 28 12:36:57 lisa kernel: [ 11.768818] RBP: ffff95b8813850d0 R08: ffff95b8a07e8f30 R09: 00000000ff7e6000 Dec 28 12:36:57 lisa kernel: [ 11.768817] snd_timer Dec 28 12:36:57 lisa kernel: [ 11.768819] R10: 0000000000000081 R11: 0000000000000001 R12: ffff95b8a870a4f0 Dec 28 12:36:57 lisa kernel: [ 11.768817] snd_rn_pci_acp3x rapl Dec 28 12:36:57 lisa kernel: [ 11.768820] R13: 00000000000006c0 R14: 0000000000000002 R15: 00000000ff7e6000 Dec 28 12:36:57 lisa kernel: [ 11.768819] hid_sensor_trigger Dec 28 12:36:57 lisa kernel: [ 11.768821] FS: 0000000000000000(0000) GS:ffff95bb5e600000(0000) knlGS:0000000000000000 Dec 28 12:36:57 lisa kernel: [ 11.768819] snd Dec 28 12:36:57 lisa kernel: [ 11.768822] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 Dec 28 12:36:57 lisa kernel: [ 11.768820] ccp hid_sensor_iio_common Dec 28 12:36:57 lisa kernel: [ 11.768823] CR2: 00007f250f356670 CR3: 000000025a010000 CR4: 0000000000750ef0 Dec 28 12:36:57 lisa kernel: [ 11.768821] snd_pci_acp3x industrialio_triggered_buffer Dec 28 12:36:57 lisa kernel: [ 11.768824] PKRU: 55555554 Dec 28 12:36:57 lisa kernel: [ 11.768822] msi_wmi sp5100_tco Dec 28 12:36:57 lisa kernel: [ 11.768825] Call Trace: Dec 28 12:36:57 lisa kernel: [ 11.768823] soundcore kfifo_buf serio_raw Dec 28 12:36:57 lisa kernel: [ 11.768826] <TASK> Dec 28 12:36:57 lisa kernel: [ 11.768825] wmi_bmof efi_pstore pcspkr rng_core watchdog hid_multitouch k10temp sparse_keymap industrialio evdev soc_button_array ac acpi_cpufreq amd_pmc Dec 28 12:36:57 lisa kernel: [ 11.768828] mt76_dma_rx_poll+0x26f/0x4a0 [mt76] Dec 28 12:36:57 lisa kernel: [ 11.768831] mt7921e mt7921_common mt76_connac_lib mt76 mac80211 libarc4 cfg80211 rfkill msr fuse configfs Dec 28 12:36:57 lisa kernel: [ 11.768836] mt7921_poll_rx+0x4a/0xe0 [mt7921e] Dec 28 12:36:57 lisa kernel: [ 11.768835] efivarfs ip_tables x_tables autofs4 ext4 crc32c_generic crc16 mbcache jbd2 Dec 28 12:36:57 lisa kernel: [ 11.768839] __napi_poll+0x2c/0x160 Dec 28 12:36:57 lisa kernel: [ 11.768839] usbhid amdgpu gpu_sched i2c_algo_bit Dec 28 12:36:57 lisa kernel: [ 11.768842] ? __napi_poll+0x160/0x160 Dec 28 12:36:57 lisa kernel: [ 11.768841] drm_ttm_helper ttm Dec 28 12:36:57 lisa kernel: [ 11.768844] napi_threaded_poll+0x144/0x160 Dec 28 12:36:57 lisa kernel: [ 11.768842] hid_sensor_hub hid_generic xhci_pci drm_kms_helper xhci_hcd nvme cec Dec 28 12:36:57 lisa kernel: [ 11.768845] kthread+0x16b/0x190 Dec 28 12:36:57 lisa kernel: [ 11.768845] nvme_core rc_core r8169 t10_pi Dec 28 12:36:57 lisa kernel: [ 11.768849] ? set_kthread_struct+0x40/0x40 Dec 28 12:36:57 lisa kernel: [ 11.768847] crc32_pclmul crc_t10dif usbcore psmouse crc32c_intel i2c_hid_acpi realtek Dec 28 12:36:57 lisa kernel: [ 11.768850] ret_from_fork+0x22/0x30 Dec 28 12:36:57 lisa kernel: [ 11.768850] crct10dif_generic amd_sfh i2c_hid mdio_devres crct10dif_pclmul Dec 28 12:36:57 lisa kernel: [ 11.768854] </TASK> Dec 28 12:36:57 lisa kernel: [ 11.768855] ---[ end trace 604a1224e15dfbb1 ]--- Dec 28 12:36:57 lisa kernel: [ 11.768853] drm libphy i2c_piix4 usb_common crct10dif_common wmi button battery video hid Dec 28 12:36:57 lisa kernel: [ 11.768857] CPU: 13 PID: 450 Comm: systemd-udevd Tainted: G W 5.16.0-rc2 #1 Dec 28 12:36:57 lisa kernel: [ 11.768859] Hardware name: Micro-Star International Co., Ltd. Alpha 15 B5EEK/MS-158L, BIOS E158LAMS.107 11/10/2021 Dec 28 12:36:57 lisa kernel: [ 11.768860] Call Trace: Dec 28 12:36:57 lisa kernel: [ 11.768862] <TASK> Dec 28 12:36:57 lisa kernel: [ 11.768863] dump_stack_lvl+0x48/0x5e Dec 28 12:36:57 lisa kernel: [ 11.768867] bad_page.cold+0x63/0x94 Dec 28 12:36:57 lisa kernel: [ 11.768870] free_pcppages_bulk+0x1f2/0x360 Dec 28 12:36:57 lisa kernel: [ 11.768875] free_unref_page+0xb4/0x120 Dec 28 12:36:57 lisa kernel: [ 11.768877] mt76_dma_rx_cleanup+0x94/0x110 [mt76] Dec 28 12:36:57 lisa kernel: [ 11.768883] mt7921_wpdma_reset+0xbc/0x1c0 [mt7921e] Dec 28 12:36:57 lisa kernel: [ 11.768886] mt7921_register_device+0x32b/0x5d0 [mt7921_common] Dec 28 12:36:57 lisa kernel: [ 11.768891] mt7921_pci_probe+0x1d5/0x210 [mt7921e] Dec 28 12:36:57 lisa kernel: [ 11.768893] ? __pm_runtime_resume+0x58/0x80 Dec 28 12:36:57 lisa kernel: [ 11.768896] local_pci_probe+0x45/0x80 Dec 28 12:36:57 lisa kernel: [ 11.768898] ? pci_match_device+0xac/0x130 Dec 28 12:36:57 lisa kernel: [ 11.768900] pci_device_probe+0xd2/0x1c0 Dec 28 12:36:57 lisa kernel: [ 11.768902] really_probe+0x1f5/0x3f0 Dec 28 12:36:57 lisa kernel: [ 11.768905] __driver_probe_device+0xfe/0x180 Dec 28 12:36:57 lisa kernel: [ 11.768907] driver_probe_device+0x1e/0x90 Dec 28 12:36:57 lisa kernel: [ 11.768908] __driver_attach+0xc0/0x1c0 Dec 28 12:36:57 lisa kernel: [ 11.768910] ? __device_attach_driver+0xe0/0xe0 Dec 28 12:36:57 lisa kernel: [ 11.768912] ? __device_attach_driver+0xe0/0xe0 Dec 28 12:36:57 lisa kernel: [ 11.768913] bus_for_each_dev+0x78/0xc0 Dec 28 12:36:57 lisa kernel: [ 11.768915] new_id_store+0xfc/0x1d0 Dec 28 12:36:57 lisa kernel: [ 11.768917] kernfs_fop_write_iter+0x11c/0x1b0 Dec 28 12:36:57 lisa kernel: [ 11.768920] new_sync_write+0x11f/0x1b0 Dec 28 12:36:57 lisa kernel: [ 11.768924] vfs_write+0x209/0x2a0 Dec 28 12:36:57 lisa kernel: [ 11.768926] ksys_write+0x5f/0xe0 Dec 28 12:36:57 lisa kernel: [ 11.768928] do_syscall_64+0x3b/0xc0 Dec 28 12:36:57 lisa kernel: [ 11.768930] entry_SYSCALL_64_after_hwframe+0x44/0xae Dec 28 12:36:57 lisa kernel: [ 11.768933] RIP: 0033:0x7f0ce4183d53 Dec 28 12:36:57 lisa kernel: [ 11.768935] Code: 8b 15 21 f1 0c 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 Dec 28 12:36:57 lisa kernel: [ 11.768937] RSP: 002b:00007ffd3ffb4728 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 Dec 28 12:36:57 lisa kernel: [ 11.768939] RAX: ffffffffffffffda RBX: 0000000000000009 RCX: 00007f0ce4183d53 Dec 28 12:36:57 lisa kernel: [ 11.768940] RDX: 0000000000000009 RSI: 00007ffd3ffb49c0 RDI: 0000000000000006 Dec 28 12:36:57 lisa kernel: [ 11.768941] RBP: 00007ffd3ffb49c0 R08: 0000000000000000 R09: 0000000000000000 Dec 28 12:36:57 lisa kernel: [ 11.768941] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000009 Dec 28 12:36:57 lisa kernel: [ 11.768942] R13: 0000564b8962e0c0 R14: 0000000000000009 R15: 00007f0ce42548a0 Dec 28 12:36:57 lisa kernel: [ 11.768944] </TASK> Dec 28 12:36:57 lisa kernel: [ 11.768945] Disabling lock debugging due to kernel taint Dec 28 12:36:57 lisa kernel: [ 12.078559] EXT4-fs (nvme0n1p1): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none. Dec 28 12:36:57 lisa kernel: [ 12.101287] audit: type=1400 audit(1640691417.187:2): apparmor="STATUS" operation="profile_load" profile="unconfined" name="libreoffice-xpdfimport" pid=753 comm="apparmor_parser" Dec 28 12:36:57 lisa kernel: [ 12.101297] audit: type=1400 audit(1640691417.187:3): apparmor="STATUS" operation="profile_load" profile="unconfined" name="libreoffice-senddoc" pid=751 comm="apparmor_parser" Dec 28 12:36:57 lisa kernel: [ 12.101320] audit: type=1400 audit(1640691417.187:4): apparmor="STATUS" operation="profile_load" profile="unconfined" name="lsb_release" pid=746 comm="apparmor_parser" Dec 28 12:36:57 lisa kernel: [ 12.101761] audit: type=1400 audit(1640691417.187:5): apparmor="STATUS" operation="profile_load" profile="unconfined" name="libreoffice-oosplash" pid=750 comm="apparmor_parser" Dec 28 12:36:57 lisa kernel: [ 12.101821] audit: type=1400 audit(1640691417.187:6): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe" pid=747 comm="apparmor_parser" Dec 28 12:36:57 lisa kernel: [ 12.101824] audit: type=1400 audit(1640691417.187:7): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe//kmod" pid=747 comm="apparmor_parser" Dec 28 12:36:57 lisa kernel: [ 12.102108] audit: type=1400 audit(1640691417.187:8): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/bin/man" pid=749 comm="apparmor_parser" Dec 28 12:36:57 lisa kernel: [ 12.102110] audit: type=1400 audit(1640691417.187:9): apparmor="STATUS" operation="profile_load" profile="unconfined" name="man_filter" pid=749 comm="apparmor_parser" Dec 28 12:36:57 lisa kernel: [ 12.102111] audit: type=1400 audit(1640691417.187:10): apparmor="STATUS" operation="profile_load" profile="unconfined" name="man_groff" pid=749 comm="apparmor_parser" Dec 28 12:36:57 lisa kernel: [ 12.144798] audit: type=1400 audit(1640691417.231:11): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/bin/evince" pid=748 comm="apparmor_parser" Dec 28 12:36:57 lisa kernel: [ 12.231976] BUG: Bad page state in process iio-sensor-prox pfn:104806 Dec 28 12:36:57 lisa kernel: [ 12.231992] page:000000007bc5ea71 refcount:-1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x104806 Dec 28 12:36:57 lisa kernel: [ 12.231994] flags: 0x17ffffc0000000(node=0|zone=2|lastcpupid=0x1fffff) Dec 28 12:36:57 lisa kernel: [ 12.231996] raw: 0017ffffc0000000 dead000000000100 dead000000000122 0000000000000000 Dec 28 12:36:57 lisa kernel: [ 12.231997] raw: 0000000000000000 0000000000000000 ffffffffffffffff 0000000000000000 Dec 28 12:36:57 lisa kernel: [ 12.231997] page dumped because: nonzero _refcount Dec 28 12:36:57 lisa kernel: [ 12.231998] Modules linked in: cpufreq_ondemand cpufreq_powersave cpufreq_userspace binfmt_misc intel_rapl_msr intel_rapl_common snd_soc_dmic snd_acp3x_pdm_dma snd_acp3x_rn snd_soc_core edac_mce_amd snd_hda_codec_realtek snd_compress btusb snd_hda_codec_generic ledtrig_audio btrtl btbcm kvm_amd snd_hda_codec_hdmi btintel bluetooth uvcvideo snd_hda_intel gpio_keys kvm jitterentropy_rng snd_intel_dspcfg videobuf2_vmalloc videobuf2_memops sha512_ssse3 snd_intel_sdw_acpi nls_ascii irqbypass nls_cp437 snd_hda_codec joydev videobuf2_v4l2 sha512_generic snd_hda_core videobuf2_common vfat ghash_clmulni_intel drbg fat videodev aesni_intel snd_hwdep ansi_cprng ecdh_generic snd_pcm mc crypto_simd ecc hid_sensor_accel_3d hid_sensor_gyro_3d cryptd hid_sensor_magn_3d hid_sensor_als hid_sensor_prox snd_timer snd_rn_pci_acp3x rapl hid_sensor_trigger snd ccp hid_sensor_iio_common snd_pci_acp3x industrialio_triggered_buffer msi_wmi sp5100_tco soundcore kfifo_buf serio_raw wmi_bmof efi_pstore pcspkr Dec 28 12:36:57 lisa kernel: [ 12.232022] rng_core watchdog hid_multitouch k10temp sparse_keymap industrialio evdev soc_button_array ac acpi_cpufreq amd_pmc mt7921e mt7921_common mt76_connac_lib mt76 mac80211 libarc4 cfg80211 rfkill msr fuse configfs efivarfs ip_tables x_tables autofs4 ext4 crc32c_generic crc16 mbcache jbd2 usbhid amdgpu gpu_sched i2c_algo_bit drm_ttm_helper ttm hid_sensor_hub hid_generic xhci_pci drm_kms_helper xhci_hcd nvme cec nvme_core rc_core r8169 t10_pi crc32_pclmul crc_t10dif usbcore psmouse crc32c_intel i2c_hid_acpi realtek crct10dif_generic amd_sfh i2c_hid mdio_devres crct10dif_pclmul drm libphy i2c_piix4 usb_common crct10dif_common wmi button battery video hid Dec 28 12:36:57 lisa kernel: [ 12.232046] CPU: 12 PID: 765 Comm: iio-sensor-prox Tainted: G B W 5.16.0-rc2 #1 Dec 28 12:36:57 lisa kernel: [ 12.232047] Hardware name: Micro-Star International Co., Ltd. Alpha 15 B5EEK/MS-158L, BIOS E158LAMS.107 11/10/2021 Dec 28 12:36:57 lisa kernel: [ 12.232048] Call Trace: Dec 28 12:36:57 lisa kernel: [ 12.232050] <TASK> Dec 28 12:36:57 lisa kernel: [ 12.232052] dump_stack_lvl+0x48/0x5e Dec 28 12:36:57 lisa kernel: [ 12.232056] bad_page.cold+0x63/0x94 Dec 28 12:36:57 lisa kernel: [ 12.232058] rmqueue_bulk+0x49a/0x5a0 Dec 28 12:36:57 lisa kernel: [ 12.232061] ? __alloc_pages+0x17b/0x330 Dec 28 12:36:57 lisa kernel: [ 12.232062] ? get_random_u32+0x5e/0xb0 Dec 28 12:36:57 lisa kernel: [ 12.232064] get_page_from_freelist+0xa2c/0xec0 Dec 28 12:36:57 lisa kernel: [ 12.232066] ? mod_objcg_state+0x100/0x300 Dec 28 12:36:57 lisa kernel: [ 12.232069] __alloc_pages+0x17b/0x330 Dec 28 12:36:57 lisa kernel: [ 12.232070] new_slab+0x352/0x480 Dec 28 12:36:57 lisa kernel: [ 12.232072] ___slab_alloc+0x65e/0x830 Dec 28 12:36:57 lisa kernel: [ 12.232074] ? __alloc_file+0x23/0xe0 Dec 28 12:36:57 lisa kernel: [ 12.232075] ? generic_permission+0x27/0x200 Dec 28 12:36:57 lisa kernel: [ 12.232077] ? preempt_count_add+0x68/0xa0 Dec 28 12:36:57 lisa kernel: [ 12.232079] ? dput+0x37/0x2f0 Dec 28 12:36:57 lisa kernel: [ 12.232081] ? step_into+0xcd/0x700 Dec 28 12:36:57 lisa kernel: [ 12.232082] ? kernfs_dop_revalidate+0xab/0x130 Dec 28 12:36:57 lisa kernel: [ 12.232084] ? __alloc_file+0x23/0xe0 Dec 28 12:36:57 lisa kernel: [ 12.232085] ? __alloc_file+0x23/0xe0 Dec 28 12:36:57 lisa kernel: [ 12.232086] __slab_alloc.constprop.0+0x4a/0x80 Dec 28 12:36:57 lisa kernel: [ 12.232087] kmem_cache_alloc+0x384/0x3c0 Dec 28 12:36:57 lisa kernel: [ 12.232089] __alloc_file+0x23/0xe0 Dec 28 12:36:57 lisa kernel: [ 12.232091] alloc_empty_file+0x40/0xb0 Dec 28 12:36:57 lisa kernel: [ 12.232092] path_openat+0x4a/0x1040 Dec 28 12:36:57 lisa kernel: [ 12.232093] ? __fget_light+0x2e/0x70 Dec 28 12:36:57 lisa kernel: [ 12.232095] ? path_init+0x37c/0x3f0 Dec 28 12:36:57 lisa kernel: [ 12.232096] ? terminate_walk+0x61/0xf0 Dec 28 12:36:57 lisa kernel: [ 12.232097] ? path_lookupat+0xa2/0x1b0 Dec 28 12:36:57 lisa kernel: [ 12.232098] do_filp_open+0xb2/0x150 Dec 28 12:36:57 lisa kernel: [ 12.232100] ? kmem_cache_alloc_trace+0x175/0x3d0 Dec 28 12:36:57 lisa kernel: [ 12.232101] ? vfs_readlink+0x73/0x120 Dec 28 12:36:57 lisa kernel: [ 12.232102] ? __check_object_size+0x136/0x150 Dec 28 12:36:57 lisa kernel: [ 12.232104] do_sys_openat2+0x96/0x160 Dec 28 12:36:57 lisa kernel: [ 12.232106] __x64_sys_openat+0x53/0x90 Dec 28 12:36:57 lisa kernel: [ 12.232108] do_syscall_64+0x3b/0xc0 Dec 28 12:36:57 lisa kernel: [ 12.232110] entry_SYSCALL_64_after_hwframe+0x44/0xae Dec 28 12:36:57 lisa kernel: [ 12.232112] RIP: 0033:0x7f8a1b91ec13 Dec 28 12:36:57 lisa kernel: [ 12.232114] Code: 89 7c 24 18 44 89 54 24 0c e8 79 63 f9 ff 44 8b 54 24 0c 8b 54 24 1c 41 89 c0 48 8b 74 24 10 8b 7c 24 18 b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 44 89 c7 89 44 24 0c e8 c9 63 f9 ff 8b 44 Dec 28 12:36:57 lisa kernel: [ 12.232114] RSP: 002b:00007ffd71c4f400 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 Dec 28 12:36:57 lisa kernel: [ 12.232116] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f8a1b91ec13 Dec 28 12:36:57 lisa kernel: [ 12.232117] RDX: 00000000002a0000 RSI: 00007f8a1b74e748 RDI: 000000000000000a Dec 28 12:36:57 lisa kernel: [ 12.232117] RBP: 00007ffd71c4f660 R08: 0000000000000000 R09: 000055f618b37400 Dec 28 12:36:57 lisa kernel: [ 12.232118] R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000 Dec 28 12:36:57 lisa kernel: [ 12.232119] R13: 00007ffd71c4f6f0 R14: 000055f618b373e0 R15: 000000000000000a Dec 28 12:36:57 lisa kernel: [ 12.232120] </TASK> Dec 28 12:36:57 lisa kernel: [ 12.240123] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 Dec 28 12:36:57 lisa kernel: [ 12.240125] Bluetooth: BNEP filters: protocol multicast Dec 28 12:36:57 lisa kernel: [ 12.240128] Bluetooth: BNEP socket layer initialized Dec 28 12:36:57 lisa kernel: [ 12.243937] NET: Registered PF_ALG protocol family Dec 28 12:36:57 lisa kernel: [ 12.332338] Generic FE-GE Realtek PHY r8169-0-500:00: attached PHY driver (mii_bus:phy_addr=r8169-0-500:00, irq=MAC) Dec 28 12:36:57 lisa kernel: [ 12.529273] r8169 0000:05:00.0 enp5s0: Link is Down Dec 28 12:36:57 lisa kernel: [ 12.759442] Bluetooth: RFCOMM TTY layer initialized Dec 28 12:36:57 lisa kernel: [ 12.759450] Bluetooth: RFCOMM socket layer initialized Dec 28 12:36:57 lisa kernel: [ 12.759454] Bluetooth: RFCOMM ver 1.11 Dec 28 12:36:57 lisa kernel: [ 12.840331] mt7921e 0000:04:00.0: Timeout for driver own Dec 28 12:36:57 lisa kernel: [ 12.840676] BUG: Bad page state in process systemd-udevd pfn:10e4f8 Dec 28 12:36:57 lisa kernel: [ 12.840678] page:00000000f5bc8fc9 refcount:-1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10e4f8 Dec 28 12:36:57 lisa kernel: [ 12.840682] flags: 0x17ffffc0000000(node=0|zone=2|lastcpupid=0x1fffff) Dec 28 12:36:57 lisa kernel: [ 12.840686] raw: 0017ffffc0000000 dead000000000100 dead000000000122 0000000000000000 Dec 28 12:36:57 lisa kernel: [ 12.840687] raw: 0000000000000000 0000000000000000 ffffffffffffffff 0000000000000000 Dec 28 12:36:57 lisa kernel: [ 12.840688] page dumped because: nonzero _refcount Dec 28 12:36:57 lisa kernel: [ 12.840689] Modules linked in: rfcomm snd_seq_dummy snd_hrtimer snd_seq snd_seq_device cmac algif_hash algif_skcipher af_alg bnep cpufreq_conservative cpufreq_ondemand cpufreq_powersave cpufreq_userspace binfmt_misc intel_rapl_msr intel_rapl_common snd_soc_dmic snd_acp3x_pdm_dma snd_acp3x_rn snd_soc_core edac_mce_amd snd_hda_codec_realtek snd_compress btusb snd_hda_codec_generic ledtrig_audio btrtl btbcm kvm_amd snd_hda_codec_hdmi btintel bluetooth uvcvideo snd_hda_intel gpio_keys kvm jitterentropy_rng snd_intel_dspcfg videobuf2_vmalloc videobuf2_memops sha512_ssse3 snd_intel_sdw_acpi nls_ascii irqbypass nls_cp437 snd_hda_codec joydev videobuf2_v4l2 sha512_generic snd_hda_core videobuf2_common vfat ghash_clmulni_intel drbg fat videodev aesni_intel snd_hwdep ansi_cprng ecdh_generic snd_pcm mc crypto_simd ecc hid_sensor_accel_3d hid_sensor_gyro_3d cryptd hid_sensor_magn_3d hid_sensor_als hid_sensor_prox snd_timer snd_rn_pci_acp3x rapl hid_sensor_trigger snd ccp hid_sensor_iio_common Dec 28 12:36:57 lisa kernel: [ 12.840737] snd_pci_acp3x industrialio_triggered_buffer msi_wmi sp5100_tco soundcore kfifo_buf serio_raw wmi_bmof efi_pstore pcspkr rng_core watchdog hid_multitouch k10temp sparse_keymap industrialio evdev soc_button_array ac acpi_cpufreq amd_pmc mt7921e mt7921_common mt76_connac_lib mt76 mac80211 libarc4 cfg80211 rfkill msr fuse configfs efivarfs ip_tables x_tables autofs4 ext4 crc32c_generic crc16 mbcache jbd2 usbhid amdgpu gpu_sched i2c_algo_bit drm_ttm_helper ttm hid_sensor_hub hid_generic xhci_pci drm_kms_helper xhci_hcd nvme cec nvme_core rc_core r8169 t10_pi crc32_pclmul crc_t10dif usbcore psmouse crc32c_intel i2c_hid_acpi realtek crct10dif_generic amd_sfh i2c_hid mdio_devres crct10dif_pclmul drm libphy i2c_piix4 usb_common crct10dif_common wmi button battery video hid Dec 28 12:36:57 lisa kernel: [ 12.840782] CPU: 15 PID: 450 Comm: systemd-udevd Tainted: G B W 5.16.0-rc2 #1 Dec 28 12:36:57 lisa kernel: [ 12.840784] Hardware name: Micro-Star International Co., Ltd. Alpha 15 B5EEK/MS-158L, BIOS E158LAMS.107 11/10/2021 Dec 28 12:36:57 lisa kernel: [ 12.840786] Call Trace: Dec 28 12:36:57 lisa kernel: [ 12.840789] <TASK> Dec 28 12:36:57 lisa kernel: [ 12.840792] dump_stack_lvl+0x48/0x5e Dec 28 12:36:57 lisa kernel: [ 12.840797] bad_page.cold+0x63/0x94 Dec 28 12:36:57 lisa kernel: [ 12.840800] free_pcppages_bulk+0x1f2/0x360 Dec 28 12:36:57 lisa kernel: [ 12.840805] free_unref_page+0xb4/0x120 Dec 28 12:36:57 lisa kernel: [ 12.840808] mt76_dma_rx_cleanup+0x94/0x110 [mt76] Dec 28 12:36:57 lisa kernel: [ 12.840815] mt7921_wpdma_reset+0xbc/0x1c0 [mt7921e] Dec 28 12:36:57 lisa kernel: [ 12.840819] mt7921_register_device+0x32b/0x5d0 [mt7921_common] Dec 28 12:36:57 lisa kernel: [ 12.840825] mt7921_pci_probe+0x1d5/0x210 [mt7921e] Dec 28 12:36:57 lisa kernel: [ 12.840827] ? __pm_runtime_resume+0x58/0x80 Dec 28 12:36:57 lisa kernel: [ 12.840831] local_pci_probe+0x45/0x80 Dec 28 12:36:57 lisa kernel: [ 12.840834] ? pci_match_device+0xac/0x130 Dec 28 12:36:57 lisa kernel: [ 12.840837] pci_device_probe+0xd2/0x1c0 Dec 28 12:36:57 lisa kernel: [ 12.840839] really_probe+0x1f5/0x3f0 Dec 28 12:36:57 lisa kernel: [ 12.840841] __driver_probe_device+0xfe/0x180 Dec 28 12:36:57 lisa kernel: [ 12.840843] driver_probe_device+0x1e/0x90 Dec 28 12:36:57 lisa kernel: [ 12.840845] __driver_attach+0xc0/0x1c0 Dec 28 12:36:57 lisa kernel: [ 12.840847] ? __device_attach_driver+0xe0/0xe0 Dec 28 12:36:57 lisa kernel: [ 12.840848] ? __device_attach_driver+0xe0/0xe0 Dec 28 12:36:57 lisa kernel: [ 12.840850] bus_for_each_dev+0x78/0xc0 Dec 28 12:36:57 lisa kernel: [ 12.840852] new_id_store+0xfc/0x1d0 Dec 28 12:36:57 lisa kernel: [ 12.840854] kernfs_fop_write_iter+0x11c/0x1b0 Dec 28 12:36:57 lisa kernel: [ 12.840857] new_sync_write+0x11f/0x1b0 Dec 28 12:36:57 lisa kernel: [ 12.840860] vfs_write+0x209/0x2a0 Dec 28 12:36:57 lisa kernel: [ 12.840862] ksys_write+0x5f/0xe0 Dec 28 12:36:57 lisa kernel: [ 12.840864] do_syscall_64+0x3b/0xc0 Dec 28 12:36:57 lisa kernel: [ 12.840866] entry_SYSCALL_64_after_hwframe+0x44/0xae Dec 28 12:36:57 lisa kernel: [ 12.840870] RIP: 0033:0x7f0ce4183d53 Dec 28 12:36:57 lisa kernel: [ 12.840873] Code: 8b 15 21 f1 0c 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 Dec 28 12:36:57 lisa kernel: [ 12.840874] RSP: 002b:00007ffd3ffb4728 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 Dec 28 12:36:57 lisa kernel: [ 12.840877] RAX: ffffffffffffffda RBX: 0000000000000009 RCX: 00007f0ce4183d53 Dec 28 12:36:57 lisa kernel: [ 12.840878] RDX: 0000000000000009 RSI: 00007ffd3ffb49c0 RDI: 0000000000000006 Dec 28 12:36:57 lisa kernel: [ 12.840879] RBP: 00007ffd3ffb49c0 R08: 0000000000000000 R09: 0000000000000000 Dec 28 12:36:57 lisa kernel: [ 12.840880] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000009 Dec 28 12:36:57 lisa kernel: [ 12.840880] R13: 0000564b8962e0c0 R14: 0000000000000009 R15: 00007f0ce42548a0 Dec 28 12:36:57 lisa kernel: [ 12.840882] </TASK> Dec 28 12:36:59 lisa kernel: [ 13.920319] mt7921e 0000:04:00.0: Timeout for driver own Dec 28 12:36:59 lisa kernel: [ 13.920647] ------------[ cut here ]------------ Dec 28 12:36:59 lisa kernel: [ 13.920648] WARNING: CPU: 0 PID: 648 at drivers/iommu/dma-iommu.c:848 iommu_dma_unmap_page+0x79/0x90 Dec 28 12:36:59 lisa kernel: [ 13.920655] Modules linked in: rfcomm snd_seq_dummy snd_hrtimer snd_seq snd_seq_device cmac algif_hash algif_skcipher af_alg bnep cpufreq_conservative cpufreq_ondemand cpufreq_powersave cpufreq_userspace binfmt_misc intel_rapl_msr intel_rapl_common snd_soc_dmic snd_acp3x_pdm_dma snd_acp3x_rn snd_soc_core edac_mce_amd snd_hda_codec_realtek snd_compress btusb snd_hda_codec_generic ledtrig_audio btrtl btbcm kvm_amd snd_hda_codec_hdmi btintel bluetooth uvcvideo snd_hda_intel gpio_keys kvm jitterentropy_rng snd_intel_dspcfg videobuf2_vmalloc videobuf2_memops sha512_ssse3 snd_intel_sdw_acpi nls_ascii irqbypass nls_cp437 snd_hda_codec joydev videobuf2_v4l2 sha512_generic snd_hda_core videobuf2_common vfat ghash_clmulni_intel drbg fat videodev aesni_intel snd_hwdep ansi_cprng ecdh_generic snd_pcm mc crypto_simd ecc hid_sensor_accel_3d hid_sensor_gyro_3d cryptd hid_sensor_magn_3d hid_sensor_als hid_sensor_prox snd_timer snd_rn_pci_acp3x rapl hid_sensor_trigger snd ccp hid_sensor_iio_common Dec 28 12:36:59 lisa kernel: [ 13.920690] snd_pci_acp3x industrialio_triggered_buffer msi_wmi sp5100_tco soundcore kfifo_buf serio_raw wmi_bmof efi_pstore pcspkr rng_core watchdog hid_multitouch k10temp sparse_keymap industrialio evdev soc_button_array ac acpi_cpufreq amd_pmc mt7921e mt7921_common mt76_connac_lib mt76 mac80211 libarc4 cfg80211 rfkill msr fuse configfs efivarfs ip_tables x_tables autofs4 ext4 crc32c_generic crc16 mbcache jbd2 usbhid amdgpu gpu_sched i2c_algo_bit drm_ttm_helper ttm hid_sensor_hub hid_generic xhci_pci drm_kms_helper xhci_hcd nvme cec nvme_core rc_core r8169 t10_pi crc32_pclmul crc_t10dif usbcore psmouse crc32c_intel i2c_hid_acpi realtek crct10dif_generic amd_sfh i2c_hid mdio_devres crct10dif_pclmul drm libphy i2c_piix4 usb_common crct10dif_common wmi button battery video hid Dec 28 12:36:59 lisa kernel: [ 13.920725] CPU: 0 PID: 648 Comm: napi/phy0-8196 Tainted: G B W 5.16.0-rc2 #1 Dec 28 12:36:59 lisa kernel: [ 13.920726] Hardware name: Micro-Star International Co., Ltd. Alpha 15 B5EEK/MS-158L, BIOS E158LAMS.107 11/10/2021 Dec 28 12:36:59 lisa kernel: [ 13.920727] RIP: 0010:iommu_dma_unmap_page+0x79/0x90 Dec 28 12:36:59 lisa kernel: [ 13.920730] Code: 2b 4c 3b 20 72 26 4c 3b 60 08 73 20 49 89 d8 44 89 f1 5b 4c 89 ea 4c 89 e6 48 89 ef 5d 41 5c 41 5d 41 5e 41 5f e9 c7 c7 ad ff <0f> 0b 5b 5d 41 5c 41 5d 41 5e 41 5f c3 66 2e 0f 1f 84 00 00 00 00 Dec 28 12:36:59 lisa kernel: [ 13.920731] RSP: 0018:ffffa96ac07d7dd0 EFLAGS: 00010246 Dec 28 12:36:59 lisa kernel: [ 13.920732] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 Dec 28 12:36:59 lisa kernel: [ 13.920733] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffa96ac07d7db0 Dec 28 12:36:59 lisa kernel: [ 13.920733] RBP: ffff95b8813850d0 R08: ffff95b8a07e8cc8 R09: 00000000ff799800 Dec 28 12:36:59 lisa kernel: [ 13.920734] R10: 0000000000000081 R11: 0000000000000001 R12: ffff95b8a870a4f0 Dec 28 12:36:59 lisa kernel: [ 13.920735] R13: 00000000000006c0 R14: 0000000000000002 R15: 00000000ff799800 Dec 28 12:36:59 lisa kernel: [ 13.920735] FS: 0000000000000000(0000) GS:ffff95bb5e600000(0000) knlGS:0000000000000000 Dec 28 12:36:59 lisa kernel: [ 13.920736] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 Dec 28 12:36:59 lisa kernel: [ 13.920737] CR2: 00007f742c009908 CR3: 000000025a010000 CR4: 0000000000750ef0 Dec 28 12:36:59 lisa kernel: [ 13.920738] PKRU: 55555554 Dec 28 12:36:59 lisa kernel: [ 13.920739] Call Trace: Dec 28 12:36:59 lisa kernel: [ 13.920740] <TASK> Dec 28 12:36:59 lisa kernel: [ 13.920744] mt76_dma_rx_poll+0x26f/0x4a0 [mt76] Dec 28 12:36:59 lisa kernel: [ 13.920752] mt7921_poll_rx+0x4a/0xe0 [mt7921e] Dec 28 12:36:59 lisa kernel: [ 13.920754] __napi_poll+0x2c/0x160 Dec 28 12:36:59 lisa kernel: [ 13.920758] ? __napi_poll+0x160/0x160 Dec 28 12:36:59 lisa kernel: [ 13.920759] napi_threaded_poll+0x144/0x160 Dec 28 12:36:59 lisa kernel: [ 13.920760] kthread+0x16b/0x190 Dec 28 12:36:59 lisa kernel: [ 13.920764] ? set_kthread_struct+0x40/0x40 Dec 28 12:36:59 lisa kernel: [ 13.920765] ret_from_fork+0x22/0x30 Dec 28 12:36:59 lisa kernel: [ 13.920769] </TASK> Dec 28 12:36:59 lisa kernel: [ 13.920769] ---[ end trace 604a1224e15dfbb2 ]--- Dec 28 12:36:59 lisa kernel: [ 14.160834] rfkill: input handler disabled Dec 28 12:37:00 lisa kernel: [ 15.000323] mt7921e 0000:04:00.0: Timeout for driver own Dec 28 12:37:00 lisa kernel: [ 15.000591] BUG: Bad page state in process systemd-udevd pfn:10a07a Dec 28 12:37:00 lisa kernel: [ 15.000593] page:00000000e00f2428 refcount:0 mapcount:0 mapping:0000000052931e3d index:0x0 pfn:0x10a07a Dec 28 12:37:00 lisa kernel: [ 15.000595] memcg:ffff95b887dd0e01 Dec 28 12:37:00 lisa kernel: [ 15.000595] aops:0xffff95b880ce9cd8 with invalid host inode 0000000000037a70 Dec 28 12:37:00 lisa kernel: [ 15.000598] flags: 0x17ffffc0000000(node=0|zone=2|lastcpupid=0x1fffff) Dec 28 12:37:00 lisa kernel: [ 15.000601] raw: 0017ffffc0000000 dead000000000100 dead000000000122 ffff95b8801aa600 Dec 28 12:37:00 lisa kernel: [ 15.000602] raw: 0000000000000000 0000000000280028 00000000ffffffff ffff95b887dd0e01 Dec 28 12:37:00 lisa kernel: [ 15.000602] page dumped because: page still charged to cgroup Dec 28 12:37:00 lisa kernel: [ 15.000603] Modules linked in: rfcomm snd_seq_dummy snd_hrtimer snd_seq snd_seq_device cmac algif_hash algif_skcipher af_alg bnep cpufreq_conservative cpufreq_ondemand cpufreq_powersave cpufreq_userspace binfmt_misc intel_rapl_msr intel_rapl_common snd_soc_dmic snd_acp3x_pdm_dma snd_acp3x_rn snd_soc_core edac_mce_amd snd_hda_codec_realtek snd_compress btusb snd_hda_codec_generic ledtrig_audio btrtl btbcm kvm_amd snd_hda_codec_hdmi btintel bluetooth uvcvideo snd_hda_intel gpio_keys kvm jitterentropy_rng snd_intel_dspcfg videobuf2_vmalloc videobuf2_memops sha512_ssse3 snd_intel_sdw_acpi nls_ascii irqbypass nls_cp437 snd_hda_codec joydev videobuf2_v4l2 sha512_generic snd_hda_core videobuf2_common vfat ghash_clmulni_intel drbg fat videodev aesni_intel snd_hwdep ansi_cprng ecdh_generic snd_pcm mc crypto_simd ecc hid_sensor_accel_3d hid_sensor_gyro_3d cryptd hid_sensor_magn_3d hid_sensor_als hid_sensor_prox snd_timer snd_rn_pci_acp3x rapl hid_sensor_trigger snd ccp hid_sensor_iio_common Dec 28 12:37:00 lisa kernel: [ 15.000635] snd_pci_acp3x industrialio_triggered_buffer msi_wmi sp5100_tco soundcore kfifo_buf serio_raw wmi_bmof efi_pstore pcspkr rng_core watchdog hid_multitouch k10temp sparse_keymap industrialio evdev soc_button_array ac acpi_cpufreq amd_pmc mt7921e mt7921_common mt76_connac_lib mt76 mac80211 libarc4 cfg80211 rfkill msr fuse configfs efivarfs ip_tables x_tables autofs4 ext4 crc32c_generic crc16 mbcache jbd2 usbhid amdgpu gpu_sched i2c_algo_bit drm_ttm_helper ttm hid_sensor_hub hid_generic xhci_pci drm_kms_helper xhci_hcd nvme cec nvme_core rc_core r8169 t10_pi crc32_pclmul crc_t10dif usbcore psmouse crc32c_intel i2c_hid_acpi realtek crct10dif_generic amd_sfh i2c_hid mdio_devres crct10dif_pclmul drm libphy i2c_piix4 usb_common crct10dif_common wmi button battery video hid Dec 28 12:37:00 lisa kernel: [ 15.000667] CPU: 0 PID: 450 Comm: systemd-udevd Tainted: G B W 5.16.0-rc2 #1 Dec 28 12:37:00 lisa kernel: [ 15.000669] Hardware name: Micro-Star International Co., Ltd. Alpha 15 B5EEK/MS-158L, BIOS E158LAMS.107 11/10/2021 Dec 28 12:37:00 lisa kernel: [ 15.000670] Call Trace: Dec 28 12:37:00 lisa kernel: [ 15.000672] <TASK> Dec 28 12:37:00 lisa kernel: [ 15.000674] dump_stack_lvl+0x48/0x5e Dec 28 12:37:00 lisa kernel: [ 15.000678] bad_page.cold+0x63/0x94 Dec 28 12:37:00 lisa kernel: [ 15.000680] free_pcppages_bulk+0x1f2/0x360 Dec 28 12:37:00 lisa kernel: [ 15.000684] free_unref_page+0xb4/0x120 Dec 28 12:37:00 lisa kernel: [ 15.000687] mt76_dma_rx_cleanup+0x94/0x110 [mt76] Dec 28 12:37:00 lisa kernel: [ 15.000693] mt7921_wpdma_reset+0xbc/0x1c0 [mt7921e] Dec 28 12:37:00 lisa kernel: [ 15.000696] mt7921_register_device+0x32b/0x5d0 [mt7921_common] Dec 28 12:37:00 lisa kernel: [ 15.000700] mt7921_pci_probe+0x1d5/0x210 [mt7921e] Dec 28 12:37:00 lisa kernel: [ 15.000701] ? __pm_runtime_resume+0x58/0x80 Dec 28 12:37:00 lisa kernel: [ 15.000704] local_pci_probe+0x45/0x80 Dec 28 12:37:00 lisa kernel: [ 15.000707] ? pci_match_device+0xac/0x130 Dec 28 12:37:00 lisa kernel: [ 15.000709] pci_device_probe+0xd2/0x1c0 Dec 28 12:37:00 lisa kernel: [ 15.000710] really_probe+0x1f5/0x3f0 Dec 28 12:37:00 lisa kernel: [ 15.000713] __driver_probe_device+0xfe/0x180 Dec 28 12:37:00 lisa kernel: [ 15.000714] driver_probe_device+0x1e/0x90 Dec 28 12:37:00 lisa kernel: [ 15.000715] __driver_attach+0xc0/0x1c0 Dec 28 12:37:00 lisa kernel: [ 15.000716] ? __device_attach_driver+0xe0/0xe0 Dec 28 12:37:00 lisa kernel: [ 15.000717] ? __device_attach_driver+0xe0/0xe0 Dec 28 12:37:00 lisa kernel: [ 15.000718] bus_for_each_dev+0x78/0xc0 Dec 28 12:37:00 lisa kernel: [ 15.000720] new_id_store+0xfc/0x1d0 Dec 28 12:37:00 lisa kernel: [ 15.000721] kernfs_fop_write_iter+0x11c/0x1b0 Dec 28 12:37:00 lisa kernel: [ 15.000724] new_sync_write+0x11f/0x1b0 Dec 28 12:37:00 lisa kernel: [ 15.000727] vfs_write+0x209/0x2a0 Dec 28 12:37:00 lisa kernel: [ 15.000728] ksys_write+0x5f/0xe0 Dec 28 12:37:00 lisa kernel: [ 15.000730] do_syscall_64+0x3b/0xc0 Dec 28 12:37:00 lisa kernel: [ 15.000732] entry_SYSCALL_64_after_hwframe+0x44/0xae Dec 28 12:37:00 lisa kernel: [ 15.000735] RIP: 0033:0x7f0ce4183d53 Dec 28 12:37:00 lisa kernel: [ 15.000737] Code: 8b 15 21 f1 0c 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 Dec 28 12:37:00 lisa kernel: [ 15.000738] RSP: 002b:00007ffd3ffb4728 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 Dec 28 12:37:00 lisa kernel: [ 15.000739] RAX: ffffffffffffffda RBX: 0000000000000009 RCX: 00007f0ce4183d53 Dec 28 12:37:00 lisa kernel: [ 15.000740] RDX: 0000000000000009 RSI: 00007ffd3ffb49c0 RDI: 0000000000000006 Dec 28 12:37:00 lisa kernel: [ 15.000740] RBP: 00007ffd3ffb49c0 R08: 0000000000000000 R09: 0000000000000000 Dec 28 12:37:00 lisa kernel: [ 15.000741] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000009 Dec 28 12:37:00 lisa kernel: [ 15.000741] R13: 0000564b8962e0c0 R14: 0000000000000009 R15: 00007f0ce42548a0 Dec 28 12:37:00 lisa kernel: [ 15.000743] </TASK> Dec 28 12:37:01 lisa kernel: [ 16.084320] mt7921e 0000:04:00.0: Timeout for driver own Dec 28 12:37:01 lisa kernel: [ 16.084490] BUG: Bad page state in process systemd-udevd pfn:10c118 Dec 28 12:37:01 lisa kernel: [ 16.084492] page:00000000e992664b refcount:0 mapcount:0 mapping:00000000d9149d81 index:0x0 pfn:0x10c118 Dec 28 12:37:01 lisa kernel: [ 16.084494] memcg:ffff95b89961dac1 Dec 28 12:37:01 lisa kernel: [ 16.084495] aops:0xffff95b880ce9cd8 with invalid host inode 00000000000379d0 Dec 28 12:37:01 lisa kernel: [ 16.084497] flags: 0x17ffffc0000000(node=0|zone=2|lastcpupid=0x1fffff) Dec 28 12:37:01 lisa kernel: [ 16.084499] raw: 0017ffffc0000000 dead000000000100 dead000000000122 ffff95b8801abc00 Dec 28 12:37:01 lisa kernel: [ 16.084500] raw: 0000000000000000 0000000000050005 00000000ffffffff ffff95b89961dac1 Dec 28 12:37:01 lisa kernel: [ 16.084501] page dumped because: page still charged to cgroup Dec 28 12:37:01 lisa kernel: [ 16.084501] Modules linked in: rfcomm snd_seq_dummy snd_hrtimer snd_seq snd_seq_device cmac algif_hash algif_skcipher af_alg bnep cpufreq_conservative cpufreq_ondemand cpufreq_powersave cpufreq_userspace binfmt_misc intel_rapl_msr intel_rapl_common snd_soc_dmic snd_acp3x_pdm_dma snd_acp3x_rn snd_soc_core edac_mce_amd snd_hda_codec_realtek snd_compress btusb snd_hda_codec_generic ledtrig_audio btrtl btbcm kvm_amd snd_hda_codec_hdmi btintel bluetooth uvcvideo snd_hda_intel gpio_keys kvm jitterentropy_rng snd_intel_dspcfg videobuf2_vmalloc videobuf2_memops sha512_ssse3 snd_intel_sdw_acpi nls_ascii irqbypass nls_cp437 snd_hda_codec joydev videobuf2_v4l2 sha512_generic snd_hda_core videobuf2_common vfat ghash_clmulni_intel drbg fat videodev aesni_intel snd_hwdep ansi_cprng ecdh_generic snd_pcm mc crypto_simd ecc hid_sensor_accel_3d hid_sensor_gyro_3d cryptd hid_sensor_magn_3d hid_sensor_als hid_sensor_prox snd_timer snd_rn_pci_acp3x rapl hid_sensor_trigger snd ccp hid_sensor_iio_common Dec 28 12:37:01 lisa kernel: [ 16.084530] snd_pci_acp3x industrialio_triggered_buffer msi_wmi sp5100_tco soundcore kfifo_buf serio_raw wmi_bmof efi_pstore pcspkr rng_core watchdog hid_multitouch k10temp sparse_keymap industrialio evdev soc_button_array ac acpi_cpufreq amd_pmc mt7921e mt7921_common mt76_connac_lib mt76 mac80211 libarc4 cfg80211 rfkill msr fuse configfs efivarfs ip_tables x_tables autofs4 ext4 crc32c_generic crc16 mbcache jbd2 usbhid amdgpu gpu_sched i2c_algo_bit drm_ttm_helper ttm hid_sensor_hub hid_generic xhci_pci drm_kms_helper xhci_hcd nvme cec nvme_core rc_core r8169 t10_pi crc32_pclmul crc_t10dif usbcore psmouse crc32c_intel i2c_hid_acpi realtek crct10dif_generic amd_sfh i2c_hid mdio_devres crct10dif_pclmul drm libphy i2c_piix4 usb_common crct10dif_common wmi button battery video hid Dec 28 12:37:01 lisa kernel: [ 16.084557] CPU: 4 PID: 450 Comm: systemd-udevd Tainted: G B W 5.16.0-rc2 #1 Dec 28 12:37:01 lisa kernel: [ 16.084559] Hardware name: Micro-Star International Co., Ltd. Alpha 15 B5EEK/MS-158L, BIOS E158LAMS.107 11/10/2021 Dec 28 12:37:01 lisa kernel: [ 16.084560] Call Trace: Dec 28 12:37:01 lisa kernel: [ 16.084562] <TASK> Dec 28 12:37:01 lisa kernel: [ 16.084563] dump_stack_lvl+0x48/0x5e Dec 28 12:37:01 lisa kernel: [ 16.084566] bad_page.cold+0x63/0x94 Dec 28 12:37:01 lisa kernel: [ 16.084568] free_pcppages_bulk+0x1f2/0x360 Dec 28 12:37:01 lisa kernel: [ 16.084572] free_unref_page+0xb4/0x120 Dec 28 12:37:01 lisa kernel: [ 16.084575] mt76_dma_rx_cleanup+0x94/0x110 [mt76] Dec 28 12:37:01 lisa kernel: [ 16.084580] mt7921_wpdma_reset+0xbc/0x1c0 [mt7921e] Dec 28 12:37:01 lisa kernel: [ 16.084582] mt7921_register_device+0x32b/0x5d0 [mt7921_common] Dec 28 12:37:01 lisa kernel: [ 16.084586] mt7921_pci_probe+0x1d5/0x210 [mt7921e] Dec 28 12:37:01 lisa kernel: [ 16.084587] ? __pm_runtime_resume+0x58/0x80 Dec 28 12:37:01 lisa kernel: [ 16.084589] local_pci_probe+0x45/0x80 Dec 28 12:37:01 lisa kernel: [ 16.084591] ? pci_match_device+0xac/0x130 Dec 28 12:37:01 lisa kernel: [ 16.084593] pci_device_probe+0xd2/0x1c0 Dec 28 12:37:01 lisa kernel: [ 16.084594] really_probe+0x1f5/0x3f0 Dec 28 12:37:01 lisa kernel: [ 16.084596] __driver_probe_device+0xfe/0x180 Dec 28 12:37:01 lisa kernel: [ 16.084598] driver_probe_device+0x1e/0x90 Dec 28 12:37:01 lisa kernel: [ 16.084599] __driver_attach+0xc0/0x1c0 Dec 28 12:37:01 lisa kernel: [ 16.084600] ? __device_attach_driver+0xe0/0xe0 Dec 28 12:37:01 lisa kernel: [ 16.084601] ? __device_attach_driver+0xe0/0xe0 Dec 28 12:37:01 lisa kernel: [ 16.084602] bus_for_each_dev+0x78/0xc0 Dec 28 12:37:01 lisa kernel: [ 16.084603] new_id_store+0xfc/0x1d0 Dec 28 12:37:01 lisa kernel: [ 16.084605] kernfs_fop_write_iter+0x11c/0x1b0 Dec 28 12:37:01 lisa kernel: [ 16.084607] new_sync_write+0x11f/0x1b0 Dec 28 12:37:01 lisa kernel: [ 16.084609] vfs_write+0x209/0x2a0 Dec 28 12:37:01 lisa kernel: [ 16.084610] ksys_write+0x5f/0xe0 Dec 28 12:37:01 lisa kernel: [ 16.084612] do_syscall_64+0x3b/0xc0 Dec 28 12:37:01 lisa kernel: [ 16.084614] entry_SYSCALL_64_after_hwframe+0x44/0xae Dec 28 12:37:01 lisa kernel: [ 16.084616] RIP: 0033:0x7f0ce4183d53 Dec 28 12:37:01 lisa kernel: [ 16.084618] Code: 8b 15 21 f1 0c 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 Dec 28 12:37:01 lisa kernel: [ 16.084619] RSP: 002b:00007ffd3ffb4728 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 Dec 28 12:37:01 lisa kernel: [ 16.084620] RAX: ffffffffffffffda RBX: 0000000000000009 RCX: 00007f0ce4183d53 Dec 28 12:37:01 lisa kernel: [ 16.084621] RDX: 0000000000000009 RSI: 00007ffd3ffb49c0 RDI: 0000000000000006 Dec 28 12:37:01 lisa kernel: [ 16.084621] RBP: 00007ffd3ffb49c0 R08: 0000000000000000 R09: 0000000000000000 Dec 28 12:37:01 lisa kernel: [ 16.084622] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000009 Dec 28 12:37:01 lisa kernel: [ 16.084622] R13: 0000564b8962e0c0 R14: 0000000000000009 R15: 00007f0ce42548a0 Dec 28 12:37:01 lisa kernel: [ 16.084624] </TASK> Dec 28 12:37:02 lisa kernel: [ 17.164316] mt7921e 0000:04:00.0: Timeout for driver own Dec 28 12:37:02 lisa kernel: [ 17.164425] BUG: Bad page state in process systemd-udevd pfn:10465c Dec 28 12:37:02 lisa kernel: [ 17.164427] page:000000008427d8cd refcount:-1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10465c Dec 28 12:37:02 lisa kernel: [ 17.164430] flags: 0x17ffffc0000000(node=0|zone=2|lastcpupid=0x1fffff) Dec 28 12:37:02 lisa kernel: [ 17.164432] raw: 0017ffffc0000000 0000000000000000 dead000000000122 0000000000000000 Dec 28 12:37:02 lisa kernel: [ 17.164434] raw: 0000000000000000 0000000000000000 ffffffffffffffff 0000000000000000 Dec 28 12:37:02 lisa kernel: [ 17.164434] page dumped because: nonzero _refcount Dec 28 12:37:02 lisa kernel: [ 17.164435] Modules linked in: rfcomm snd_seq_dummy snd_hrtimer snd_seq snd_seq_device cmac algif_hash algif_skcipher af_alg bnep cpufreq_conservative cpufreq_ondemand cpufreq_powersave cpufreq_userspace binfmt_misc intel_rapl_msr intel_rapl_common snd_soc_dmic snd_acp3x_pdm_dma snd_acp3x_rn snd_soc_core edac_mce_amd snd_hda_codec_realtek snd_compress btusb snd_hda_codec_generic ledtrig_audio btrtl btbcm kvm_amd snd_hda_codec_hdmi btintel bluetooth uvcvideo snd_hda_intel gpio_keys kvm jitterentropy_rng snd_intel_dspcfg videobuf2_vmalloc videobuf2_memops sha512_ssse3 snd_intel_sdw_acpi nls_ascii irqbypass nls_cp437 snd_hda_codec joydev videobuf2_v4l2 sha512_generic snd_hda_core videobuf2_common vfat ghash_clmulni_intel drbg fat videodev aesni_intel snd_hwdep ansi_cprng ecdh_generic snd_pcm mc crypto_simd ecc hid_sensor_accel_3d hid_sensor_gyro_3d cryptd hid_sensor_magn_3d hid_sensor_als hid_sensor_prox snd_timer snd_rn_pci_acp3x rapl hid_sensor_trigger snd ccp hid_sensor_iio_common Dec 28 12:37:02 lisa kernel: [ 17.164468] snd_pci_acp3x industrialio_triggered_buffer msi_wmi sp5100_tco soundcore kfifo_buf serio_raw wmi_bmof efi_pstore pcspkr rng_core watchdog hid_multitouch k10temp sparse_keymap industrialio evdev soc_button_array ac acpi_cpufreq amd_pmc mt7921e mt7921_common mt76_connac_lib mt76 mac80211 libarc4 cfg80211 rfkill msr fuse configfs efivarfs ip_tables x_tables autofs4 ext4 crc32c_generic crc16 mbcache jbd2 usbhid amdgpu gpu_sched i2c_algo_bit drm_ttm_helper ttm hid_sensor_hub hid_generic xhci_pci drm_kms_helper xhci_hcd nvme cec nvme_core rc_core r8169 t10_pi crc32_pclmul crc_t10dif usbcore psmouse crc32c_intel i2c_hid_acpi realtek crct10dif_generic amd_sfh i2c_hid mdio_devres crct10dif_pclmul drm libphy i2c_piix4 usb_common crct10dif_common wmi button battery video hid Dec 28 12:37:02 lisa kernel: [ 17.164499] CPU: 2 PID: 450 Comm: systemd-udevd Tainted: G B W 5.16.0-rc2 #1 Dec 28 12:37:02 lisa kernel: [ 17.164501] Hardware name: Micro-Star International Co., Ltd. Alpha 15 B5EEK/MS-158L, BIOS E158LAMS.107 11/10/2021 Dec 28 12:37:02 lisa kernel: [ 17.164502] Call Trace: Dec 28 12:37:02 lisa kernel: [ 17.164504] <TASK> Dec 28 12:37:02 lisa kernel: [ 17.164506] dump_stack_lvl+0x48/0x5e Dec 28 12:37:02 lisa kernel: [ 17.164509] bad_page.cold+0x63/0x94 Dec 28 12:37:02 lisa kernel: [ 17.164512] free_pcp_prepare+0x214/0x260 Dec 28 12:37:02 lisa kernel: [ 17.164515] free_unref_page+0x1d/0x120 Dec 28 12:37:02 lisa kernel: [ 17.164517] mt76_dma_rx_cleanup+0x94/0x110 [mt76] Dec 28 12:37:02 lisa kernel: [ 17.164523] mt7921_wpdma_reset+0xbc/0x1c0 [mt7921e] Dec 28 12:37:02 lisa kernel: [ 17.164526] mt7921_register_device+0x32b/0x5d0 [mt7921_common] Dec 28 12:37:02 lisa kernel: [ 17.164530] mt7921_pci_probe+0x1d5/0x210 [mt7921e] Dec 28 12:37:02 lisa kernel: [ 17.164532] ? __pm_runtime_resume+0x58/0x80 Dec 28 12:37:02 lisa kernel: [ 17.164534] local_pci_probe+0x45/0x80 Dec 28 12:37:02 lisa kernel: [ 17.164537] ? pci_match_device+0xac/0x130 Dec 28 12:37:02 lisa kernel: [ 17.164539] pci_device_probe+0xd2/0x1c0 Dec 28 12:37:02 lisa kernel: [ 17.164540] really_probe+0x1f5/0x3f0 Dec 28 12:37:02 lisa kernel: [ 17.164543] __driver_probe_device+0xfe/0x180 Dec 28 12:37:02 lisa kernel: [ 17.164544] driver_probe_device+0x1e/0x90 Dec 28 12:37:02 lisa kernel: [ 17.164546] __driver_attach+0xc0/0x1c0 Dec 28 12:37:02 lisa kernel: [ 17.164547] ? __device_attach_driver+0xe0/0xe0 Dec 28 12:37:02 lisa kernel: [ 17.164548] ? __device_attach_driver+0xe0/0xe0 Dec 28 12:37:02 lisa kernel: [ 17.164550] bus_for_each_dev+0x78/0xc0 Dec 28 12:37:02 lisa kernel: [ 17.164551] new_id_store+0xfc/0x1d0 Dec 28 12:37:02 lisa kernel: [ 17.164553] kernfs_fop_write_iter+0x11c/0x1b0 Dec 28 12:37:02 lisa kernel: [ 17.164555] new_sync_write+0x11f/0x1b0 Dec 28 12:37:02 lisa kernel: [ 17.164558] vfs_write+0x209/0x2a0 Dec 28 12:37:02 lisa kernel: [ 17.164559] ksys_write+0x5f/0xe0 Dec 28 12:37:02 lisa kernel: [ 17.164561] do_syscall_64+0x3b/0xc0 Dec 28 12:37:02 lisa kernel: [ 17.164563] entry_SYSCALL_64_after_hwframe+0x44/0xae Dec 28 12:37:02 lisa kernel: [ 17.164565] RIP: 0033:0x7f0ce4183d53 Dec 28 12:37:02 lisa kernel: [ 17.164567] Code: 8b 15 21 f1 0c 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 Dec 28 12:37:02 lisa kernel: [ 17.164568] RSP: 002b:00007ffd3ffb4728 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 Dec 28 12:37:02 lisa kernel: [ 17.164570] RAX: ffffffffffffffda RBX: 0000000000000009 RCX: 00007f0ce4183d53 Dec 28 12:37:02 lisa kernel: [ 17.164571] RDX: 0000000000000009 RSI: 00007ffd3ffb49c0 RDI: 0000000000000006 Dec 28 12:37:02 lisa kernel: [ 17.164571] RBP: 00007ffd3ffb49c0 R08: 0000000000000000 R09: 0000000000000000 Dec 28 12:37:02 lisa kernel: [ 17.164572] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000009 Dec 28 12:37:02 lisa kernel: [ 17.164572] R13: 0000564b8962e0c0 R14: 0000000000000009 R15: 00007f0ce42548a0 Dec 28 12:37:02 lisa kernel: [ 17.164574] </TASK> Dec 28 12:37:02 lisa kernel: [ 17.164885] BUG: Bad page state in process systemd-udevd pfn:107058 Dec 28 12:37:02 lisa kernel: [ 17.164887] page:00000000b143005e refcount:-1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x107058 Dec 28 12:37:02 lisa kernel: [ 17.164889] flags: 0x17ffffc0000000(node=0|zone=2|lastcpupid=0x1fffff) Dec 28 12:37:02 lisa kernel: [ 17.164890] raw: 0017ffffc0000000 dead000000000100 dead000000000122 0000000000000000 Dec 28 12:37:02 lisa kernel: [ 17.164891] raw: 0000000000000000 0000000000000000 ffffffffffffffff 0000000000000000 Dec 28 12:37:02 lisa kernel: [ 17.164892] page dumped because: nonzero _refcount Dec 28 12:37:02 lisa kernel: [ 17.164892] Modules linked in: rfcomm snd_seq_dummy snd_hrtimer snd_seq snd_seq_device cmac algif_hash algif_skcipher af_alg bnep cpufreq_conservative cpufreq_ondemand cpufreq_powersave cpufreq_userspace binfmt_misc intel_rapl_msr intel_rapl_common snd_soc_dmic snd_acp3x_pdm_dma snd_acp3x_rn snd_soc_core edac_mce_amd snd_hda_codec_realtek snd_compress btusb snd_hda_codec_generic ledtrig_audio btrtl btbcm kvm_amd snd_hda_codec_hdmi btintel bluetooth uvcvideo snd_hda_intel gpio_keys kvm jitterentropy_rng snd_intel_dspcfg videobuf2_vmalloc videobuf2_memops sha512_ssse3 snd_intel_sdw_acpi nls_ascii irqbypass nls_cp437 snd_hda_codec joydev videobuf2_v4l2 sha512_generic snd_hda_core videobuf2_common vfat ghash_clmulni_intel drbg fat videodev aesni_intel snd_hwdep ansi_cprng ecdh_generic snd_pcm mc crypto_simd ecc hid_sensor_accel_3d hid_sensor_gyro_3d cryptd hid_sensor_magn_3d hid_sensor_als hid_sensor_prox snd_timer snd_rn_pci_acp3x rapl hid_sensor_trigger snd ccp hid_sensor_iio_common Dec 28 12:37:02 lisa kernel: [ 17.164919] snd_pci_acp3x industrialio_triggered_buffer msi_wmi sp5100_tco soundcore kfifo_buf serio_raw wmi_bmof efi_pstore pcspkr rng_core watchdog hid_multitouch k10temp sparse_keymap industrialio evdev soc_button_array ac acpi_cpufreq amd_pmc mt7921e mt7921_common mt76_connac_lib mt76 mac80211 libarc4 cfg80211 rfkill msr fuse configfs efivarfs ip_tables x_tables autofs4 ext4 crc32c_generic crc16 mbcache jbd2 usbhid amdgpu gpu_sched i2c_algo_bit drm_ttm_helper ttm hid_sensor_hub hid_generic xhci_pci drm_kms_helper xhci_hcd nvme cec nvme_core rc_core r8169 t10_pi crc32_pclmul crc_t10dif usbcore psmouse crc32c_intel i2c_hid_acpi realtek crct10dif_generic amd_sfh i2c_hid mdio_devres crct10dif_pclmul drm libphy i2c_piix4 usb_common crct10dif_common wmi button battery video hid Dec 28 12:37:02 lisa kernel: [ 17.164948] CPU: 2 PID: 450 Comm: systemd-udevd Tainted: G B W 5.16.0-rc2 #1 Dec 28 12:37:02 lisa kernel: [ 17.164949] Hardware name: Micro-Star International Co., Ltd. Alpha 15 B5EEK/MS-158L, BIOS E158LAMS.107 11/10/2021 Dec 28 12:37:02 lisa kernel: [ 17.164950] Call Trace: Dec 28 12:37:02 lisa kernel: [ 17.164951] <TASK> Dec 28 12:37:02 lisa kernel: [ 17.164952] dump_stack_lvl+0x48/0x5e Dec 28 12:37:02 lisa kernel: [ 17.164955] bad_page.cold+0x63/0x94 Dec 28 12:37:02 lisa kernel: [ 17.164957] free_pcppages_bulk+0x1f2/0x360 Dec 28 12:37:02 lisa kernel: [ 17.164961] free_unref_page+0xb4/0x120 Dec 28 12:37:02 lisa kernel: [ 17.164963] mt76_dma_rx_cleanup+0x94/0x110 [mt76] Dec 28 12:37:02 lisa kernel: [ 17.164969] mt7921_wpdma_reset+0xbc/0x1c0 [mt7921e] Dec 28 12:37:02 lisa kernel: [ 17.164972] mt7921_register_device+0x32b/0x5d0 [mt7921_common] Dec 28 12:37:02 lisa kernel: [ 17.164976] mt7921_pci_probe+0x1d5/0x210 [mt7921e] Dec 28 12:37:02 lisa kernel: [ 17.164977] ? __pm_runtime_resume+0x58/0x80 Dec 28 12:37:02 lisa kernel: [ 17.164979] local_pci_probe+0x45/0x80 Dec 28 12:37:02 lisa kernel: [ 17.164981] ? pci_match_device+0xac/0x130 Dec 28 12:37:02 lisa kernel: [ 17.164983] pci_device_probe+0xd2/0x1c0 Dec 28 12:37:02 lisa kernel: [ 17.164984] really_probe+0x1f5/0x3f0 Dec 28 12:37:02 lisa kernel: [ 17.164987] __driver_probe_device+0xfe/0x180 Dec 28 12:37:02 lisa kernel: [ 17.164988] driver_probe_device+0x1e/0x90 Dec 28 12:37:02 lisa kernel: [ 17.164990] __driver_attach+0xc0/0x1c0 Dec 28 12:37:02 lisa kernel: [ 17.164991] ? __device_attach_driver+0xe0/0xe0 Dec 28 12:37:02 lisa kernel: [ 17.164992] ? __device_attach_driver+0xe0/0xe0 Dec 28 12:37:02 lisa kernel: [ 17.164994] bus_for_each_dev+0x78/0xc0 Dec 28 12:37:02 lisa kernel: [ 17.164995] new_id_store+0xfc/0x1d0 Dec 28 12:37:02 lisa kernel: [ 17.164996] kernfs_fop_write_iter+0x11c/0x1b0 Dec 28 12:37:02 lisa kernel: [ 17.164998] new_sync_write+0x11f/0x1b0 Dec 28 12:37:02 lisa kernel: [ 17.165001] vfs_write+0x209/0x2a0 Dec 28 12:37:02 lisa kernel: [ 17.165003] ksys_write+0x5f/0xe0 Dec 28 12:37:02 lisa kernel: [ 17.165004] do_syscall_64+0x3b/0xc0 Dec 28 12:37:02 lisa kernel: [ 17.165006] entry_SYSCALL_64_after_hwframe+0x44/0xae Dec 28 12:37:02 lisa kernel: [ 17.165008] RIP: 0033:0x7f0ce4183d53 Dec 28 12:37:02 lisa kernel: [ 17.165009] Code: 8b 15 21 f1 0c 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 Dec 28 12:37:02 lisa kernel: [ 17.165010] RSP: 002b:00007ffd3ffb4728 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 Dec 28 12:37:02 lisa kernel: [ 17.165011] RAX: ffffffffffffffda RBX: 0000000000000009 RCX: 00007f0ce4183d53 Dec 28 12:37:02 lisa kernel: [ 17.165012] RDX: 0000000000000009 RSI: 00007ffd3ffb49c0 RDI: 0000000000000006 Dec 28 12:37:02 lisa kernel: [ 17.165013] RBP: 00007ffd3ffb49c0 R08: 0000000000000000 R09: 0000000000000000 Dec 28 12:37:02 lisa kernel: [ 17.165013] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000009 Dec 28 12:37:02 lisa kernel: [ 17.165014] R13: 0000564b8962e0c0 R14: 0000000000000009 R15: 00007f0ce42548a0 Dec 28 12:37:02 lisa kernel: [ 17.165015] </TASK>
Bisection reveals this as the culprit: bf3747ae2e25dda6a9e6c464a717c66118c588c8 is the first bad commit commit bf3747ae2e25dda6a9e6c464a717c66118c588c8 Author: Sean Wang <sean.wang@mediatek.com> Date: Sun Jun 20 15:48:06 2021 +0800 mt76: mt7921: enable aspm by default mt7921 is mainly used in NB, CE and IoT application where battery life is much concerned so the patch enabled PCIe ASPM by default to shut off the clocks related PCIe as much as possible when MT7921 is either in suspend state or in runtime pm to lower power consumption. We still leave disable aspm as an option with module_param for users to disable ASPM if necessary. Signed-off-by: Sean Wang <sean.wang@mediatek.com> Signed-off-by: Felix Fietkau <nbd@nbd.name> drivers/net/wireless/mediatek/mt76/mt7921/pci.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
Reverting bf3747ae2e25dda6a9e6c464a717c66118c588c8 in linux-5.16-rc7 gives a working kernel for me.
Using the the module parameter disable_aspm=1 is of course the easier and out-of-the-box option.
Created attachment 300205 [details] MTK DMA patch MTK share a patch for the issue.
Created attachment 300206 [details] MTK new mcu bin MTK mcu bin for the issue.