Hard disk light stops blinking and system freezes randomly

I have dual booted Manjaro KDE with Windows 10 on my laptop. From time to time, randomly the system freezes and the HDD activity light stops blinking. The Keyboard and touchpad become unresponsive and I had to Hard Reset it. Yeah! I tried the REISUB and throught tty2 also but then nothing works. I have tried leaving computer idle but nothing helps, only hard reset helps. It also freezes sometimes during boot. Yesterday while booting first it was stuck during booting and after hard reset the next time it showed some soft lockup error and in the third time it booted.
During booting it also shows that Watchdog hardware is disabled, maybe that helps you in analyzing the problem.

To help you we need some more information. Have a look into this guideline what you could post here:

[nikhil2@nikhil-hpnotebook ~]$  inxi -Fazy
System:
  Kernel: 5.4.58-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.1.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.4-x86_64 
  root=UUID=04952705-54b2-462a-9229-bc704b934a79 rw radeon.cik_support=0 
  amdgpu.cik_support=1 radeon.si_support=0 amdgpu.si_support=1 
  acpi_backlight=vendor modprobe.blacklist=radeon 
  Desktop: KDE Plasma 5.19.4 tk: Qt 5.15.0 wm: kwin_x11 dm: SDDM 
  Distro: Manjaro Linux 
Machine:
  Type: Laptop System: HP product: HP Notebook v: Type1ProductConfigId 
  serial: <filter> Chassis: type: 10 serial: <filter> 
  Mobo: HP model: 81F6 v: 66.26 serial: <filter> UEFI [Legacy]: Insyde v: F.35 
  date: 05/27/2019 
Battery:
  ID-1: BAT1 charge: 10.4 Wh condition: 34.2/34.5 Wh (99%) volts: 13.8/14.6 
  model: 131-42-6E HS04041 type: Unknown serial: <filter> status: Discharging 
CPU:
  Topology: Quad Core model: AMD A8-7410 APU with AMD Radeon R5 Graphics 
  bits: 64 type: MCP arch: Puma family: 16 (22) model-id: 30 (48) stepping: 1 
  microcode: 7030106 L2 cache: 2048 KiB 
  flags: avx lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm 
  bogomips: 17572 
  Speed: 1831 MHz min/max: 1000/2200 MHz boost: enabled Core speeds (MHz): 
  1: 998 2: 998 3: 998 4: 998 
  Vulnerabilities: Type: itlb_multihit status: Not affected 
  Type: l1tf status: Not affected 
  Type: mds status: Not affected 
  Type: meltdown status: Not affected 
  Type: spec_store_bypass 
  mitigation: Speculative Store Bypass disabled via prctl and seccomp 
  Type: spectre_v1 
  mitigation: usercopy/swapgs barriers and __user pointer sanitization 
  Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional, STIBP: 
  disabled, RSB filling 
  Type: srbds status: Not affected 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: AMD Mullins [Radeon R4/R5 Graphics] vendor: Hewlett-Packard 
  driver: amdgpu v: kernel alternate: radeon bus ID: 00:01.0 
  chip ID: 1002:9851 
  Device-2: AMD Sun XT [Radeon HD 8670A/8670M/8690M / R5 M330 / M430 / Radeon 
  520 Mobile] 
  vendor: Hewlett-Packard driver: amdgpu v: kernel alternate: radeon 
  bus ID: 01:00.0 chip ID: 1002:6660 
  Device-3: Suyin type: USB driver: uvcvideo bus ID: 3-1.1:3 
  chip ID: 064e:c346 serial: <filter> 
  Display: x11 server: X.Org 1.20.8 compositor: kwin_x11 driver: amdgpu 
  FAILED: ati unloaded: modesetting alternate: fbdev,vesa display ID: :0 
  screens: 1 
  Screen-1: 0 s-res: 1366x768 s-dpi: 96 s-size: 361x203mm (14.2x8.0") 
  s-diag: 414mm (16.3") 
  Monitor-1: eDP res: 1366x768 hz: 60 dpi: 101 size: 344x193mm (13.5x7.6") 
  diag: 394mm (15.5") 
  OpenGL: renderer: AMD KABINI (DRM 3.35.0 5.4.58-1-MANJARO LLVM 10.0.1) 
  v: 4.6 Mesa 20.1.5 direct render: Yes 
Audio:
  Device-1: AMD Kabini HDMI/DP Audio vendor: Hewlett-Packard 
  driver: snd_hda_intel v: kernel bus ID: 00:01.1 chip ID: 1002:9840 
  Device-2: AMD FCH Azalia vendor: Hewlett-Packard driver: snd_hda_intel 
  v: kernel bus ID: 00:14.2 chip ID: 1022:780d 
  Sound Server: ALSA v: k5.4.58-1-MANJARO 
Network:
  Device-1: Realtek RTL8723BE PCIe Wireless Network Adapter 
  vendor: Hewlett-Packard driver: rtl8723be v: kernel port: 3000 
  bus ID: 02:00.0 chip ID: 10ec:b723 
  IF: wlo1 state: up mac: <filter> 
  Device-2: Realtek RTL810xE PCI Express Fast Ethernet vendor: Hewlett-Packard 
  driver: r8169 v: kernel port: 2000 bus ID: 03:00.0 chip ID: 10ec:8136 
  IF: enp3s0 state: down mac: <filter> 
  IF-ID-1: virbr0 state: down mac: <filter> 
  IF-ID-2: virbr0-nic state: down mac: <filter> 
Drives:
  Local Storage: total: 931.51 GiB used: 87.88 GiB (9.4%) 
  SMART Message: Unable to run smartctl. Root privileges required. 
  ID-1: /dev/sda vendor: Western Digital model: WD10JPVX-60JC3T0 
  size: 931.51 GiB block size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s 
  rotation: 5400 rpm serial: <filter> rev: 1A01 scheme: MBR 
Partition:
  ID-1: / raw size: 400.00 GiB size: 392.72 GiB (98.18%) 
  used: 87.88 GiB (22.4%) fs: ext4 dev: /dev/sda3 
Swap:
  Kernel: swappiness: 60 (default) cache pressure: 100 (default) 
  ID-1: swap-1 type: file size: 2.00 GiB used: 0 KiB (0.0%) priority: -2 
  file: /swapfile 
Sensors:
  System Temperatures: cpu: 50.6 C mobo: N/A 
  Fan Speeds (RPM): N/A 
  GPU: device: amdgpu temp: 20 C device: amdgpu temp: 50 C 
Info:
  Processes: 241 Uptime: 1h 22m Memory: 3.32 GiB used: 1.24 GiB (37.5%) 
  Init: systemd v: 245 Compilers: gcc: 10.1.0 Packages: pacman: 1420 lib: 380 
  flatpak: 0 Shell: Bash v: 5.0.18 running in: konsole inxi: 3.1.05 

[nikhil2@nikhil-hpnotebook ~]$ sudo dmesg -l emerg,alert,crit,err,warn
[sudo] password for nikhil2: 
[    0.003992] do_IRQ: 1.55 No irq handler for vector
[    0.646881]  #2
[    0.003992] do_IRQ: 2.55 No irq handler for vector
[    0.686885]  #3
[    0.003992] do_IRQ: 3.55 No irq handler for vector
[    0.691045] mtrr: your CPUs had inconsistent variable MTRR settings
[    1.847808] ATPX version 1, functions 0x00000003
[    1.848068] CRAT table not found
[    1.882054] resource sanity check: requesting [mem 0x000c0000-0x000dffff], which spans more than PCI Bus 0000:00 [mem 0x000c0000-0x000c3fff window]
[    1.882060] caller pci_map_rom+0x68/0x171 mapping multiple BARs
[   12.105703] systemd-fstab-generator[235]: Failed to create unit file /run/systemd/generator/swapfile.swap, as it already exists. Duplicate entry in /etc/fstab?
[   12.106707] systemd[228]: /usr/lib/systemd/system-generators/systemd-fstab-generator failed with exit status 1.
[   15.816745] vboxdrv: loading out-of-tree module taints kernel.
[   15.863955] VBoxNetAdp: Successfully started.
[   15.878176] VBoxNetFlt: Successfully started.
[   16.400449] systemd-journald[248]: File /var/log/journal/60bf5fd1d1454d619111a1dedffa426c/system.journal corrupted or uncleanly shut down, renaming and replacing.
[   20.441716] ACPI Warning: SystemIO range 0x0000000000000B00-0x0000000000000B08 conflicts with OpRegion 0x0000000000000B00-0x0000000000000B0F (\_SB.PCI0.SMBS.SMB0) (20190816/utaddress-204)
[   20.485410] sp5100-tco sp5100-tco: Watchdog hardware is disabled
[   20.554997] wmi_bus wmi_bus-PNP0C14:00: WQBJ data block query control method not found
[   20.998429] r8169 0000:03:00.0: can't disable ASPM; OS doesn't have ASPM control
[   22.356786] bluetooth hci0: Direct firmware load for rtl_bt/rtl8723b_config.bin failed with error -2
[   22.724092] uvcvideo 3-1.1:1.0: Entity type for entity Extension 4 was not initialized!
[   22.724100] uvcvideo 3-1.1:1.0: Entity type for entity Extension 3 was not initialized!
[   22.724104] uvcvideo 3-1.1:1.0: Entity type for entity Processing 2 was not initialized!
[   22.724108] uvcvideo 3-1.1:1.0: Entity type for entity Camera 1 was not initialized!
[   27.069124] kauditd_printk_skb: 8 callbacks suppressed
[   38.044419] kauditd_printk_skb: 48 callbacks suppressed
[   49.470425] kauditd_printk_skb: 1 callbacks suppressed
[   68.729265] kauditd_printk_skb: 4 callbacks suppressed
[   82.332587] atkbd serio0: Unknown key pressed (translated set 2, code 0xab on isa0060/serio0).
[   82.332594] atkbd serio0: Use 'setkeycodes e02b <keycode>' to make it known.
[   82.342864] atkbd serio0: Unknown key released (translated set 2, code 0xab on isa0060/serio0).
[   82.342872] atkbd serio0: Use 'setkeycodes e02b <keycode>' to make it known.
[   83.214402] atkbd serio0: Unknown key pressed (translated set 2, code 0xab on isa0060/serio0).
[   83.214408] atkbd serio0: Use 'setkeycodes e02b <keycode>' to make it known.
[   83.224994] atkbd serio0: Unknown key released (translated set 2, code 0xab on isa0060/serio0).
[   83.225002] atkbd serio0: Use 'setkeycodes e02b <keycode>' to make it known.
[  234.388180] systemd-fstab-generator[1622]: Failed to create unit file /run/systemd/generator/swapfile.swap, as it already exists. Duplicate entry in /etc/fstab?
[ 3985.492925] atkbd serio0: Unknown key pressed (translated set 2, code 0xab on isa0060/serio0).
[ 3985.492930] atkbd serio0: Use 'setkeycodes e02b <keycode>' to make it known.
[ 3985.501828] atkbd serio0: Unknown key released (translated set 2, code 0xab on isa0060/serio0).
[ 3985.501834] atkbd serio0: Use 'setkeycodes e02b <keycode>' to make it known.
[ 4460.172683] rtlwifi: AP off, try to reconnect now

Try to install some of the newer/older kernels.

Try to monitor your memory usage during operation as you only have 4 GB and a small swap file.

I only use Firefox with general browsing and watching videos. Never had my memory used exceeded more than 50% of RAM and the CPU usage is only 9-10 %. Also the swapfile is rarely used. KDE uses only 500 MB ram on idle and hence RAM must not be the problem. Whenever the freeze occurs the hard disk is the first one to stop. I think the problem is with some harddisk settings. I don’t have TLP installed and since I am almost always at home I have charger with me. Any solutions would be welcome since I’m fed up of hard resetting it.
Also I’ve tested all the kernels but the freeze is absolutely random and unpredictable.

After the system freezes, reboot and post here the output of:
journalctl -xe -p3 -b-1
and
cat /var/log/Xorg.0.log.old

I’m sorry for the late reply but I saw your post just now. No freeze till now and the laptop seems fine now. Maybe I judged too early?
Now it’s running quite fine. IDK why? I changed my compositor from OpenGL 3.1 to 2.1. Maybe that helped me.
Thanks for your reply. I’ll surely test it out for atleast a day and inform if the problem is solved. :wink:

1 Like