You are not logged in.

#1 2021-05-20 16:07:29

hazemelmahy
Member
Registered: 2021-05-20
Posts: 1

system keeps freezing randomly

Can someone help me figure out why my system freezes randomly can be after 2 minutes with nothing open, can stay the whole day with tons of browser tabs and programs open.
I had to hard reboot 13 times just to write this post

Error description
* system suddenly freezes and reacts to nothing, only hard reset (power off) works ([edit] I have sysrq enabled, it doesn't react to magic REISUB keys)
* the display is not updating anymore (no black screen or broken image just the last one)
* if music was playing during the freeze, you get to listen to approx. the latest 2s repeated for ever
* very low RAM and CPU outage

Laptop information:

OS: Arch Linux x86_64 
Host: 81BF Lenovo ideapad 520-15IKB 
Kernel: 5.10.38-1-lts 
CPU: Intel i7-8550U (8) @ 4.000GHz
GPU: Intel UHD Graphics 620 
GPU: NVIDIA GeForce MX150 

What I think it could be:
my journalctl -b -1
My journalctl is always filled with this line:
May 20 10:34:19 hazemlaptop wpa_supplicant[654]: wlp3s0: CTRL-EVENT-BEACON-LOSS
everytime when it freezes it always end with this

I have 1T hdd and 128GB ssd on the laptop and I have fedora installed on the hdd and Arch on the ssd and fedora doesn't have this freezing problem so if it is a hardware issue it could be the ssd

I even tried that baytrail bug fix even though I have core i7 cpu but changed nothing.

Offline

#2 2021-05-20 21:16:42

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,993

Re: system keeps freezing randomly

Fixed width text and "save as pdf" - congratulations, you found the worst pastebin service on the internet…

There's an enormous amount of spam from the rtw88* wifi modules
See also https://bugzilla.kernel.org/show_bug.cgi?id=208697

Try the main kernel (not the LTS one) and if that doesn't help (or regardless) to pass

rtw88_pci.disable_aspm=Y rtw88_pci.disable_msi=Y rtw88_core.lps_deep_mode

to the kernel commandline, https://wiki.archlinux.org/title/Kernel_parameters

May 20 10:00:56 hazemlaptop kernel: ------------[ cut here ]------------
May 20 10:00:56 hazemlaptop kernel: purge skb(s) not reported by firmware
May 20 10:00:56 hazemlaptop kernel: WARNING: CPU: 1 PID: 0 at drivers/net/wireless/realtek/rtw88/tx.c:161 rtw_tx_report_purge_timer+0x20/0x50 [rtw88_core]
May 20 10:00:56 hazemlaptop kernel: Modules linked in: ccm iptable_filter snd_hda_codec_hdmi snd_hda_codec_generic ledtrig_audio snd_soc_skl intel_rapl_msr intel_rapl_common snd_soc_hdac_hda snd_hda_ext_core snd_soc_sst_ipc snd_soc_sst_dsp snd_soc_acpi_intel_match snd_soc_acpi snd_hda_intel snd_intel_dspcfg soundwire_intel soundwire_generic_allocation soundwire_cadence x86_pkg_temp_thermal snd_hda_codec intel_powerclamp coretemp snd_hda_core kvm_intel snd_hwdep rtw88_8821ce kvm soundwire_bus rtw88_8821c rtw88_pci irqbypass crct10dif_pclmul snd_soc_core crc32_pclmul ghash_clmulni_intel aesni_intel rtw88_core iTCO_wdt intel_pmc_bxt crypto_simd cryptd iTCO_vendor_support squashfs i915 glue_helper joydev mei_hdcp intel_wmi_thunderbolt wmi_bmof snd_compress rapl uvcvideo mac80211 ac97_bus intel_cstate videobuf2_vmalloc snd_pcm_dmaengine loop intel_uncore snd_pcm btusb videobuf2_memops videobuf2_v4l2 btrtl btbcm i2c_algo_bit videobuf2_common snd_timer btintel snd i2c_i801 pcspkr i2c_smbus soundcore cfg80211 bluetooth
May 20 10:00:56 hazemlaptop kernel:  videodev mousedev drm_kms_helper tpm_crb r8169 mc cec realtek mdio_devres libarc4 intel_gtt mei_me libphy ecdh_generic syscopyarea ecc sysfillrect intel_xhci_usb_role_switch mei sysimgblt intel_lpss_pci fb_sys_fops roles intel_lpss intel_pch_thermal idma64 i2c_hid mac_hid elan_i2c ideapad_laptop sparse_keymap rfkill tpm_tis wmi tpm_tis_core video tpm acpi_pad rng_core drm fuse agpgart bpf_preload ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 usbhid dm_mod serio_raw atkbd libps2 crc32c_intel sr_mod xhci_pci cdrom xhci_pci_renesas i8042 serio
May 20 10:00:56 hazemlaptop kernel: CPU: 1 PID: 0 Comm: swapper/1 Tainted: G        W         5.10.38-1-lts #1
May 20 10:00:56 hazemlaptop kernel: Hardware name: LENOVO 81BF/LNVNB161216, BIOS 6JCN23WW 01/23/2018
May 20 10:00:56 hazemlaptop kernel: RIP: 0010:rtw_tx_report_purge_timer+0x20/0x50 [rtw88_core]
May 20 10:00:56 hazemlaptop kernel: Code: 0f 1f 84 00 00 00 00 00 66 90 0f 1f 44 00 00 8b 47 f0 85 c0 75 01 c3 41 54 55 53 48 89 fb 48 c7 c7 18 1c 9b c0 e8 6d 2f 23 e1 <0f> 0b 4c 8d 63 d8 4c 89 e7 e8 a2 cd 28 e1 48 8d 7b e0 48 89 c5 e8
May 20 10:00:56 hazemlaptop kernel: RSP: 0018:ffffb8484015ced8 EFLAGS: 00010286
May 20 10:00:56 hazemlaptop kernel: RAX: 0000000000000000 RBX: ffff8e9082b36308 RCX: 0000000000000027
May 20 10:00:56 hazemlaptop kernel: RDX: ffff8e91f6c58bb8 RSI: 0000000000000001 RDI: ffff8e91f6c58bb0
May 20 10:00:56 hazemlaptop kernel: RBP: ffff8e9082b36308 R08: 0000000000000000 R09: ffffb8484015ccf8
May 20 10:00:56 hazemlaptop kernel: R10: ffffb8484015ccf0 R11: ffffffffa2cba8d8 R12: ffffffffc099c460
May 20 10:00:56 hazemlaptop kernel: R13: dead000000000122 R14: 0000000000000000 R15: ffff8e91f6c5ce00
May 20 10:00:56 hazemlaptop kernel: FS:  0000000000000000(0000) GS:ffff8e91f6c40000(0000) knlGS:0000000000000000
May 20 10:00:56 hazemlaptop kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
May 20 10:00:56 hazemlaptop kernel: CR2: 00007f19523605a0 CR3: 0000000171610003 CR4: 00000000003706e0
May 20 10:00:56 hazemlaptop kernel: Call Trace:
May 20 10:00:56 hazemlaptop kernel:  <IRQ>
May 20 10:00:56 hazemlaptop kernel:  ? rtw_tx_write_data_h2c_get+0x90/0x90 [rtw88_core]
May 20 10:00:56 hazemlaptop kernel:  call_timer_fn+0x29/0xf0
May 20 10:00:56 hazemlaptop kernel:  __run_timers.part.0+0x1d5/0x240
May 20 10:00:56 hazemlaptop kernel:  ? recalibrate_cpu_khz+0x10/0x10
May 20 10:00:56 hazemlaptop kernel:  ? ktime_get+0x38/0x90
May 20 10:00:56 hazemlaptop kernel:  ? lapic_next_deadline+0x28/0x30
May 20 10:00:56 hazemlaptop kernel:  ? clockevents_program_event+0x95/0xf0
May 20 10:00:56 hazemlaptop kernel:  run_timer_softirq+0x26/0x50
May 20 10:00:56 hazemlaptop kernel:  __do_softirq+0xcb/0x288
May 20 10:00:56 hazemlaptop kernel:  asm_call_irq_on_stack+0x12/0x20
May 20 10:00:56 hazemlaptop kernel:  </IRQ>
May 20 10:00:56 hazemlaptop kernel:  do_softirq_own_stack+0x37/0x40
May 20 10:00:56 hazemlaptop kernel:  irq_exit_rcu+0x9c/0xd0
May 20 10:00:56 hazemlaptop kernel:  sysvec_apic_timer_interrupt+0x36/0x80
May 20 10:00:56 hazemlaptop kernel:  asm_sysvec_apic_timer_interrupt+0x12/0x20
May 20 10:00:56 hazemlaptop kernel: RIP: 0010:cpuidle_enter_state+0xc7/0x350
May 20 10:00:56 hazemlaptop kernel: Code: 8b 3d 7d 3f 65 5e e8 48 43 90 ff 49 89 c5 0f 1f 44 00 00 31 ff e8 39 50 90 ff 45 84 ff 0f 85 fa 00 00 00 fb 66 0f 1f 44 00 00 <45> 85 f6 0f 88 06 01 00 00 49 63 d6 4c 2b 2c 24 48 8d 04 52 48 8d
May 20 10:00:56 hazemlaptop kernel: RSP: 0018:ffffb848400efea8 EFLAGS: 00000246
May 20 10:00:56 hazemlaptop kernel: RAX: ffff8e91f6c6bc00 RBX: 0000000000000003 RCX: 000000000000001f
May 20 10:00:56 hazemlaptop kernel: RDX: 0000000000000000 RSI: 000000004041bdcc RDI: 0000000000000000
May 20 10:00:56 hazemlaptop kernel: RBP: ffff8e91f6c75818 R08: 0000020bf7f2a559 R09: 0000000000000018
May 20 10:00:56 hazemlaptop kernel: R10: 00000000000001d5 R11: 0000000000000067 R12: ffffffffa2d42b40
May 20 10:00:56 hazemlaptop kernel: R13: 0000020bf7f2a559 R14: 0000000000000003 R15: 0000000000000000
May 20 10:00:56 hazemlaptop kernel:  ? cpuidle_enter_state+0xb7/0x350
May 20 10:00:56 hazemlaptop kernel:  cpuidle_enter+0x29/0x40
May 20 10:00:56 hazemlaptop kernel:  do_idle+0x1d5/0x270
May 20 10:00:56 hazemlaptop kernel:  cpu_startup_entry+0x19/0x20
May 20 10:00:56 hazemlaptop kernel:  secondary_startup_64_no_verify+0xc2/0xcb
May 20 10:00:56 hazemlaptop kernel: ---[ end trace 7a71eb2d856078f4 ]---

Online

Board footer

Powered by FluxBB