Panic in gen8_ggtt_insert_entries() with v6.5
Since v6.5 kernel my Lenovo T460s laptop (Skylake GT2 [HD Graphics 520] (rev 07)
) panics consistently (same panic each time) once kwin_wayland
is started:
zář 01 14:32:01 archlinux kernel: i915 0000:00:02.0: enabling device (0006 -> 0007)
zář 01 14:32:01 archlinux kernel: i915 0000:00:02.0: vgaarb: deactivate vga console
zář 01 14:32:01 archlinux kernel: i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=mem
zář 01 14:32:01 archlinux kernel: i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/skl_dmc_ver1_27.bin (v1.27)
zář 01 14:32:01 archlinux kernel: [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.0 on minor 1
zář 01 14:32:01 archlinux kernel: fbcon: i915drmfb (fb0) is primary device
zář 01 14:32:01 archlinux kernel: i915 0000:00:02.0: [drm] fb0: i915drmfb frame buffer device
…
zář 01 14:32:12 phlox kernel: memfd_create() without MFD_EXEC nor MFD_NOEXEC_SEAL, pid=674 'kwin_wayland'
zář 01 14:32:12 phlox kernel: BUG: unable to handle page fault for address: ffffb422c2800000
zář 01 14:32:12 phlox kernel: #PF: supervisor write access in kernel mode
zář 01 14:32:12 phlox kernel: #PF: error_code(0x0002) - not-present page
zář 01 14:32:12 phlox kernel: PGD 100000067 P4D 100000067 PUD 1001df067 PMD 10d1cf067 PTE 0
zář 01 14:32:12 phlox kernel: Oops: 0002 [#1] PREEMPT SMP PTI
zář 01 14:32:12 phlox kernel: CPU: 1 PID: 674 Comm: kwin_wayland Not tainted 6.5.0-pf1 #1 a6c58ff41a7b8bb16a19f5af9e0e9bce20f9f38d
zář 01 14:32:12 phlox kernel: Hardware name: LENOVO 20FAS2BM0F/20FAS2BM0F, BIOS N1CET90W (1.58 ) 11/15/2022
zář 01 14:32:12 phlox kernel: RIP: 0010:gen8_ggtt_insert_entries+0xc2/0x140 [i915]
zář 01 14:32:12 phlox kernel: Code: 32 4c 8d 0c cf 48 85 f6 74 7f 8b 7e 18 85 ff 74 78 8b 56 08 4c 8b 56 10 49 89 c3 48 89 d1 01 d7 4c 01 d2 4c 09 c2 48 83 c0 08 <49> 89 13 81 c1 00 10 00 00 39 f9 72 30 f6 06 02 75 4d 48 8b 56 20
zář 01 14:32:12 phlox kernel: RSP: 0018:ffffb422c1ca3758 EFLAGS: 00010282
zář 01 14:32:12 phlox kernel: RAX: ffffb422c2800008 RBX: ffff9c75c5d80028 RCX: 0000000000040000
zář 01 14:32:12 phlox kernel: RDX: 0000000139240001 RSI: ffff9c75cdfcd940 RDI: 0000000000200000
zář 01 14:32:12 phlox kernel: RBP: ffff9c75cb19a140 R08: 0000000000000001 R09: ffffb422c27ffeb0
zář 01 14:32:12 phlox kernel: R10: 0000000139200000 R11: ffffb422c2800000 R12: 0000000000000001
zář 01 14:32:12 phlox kernel: R13: 0000000000000000 R14: ffff9c75cb19a140 R15: ffff9c75c13c9680
zář 01 14:32:12 phlox kernel: FS: 00007ff6bd857640(0000) GS:ffff9c79cd480000(0000) knlGS:0000000000000000
zář 01 14:32:12 phlox kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
zář 01 14:32:12 phlox kernel: CR2: ffffb422c2800000 CR3: 00000001164b2005 CR4: 00000000003706e0
zář 01 14:32:12 phlox kernel: DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
zář 01 14:32:12 phlox kernel: DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
zář 01 14:32:12 phlox kernel: Call Trace:
zář 01 14:32:12 phlox kernel: <TASK>
zář 01 14:32:12 phlox kernel: ? __die+0x10d/0x110
zář 01 14:32:12 phlox kernel: ? page_fault_oops+0x171/0x4e0
zář 01 14:32:12 phlox kernel: ? exc_page_fault+0x175/0x180
zář 01 14:32:12 phlox kernel: ? asm_exc_page_fault+0x26/0x30
zář 01 14:32:12 phlox kernel: ? gen8_ggtt_insert_entries+0xc2/0x140 [i915 a83fdc6539431252dba13053979a8b680af86836]
zář 01 14:32:12 phlox kernel: ? gen8_ggtt_insert_entries+0x20/0x140 [i915 a83fdc6539431252dba13053979a8b680af86836]
zář 01 14:32:12 phlox kernel: intel_ggtt_bind_vma+0x3e/0x60 [i915 a83fdc6539431252dba13053979a8b680af86836]
zář 01 14:32:12 phlox kernel: i915_vma_bind+0x216/0x4b0 [i915 a83fdc6539431252dba13053979a8b680af86836]
zář 01 14:32:12 phlox kernel: i915_vma_pin_ww+0x405/0xa80 [i915 a83fdc6539431252dba13053979a8b680af86836]
zář 01 14:32:12 phlox kernel: __i915_ggtt_pin+0x5a/0x130 [i915 a83fdc6539431252dba13053979a8b680af86836]
zář 01 14:32:12 phlox kernel: i915_ggtt_pin+0x78/0x1f0 [i915 a83fdc6539431252dba13053979a8b680af86836]
zář 01 14:32:12 phlox kernel: __intel_context_do_pin_ww+0x312/0x700 [i915 a83fdc6539431252dba13053979a8b680af86836]
zář 01 14:32:12 phlox kernel: i915_gem_do_execbuffer+0xfc6/0x2720 [i915 a83fdc6539431252dba13053979a8b680af86836]
zář 01 14:32:12 phlox kernel: ? __kmem_cache_alloc_node+0x1be/0x390
zář 01 14:32:12 phlox kernel: i915_gem_execbuffer2_ioctl+0x111/0x260 [i915 a83fdc6539431252dba13053979a8b680af86836]
zář 01 14:32:12 phlox kernel: ? __pfx_i915_gem_execbuffer2_ioctl+0x10/0x10 [i915 a83fdc6539431252dba13053979a8b680af86836]
zář 01 14:32:12 phlox kernel: drm_ioctl_kernel+0xca/0x170
zář 01 14:32:12 phlox kernel: drm_ioctl+0x30f/0x580
zář 01 14:32:12 phlox kernel: ? __pfx_i915_gem_execbuffer2_ioctl+0x10/0x10 [i915 a83fdc6539431252dba13053979a8b680af86836]
zář 01 14:32:12 phlox kernel: __x64_sys_ioctl+0x94/0xd0
zář 01 14:32:12 phlox kernel: do_syscall_64+0x5d/0x90
zář 01 14:32:12 phlox kernel: ? handle_mm_fault+0xc5/0x360
zář 01 14:32:12 phlox kernel: ? do_user_addr_fault+0x3c3/0x9e0
zář 01 14:32:12 phlox kernel: ? exc_page_fault+0x7f/0x180
zář 01 14:32:12 phlox kernel: entry_SYSCALL_64_after_hwframe+0x6e/0xd8
zář 01 14:32:12 phlox kernel: RIP: 0033:0x7ff6c210c9df
zář 01 14:32:12 phlox kernel: Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 18 48 8b 44 24 18 64 48 2b 04 25 28 00 00
zář 01 14:32:12 phlox kernel: RSP: 002b:00007fff2ce87610 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
zář 01 14:32:12 phlox kernel: RAX: ffffffffffffffda RBX: 0000000000000014 RCX: 00007ff6c210c9df
zář 01 14:32:12 phlox kernel: RDX: 00007fff2ce876b0 RSI: 0000000040406469 RDI: 0000000000000014
zář 01 14:32:12 phlox kernel: RBP: 000055be63b54fe0 R08: 0000000000000003 R09: 0000000000000003
zář 01 14:32:12 phlox kernel: R10: 000055be63b53ce0 R11: 0000000000000246 R12: 00007fff2ce876b0
zář 01 14:32:12 phlox kernel: R13: 000055be63b094b0 R14: 000055be63b546b0 R15: 000055be63b094b0
zář 01 14:32:12 phlox kernel: </TASK>
zář 01 14:32:12 phlox kernel: Modules linked in: qrtr nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_limit tun nft_ct nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nf_tables nfnetlink joydev mousedev snd_hda_codec_hdmi snd_soc_avs snd_soc_hda_codec snd_soc_skl vfat snd_soc_hdac_hda fat snd_hda_ext_core snd_ctl_led iwlmvm snd_soc_sst_ipc snd_soc_sst_dsp snd_hda_codec_realtek snd_soc_acpi_intel_match snd_hda_codec_generic snd_soc_acpi mac80211 snd_soc_core snd_compress ac97_bus snd_pcm_dmaengine libarc4 snd_hda_intel intel_rapl_msr intel_rapl_common intel_tcc_cooling snd_intel_dspcfg x86_pkg_temp_thermal snd_intel_sdw_acpi intel_powerclamp coretemp snd_hda_codec kvm_intel snd_hda_core iwlwifi kvm snd_hwdep iTCO_wdt mei_wdt intel_pmc_bxt irqbypass mei_hdcp iTCO_vendor_support ee1004 rapl mei_pxp snd_pcm intel_cstate intel_uncore think_lmi cfg80211 mei_me intel_xhci_usb_role_switch psmouse pcspkr snd_timer firmware_attributes_class i2c_i801 e1000e roles wmi_bmof intel_pch_thermal mei i2c_smbus mac_hid tcp_bbr crypto_user loop
zář 01 14:32:12 phlox kernel: fuse zram ip_tables x_tables xfs libcrc32c crc32c_generic dm_crypt cbc encrypted_keys trusted asn1_encoder tee usbhid dm_mod crct10dif_pclmul crc32_pclmul crc32c_intel polyval_clmulni rtsx_pci_sdmmc serio_raw polyval_generic atkbd mmc_core thinkpad_acpi nvme gf128mul ledtrig_audio ghash_clmulni_intel platform_profile sha512_ssse3 libps2 aesni_intel vivaldi_fmap snd soundcore nvme_core xhci_pci i8042 crypto_simd cryptd rtsx_pci nvme_common xhci_pci_renesas rfkill serio i915 i2c_algo_bit drm_buddy video wmi ttm intel_gtt drm_display_helper cec
zář 01 14:32:12 phlox kernel: CR2: ffffb422c2800000
zář 01 14:32:12 phlox kernel: ---[ end trace 0000000000000000 ]---
zář 01 14:32:12 phlox kernel: RIP: 0010:gen8_ggtt_insert_entries+0xc2/0x140 [i915]
zář 01 14:32:12 phlox kernel: Code: 32 4c 8d 0c cf 48 85 f6 74 7f 8b 7e 18 85 ff 74 78 8b 56 08 4c 8b 56 10 49 89 c3 48 89 d1 01 d7 4c 01 d2 4c 09 c2 48 83 c0 08 <49> 89 13 81 c1 00 10 00 00 39 f9 72 30 f6 06 02 75 4d 48 8b 56 20
zář 01 14:32:12 phlox kernel: RSP: 0018:ffffb422c1ca3758 EFLAGS: 00010282
zář 01 14:32:12 phlox kernel: RAX: ffffb422c2800008 RBX: ffff9c75c5d80028 RCX: 0000000000040000
zář 01 14:32:12 phlox kernel: RDX: 0000000139240001 RSI: ffff9c75cdfcd940 RDI: 0000000000200000
zář 01 14:32:12 phlox kernel: RBP: ffff9c75cb19a140 R08: 0000000000000001 R09: ffffb422c27ffeb0
zář 01 14:32:12 phlox kernel: R10: 0000000139200000 R11: ffffb422c2800000 R12: 0000000000000001
zář 01 14:32:12 phlox kernel: R13: 0000000000000000 R14: ffff9c75cb19a140 R15: ffff9c75c13c9680
zář 01 14:32:12 phlox kernel: FS: 00007ff6bd857640(0000) GS:ffff9c79cd480000(0000) knlGS:0000000000000000
zář 01 14:32:12 phlox kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
zář 01 14:32:12 phlox kernel: CR2: ffffb422c2800000 CR3: 00000001164b2005 CR4: 00000000003706e0
zář 01 14:32:12 phlox kernel: DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
zář 01 14:32:12 phlox kernel: DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
zář 01 14:32:12 phlox kernel: note: kwin_wayland[674] exited with irqs disabled
Should I collect some more detailed info?
Please help.
Thanks.
Edited by Oleksandr Natalenko