You are not logged in.

#1 2022-11-10 01:05:15

pntruongan
Member
Registered: 2011-01-31
Posts: 63

Random freeze, sometimes with hard/soft LOCKUP on cpu

I've been experiencing stability problems on my main PC for the about a month. The computer would randomly freeze, sometimes after 1-2 days of use (with suspend in between), sometimes after just a few hours.
Most of the time, the only options is restarting the computer and the journalctl of the last boot just got cut off with nothing to debug. Starting with kernel 6.x, I can sometimes see some seemingly dangerous CPU lockup right at the end of the lock, right when the computer got frozen.

Thg 11 09 23:01:31 anhomepc variety[726828]: Directory Photo has an unexpected next pointer; ignored.
Thg 11 09 23:01:31 anhomepc variety[726828]: Directory Photo has an unexpected next pointer; ignored.
Thg 11 09 23:01:31 anhomepc variety.desktop[726828]: WARNING: 2022-11-09 23:01:31,532: find_images() 'Too few images found: 1 out of 100. Please check the settings in 'Filtering'.'
Thg 11 09 23:10:42 anhomepc rtkit-daemon[1186]: The canary thread is apparently starving. Taking action.
Thg 11 09 23:10:42 anhomepc rtkit-daemon[1186]: Demoting known real-time threads.
Thg 11 09 23:10:42 anhomepc rtkit-daemon[1186]: Successfully demoted thread 730609 of process 730433.
Thg 11 09 23:10:42 anhomepc rtkit-daemon[1186]: Successfully demoted thread 719712 of process 719705.
Thg 11 09 23:10:42 anhomepc rtkit-daemon[1186]: Successfully demoted thread 719705 of process 719705.
Thg 11 09 23:10:42 anhomepc rtkit-daemon[1186]: Successfully demoted thread 719719 of process 719707.
Thg 11 09 23:10:42 anhomepc rtkit-daemon[1186]: Successfully demoted thread 719707 of process 719707.
Thg 11 09 23:10:42 anhomepc rtkit-daemon[1186]: Successfully demoted thread 719718 of process 719702.
Thg 11 09 23:10:42 anhomepc rtkit-daemon[1186]: Successfully demoted thread 719702 of process 719702.
Thg 11 09 23:10:42 anhomepc rtkit-daemon[1186]: Demoted 7 threads.
Thg 11 09 23:10:52 anhomepc rtkit-daemon[1186]: The canary thread is apparently starving. Taking action.
Thg 11 09 23:10:52 anhomepc rtkit-daemon[1186]: Demoting known real-time threads.
Thg 11 09 23:10:52 anhomepc rtkit-daemon[1186]: Successfully demoted thread 730609 of process 730433.
Thg 11 09 23:10:52 anhomepc rtkit-daemon[1186]: Successfully demoted thread 719712 of process 719705.
Thg 11 09 23:10:52 anhomepc rtkit-daemon[1186]: Successfully demoted thread 719705 of process 719705.
Thg 11 09 23:10:52 anhomepc rtkit-daemon[1186]: Successfully demoted thread 719719 of process 719707.
Thg 11 09 23:10:52 anhomepc rtkit-daemon[1186]: Successfully demoted thread 719707 of process 719707.
Thg 11 09 23:10:52 anhomepc rtkit-daemon[1186]: Successfully demoted thread 719718 of process 719702.
Thg 11 09 23:10:52 anhomepc rtkit-daemon[1186]: Successfully demoted thread 719702 of process 719702.
Thg 11 09 23:10:52 anhomepc rtkit-daemon[1186]: Demoted 7 threads.
Thg 11 09 23:11:02 anhomepc rtkit-daemon[1186]: The canary thread is apparently starving. Taking action.
Thg 11 09 23:11:02 anhomepc rtkit-daemon[1186]: Demoting known real-time threads.
Thg 11 09 23:11:02 anhomepc rtkit-daemon[1186]: Successfully demoted thread 730609 of process 730433.
Thg 11 09 23:11:02 anhomepc rtkit-daemon[1186]: Successfully demoted thread 719712 of process 719705.
Thg 11 09 23:11:02 anhomepc rtkit-daemon[1186]: Successfully demoted thread 719705 of process 719705.
Thg 11 09 23:11:02 anhomepc rtkit-daemon[1186]: Successfully demoted thread 719719 of process 719707.
Thg 11 09 23:11:02 anhomepc rtkit-daemon[1186]: Successfully demoted thread 719707 of process 719707.
Thg 11 09 23:11:02 anhomepc rtkit-daemon[1186]: Successfully demoted thread 719718 of process 719702.
Thg 11 09 23:11:02 anhomepc rtkit-daemon[1186]: Successfully demoted thread 719702 of process 719702.
Thg 11 09 23:11:02 anhomepc rtkit-daemon[1186]: Demoted 7 threads.
Thg 11 09 23:11:12 anhomepc kernel: ------------[ cut here ]------------
Thg 11 09 23:11:12 anhomepc kernel: rq->clock_update_flags < RQCF_ACT_SKIP
Thg 11 09 23:11:12 anhomepc kernel: WARNING: CPU: 10 PID: 0 at kernel/sched/sched.h:1496 update_blocked_averages+0x794/0x7a0
Thg 11 09 23:11:12 anhomepc kernel: Modules linked in: tls uinput xt_conntrack xt_MASQUERADE nf_conntrack_netlink nfnetlink xt_addrtype iptable_filter iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c br_netfilter bridge stp llc overlay rfcomm snd_seq_dummy snd_hrtimer snd_seq snd_seq_device wireguard curve25519_x86_64 libchacha20poly1305 chacha_x86_64 poly1305_x86_64 libcurve25519_generic libchacha ip6_udp_tunnel udp_tunnel nls_iso8859_1 vfat fat intel_rapl_msr intel_rapl_common snd_hda_codec_realtek edac_mce_amd snd_hda_codec_generic snd_hda_codec_hdmi kvm_amd snd_hda_intel asus_wmi_sensors snd_intel_dspcfg eeepc_wmi kvm snd_intel_sdw_acpi snd_hda_codec asus_wmi snd_hda_core irqbypass ledtrig_audio sparse_keymap snd_hwdep joydev mousedev rapl platform_profile snd_pcm video pcspkr mxm_wmi snd_timer wmi_bmof sp5100_tco igb snd k10temp soundcore dca tpm_crb i2c_piix4 gpio_amdpt tpm_tis mac_hid gpio_generic tpm_tis_core acpi_cpufreq vboxnetflt(OE) vboxnetadp(OE) vboxdrv(OE) i2c_dev
Thg 11 09 23:11:12 anhomepc kernel:  crypto_user fuse bpf_preload ip_tables x_tables ext4 crc32c_generic mbcache jbd2 hidp cmac algif_hash algif_skcipher af_alg btusb btrtl btbcm btintel btmtk bnep dm_crypt cbc encrypted_keys bluetooth trusted asn1_encoder tee tpm rfkill ecdh_generic dm_mod crc16 usbhid crct10dif_pclmul crc32_pclmul crc32c_intel polyval_clmulni polyval_generic nvme gf128mul ghash_clmulni_intel nvme_core aesni_intel ccp crypto_simd cryptd rng_core xhci_pci nvme_common xhci_pci_renesas wmi amdgpu drm_ttm_helper ttm gpu_sched drm_buddy drm_display_helper cec
Thg 11 09 23:11:12 anhomepc kernel: CPU: 10 PID: 0 Comm: swapper/10 Tainted: G           OE      6.0.7-arch1-1 #1 54734d35253fb4c526adcfdfa2e7225be9ec4a9a
Thg 11 09 23:11:12 anhomepc kernel: Hardware name: System manufacturer System Product Name/ROG STRIX B450-F GAMING, BIOS 4901 07/25/2022
Thg 11 09 23:11:12 anhomepc kernel: RIP: 0010:update_blocked_averages+0x794/0x7a0
Thg 11 09 23:11:12 anhomepc kernel: Code: d5 aa 00 0f 0b e9 66 f9 ff ff 80 3d 51 91 cd 01 00 0f 85 4e ff ff ff 48 c7 c7 90 d0 d1 a5 c6 05 3d 91 cd 01 01 e8 5c d5 aa 00 <0f> 0b e9 34 ff ff ff 0f 1f 44 00 00 0f 1f 44 00 00 55 48 89 e5 41
Thg 11 09 23:11:12 anhomepc kernel: RSP: 0018:ffffa9e280488ef8 EFLAGS: 00010086
Thg 11 09 23:11:12 anhomepc kernel: RAX: 0000000000000000 RBX: ffff9da51ea214c0 RCX: 0000000000000027
Thg 11 09 23:11:12 anhomepc kernel: RDX: ffff9da51eca1668 RSI: 0000000000000001 RDI: ffff9da51eca1660
Thg 11 09 23:11:12 anhomepc kernel: RBP: ffffa9e280488f68 R08: 0000000000000000 R09: ffffa9e280488d80
Thg 11 09 23:11:12 anhomepc kernel: R10: 0000000000000003 R11: ffff9da53f328fe8 R12: ffffffffa4905460
Thg 11 09 23:11:12 anhomepc kernel: R13: ffff9da51ecb3700 R14: ffff9da51ecb3700 R15: ffff9da51eca4800
Thg 11 09 23:11:12 anhomepc kernel: FS:  0000000000000000(0000) GS:ffff9da51ec80000(0000) knlGS:0000000000000000
Thg 11 09 23:11:12 anhomepc kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Thg 11 09 23:11:12 anhomepc kernel: CR2: 00007f6f5d14ae40 CR3: 00000001d1bdc000 CR4: 0000000000350ee0
Thg 11 09 23:11:12 anhomepc kernel: Call Trace:
Thg 11 09 23:11:12 anhomepc kernel:  <IRQ>
Thg 11 09 23:11:12 anhomepc kernel:  ? enqueue_hrtimer+0x2f/0x80
Thg 11 09 23:11:12 anhomepc kernel:  ? __hrtimer_run_queues+0x159/0x2c0
Thg 11 09 23:11:12 anhomepc kernel:  run_rebalance_domains+0x49/0x70
Thg 11 09 23:11:12 anhomepc kernel:  __do_softirq+0xd3/0x2ca
Thg 11 09 23:11:12 anhomepc kernel:  ? sched_clock_cpu+0xd/0xb0
Thg 11 09 23:11:12 anhomepc kernel:  __irq_exit_rcu+0xb7/0xe0
Thg 11 09 23:11:12 anhomepc kernel:  sysvec_apic_timer_interrupt+0x72/0x90
Thg 11 09 23:11:12 anhomepc kernel:  </IRQ>
Thg 11 09 23:11:12 anhomepc kernel:  <TASK>
Thg 11 09 23:11:12 anhomepc kernel:  asm_sysvec_apic_timer_interrupt+0x1a/0x20
Thg 11 09 23:11:12 anhomepc kernel: RIP: 0010:cpuidle_enter_state+0xe2/0x420
Thg 11 09 23:11:12 anhomepc kernel: Code: 00 00 31 ff e8 0f e8 7c ff 45 84 ff 74 16 9c 58 0f 1f 40 00 f6 c4 02 0f 85 25 03 00 00 31 ff e8 b4 a8 83 ff fb 0f 1f 44 00 00 <45> 85 f6 0f 88 85 01 00 00 49 63 d6 48 8d 04 52 48 8d 04 82 49 8d
Thg 11 09 23:11:12 anhomepc kernel: RSP: 0018:ffffa9e2801cfe90 EFLAGS: 00000246
Thg 11 09 23:11:12 anhomepc kernel: RAX: ffff9da51ecb2d40 RBX: ffff9d9e0c0cdc00 RCX: 0000000000000000
Thg 11 09 23:11:12 anhomepc kernel: RDX: 000000000000000a RSI: 0000207725523b39 RDI: 0000000000000000
Thg 11 09 23:11:12 anhomepc kernel: RBP: 0000000000000001 R08: 0000000000000002 R09: 00000000238e383e
Thg 11 09 23:11:12 anhomepc kernel: R10: 0000000000000323 R11: 000000000000002b R12: ffffffffa654b980
Thg 11 09 23:11:12 anhomepc kernel: R13: 00003070ca0d5228 R14: 0000000000000001 R15: 0000000000000000
Thg 11 09 23:11:12 anhomepc kernel:  cpuidle_enter+0x2d/0x40
Thg 11 09 23:11:12 anhomepc kernel:  do_idle+0x1ed/0x270
Thg 11 09 23:11:12 anhomepc kernel:  cpu_startup_entry+0x1d/0x20
Thg 11 09 23:11:12 anhomepc kernel:  start_secondary+0x115/0x140
Thg 11 09 23:11:12 anhomepc kernel:  secondary_startup_64_no_verify+0xe5/0xeb
Thg 11 09 23:11:12 anhomepc kernel:  </TASK>
Thg 11 09 23:11:12 anhomepc kernel: ---[ end trace 0000000000000000 ]---
Thg 11 09 23:11:12 anhomepc kernel: NMI watchdog: Watchdog detected hard LOCKUP on cpu 9
Thg 11 09 23:11:12 anhomepc kernel: Modules linked in: tls uinput xt_conntrack xt_MASQUERADE nf_conntrack_netlink nfnetlink xt_addrtype iptable_filter iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c br_netfilter bridge stp llc overlay rfcomm snd_seq_dummy snd_hrtimer snd_seq snd_seq_device wireguard curve25519_x86_64 libchacha20poly1305 chacha_x86_64 poly1305_x86_64 libcurve25519_generic libchacha ip6_udp_tunnel udp_tunnel nls_iso8859_1 vfat fat intel_rapl_msr intel_rapl_common snd_hda_codec_realtek edac_mce_amd snd_hda_codec_generic snd_hda_codec_hdmi kvm_amd snd_hda_intel asus_wmi_sensors snd_intel_dspcfg eeepc_wmi kvm snd_intel_sdw_acpi snd_hda_codec asus_wmi snd_hda_core irqbypass ledtrig_audio sparse_keymap snd_hwdep joydev mousedev rapl platform_profile snd_pcm video pcspkr mxm_wmi snd_timer wmi_bmof sp5100_tco igb snd k10temp soundcore dca tpm_crb i2c_piix4 gpio_amdpt tpm_tis mac_hid gpio_generic tpm_tis_core acpi_cpufreq vboxnetflt(OE) vboxnetadp(OE) vboxdrv(OE) i2c_dev
Thg 11 09 23:11:12 anhomepc kernel:  crypto_user fuse bpf_preload ip_tables x_tables ext4 crc32c_generic mbcache jbd2 hidp cmac algif_hash algif_skcipher af_alg btusb btrtl btbcm btintel btmtk bnep dm_crypt cbc encrypted_keys bluetooth trusted asn1_encoder tee tpm rfkill ecdh_generic dm_mod crc16 usbhid crct10dif_pclmul crc32_pclmul crc32c_intel polyval_clmulni polyval_generic nvme gf128mul ghash_clmulni_intel nvme_core aesni_intel ccp crypto_simd cryptd rng_core xhci_pci nvme_common xhci_pci_renesas wmi amdgpu drm_ttm_helper ttm gpu_sched drm_buddy drm_display_helper cec
Thg 11 09 23:11:12 anhomepc kernel: CPU: 9 PID: 72 Comm: migration/9 Tainted: G        W  OE      6.0.7-arch1-1 #1 54734d35253fb4c526adcfdfa2e7225be9ec4a9a
Thg 11 09 23:11:12 anhomepc kernel: Hardware name: System manufacturer System Product Name/ROG STRIX B450-F GAMING, BIOS 4901 07/25/2022
Thg 11 09 23:11:12 anhomepc kernel: Stopper: migration_cpu_stop+0x0/0x330 <- affine_move_task+0x3a6/0x500
Thg 11 09 23:11:12 anhomepc kernel: RIP: 0010:native_queued_spin_lock_slowpath+0x21f/0x2d0
Thg 11 09 23:11:12 anhomepc kernel: Code: 41 8d 4d 01 41 c1 e4 10 c1 e1 12 44 09 e1 89 c8 c1 e8 10 66 87 43 02 89 c2 c1 e2 10 81 fa ff ff 00 00 77 3b 31 d2 eb 02 f3 90 <8b> 03 66 85 c0 75 f7 89 c6 66 31 f6 39 f1 0f 84 87 00 00 00 c6 03
Thg 11 09 23:11:12 anhomepc kernel: RSP: 0018:ffffa9e280437df0 EFLAGS: 00000002
Thg 11 09 23:11:12 anhomepc kernel: RAX: 0000000000280101 RBX: ffff9da51ecb2d40 RCX: 0000000000280000
Thg 11 09 23:11:12 anhomepc kernel: RDX: 0000000000000000 RSI: 0000000000000101 RDI: ffff9da51ecb2d40
Thg 11 09 23:11:12 anhomepc kernel: RBP: ffff9da51ec73b80 R08: ffff9d9e626e3f00 R09: 0000000000000000
Thg 11 09 23:11:12 anhomepc kernel: R10: 0000000000000002 R11: 000000000036ee80 R12: 0000000000000000
Thg 11 09 23:11:12 anhomepc kernel: R13: 0000000000000009 R14: ffff9d9e06258000 R15: ffffa9e29c1cfce0
Thg 11 09 23:11:12 anhomepc kernel: FS:  0000000000000000(0000) GS:ffff9da51ec40000(0000) knlGS:0000000000000000
Thg 11 09 23:11:12 anhomepc kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Thg 11 09 23:11:12 anhomepc kernel: CR2: 0000560f82083538 CR3: 00000001713da000 CR4: 0000000000350ee0
Thg 11 09 23:11:12 anhomepc kernel: Call Trace:
Thg 11 09 23:11:12 anhomepc kernel:  <TASK>
Thg 11 09 23:11:12 anhomepc kernel:  _raw_spin_lock+0x29/0x30
Thg 11 09 23:11:12 anhomepc kernel:  raw_spin_rq_lock_nested+0x1c/0x80
Thg 11 09 23:11:12 anhomepc kernel:  move_queued_task+0x6b/0xf0
Thg 11 09 23:11:12 anhomepc kernel:  migration_cpu_stop+0x300/0x330
Thg 11 09 23:11:12 anhomepc kernel:  ? migrate_enable+0xf0/0xf0
Thg 11 09 23:11:12 anhomepc kernel:  cpu_stopper_thread+0x97/0x140
Thg 11 09 23:11:12 anhomepc kernel:  ? sort_range+0x20/0x20
Thg 11 09 23:11:12 anhomepc kernel:  smpboot_thread_fn+0xdc/0x1d0
Thg 11 09 23:11:12 anhomepc kernel:  kthread+0xde/0x110
Thg 11 09 23:11:12 anhomepc kernel:  ? kthread_complete_and_exit+0x20/0x20
Thg 11 09 23:11:12 anhomepc kernel:  ret_from_fork+0x22/0x30
Thg 11 09 23:11:12 anhomepc kernel:  </TASK>
Thg 11 09 23:11:12 anhomepc kernel: NMI watchdog: Watchdog detected hard LOCKUP on cpu 10
Thg 11 09 23:11:12 anhomepc kernel: Modules linked in: tls uinput xt_conntrack xt_MASQUERADE nf_conntrack_netlink nfnetlink xt_addrtype iptable_filter iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c br_netfilter bridge stp llc overlay rfcomm snd_seq_dummy snd_hrtimer snd_seq snd_seq_device wireguard curve25519_x86_64 libchacha20poly1305 chacha_x86_64 poly1305_x86_64 libcurve25519_generic libchacha ip6_udp_tunnel udp_tunnel nls_iso8859_1 vfat fat intel_rapl_msr intel_rapl_common snd_hda_codec_realtek edac_mce_amd snd_hda_codec_generic snd_hda_codec_hdmi kvm_amd snd_hda_intel asus_wmi_sensors snd_intel_dspcfg eeepc_wmi kvm snd_intel_sdw_acpi snd_hda_codec asus_wmi snd_hda_core irqbypass ledtrig_audio sparse_keymap snd_hwdep joydev mousedev rapl platform_profile snd_pcm video pcspkr mxm_wmi snd_timer wmi_bmof sp5100_tco igb snd k10temp soundcore dca tpm_crb i2c_piix4 gpio_amdpt tpm_tis mac_hid gpio_generic tpm_tis_core acpi_cpufreq vboxnetflt(OE) vboxnetadp(OE) vboxdrv(OE) i2c_dev
Thg 11 09 23:11:12 anhomepc kernel:  crypto_user fuse bpf_preload ip_tables x_tables ext4 crc32c_generic mbcache jbd2 hidp cmac algif_hash algif_skcipher af_alg btusb btrtl btbcm btintel btmtk bnep dm_crypt cbc encrypted_keys bluetooth trusted asn1_encoder tee tpm rfkill ecdh_generic dm_mod crc16 usbhid crct10dif_pclmul crc32_pclmul crc32c_intel polyval_clmulni polyval_generic nvme gf128mul ghash_clmulni_intel nvme_core aesni_intel ccp crypto_simd cryptd rng_core xhci_pci nvme_common xhci_pci_renesas wmi amdgpu drm_ttm_helper ttm gpu_sched drm_buddy drm_display_helper cec
Thg 11 09 23:11:12 anhomepc kernel: CPU: 10 PID: 0 Comm: swapper/10 Tainted: G        W  OE      6.0.7-arch1-1 #1 54734d35253fb4c526adcfdfa2e7225be9ec4a9a
Thg 11 09 23:11:12 anhomepc kernel: Hardware name: System manufacturer System Product Name/ROG STRIX B450-F GAMING, BIOS 4901 07/25/2022
Thg 11 09 23:11:12 anhomepc kernel: RIP: 0010:native_queued_spin_lock_slowpath+0x6d/0x2d0
Thg 11 09 23:11:12 anhomepc kernel: Code: 00 77 7d f0 0f ba 2b 08 0f 92 c2 8b 03 0f b6 d2 c1 e2 08 30 e4 09 d0 3d ff 00 00 00 77 59 85 c0 74 0e 8b 03 84 c0 74 08 f3 90 <8b> 03 84 c0 75 f8 b8 01 00 00 00 66 89 03 65 48 ff 05 b5 24 71 5b
Thg 11 09 23:11:12 anhomepc kernel: RSP: 0018:ffffa9e280488d90 EFLAGS: 00000002
Thg 11 09 23:11:12 anhomepc kernel: RAX: 0000000000280101 RBX: ffff9da51ecb2d40 RCX: ffff9d9e7ee420b8
Thg 11 09 23:11:12 anhomepc kernel: RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffff9da51ecb2d40
Thg 11 09 23:11:12 anhomepc kernel: RBP: 0000000000000001 R08: 0000000000000002 R09: 00000000238e383e
Thg 11 09 23:11:12 anhomepc kernel: R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
Thg 11 09 23:11:12 anhomepc kernel: R13: ffff9da51ecb2d40 R14: 0000000000000000 R15: 0000000000000000
Thg 11 09 23:11:12 anhomepc kernel: FS:  0000000000000000(0000) GS:ffff9da51ec80000(0000) knlGS:0000000000000000
Thg 11 09 23:11:12 anhomepc kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Thg 11 09 23:11:12 anhomepc kernel: CR2: 00007f6f5d14ae40 CR3: 00000001d1bdc000 CR4: 0000000000350ee0
Thg 11 09 23:11:12 anhomepc kernel: Call Trace:
Thg 11 09 23:11:12 anhomepc kernel:  <IRQ>
Thg 11 09 23:11:12 anhomepc kernel:  _raw_spin_lock+0x29/0x30
Thg 11 09 23:11:12 anhomepc kernel:  raw_spin_rq_lock_nested+0x1c/0x80
Thg 11 09 23:11:12 anhomepc kernel:  _raw_spin_rq_lock_irqsave+0x17/0x20
Thg 11 09 23:11:12 anhomepc kernel:  sched_ttwu_pending+0x5f/0x180
Thg 11 09 23:11:12 anhomepc kernel:  __sysvec_call_function_single+0x2d/0xd0
Thg 11 09 23:11:12 anhomepc kernel:  sysvec_call_function_single+0x39/0x90
Thg 11 09 23:11:12 anhomepc kernel:  asm_sysvec_call_function_single+0x1a/0x20
Thg 11 09 23:11:12 anhomepc kernel: RIP: 0010:update_blocked_averages+0x639/0x7a0
Thg 11 09 23:11:12 anhomepc kernel: Code: 40 84 f6 74 08 41 c7 47 20 00 00 00 00 45 84 e4 75 7b 4c 89 ff e8 67 23 ff ff 48 f7 04 24 00 02 00 00 74 06 fb 0f 1f 44 00 00 <48> 83 c4 48 5b 41 5c 41 5d 41 5e 41 5f 5d e9 48 c6 d1 00 80 3d 79
Thg 11 09 23:11:12 anhomepc kernel: RSP: 0018:ffffa9e280488ef8 EFLAGS: 00000206
Thg 11 09 23:11:12 anhomepc kernel: RAX: 0000000000000000 RBX: ffff9da51ea214c0 RCX: 0000000000000000
Thg 11 09 23:11:12 anhomepc kernel: RDX: ffff9da51ea00000 RSI: 0000000000000000 RDI: ffff9da51eca4800
Thg 11 09 23:11:12 anhomepc kernel: RBP: ffffa9e280488f68 R08: 0000000000000000 R09: ffffa9e280488d80
Thg 11 09 23:11:12 anhomepc kernel: R10: 0000000000000003 R11: ffff9da53f328fe8 R12: ffffffffa4905460
Thg 11 09 23:11:12 anhomepc kernel: R13: ffff9da51ecb3700 R14: ffff9da51ecb3700 R15: ffff9da51eca4800
Thg 11 09 23:11:12 anhomepc kernel:  ? sugov_update_shared+0x230/0x230
Thg 11 09 23:11:12 anhomepc kernel:  ? update_blocked_averages+0x629/0x7a0
Thg 11 09 23:11:12 anhomepc kernel:  ? enqueue_hrtimer+0x2f/0x80
Thg 11 09 23:11:12 anhomepc kernel:  ? __hrtimer_run_queues+0x159/0x2c0
Thg 11 09 23:11:12 anhomepc kernel:  run_rebalance_domains+0x49/0x70
Thg 11 09 23:11:12 anhomepc kernel:  __do_softirq+0xd3/0x2ca
Thg 11 09 23:11:12 anhomepc kernel:  ? sched_clock_cpu+0xd/0xb0
Thg 11 09 23:11:12 anhomepc kernel:  __irq_exit_rcu+0xb7/0xe0
Thg 11 09 23:11:12 anhomepc kernel:  sysvec_apic_timer_interrupt+0x72/0x90
Thg 11 09 23:11:12 anhomepc kernel:  </IRQ>
Thg 11 09 23:11:12 anhomepc kernel:  <TASK>
Thg 11 09 23:11:12 anhomepc kernel:  asm_sysvec_apic_timer_interrupt+0x1a/0x20
Thg 11 09 23:11:12 anhomepc kernel: RIP: 0010:cpuidle_enter_state+0xe2/0x420
Thg 11 09 23:11:12 anhomepc kernel: Code: 00 00 31 ff e8 0f e8 7c ff 45 84 ff 74 16 9c 58 0f 1f 40 00 f6 c4 02 0f 85 25 03 00 00 31 ff e8 b4 a8 83 ff fb 0f 1f 44 00 00 <45> 85 f6 0f 88 85 01 00 00 49 63 d6 48 8d 04 52 48 8d 04 82 49 8d
Thg 11 09 23:11:12 anhomepc kernel: RSP: 0018:ffffa9e2801cfe90 EFLAGS: 00000246
Thg 11 09 23:11:12 anhomepc kernel: RAX: ffff9da51ecb2d40 RBX: ffff9d9e0c0cdc00 RCX: 0000000000000000
Thg 11 09 23:11:12 anhomepc kernel: RDX: 000000000000000a RSI: 0000207725523b39 RDI: 0000000000000000
Thg 11 09 23:11:12 anhomepc kernel: RBP: 0000000000000001 R08: 0000000000000002 R09: 00000000238e383e
Thg 11 09 23:11:12 anhomepc kernel: R10: 0000000000000323 R11: 000000000000002b R12: ffffffffa654b980
Thg 11 09 23:11:12 anhomepc kernel: R13: 00003070ca0d5228 R14: 0000000000000001 R15: 0000000000000000
Thg 11 09 23:11:12 anhomepc kernel:  cpuidle_enter+0x2d/0x40
Thg 11 09 23:11:12 anhomepc kernel:  do_idle+0x1ed/0x270
Thg 11 09 23:11:12 anhomepc kernel:  cpu_startup_entry+0x1d/0x20
Thg 11 09 23:11:12 anhomepc kernel:  start_secondary+0x115/0x140
Thg 11 09 23:11:12 anhomepc kernel:  secondary_startup_64_no_verify+0xe5/0xeb
Thg 11 09 23:11:12 anhomepc kernel:  </TASK>
Thg 11 09 23:11:12 anhomepc kernel: watchdog: BUG: soft lockup - CPU#3 stuck for 22s! [kswapd0:136]
Thg 11 09 23:11:12 anhomepc kernel: Modules linked in: tls uinput xt_conntrack xt_MASQUERADE nf_conntrack_netlink nfnetlink xt_addrtype iptable_filter iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c br_netfilter bridge stp llc overlay rfcomm snd_seq_dummy snd_hrtimer snd_seq snd_seq_device wireguard curve25519_x86_64 libchacha20poly1305 chacha_x86_64 poly1305_x86_64 libcurve25519_generic libchacha ip6_udp_tunnel udp_tunnel nls_iso8859_1 vfat fat intel_rapl_msr intel_rapl_common snd_hda_codec_realtek edac_mce_amd snd_hda_codec_generic snd_hda_codec_hdmi kvm_amd snd_hda_intel asus_wmi_sensors snd_intel_dspcfg eeepc_wmi kvm snd_intel_sdw_acpi snd_hda_codec asus_wmi snd_hda_core irqbypass ledtrig_audio sparse_keymap snd_hwdep joydev mousedev rapl platform_profile snd_pcm video pcspkr mxm_wmi snd_timer wmi_bmof sp5100_tco igb snd k10temp soundcore dca tpm_crb i2c_piix4 gpio_amdpt tpm_tis mac_hid gpio_generic tpm_tis_core acpi_cpufreq vboxnetflt(OE) vboxnetadp(OE) vboxdrv(OE) i2c_dev
Thg 11 09 23:11:12 anhomepc kernel:  crypto_user fuse bpf_preload ip_tables x_tables ext4 crc32c_generic mbcache jbd2 hidp cmac algif_hash algif_skcipher af_alg btusb btrtl btbcm btintel btmtk bnep dm_crypt cbc encrypted_keys bluetooth trusted asn1_encoder tee tpm rfkill ecdh_generic dm_mod crc16 usbhid crct10dif_pclmul crc32_pclmul crc32c_intel polyval_clmulni polyval_generic nvme gf128mul ghash_clmulni_intel nvme_core aesni_intel ccp crypto_simd cryptd rng_core xhci_pci nvme_common xhci_pci_renesas wmi amdgpu drm_ttm_helper ttm gpu_sched drm_buddy drm_display_helper cec
Thg 11 09 23:11:12 anhomepc kernel: CPU: 3 PID: 136 Comm: kswapd0 Tainted: G        W  OE      6.0.7-arch1-1 #1 54734d35253fb4c526adcfdfa2e7225be9ec4a9a
Thg 11 09 23:11:12 anhomepc kernel: Hardware name: System manufacturer System Product Name/ROG STRIX B450-F GAMING, BIOS 4901 07/25/2022
Thg 11 09 23:11:12 anhomepc kernel: RIP: 0010:smp_call_function_many_cond+0xf9/0x320

I have no clue what to look at next, any help is greatly appreciated, below is my computer's spec by neofetch.

                   -`                    truongan@anhomepc 
                  .o+`                   ----------------- 
                 `ooo/                   OS: Arch Linux x86_64 
                `+oooo:                  Kernel: 6.0.7-arch1-1 
               `+oooooo:                 Uptime: 1 hour, 8 mins 
               -+oooooo+:                Packages: 1493 (pacman), 6 (flatpak) 
             `/:-:++oooo+:               Shell: zsh 5.9 
            `/++++/+++++++:              Resolution: 3840x2160 
           `/++++++++++++++:             DE: GNOME 43.1 
          `/+++ooooooooooooo/`           WM: Mutter 
         ./ooosssso++osssssso+`          WM Theme: Adwaita 
        .oossssso-````/ossssss+`         Theme: otis [GTK2/3] 
       -osssssso.      :ssssssso.        Icons: Obsidian-Amber [GTK2/3] 
      :osssssss/        osssso+++.       Terminal: gnome-terminal 
     /ossssssss/        +ssssooo/-       CPU: AMD Ryzen 7 3700X (16) @ 3.600GHz 
   `/ossssso+/:-        -:/+osssso+-     GPU: AMD ATI Radeon RX 6700/6700 XT/6750 XT / 6800M 
  `+sso+:-`                 `.-/+oso:    Memory: 4362MiB / 32021MiB 
 `++:.                           `-/+/

Offline

#2 2022-11-10 03:28:19

FurryBTW
Member
Registered: 2022-11-06
Posts: 18

Re: Random freeze, sometimes with hard/soft LOCKUP on cpu

Check if your motherboard is dirty.
I had a similar problem, it turned out to be a buildup of dust and kitchen grease on the motherboard. I cleaned it with a toothbrush and isopropyl alcohol. It now works. I had to remove the VRM heatsink to clean the VRM.

If you decide to clean your motherboard, make sure it is dry before you plug it in. Be careful with static electricity, it may cause permanent damage.

Or it could be your power supply.
DO NOT OPEN A POWER SUPPLY IF YOU DON'T KNOW WHAT YOU ARE DOING. IT CAN SHOCK YOU EVEN WHEN UNPLUGGED. IT CAN CAUSE SERIOUS INJURY OR DEATH.

Offline

#3 2022-11-10 07:56:12

seth
Member
Registered: 2012-09-03
Posts: 49,969

Online

#4 2022-11-10 08:02:56

d.ALT
Member
Registered: 2019-05-10
Posts: 914

Re: Random freeze, sometimes with hard/soft LOCKUP on cpu

I solved my issues (Ryzen 7 1700, ASUS PRIME X370 PRO) with this:


<49,17,III,I>    Fama di loro il mondo esser non lassa;
<50,17,III,I>    misericordia e giustizia li sdegna:
<51,17,III,I>    non ragioniam di lor, ma guarda e passa.

Offline

#5 2022-11-10 17:30:00

max kaspar
Member
Registered: 2013-04-11
Posts: 57

Re: Random freeze, sometimes with hard/soft LOCKUP on cpu

This may sound weird, but if you have dvd/cd rom in your pc try to disconnect it, it solved my problems with freezing and cpu lockup.

Offline

#6 2022-11-18 15:45:34

pntruongan
Member
Registered: 2011-01-31
Posts: 63

Re: Random freeze, sometimes with hard/soft LOCKUP on cpu

Sorry guys, for my late respond, this problem was hard to track down so I have to wait a day or two after trying some advice before reporting back.
Sadly, I tried all tricks in https://wiki.archlinux.org/title/Ryzen#Troubleshooting but none seem to worked. Some kernel parameter like

pci=nomsi

even prevent kernel from booting.

I've just stumbled upon this reddit thread: https://www.reddit.com/r/linux_gaming/c … ely_60_is/

I will tried the lts kernel to see if it true and reported back in a few days.

Offline

#7 2022-11-24 15:53:00

pntruongan
Member
Registered: 2011-01-31
Posts: 63

Re: Random freeze, sometimes with hard/soft LOCKUP on cpu

So, one week has passed and linux-lts kernel has been rock solid for me. The reddit thread seemed to be the right direction to go (who would have thought). Still, I don't know what's the exact bug is this and what reported issuses to track for. So I guess I would have to stay on lts for a much longer while now.

Offline

Board footer

Powered by FluxBB