You are not logged in.

#1 2022-01-07 15:58:02

null
Member
Registered: 2009-05-06
Posts: 383

[Solved] Laptop freezes under high load

I've got a Thinkap X1 Carbon Gen. 5 which freezes a lot under high load. It sometimes happens under normal usage (browsing or similar) but often when I use Android Studio which I have to for an university project. When I work with AS for a whole day I experience up to 2 freezes where nothing works anymore except forcing a reboot. I usually get the following journal message (or none at all):

Jan 07 16:37:35 x1c5 kernel: BUG: unable to handle page fault for address: ffffbd3680f2d000
Jan 07 16:37:35 x1c5 kernel: #PF: supervisor read access in kernel mode
Jan 07 16:37:35 x1c5 kernel: #PF: error_code(0x0000) - not-present page
Jan 07 16:37:35 x1c5 kernel: PGD 100000067 P4D 100000067 PUD 1001be067 PMD 102eae067 PTE 0
Jan 07 16:37:35 x1c5 kernel: Oops: 0000 [#1] PREEMPT SMP PTI
Jan 07 16:37:35 x1c5 kernel: CPU: 3 PID: 105 Comm: kswapd0 Not tainted 5.15.12-arch1-1 #1 eeb185e1d4b23217f1216641b0351a46bd23d8bc
Jan 07 16:37:35 x1c5 kernel: Hardware name: LENOVO 20K30017MH/20K30017MH, BIOS N1MET50W (1.35 ) 09/10/2018
Jan 07 16:37:35 x1c5 kernel: RIP: 0010:scan_swap_map_slots+0x647/0x700
Jan 07 16:37:35 x1c5 kernel: Code: 00 00 49 89 cc eb 1f 4d 8d b4 24 00 02 00 00 83 eb 01 78 59 49 83 c4 01 4c 89 64 24 30 49 39 d6 0f 87 8d 00 00 00 49 8b 45 50 <42> 80 3c 20 00 75 d6 4d 39 e6 75 d9 48 89 ef 49 81 ee ff 01 00 00
Jan 07 16:37:35 x1c5 kernel: RSP: 0018:ffffbd368077f8b8 EFLAGS: 00010293
Jan 07 16:37:35 x1c5 kernel: RAX: ffffbd3680d2d000 RBX: 0000000000000021 RCX: 0000000000000042
Jan 07 16:37:35 x1c5 kernel: RDX: 00000000002fffff RSI: 0000000000000040 RDI: 0000000000000000
Jan 07 16:37:35 x1c5 kernel: RBP: ffff93b3c36aaae4 R08: 0000000000000000 R09: 0000000000000000
Jan 07 16:37:35 x1c5 kernel: R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000200000
Jan 07 16:37:35 x1c5 kernel: R13: ffff93b3c36aaa00 R14: 000000000020016c R15: ffff93b3c36aaae4
Jan 07 16:37:35 x1c5 kernel: FS:  0000000000000000(0000) GS:ffff93b556580000(0000) knlGS:0000000000000000
Jan 07 16:37:35 x1c5 kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jan 07 16:37:35 x1c5 kernel: CR2: ffffbd3680f2d000 CR3: 0000000015726002 CR4: 00000000003706e0
Jan 07 16:37:35 x1c5 kernel: DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Jan 07 16:37:35 x1c5 kernel: DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Jan 07 16:37:35 x1c5 kernel: Call Trace:
Jan 07 16:37:35 x1c5 kernel:  <TASK>
Jan 07 16:37:35 x1c5 kernel:  ? z3fold_zpool_unmap+0xba/0x130
Jan 07 16:37:35 x1c5 kernel:  get_swap_pages+0x228/0x3f0
Jan 07 16:37:35 x1c5 kernel:  get_swap_page+0xc9/0x210
Jan 07 16:37:35 x1c5 kernel:  shmem_writepage+0x12e/0x400
Jan 07 16:37:35 x1c5 kernel:  ? __mod_lruvec_page_state+0x88/0xb0
Jan 07 16:37:35 x1c5 kernel:  ? clear_page_dirty_for_io+0x1b/0x1d0
Jan 07 16:37:35 x1c5 kernel:  pageout+0x111/0x350
Jan 07 16:37:35 x1c5 kernel:  shrink_page_list+0xbe4/0xee0
Jan 07 16:37:35 x1c5 kernel:  shrink_lruvec+0x6ba/0xcf0
Jan 07 16:37:35 x1c5 kernel:  ? shrink_node+0x29d/0x700
Jan 07 16:37:35 x1c5 kernel:  shrink_node+0x29d/0x700
Jan 07 16:37:35 x1c5 kernel:  balance_pgdat+0x336/0x6f0
Jan 07 16:37:35 x1c5 kernel:  kswapd+0x1fd/0x3b0
Jan 07 16:37:35 x1c5 kernel:  ? do_wait_intr_irq+0xb0/0xb0
Jan 07 16:37:35 x1c5 kernel:  ? balance_pgdat+0x6f0/0x6f0
Jan 07 16:37:35 x1c5 kernel:  kthread+0x132/0x160
Jan 07 16:37:35 x1c5 kernel:  ? set_kthread_struct+0x50/0x50
Jan 07 16:37:35 x1c5 kernel:  ret_from_fork+0x22/0x30
Jan 07 16:37:35 x1c5 kernel:  </TASK>
Jan 07 16:37:35 x1c5 kernel: Modules linked in: usbhid rfcomm vfat fat nft_masq nft_counter nft_chain_nat nf_nat ccm nf_conntrack algif_aead nf_defrag_ipv6 nf_defrag_ipv4 des_generic libdes ecb bridge stp llc cmac algif_skcipher nf_tables md4 bnep algif_hash nfnetlink af_alg snd_soc_skl snd_soc_hdac_hda snd_hda_ext_core snd_soc_sst_ipc snd_soc_sst_dsp snd_soc_acpi_intel_match joydev snd_soc_acpi mousedev intel_rapl_msr intel_rapl_common snd_soc_core snd_hda_codec_hdmi snd_compress ac97_bus snd_ctl_led snd_hda_codec_conexant snd_hda_codec_generic intel_tcc_cooling snd_pcm_dmaengine iTCO_wdt snd_hda_intel x86_pkg_temp_thermal intel_pmc_bxt intel_powerclamp mei_wdt iTCO_vendor_support coretemp snd_intel_dspcfg snd_intel_sdw_acpi think_lmi mei_hdcp snd_hda_codec kvm_intel uvcvideo iwlmvm kvm wmi_bmof intel_wmi_thunderbolt videobuf2_vmalloc snd_hda_core mac80211 firmware_attributes_class libarc4 btusb irqbypass snd_hwdep btrtl iwlwifi videobuf2_memops rapl btbcm cdc_mbim intel_cstate snd_pcm videobuf2_v4l2
Jan 07 16:37:35 x1c5 kernel:  intel_uncore btintel i2c_i801 cdc_wdm videobuf2_common psmouse i915 bluetooth i2c_smbus snd_timer cdc_ncm videodev cfg80211 e1000e cdc_ether mei_me usbnet mei mc ucsi_acpi ecdh_generic qcserial ttm mii typec_ucsi usb_wwan crc16 intel_pch_thermal intel_xhci_usb_role_switch intel_gtt typec thinkpad_acpi roles wmi ledtrig_audio platform_profile rfkill snd tpm_crb soundcore i2c_hid_acpi tpm_tis video i2c_hid acpi_pad tpm_tis_core mac_hid pkcs8_key_parser ipmi_devintf ipmi_msghandler fuse crypto_user bpf_preload ip_tables x_tables btrfs blake2b_generic libcrc32c crc32c_generic xor raid6_pq mmc_block dm_crypt cbc encrypted_keys dm_mod trusted asn1_encoder tee tpm rng_core crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel serio_raw rtsx_pci_sdmmc mmc_core atkbd libps2 aesni_intel crypto_simd cryptd rtsx_pci i8042 xhci_pci xhci_pci_renesas serio
Jan 07 16:37:35 x1c5 kernel: CR2: ffffbd3680f2d000
Jan 07 16:37:35 x1c5 kernel: ---[ end trace 0c6f36767f4937d7 ]---
Jan 07 16:37:35 x1c5 kernel: RIP: 0010:scan_swap_map_slots+0x647/0x700
Jan 07 16:37:35 x1c5 kernel: Code: 00 00 49 89 cc eb 1f 4d 8d b4 24 00 02 00 00 83 eb 01 78 59 49 83 c4 01 4c 89 64 24 30 49 39 d6 0f 87 8d 00 00 00 49 8b 45 50 <42> 80 3c 20 00 75 d6 4d 39 e6 75 d9 48 89 ef 49 81 ee ff 01 00 00
Jan 07 16:37:35 x1c5 kernel: RSP: 0018:ffffbd368077f8b8 EFLAGS: 00010293
Jan 07 16:37:35 x1c5 kernel: RAX: ffffbd3680d2d000 RBX: 0000000000000021 RCX: 0000000000000042
Jan 07 16:37:35 x1c5 kernel: RDX: 00000000002fffff RSI: 0000000000000040 RDI: 0000000000000000
Jan 07 16:37:35 x1c5 kernel: RBP: ffff93b3c36aaae4 R08: 0000000000000000 R09: 0000000000000000
Jan 07 16:37:35 x1c5 kernel: R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000200000
Jan 07 16:37:35 x1c5 kernel: R13: ffff93b3c36aaa00 R14: 000000000020016c R15: ffff93b3c36aaae4
Jan 07 16:37:35 x1c5 kernel: FS:  0000000000000000(0000) GS:ffff93b556580000(0000) knlGS:0000000000000000
Jan 07 16:37:35 x1c5 kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jan 07 16:37:35 x1c5 kernel: CR2: ffffbd3680f2d000 CR3: 0000000015726002 CR4: 00000000003706e0
Jan 07 16:37:35 x1c5 kernel: DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Jan 07 16:37:35 x1c5 kernel: DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Jan 07 16:37:36 x1c5 kernel: BUG: unable to handle page fault for address: ffffbd3680f2d000
Jan 07 16:37:36 x1c5 kernel: #PF: supervisor read access in kernel mode
Jan 07 16:37:36 x1c5 kernel: #PF: error_code(0x0000) - not-present page
[Then nothing until reboot]

The laptop has its own uefi hardware diagnostics program which I used to test my memory and cpu. All tests passed. Same problem when using the LTS kernel.
The swap is located in a swap file on a btrfs partition, setup as described in the wiki: https://wiki.archlinux.org/title/btrfs#Swap_file

Anyone any ideas how to debug this?



Edit: No idea, what the problem was, but recreating the swap file seems to have fixed this..

Last edited by null (2022-01-19 12:32:23)

Offline

Board footer

Powered by FluxBB