You are not logged in.

#1 2021-02-09 19:11:21

jojomodding
Member
Registered: 2017-03-12
Posts: 28

Spurious system lookups

Hello,

recently, I have been experiencing random system freezes. What happens is that suddenly, xorg freezes. At this point I am still able to connect to my laptop via SSH. SSH appears to be viewable normally, but I can't run sync or write to my HDD (reading works just fine) (sync will take forever and attempted writes just go away after reboot). After some time, SSH also stops working (perhaps it's just that WiFi stops) and I'm forced to do the Magic SysRq reboot.

Here is the dmesg from around the crash:


[147074.545711] page:00000000606ea31e refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x220f4c
[147074.545714] flags: 0x2ffff0000000000()
[147074.545716] raw: 02ffff0000000000 ffff986ede272170 ffff986ede272170 0000000000000000
[147074.545717] raw: 0000000000000000 0000000000000011 00000000ffffffff 0000000000000000
[147074.545717] page dumped because: VM_BUG_ON_PAGE(page_ref_count(page) == 0)
[147074.545722] ------------[ cut here ]------------
[147074.545723] kernel BUG at include/linux/mm.h:707!
[147074.545728] invalid opcode: 0000 [#1] PREEMPT SMP PTI
[147074.545730] CPU: 1 PID: 130417 Comm: kworker/1:1 Tainted: G        W         5.10.13-arch1-1 #1
[147074.545731] Hardware name: Acer Nitro AN515-52/Freed_CFS, BIOS V1.28 08/05/2019
[147074.545735] Workqueue: zswap-shrink shrink_worker
[147074.545738] RIP: 0010:__free_pages+0x83/0x90
[147074.545739] Code: 33 e4 ff ff eb d1 85 f6 75 09 5b 5d 41 5c e9 a4 fe ff ff 5b 31 d2 5d 41 5c e9 19 e4 ff ff 48 c7 c6 38 06 94 87 e8 cd 64 fd ff <0f> 0b 5b 5d 41 5c c3 66 0f 1f 44 00 00 0f 1f 44 00 00 48 85 ff 75
[147074.545741] RSP: 0018:ffffac36c4ed3d60 EFLAGS: 00010286
[147074.545742] RAX: 0000000000000000 RBX: ffff986b80ec93c0 RCX: ffff986ede258bb8
[147074.545743] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff986ede258bb0
[147074.545744] RBP: ffffd1c18883d300 R08: 0000000000000000 R09: ffffac36c4ed3a60
[147074.545745] R10: ffffac36c4ed3a58 R11: ffffffff880cb228 R12: ffffd1c18883d300
[147074.545746] R13: ffffd1c18883d308 R14: ffff986ca0f4c000 R15: ffffd1c18883d308
[147074.545747] FS:  0000000000000000(0000) GS:ffff986ede240000(0000) knlGS:0000000000000000
[147074.545748] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[147074.545749] CR2: 00007f02697c7010 CR3: 00000001bfa10001 CR4: 00000000003706e0
[147074.545750] Call Trace:
[147074.545754]  z3fold_zpool_shrink+0x146/0x720
[147074.545757]  ? sched_clock+0x5/0x10
[147074.545759]  ? sched_clock_cpu+0xc/0xb0
[147074.545762]  shrink_worker+0x19/0x50
[147074.545765]  process_one_work+0x1d6/0x3a0
[147074.545767]  worker_thread+0x4d/0x3d0
[147074.545769]  ? rescuer_thread+0x410/0x410
[147074.545771]  kthread+0x133/0x150
[147074.545773]  ? __kthread_bind_mask+0x60/0x60
[147074.545777]  ret_from_fork+0x22/0x30
[147074.545779] Modules linked in: ccm rfcomm xt_CHECKSUM xt_MASQUERADE ip6t_REJECT nf_reject_ipv6 ipt_REJECT nf_reject_ipv4 ip6table_mangle ip6table_nat ip6table_filter ip6_tables iptable_mangle iptable_nat nf_nat bridge stp llc cmac algif_hash algif_skcipher af_alg bnep xt_tcpudp xt_conntrack nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c iptable_filter squashfs loop intel_rapl_msr intel_rapl_common snd_sof_pci snd_sof_intel_byt snd_sof_intel_ipc snd_sof_intel_hda_common snd_soc_hdac_hda snd_sof_xtensa_dsp snd_sof_intel_hda snd_sof snd_soc_skl snd_hda_codec_realtek snd_hda_codec_generic snd_soc_sst_ipc x86_pkg_temp_thermal snd_soc_sst_dsp ledtrig_audio intel_powerclamp snd_hda_ext_core nls_iso8859_1 coretemp snd_soc_acpi_intel_match vfat snd_soc_acpi fat kvm_intel snd_hda_intel snd_intel_dspcfg soundwire_intel iTCO_wdt soundwire_generic_allocation intel_pmc_bxt soundwire_cadence hid_multitouch ee1004 iTCO_vendor_support 8250_dw mei_hdcp btusb iwlmvm intel_wmi_thunderbolt snd_hda_codec
[147074.545814]  kvm uvcvideo btrtl acer_wmi wmi_bmof snd_hda_core sparse_keymap mac80211 irqbypass btbcm snd_usb_audio soundwire_bus libarc4 rapl videobuf2_vmalloc btintel videobuf2_memops snd_usbmidi_lib videobuf2_v4l2 intel_cstate snd_hwdep iwlwifi bluetooth intel_uncore snd_soc_core videobuf2_common snd_rawmidi snd_compress videodev ac97_bus r8169 snd_seq_device snd_pcm_dmaengine realtek ecdh_generic mousedev joydev wacom ecc mc pcspkr cfg80211 snd_pcm mdio_devres i2c_i801 snd_timer i2c_smbus libphy snd mei_me intel_lpss_pci intel_lpss mei soundcore rfkill idma64 intel_pch_thermal i2c_hid wmi tpm_crb mac_hid tpm_tis tpm_tis_core acpi_pad acer_wireless vmw_vmci sg crypto_user fuse bpf_preload ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 usbhid dm_crypt cbc encrypted_keys dm_mod trusted tpm rng_core rtsx_pci_sdmmc raid1 mmc_core md_mod crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel aesni_intel crypto_simd cryptd glue_helper serio_raw rtsx_pci xhci_pci
[147074.545860]  xhci_pci_renesas i915 video intel_gtt i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops cec drm agpgart
[147074.545887] ---[ end trace 7f39416d4ce12a93 ]---
[147074.547471] ------------[ cut here ]------------
[147074.547479] WARNING: CPU: 1 PID: 130417 at kernel/rcu/tree_plugin.h:297 rcu_note_context_switch+0x42/0x480
[147074.547481] Modules linked in: ccm rfcomm xt_CHECKSUM xt_MASQUERADE ip6t_REJECT nf_reject_ipv6 ipt_REJECT nf_reject_ipv4 ip6table_mangle ip6table_nat ip6table_filter ip6_tables iptable_mangle iptable_nat nf_nat bridge stp llc cmac algif_hash algif_skcipher af_alg bnep xt_tcpudp xt_conntrack nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c iptable_filter squashfs loop intel_rapl_msr intel_rapl_common snd_sof_pci snd_sof_intel_byt snd_sof_intel_ipc snd_sof_intel_hda_common snd_soc_hdac_hda snd_sof_xtensa_dsp snd_sof_intel_hda snd_sof snd_soc_skl snd_hda_codec_realtek snd_hda_codec_generic snd_soc_sst_ipc x86_pkg_temp_thermal snd_soc_sst_dsp ledtrig_audio intel_powerclamp snd_hda_ext_core nls_iso8859_1 coretemp snd_soc_acpi_intel_match vfat snd_soc_acpi fat kvm_intel snd_hda_intel snd_intel_dspcfg soundwire_intel iTCO_wdt soundwire_generic_allocation intel_pmc_bxt soundwire_cadence hid_multitouch ee1004 iTCO_vendor_support 8250_dw mei_hdcp btusb iwlmvm intel_wmi_thunderbolt snd_hda_codec
[147074.547541]  kvm uvcvideo btrtl acer_wmi wmi_bmof snd_hda_core sparse_keymap mac80211 irqbypass btbcm snd_usb_audio soundwire_bus libarc4 rapl videobuf2_vmalloc btintel videobuf2_memops snd_usbmidi_lib videobuf2_v4l2 intel_cstate snd_hwdep iwlwifi bluetooth intel_uncore snd_soc_core videobuf2_common snd_rawmidi snd_compress videodev ac97_bus r8169 snd_seq_device snd_pcm_dmaengine realtek ecdh_generic mousedev joydev wacom ecc mc pcspkr cfg80211 snd_pcm mdio_devres i2c_i801 snd_timer i2c_smbus libphy snd mei_me intel_lpss_pci intel_lpss mei soundcore rfkill idma64 intel_pch_thermal i2c_hid wmi tpm_crb mac_hid tpm_tis tpm_tis_core acpi_pad acer_wireless vmw_vmci sg crypto_user fuse bpf_preload ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 usbhid dm_crypt cbc encrypted_keys dm_mod trusted tpm rng_core rtsx_pci_sdmmc raid1 mmc_core md_mod crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel aesni_intel crypto_simd cryptd glue_helper serio_raw rtsx_pci xhci_pci
[147074.547632]  xhci_pci_renesas i915 video intel_gtt i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops cec drm agpgart
[147074.547652] CPU: 1 PID: 130417 Comm: kworker/1:1 Tainted: G      D W         5.10.13-arch1-1 #1
[147074.547654] Hardware name: Acer Nitro AN515-52/Freed_CFS, BIOS V1.28 08/05/2019
[147074.547660] Workqueue: zswap-shrink shrink_worker
[147074.547666] RIP: 0010:rcu_note_context_switch+0x42/0x480
[147074.547669] Code: c3 40 cf 02 00 65 48 03 1d 33 ee 8f 79 0f 1f 44 00 00 40 84 ed 75 15 65 48 8b 04 25 c0 7b 01 00 8b 90 b0 03 00 00 85 d2 7e 02 <0f> 0b 65 48 8b 04 25 c0 7b 01 00 8b 80 b0 03 00 00 85 c0 7e 0a 41
[147074.547688] RSP: 0018:ffffac36c4ed37b0 EFLAGS: 00010002
[147074.547691] RAX: ffff986beac95dc0 RBX: ffff986ede26cf40 RCX: 0000000000000000
[147074.547692] RDX: 0000000000000001 RSI: ffffffff8707ee5b RDI: 0000000000000000
[147074.547695] RBP: 0000000000000000 R08: 00000000001b430e R09: ffff986ede26c2b0
[147074.547696] R10: 00000000000003d3 R11: 0000000000000000 R12: 000000000002c180
[147074.547698] R13: ffff986beac95dc0 R14: ffff986beac95dc0 R15: ffff986ede26c180
[147074.547700] FS:  0000000000000000(0000) GS:ffff986ede240000(0000) knlGS:0000000000000000
[147074.547702] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[147074.547704] CR2: 00007f02697c7010 CR3: 00000001bfa10001 CR4: 00000000003706e0
[147074.547706] Call Trace:
[147074.547714]  __schedule+0xae/0x810
[147074.547718]  schedule+0x5b/0xc0
[147074.547721]  schedule_timeout+0x11c/0x160
[147074.547726]  wait_for_completion+0x9e/0x100
[147074.547730]  virt_efi_query_variable_info+0x141/0x150
[147074.547735]  efi_query_variable_store+0x7b/0x1e0
[147074.547739]  ? vsnprintf+0x6e/0x4f0
[147074.547742]  efivar_entry_set_safe+0xbd/0x210
[147074.547745]  efi_pstore_write+0x12d/0x1a0
[147074.547750]  pstore_dump+0x1b3/0x2f0
[147074.547754]  kmsg_dump+0xa8/0xd0
[147074.547757]  oops_end+0x61/0xd0
[147074.547760]  do_trap+0x8d/0x110
[147074.547763]  ? __free_pages+0x83/0x90
[147074.547766]  do_error_trap+0x64/0xa0
[147074.547768]  ? __free_pages+0x83/0x90
[147074.547771]  exc_invalid_op+0x4e/0x70
[147074.547774]  ? __free_pages+0x83/0x90
[147074.547776]  asm_exc_invalid_op+0x12/0x20
[147074.547778] RIP: 0010:__free_pages+0x83/0x90
[147074.547780] Code: 33 e4 ff ff eb d1 85 f6 75 09 5b 5d 41 5c e9 a4 fe ff ff 5b 31 d2 5d 41 5c e9 19 e4 ff ff 48 c7 c6 38 06 94 87 e8 cd 64 fd ff <0f> 0b 5b 5d 41 5c c3 66 0f 1f 44 00 00 0f 1f 44 00 00 48 85 ff 75
[147074.547782] RSP: 0018:ffffac36c4ed3d60 EFLAGS: 00010286
[147074.547784] RAX: 0000000000000000 RBX: ffff986b80ec93c0 RCX: ffff986ede258bb8
[147074.547785] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff986ede258bb0
[147074.547787] RBP: ffffd1c18883d300 R08: 0000000000000000 R09: ffffac36c4ed3a60
[147074.547788] R10: ffffac36c4ed3a58 R11: ffffffff880cb228 R12: ffffd1c18883d300
[147074.547789] R13: ffffd1c18883d308 R14: ffff986ca0f4c000 R15: ffffd1c18883d308
[147074.547795]  z3fold_zpool_shrink+0x146/0x720
[147074.547797]  ? sched_clock+0x5/0x10
[147074.547800]  ? sched_clock_cpu+0xc/0xb0
[147074.547804]  shrink_worker+0x19/0x50
[147074.547807]  process_one_work+0x1d6/0x3a0
[147074.547810]  worker_thread+0x4d/0x3d0
[147074.547813]  ? rescuer_thread+0x410/0x410
[147074.547815]  kthread+0x133/0x150
[147074.547817]  ? __kthread_bind_mask+0x60/0x60
[147074.547821]  ret_from_fork+0x22/0x30
[147074.547824] ---[ end trace 7f39416d4ce12a94 ]---
[147074.879718] RIP: 0010:__free_pages+0x83/0x90
[147074.879723] Code: 33 e4 ff ff eb d1 85 f6 75 09 5b 5d 41 5c e9 a4 fe ff ff 5b 31 d2 5d 41 5c e9 19 e4 ff ff 48 c7 c6 38 06 94 87 e8 cd 64 fd ff <0f> 0b 5b 5d 41 5c c3 66 0f 1f 44 00 00 0f 1f 44 00 00 48 85 ff 75
[147074.879725] RSP: 0018:ffffac36c4ed3d60 EFLAGS: 00010286
[147074.879729] RAX: 0000000000000000 RBX: ffff986b80ec93c0 RCX: ffff986ede258bb8
[147074.879730] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff986ede258bb0
[147074.879731] RBP: ffffd1c18883d300 R08: 0000000000000000 R09: ffffac36c4ed3a60
[147074.879732] R10: ffffac36c4ed3a58 R11: ffffffff880cb228 R12: ffffd1c18883d300
[147074.879734] R13: ffffd1c18883d308 R14: ffff986ca0f4c000 R15: ffffd1c18883d308
[147074.879736] FS:  0000000000000000(0000) GS:ffff986ede240000(0000) knlGS:0000000000000000
[147074.879738] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[147074.879739] CR2: 00007f5d985a2000 CR3: 00000002684a2005 CR4: 00000000003706e0
[147136.874955] kauditd_printk_skb: 30 callbacks suppressed
[147136.874959] audit: type=1100 audit(1612896097.013:485): pid=152808 uid=1000 auid=4294967295 ses=4294967295 msg='op=PAM:authentication grantors=pam_faillock,pam_permit,pam_faillock acct="johannes" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/3 res=success'
[147136.896688] audit: type=1101 audit(1612896097.033:486): pid=152808 uid=1000 auid=4294967295 ses=4294967295 msg='op=PAM:accounting grantors=pam_unix,pam_permit,pam_time acct="johannes" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/3 res=success'
[147136.897607] audit: type=1110 audit(1612896097.033:487): pid=152808 uid=1000 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=pam_faillock,pam_permit,pam_faillock acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/3 res=success'
[147136.901454] audit: type=1105 audit(1612896097.040:488): pid=152808 uid=1000 auid=4294967295 ses=4294967295 msg='op=PAM:session_open grantors=pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/3 res=success'
[147136.921370] audit: type=1106 audit(1612896097.060:489): pid=152808 uid=1000 auid=4294967295 ses=4294967295 msg='op=PAM:session_close grantors=pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/3 res=success'
[147136.921416] audit: type=1104 audit(1612896097.060:490): pid=152808 uid=1000 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=pam_faillock,pam_permit,pam_faillock acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/3 res=success'
[147172.733707] audit: type=1100 audit(1612896132.870:491): pid=152841 uid=1000 auid=4294967295 ses=4294967295 msg='op=PAM:authentication grantors=pam_faillock,pam_permit,pam_faillock acct="johannes" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/6 res=success'
[147172.736864] audit: type=1101 audit(1612896132.873:492): pid=152841 uid=1000 auid=4294967295 ses=4294967295 msg='op=PAM:accounting grantors=pam_unix,pam_permit,pam_time acct="johannes" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/6 res=success'
[147172.737608] audit: type=1110 audit(1612896132.877:493): pid=152841 uid=1000 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=pam_faillock,pam_permit,pam_faillock acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/6 res=success'
[147172.741926] audit: type=1105 audit(1612896132.880:494): pid=152841 uid=1000 auid=4294967295 ses=4294967295 msg='op=PAM:session_open grantors=pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/6 res=success'
[147172.760376] audit: type=1106 audit(1612896132.897:495): pid=152841 uid=1000 auid=4294967295 ses=4294967295 msg='op=PAM:session_close grantors=pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/6 res=success'
[147172.760416] audit: type=1104 audit(1612896132.897:496): pid=152841 uid=1000 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=pam_faillock,pam_permit,pam_faillock acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/6 res=success'
[147232.613990] GpuWatchdog[120763]: segfault at 0 ip 00005620da500519 sp 00007fb04b5ec4e0 error 6 in Discord[5620d6bb5000+5cbb000]
[147232.614001] Code: 00 79 09 48 8b 7d c0 e8 25 24 be fe c7 45 c0 aa aa aa aa 0f ae f0 41 8b 84 24 e0 00 00 00 89 45 c0 48 8d 7d c0 e8 17 54 6b fc <c7> 04 25 00 00 00 00 37 13 00 00 48 83 c4 38 5b 41 5c 41 5d 41 5e
[147232.614085] audit: type=1701 audit(1612896192.746:497): auid=1000 uid=1000 gid=1000 ses=2 pid=120726 comm="GpuWatchdog" exe="/opt/discord/Discord" sig=11 res=1
[147232.665027] audit: type=1334 audit(1612896192.796:498): prog-id=105 op=LOAD
[147232.665127] audit: type=1334 audit(1612896192.796:499): prog-id=106 op=LOAD
[147232.668481] audit: type=1130 audit(1612896192.799:500): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@5-152880-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[147308.636702] audit: type=1101 audit(1612896268.761:501): pid=152933 uid=1000 auid=4294967295 ses=4294967295 msg='op=PAM:accounting grantors=pam_unix,pam_permit,pam_time acct="johannes" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/6 res=success'
[147308.637266] audit: type=1110 audit(1612896268.764:502): pid=152933 uid=1000 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=pam_faillock,pam_permit,pam_env,pam_faillock acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/6 res=success'
[147308.641588] audit: type=1105 audit(1612896268.771:503): pid=152933 uid=1000 auid=4294967295 ses=4294967295 msg='op=PAM:session_open grantors=pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/6 res=success'
[147308.658156] audit: type=1106 audit(1612896268.787:504): pid=152933 uid=1000 auid=4294967295 ses=4294967295 msg='op=PAM:session_close grantors=pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/6 res=success'
[147308.658189] audit: type=1104 audit(1612896268.787:505): pid=152933 uid=1000 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=pam_faillock,pam_permit,pam_env,pam_faillock acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/6 res=success'
[147375.570676] usb 1-1: USB disconnect, device number 2
[147382.052770] usb 1-3: USB disconnect, device number 3
[147387.410772] systemd[1]: systemd-journald.service: State 'stop-watchdog' timed out. Killing.
[147387.410886] systemd[1]: systemd-journald.service: Killing process 610 (systemd-journal) with signal SIGKILL.

I have been experiencing the same crash for some time now. Do you have any ideas what might cause this? These crashes tend to corellate with high memory/CPU load, but I think I had them happen at lower RAM usage.

Last edited by jojomodding (2021-02-09 19:11:53)

Offline

#2 2021-02-18 13:17:47

b1inki
Member
Registered: 2018-12-03
Posts: 12

Re: Spurious system lookups

It seems I'm having the same problem (journal log seems identical):

-- Journal begins at Tue 2020-09-15 15:42:01 EEST, ends at Thu 2021-02-18 15:10:44 EET. --
Feb 18 14:42:39 idinev-archbox kernel: r8169 0000:05:00.0 enp5s0: Rx ERROR. status = 352ac5bd
Feb 18 15:02:04 idinev-archbox kernel: page:0000000036ed071f refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1ba0d5
Feb 18 15:02:04 idinev-archbox kernel: flags: 0x2ffff0000000000()
Feb 18 15:02:04 idinev-archbox kernel: raw: 02ffff0000000000 ffff9d9cf6d32170 ffff9d9cf6d32170 0000000000000000
Feb 18 15:02:04 idinev-archbox kernel: raw: 0000000000000000 0000000000000011 00000000ffffffff 0000000000000000
Feb 18 15:02:04 idinev-archbox kernel: page dumped because: VM_BUG_ON_PAGE(page_ref_count(page) == 0)
Feb 18 15:02:04 idinev-archbox kernel: ------------[ cut here ]------------
Feb 18 15:02:04 idinev-archbox kernel: kernel BUG at include/linux/mm.h:707!
Feb 18 15:02:04 idinev-archbox kernel: invalid opcode: 0000 [#1] PREEMPT SMP PTI
Feb 18 15:02:04 idinev-archbox kernel: CPU: 2 PID: 244508 Comm: kworker/2:3 Tainted: P          IOE     5.10.16-arch1-1 #1
Feb 18 15:02:04 idinev-archbox kernel: Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./H110M-DVP, BIOS P1.00 03/01/2016
Feb 18 15:02:04 idinev-archbox kernel: Workqueue: zswap-shrink shrink_worker
Feb 18 15:02:04 idinev-archbox kernel: RIP: 0010:__free_pages+0x83/0x90
Feb 18 15:02:04 idinev-archbox kernel: Code: 33 e4 ff ff eb d1 85 f6 75 09 5b 5d 41 5c e9 a4 fe ff ff 5b 31 d2 5d 41 5c e9 19 e4 ff ff 48 c7 c6 38 b7 d3 89 e8 cd 64 fd ff <0f> 0b 5b 5d 41 5c c3 66 0f 1f 44 00 00 >
Feb 18 15:02:04 idinev-archbox kernel: RSP: 0018:ffffc160ca4e7d60 EFLAGS: 00010286
Feb 18 15:02:04 idinev-archbox kernel: RAX: 0000000000000000 RBX: ffff9d9b86230840 RCX: ffff9d9cf6d18bb8
Feb 18 15:02:04 idinev-archbox kernel: RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff9d9cf6d18bb0
Feb 18 15:02:04 idinev-archbox kernel: RBP: ffffe3a0c6e83540 R08: 0000000000000000 R09: ffffc160ca4e7a60
Feb 18 15:02:04 idinev-archbox kernel: R10: ffffc160ca4e7a58 R11: ffffffff8a4cb228 R12: ffffe3a0c6e83540
Feb 18 15:02:04 idinev-archbox kernel: R13: ffffe3a0c6e83548 R14: ffff9d9c3a0d5000 R15: ffffe3a0c6e83548
Feb 18 15:02:04 idinev-archbox kernel: FS:  0000000000000000(0000) GS:ffff9d9cf6d00000(0000) knlGS:0000000000000000
Feb 18 15:02:04 idinev-archbox kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Feb 18 15:02:04 idinev-archbox kernel: CR2: 00007fe32f600000 CR3: 000000018ac10003 CR4: 00000000003706e0
Feb 18 15:02:04 idinev-archbox kernel: DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Feb 18 15:02:04 idinev-archbox kernel: DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Feb 18 15:02:04 idinev-archbox kernel: Call Trace:
Feb 18 15:02:04 idinev-archbox kernel:  z3fold_zpool_shrink+0x146/0x720
Feb 18 15:02:04 idinev-archbox kernel:  ? sched_clock+0x5/0x10
Feb 18 15:02:04 idinev-archbox kernel:  ? sched_clock_cpu+0xc/0xb0
Feb 18 15:02:04 idinev-archbox kernel:  shrink_worker+0x19/0x50
Feb 18 15:02:04 idinev-archbox kernel:  process_one_work+0x1d6/0x3a0
Feb 18 15:02:04 idinev-archbox kernel:  worker_thread+0x4d/0x3d0
Feb 18 15:02:04 idinev-archbox kernel:  ? rescuer_thread+0x3c0/0x3c0
Feb 18 15:02:04 idinev-archbox kernel:  kthread+0x133/0x150
Feb 18 15:02:04 idinev-archbox kernel:  ? __kthread_bind_mask+0x60/0x60
Feb 18 15:02:04 idinev-archbox kernel:  ret_from_fork+0x22/0x30
Feb 18 15:02:04 idinev-archbox kernel: Modules linked in: tun veth xt_conntrack xt_MASQUERADE nf_conntrack_netlink nfnetlink xt_addrtype iptable_filter iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv>
Feb 18 15:02:04 idinev-archbox kernel:  snd_compress i2c_i801 r8169 ac97_bus snd_pcm_dmaengine pcspkr i2c_smbus snd_pcm realtek mdio_devres snd_timer libphy snd mei_me i2c_algo_bit mei soundcore intel_gtt intel_p>
Feb 18 15:02:04 idinev-archbox kernel: ---[ end trace 657bed4f32c5bc4e ]---
Feb 18 15:02:04 idinev-archbox kernel: ------------[ cut here ]------------
Feb 18 15:02:04 idinev-archbox kernel: WARNING: CPU: 2 PID: 244508 at kernel/rcu/tree_plugin.h:297 rcu_note_context_switch+0x42/0x480
Feb 18 15:02:04 idinev-archbox kernel: Modules linked in: tun veth xt_conntrack xt_MASQUERADE nf_conntrack_netlink nfnetlink xt_addrtype iptable_filter iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv>
Feb 18 15:02:04 idinev-archbox kernel:  snd_compress i2c_i801 r8169 ac97_bus snd_pcm_dmaengine pcspkr i2c_smbus snd_pcm realtek mdio_devres snd_timer libphy snd mei_me i2c_algo_bit mei soundcore intel_gtt intel_p>
Feb 18 15:02:04 idinev-archbox kernel: CPU: 2 PID: 244508 Comm: kworker/2:3 Tainted: P      D   IOE     5.10.16-arch1-1 #1
Feb 18 15:02:04 idinev-archbox kernel: Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./H110M-DVP, BIOS P1.00 03/01/2016
Feb 18 15:02:04 idinev-archbox kernel: Workqueue: zswap-shrink shrink_worker
Feb 18 15:02:04 idinev-archbox kernel: RIP: 0010:rcu_note_context_switch+0x42/0x480
Feb 18 15:02:04 idinev-archbox kernel: Code: c3 40 cf 02 00 65 48 03 1d 13 eb 4f 77 0f 1f 44 00 00 40 84 ed 75 15 65 48 8b 04 25 c0 7b 01 00 8b 90 b0 03 00 00 85 d2 7e 02 <0f> 0b 65 48 8b 04 25 c0 7b 01 00 8b 80 >
Feb 18 15:02:04 idinev-archbox kernel: RSP: 0018:ffffc160ca4e77b0 EFLAGS: 00010002
Feb 18 15:02:04 idinev-archbox kernel: RAX: ffff9d9c0336be80 RBX: ffff9d9cf6d2cf40 RCX: 0000000000000000
Feb 18 15:02:04 idinev-archbox kernel: RDX: 0000000000000001 RSI: ffffffff8946b03b RDI: 0000000000000000
Feb 18 15:02:04 idinev-archbox kernel: RBP: 0000000000000000 R08: 0000000000000001 R09: ffff9d9cf6d2c2b0
Feb 18 15:02:04 idinev-archbox kernel: R10: 0000000000000322 R11: 0000000000000a4d R12: 000000000002c180
Feb 18 15:02:04 idinev-archbox kernel: R13: ffff9d9c0336be80 R14: ffff9d9c0336be80 R15: ffff9d9cf6d2c180
Feb 18 15:02:04 idinev-archbox kernel: FS:  0000000000000000(0000) GS:ffff9d9cf6d00000(0000) knlGS:0000000000000000
Feb 18 15:02:04 idinev-archbox kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Feb 18 15:02:04 idinev-archbox kernel: CR2: 000055d98b08dc50 CR3: 00000001023b2005 CR4: 00000000003706e0
...skipping...
-- Journal begins at Tue 2020-09-15 15:42:01 EEST, ends at Thu 2021-02-18 15:10:44 EET. --
Feb 18 14:42:39 idinev-archbox kernel: r8169 0000:05:00.0 enp5s0: Rx ERROR. status = 352ac5bd
Feb 18 15:02:04 idinev-archbox kernel: page:0000000036ed071f refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1ba0d5
Feb 18 15:02:04 idinev-archbox kernel: flags: 0x2ffff0000000000()
Feb 18 15:02:04 idinev-archbox kernel: raw: 02ffff0000000000 ffff9d9cf6d32170 ffff9d9cf6d32170 0000000000000000
Feb 18 15:02:04 idinev-archbox kernel: raw: 0000000000000000 0000000000000011 00000000ffffffff 0000000000000000
Feb 18 15:02:04 idinev-archbox kernel: page dumped because: VM_BUG_ON_PAGE(page_ref_count(page) == 0)
Feb 18 15:02:04 idinev-archbox kernel: ------------[ cut here ]------------
Feb 18 15:02:04 idinev-archbox kernel: kernel BUG at include/linux/mm.h:707!
Feb 18 15:02:04 idinev-archbox kernel: invalid opcode: 0000 [#1] PREEMPT SMP PTI
Feb 18 15:02:04 idinev-archbox kernel: CPU: 2 PID: 244508 Comm: kworker/2:3 Tainted: P          IOE     5.10.16-arch1-1 #1
Feb 18 15:02:04 idinev-archbox kernel: Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./H110M-DVP, BIOS P1.00 03/01/2016
Feb 18 15:02:04 idinev-archbox kernel: Workqueue: zswap-shrink shrink_worker
Feb 18 15:02:04 idinev-archbox kernel: RIP: 0010:__free_pages+0x83/0x90
Feb 18 15:02:04 idinev-archbox kernel: Code: 33 e4 ff ff eb d1 85 f6 75 09 5b 5d 41 5c e9 a4 fe ff ff 5b 31 d2 5d 41 5c e9 19 e4 ff ff 48 c7 c6 38 b7 d3 89 e8 cd 64 fd ff <0f> 0b 5b 5d 41 5c c3 66 0f 1f 44 00 00 >
Feb 18 15:02:04 idinev-archbox kernel: RSP: 0018:ffffc160ca4e7d60 EFLAGS: 00010286
Feb 18 15:02:04 idinev-archbox kernel: RAX: 0000000000000000 RBX: ffff9d9b86230840 RCX: ffff9d9cf6d18bb8
Feb 18 15:02:04 idinev-archbox kernel: RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff9d9cf6d18bb0
Feb 18 15:02:04 idinev-archbox kernel: RBP: ffffe3a0c6e83540 R08: 0000000000000000 R09: ffffc160ca4e7a60
Feb 18 15:02:04 idinev-archbox kernel: R10: ffffc160ca4e7a58 R11: ffffffff8a4cb228 R12: ffffe3a0c6e83540
Feb 18 15:02:04 idinev-archbox kernel: R13: ffffe3a0c6e83548 R14: ffff9d9c3a0d5000 R15: ffffe3a0c6e83548
Feb 18 15:02:04 idinev-archbox kernel: FS:  0000000000000000(0000) GS:ffff9d9cf6d00000(0000) knlGS:0000000000000000
Feb 18 15:02:04 idinev-archbox kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Feb 18 15:02:04 idinev-archbox kernel: CR2: 00007fe32f600000 CR3: 000000018ac10003 CR4: 00000000003706e0
Feb 18 15:02:04 idinev-archbox kernel: DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Feb 18 15:02:04 idinev-archbox kernel: DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Feb 18 15:02:04 idinev-archbox kernel: Call Trace:
Feb 18 15:02:04 idinev-archbox kernel:  z3fold_zpool_shrink+0x146/0x720
Feb 18 15:02:04 idinev-archbox kernel:  ? sched_clock+0x5/0x10
Feb 18 15:02:04 idinev-archbox kernel:  ? sched_clock_cpu+0xc/0xb0
Feb 18 15:02:04 idinev-archbox kernel:  shrink_worker+0x19/0x50
Feb 18 15:02:04 idinev-archbox kernel:  process_one_work+0x1d6/0x3a0
Feb 18 15:02:04 idinev-archbox kernel:  worker_thread+0x4d/0x3d0
Feb 18 15:02:04 idinev-archbox kernel:  ? rescuer_thread+0x3c0/0x3c0
Feb 18 15:02:04 idinev-archbox kernel:  kthread+0x133/0x150
Feb 18 15:02:04 idinev-archbox kernel:  ? __kthread_bind_mask+0x60/0x60
Feb 18 15:02:04 idinev-archbox kernel:  ret_from_fork+0x22/0x30
Feb 18 15:02:04 idinev-archbox kernel: Modules linked in: tun veth xt_conntrack xt_MASQUERADE nf_conntrack_netlink nfnetlink xt_addrtype iptable_filter iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv>
Feb 18 15:02:04 idinev-archbox kernel:  snd_compress i2c_i801 r8169 ac97_bus snd_pcm_dmaengine pcspkr i2c_smbus snd_pcm realtek mdio_devres snd_timer libphy snd mei_me i2c_algo_bit mei soundcore intel_gtt intel_p>
Feb 18 15:02:04 idinev-archbox kernel: ---[ end trace 657bed4f32c5bc4e ]---
Feb 18 15:02:04 idinev-archbox kernel: ------------[ cut here ]------------
Feb 18 15:02:04 idinev-archbox kernel: WARNING: CPU: 2 PID: 244508 at kernel/rcu/tree_plugin.h:297 rcu_note_context_switch+0x42/0x480
Feb 18 15:02:04 idinev-archbox kernel: Modules linked in: tun veth xt_conntrack xt_MASQUERADE nf_conntrack_netlink nfnetlink xt_addrtype iptable_filter iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv>
Feb 18 15:02:04 idinev-archbox kernel:  snd_compress i2c_i801 r8169 ac97_bus snd_pcm_dmaengine pcspkr i2c_smbus snd_pcm realtek mdio_devres snd_timer libphy snd mei_me i2c_algo_bit mei soundcore intel_gtt intel_p>
Feb 18 15:02:04 idinev-archbox kernel: CPU: 2 PID: 244508 Comm: kworker/2:3 Tainted: P      D   IOE     5.10.16-arch1-1 #1
Feb 18 15:02:04 idinev-archbox kernel: Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./H110M-DVP, BIOS P1.00 03/01/2016
Feb 18 15:02:04 idinev-archbox kernel: Workqueue: zswap-shrink shrink_worker
Feb 18 15:02:04 idinev-archbox kernel: RIP: 0010:rcu_note_context_switch+0x42/0x480
Feb 18 15:02:04 idinev-archbox kernel: Code: c3 40 cf 02 00 65 48 03 1d 13 eb 4f 77 0f 1f 44 00 00 40 84 ed 75 15 65 48 8b 04 25 c0 7b 01 00 8b 90 b0 03 00 00 85 d2 7e 02 <0f> 0b 65 48 8b 04 25 c0 7b 01 00 8b 80 >
Feb 18 15:02:04 idinev-archbox kernel: RSP: 0018:ffffc160ca4e77b0 EFLAGS: 00010002
Feb 18 15:02:04 idinev-archbox kernel: RAX: ffff9d9c0336be80 RBX: ffff9d9cf6d2cf40 RCX: 0000000000000000
Feb 18 15:02:04 idinev-archbox kernel: RDX: 0000000000000001 RSI: ffffffff8946b03b RDI: 0000000000000000
Feb 18 15:02:04 idinev-archbox kernel: RBP: 0000000000000000 R08: 0000000000000001 R09: ffff9d9cf6d2c2b0
Feb 18 15:02:04 idinev-archbox kernel: RBP: 0000000000000000 R08: 0000000000000001 R09: ffff9d9cf6d2c2b0
Feb 18 15:02:04 idinev-archbox kernel: R10: 0000000000000322 R11: 0000000000000a4d R12: 000000000002c180
Feb 18 15:02:04 idinev-archbox kernel: R13: ffff9d9c0336be80 R14: ffff9d9c0336be80 R15: ffff9d9cf6d2c180
Feb 18 15:02:04 idinev-archbox kernel: FS:  0000000000000000(0000) GS:ffff9d9cf6d00000(0000) knlGS:0000000000000000
Feb 18 15:02:04 idinev-archbox kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Feb 18 15:02:04 idinev-archbox kernel: CR2: 000055d98b08dc50 CR3: 00000001023b2005 CR4: 00000000003706e0
Feb 18 15:02:04 idinev-archbox kernel: DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Feb 18 15:02:04 idinev-archbox kernel: DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Feb 18 15:02:04 idinev-archbox kernel: Call Trace:
Feb 18 15:02:04 idinev-archbox kernel:  __schedule+0xae/0x810
Feb 18 15:02:04 idinev-archbox kernel:  schedule+0x5b/0xc0
Feb 18 15:02:04 idinev-archbox kernel:  schedule_timeout+0x11c/0x160
Feb 18 15:02:04 idinev-archbox kernel:  wait_for_completion+0x9e/0x100
Feb 18 15:02:04 idinev-archbox kernel:  virt_efi_query_variable_info+0x141/0x150
Feb 18 15:02:04 idinev-archbox kernel:  efi_query_variable_store+0x7b/0x1e0
Feb 18 15:02:04 idinev-archbox kernel:  ? vsnprintf+0x6e/0x4f0
Feb 18 15:02:04 idinev-archbox kernel:  efivar_entry_set_safe+0xbd/0x210
Feb 18 15:02:04 idinev-archbox kernel:  efi_pstore_write+0x12d/0x1a0
Feb 18 15:02:04 idinev-archbox kernel:  pstore_dump+0x1b3/0x2f0
Feb 18 15:02:04 idinev-archbox kernel:  kmsg_dump+0xa8/0xd0
Feb 18 15:02:04 idinev-archbox kernel:  oops_end+0x61/0xd0
Feb 18 15:02:04 idinev-archbox kernel:  do_trap+0x8d/0x110
Feb 18 15:02:04 idinev-archbox kernel:  ? __free_pages+0x83/0x90
Feb 18 15:02:04 idinev-archbox kernel:  do_error_trap+0x64/0xa0
Feb 18 15:02:04 idinev-archbox kernel:  ? __free_pages+0x83/0x90
Feb 18 15:02:04 idinev-archbox kernel:  exc_invalid_op+0x4e/0x70
Feb 18 15:02:04 idinev-archbox kernel:  ? __free_pages+0x83/0x90
Feb 18 15:02:04 idinev-archbox kernel:  asm_exc_invalid_op+0x12/0x20
Feb 18 15:02:04 idinev-archbox kernel: RIP: 0010:__free_pages+0x83/0x90
Feb 18 15:02:04 idinev-archbox kernel: Code: 33 e4 ff ff eb d1 85 f6 75 09 5b 5d 41 5c e9 a4 fe ff ff 5b 31 d2 5d 41 5c e9 19 e4 ff ff 48 c7 c6 38 b7 d3 89 e8 cd 64 fd ff <0f> 0b 5b 5d 41 5c c3 66 0f 1f 44 00 00 >
Feb 18 15:02:04 idinev-archbox kernel: RSP: 0018:ffffc160ca4e7d60 EFLAGS: 00010286
Feb 18 15:02:04 idinev-archbox kernel: RAX: 0000000000000000 RBX: ffff9d9b86230840 RCX: ffff9d9cf6d18bb8
Feb 18 15:02:04 idinev-archbox kernel: RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff9d9cf6d18bb0
Feb 18 15:02:04 idinev-archbox kernel: RBP: ffffe3a0c6e83540 R08: 0000000000000000 R09: ffffc160ca4e7a60
Feb 18 15:02:04 idinev-archbox kernel: R10: ffffc160ca4e7a58 R11: ffffffff8a4cb228 R12: ffffe3a0c6e83540
Feb 18 15:02:04 idinev-archbox kernel: R13: ffffe3a0c6e83548 R14: ffff9d9c3a0d5000 R15: ffffe3a0c6e83548
Feb 18 15:02:04 idinev-archbox kernel:  z3fold_zpool_shrink+0x146/0x720
Feb 18 15:02:04 idinev-archbox kernel:  ? sched_clock+0x5/0x10
Feb 18 15:02:04 idinev-archbox kernel:  ? sched_clock_cpu+0xc/0xb0
Feb 18 15:02:04 idinev-archbox kernel:  shrink_worker+0x19/0x50
Feb 18 15:02:04 idinev-archbox kernel:  process_one_work+0x1d6/0x3a0
Feb 18 15:02:04 idinev-archbox kernel:  worker_thread+0x4d/0x3d0
Feb 18 15:02:04 idinev-archbox kernel:  ? rescuer_thread+0x3c0/0x3c0
Feb 18 15:02:04 idinev-archbox kernel:  kthread+0x133/0x150
Feb 18 15:02:04 idinev-archbox kernel:  ? __kthread_bind_mask+0x60/0x60
Feb 18 15:02:04 idinev-archbox kernel:  ret_from_fork+0x22/0x30
Feb 18 15:02:04 idinev-archbox kernel: ---[ end trace 657bed4f32c5bc4f ]---
Feb 18 15:02:44 idinev-archbox kernel: usb 1-2: USB disconnect, device number 3
-- Boot 22082842c895427890aaad0ad35b645c --

I've been observing such random crashes for a couple of months now. I haven't tested an SSH connection, but I can hear music playing for a few seconds after my screen/Xorg freezes.
In my experience the crashes are indeed random - they have happened with moderate CPU/RAM usage.

Offline

#3 2021-02-23 00:56:28

VDmvKcW9JamBSir5fNfehqpG
Member
From: Earth
Registered: 2019-12-30
Posts: 59

Re: Spurious system lookups

I too am experiencing this on 5.10 kernels, but only on one of my 1.5 laptops. My Acer A515-55-56VK has the issue, and my half of a Dell Precision M4500 doesn't. (Why it's half of an M4500 and not a whole one is irrelevant.) In my case, it seems correlated to uptime, usually after around 24 hours, but one happened after about 8. When it happens, some programs behave weirdly, processes only die if they exit voluntarily and sometimes not even then (the kill command, even kill -9 as root, can't remove them), and CPU load appears unreasonably high (100% constantly and load average in the high 80s) when clocks, temps, and power usage suggest that it really is not. My logs seem the same, except my code is "33 e4 ff ff eb d1 85 f6 75 09 5b 5d 41 5c e9 a4 fe ff ff 5b 31 d2 5d 41 5c e9 19 e4 ff ff 48 c7 c6 f8 b4 73 b0 e8 cd 64 fd ff <0f> 0b 5b 5d 41 5c c3 66 0f 1f 44 00 00 0f 1f 44 00 00 48 85 ff 75" on 5.10.11 and 5.10.13, and "73 e4 ff ff eb d1 85 f6 75 09 5b 5d 41 5c e9 a4 fe ff ff 5b 31 d2 5d 41 5c e9 59 e4 ff ff 48 c7 c6 c0 a1 b3 8c e8 3d 6a fd ff <0f> 0b 5b 5d 41 5c c3 66 0f 1f 44 00 00 0f 1f 44 00 00 48 85 ff 75" on 5.10.17. I found a couple bug reports related to it on the Linux kernel bugzilla, but this one looks most active. I'm going back to 5.4 for now.

Offline

#4 2021-02-26 17:48:36

promarbler14
Member
From: MD, U.S.
Registered: 2016-03-28
Posts: 40

Re: Spurious system lookups

A patch is available, however I do not think it has reached linux stable.

See: https://patchwork.kernel.org/project/li … gmail.com/

Ways to fix this issue:

Disable swap compression entirely:

echo 0 > /sys/module/zswap/parameters/enabled

Kernel boot parameter:

zswap.enabled=0

Switch away from the z3fold allocator:

echo zbud > /sys/module/zswap/parameters/zpool

Kernel boot parameter:

zswap.zpool=zbud

Of course, you can downgrade to the 5.4 LTS kernel, but note that it won't receive any further updates by Archlinux (new LTS is 5.10); you'd have to build new stable versions manually.

It may warrant an Archlinux bug report if one is not yet already there.

Side note: you can view stuck tasks with the alt-sysrq-w "magic sysreq" function, if you have enabled full magic sysrq functionality when you boot.
Side note 2: The Code text corresponds to the machine code at the current point of execution, so it depends on when/where the fault is detected and the running kernel build.

Last edited by promarbler14 (2021-02-26 17:48:55)

Offline

#5 2021-02-26 23:00:43

VDmvKcW9JamBSir5fNfehqpG
Member
From: Earth
Registered: 2019-12-30
Posts: 59

Re: Spurious system lookups

Awesome! Do we have to apply the patch AND do the fixes you listed, or are the fixes simply workarounds to avoid the bugged functionality until the patch arrives? I use zswap and don't want to disable it (although I did have zswap disabled when I was on the 5.10 kernel), but of course I'd also like to get off an old unsupported package as soon as I can, so I'm trying to decide the best course of action.

Offline

#6 2021-02-26 23:21:32

promarbler14
Member
From: MD, U.S.
Registered: 2016-03-28
Posts: 40

Re: Spurious system lookups

I'm mostly looking at the wiki page here: https://wiki.archlinux.org/index.php/Zswap

The advice I gave was just a workaround to avoid the buggy code (in the z3fold allocator) while others wait for a patch. You either disable compressed swap OR switch to the more wasteful zbud allocator (default in 5.4). Or you could disable swap altogether, but that's not ideal.

As patches go, usually they aim to fix the bug, and looking at the patch it appears to do that. So you don't need any workarounds in that case.

You can apply the patch by using Arch's asp tool and building the kernel with the patch. You might also be able to update the PKGBUILD and receive the latest 5.4 stable that way as well, depending on how the PKGBUILD is written.

Offline

#7 2021-02-26 23:33:44

VDmvKcW9JamBSir5fNfehqpG
Member
From: Earth
Registered: 2019-12-30
Posts: 59

Re: Spurious system lookups

OK, sounds cool. I think I'll go back up to 5.10 (which seems to work better on my laptop as it's relatively new) and switch to zbud, which works well enough. What channels can I monitor to find out when this issue is fixed so I can switch back to z3fold?

Offline

#8 2021-04-30 22:36:20

promarbler14
Member
From: MD, U.S.
Registered: 2016-03-28
Posts: 40

Re: Spurious system lookups

The patch has made it into Linus's branch, with commit https://github.com/torvalds/linux/commi … bba84a7884 . However, it appears than the change has not made it back into linux-stable, with linux v5.11.17 still problematic. The bugfixing commit is present only with v5.12-rc5 and later, which is only available with the latest version of linux in testing (5.12.arch1-1).

If you have a clone of the main Linux git and it has a remote for linux-stable set up, you can find the offending kernel versions with:

git tag --contains dcf5aed --no-contains 6d67957

Every version of the 5.11 kernel is affected, so you should not use that kernel if you want to use swap with the z3fold allocator (as is the default).

Last edited by promarbler14 (2021-04-30 22:36:41)

Offline

Board footer

Powered by FluxBB