Hanging PC on boot

Hi all.

My PC hangs sometimes on booting on this moment:

I can't switch to tty.

System:    Kernel: 5.9.14-99-tkg-bmq x86_64 bits: 64 compiler: gcc v: 10.2.0 
           parameters: intel_pstate=passive BOOT_IMAGE=/@/boot/vmlinuz-linux-tkg-bmq 
           root=UUID=714c971c-553d-4312-9898-41d806bb3f45 rw rootflags=subvol=@ splash mds=full,nosmt rd.udev.log_priority=3 
           vt.global_cursor_default=0 systemd.unified_cgroup_hierarchy=1 resume=UUID=29f584fc-a360-4392-9009-274f30a78c58 
           loglevel=3 mitigations=off 
           Desktop: KDE Plasma 5.20.4 tk: Qt 5.15.2 info: latte-dock wm: kwin_x11 dm: SDDM Distro: Garuda Linux 
Machine:   Type: Laptop System: Dell product: XPS 15 9560 v: N/A serial: <filter> Chassis: type: 10 serial: <filter> 
           Mobo: Dell model: 05FFDN v: A00 serial: <filter> UEFI: Dell v: 1.20.0 date: 07/21/2020 
Battery:   ID-1: BAT0 charge: 67.4 Wh condition: 88.1/97.0 Wh (91%) volts: 12.1/11.4 model: SMP DELL GPM0365 type: Li-ion 
           serial: <filter> status: Unknown 
CPU:       Info: Quad Core model: Intel Core i7-7700HQ bits: 64 type: MT MCP arch: Kaby Lake family: 6 model-id: 9E (158) 
           stepping: 9 microcode: DE L2 cache: 6144 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 44840 
           Speed: 3736 MHz min/max: 800/3800 MHz Core speeds (MHz): 1: 3076 2: 3601 3: 3772 4: 3564 5: 3594 6: 3592 7: 3566 
           8: 3554 
           Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled 
           Type: l1tf mitigation: PTE Inversion; VMX: vulnerable 
           Type: mds status: Vulnerable; SMT vulnerable 
           Type: meltdown status: Vulnerable 
           Type: spec_store_bypass status: Vulnerable 
           Type: spectre_v1 status: Vulnerable: __user pointer sanitization and usercopy barriers only; no swapgs barriers 
           Type: spectre_v2 status: Vulnerable, IBPB: disabled, STIBP: disabled 
           Type: srbds status: Vulnerable 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: Intel HD Graphics 630 vendor: Dell driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:591b 
           Device-2: NVIDIA GP107M [GeForce GTX 1050 Mobile] driver: nvidia v: 455.45.01 alternate: nouveau,nvidia_drm 
           bus ID: 01:00.0 chip ID: 10de:1c8d 
           Device-3: Sunplus Innovation Integrated_Webcam_HD type: USB driver: uvcvideo bus ID: 1-12:3 chip ID: 1bcf:2b95 
           Display: x11 server: X.org 1.20.10 compositor: kwin_x11 driver: modesetting,nvidia 
           alternate: fbdev,intel,nouveau,nv,vesa resolution: <missing: xdpyinfo> 
           OpenGL: renderer: Mesa Intel HD Graphics 630 (KBL GT2) v: 4.6 Mesa 20.3.0 direct render: Yes 
Audio:     Device-1: Intel CM238 HD Audio vendor: Dell driver: snd_hda_intel v: kernel bus ID: 00:1f.3 chip ID: 8086:a171 
           Sound Server: ALSA v: k5.9.14-99-tkg-bmq 
Network:   Device-1: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter vendor: Bigfoot Networks driver: ath10k_pci 
           v: kernel port: e000 bus ID: 02:00.0 chip ID: 168c:003e 
           IF: wlp2s0 state: up mac: <filter> 
           Device-2: Qualcomm Atheros QCA61x4 Bluetooth 4.0 type: USB driver: btusb bus ID: 1-4:2 chip ID: 0cf3:e300 
Drives:    Local Storage: total: 476.94 GiB used: 36.63 GiB (7.7%) 
           SMART Message: Unable to run smartctl. Root privileges required. 
           ID-1: /dev/nvme0n1 vendor: Toshiba model: KXG50ZNV512G NVMe 512GB size: 476.94 GiB block size: physical: 512 B 
           logical: 512 B speed: 31.6 Gb/s lanes: 4 serial: <filter> rev: AADA4106 scheme: GPT 
Partition: ID-1: / raw size: 231.68 GiB size: 231.68 GiB (100.00%) used: 36.63 GiB (15.8%) fs: btrfs dev: /dev/nvme0n1p6 
           ID-2: /home raw size: 231.68 GiB size: 231.68 GiB (100.00%) used: 36.63 GiB (15.8%) fs: btrfs dev: /dev/nvme0n1p6 
           ID-3: /var/log raw size: 231.68 GiB size: 231.68 GiB (100.00%) used: 36.63 GiB (15.8%) fs: btrfs 
           dev: /dev/nvme0n1p6 
           ID-4: /var/tmp raw size: 231.68 GiB size: 231.68 GiB (100.00%) used: 36.63 GiB (15.8%) fs: btrfs 
           dev: /dev/nvme0n1p6 
Swap:      Kernel: swappiness: 10 (default 60) cache pressure: 75 (default 100) 
           ID-1: swap-1 type: partition size: 5.86 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/nvme0n1p5 
           ID-2: swap-2 type: zram size: 1.94 GiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram0 
           ID-3: swap-3 type: zram size: 1.94 GiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram1 
Sensors:   System Temperatures: cpu: 54.0 C mobo: N/A 
           Fan Speeds (RPM): cpu: 2530 fan-2: 2501 
Info:      Processes: 290 Uptime: 19m wakeups: 1 Memory: 15.49 GiB used: 4.04 GiB (26.1%) Init: systemd v: 247 Compilers: 
           gcc: 10.2.0 Packages: pacman: 1266 lib: 391 Shell: fish v: 3.1.2 running in: konsole inxi: 3.1.09

and
:slight_smile:

1 Like

Please, explain what you mean with sometimes. Maybe on reboot? After upgrading system? Long time shutdown? whatever…

2 Likes

@cbrhex
Not a good idea to edit first post, without comment.

So your inxi is, (read again the wiki page for format)

System: Kernel: 5.9.14-99-tkg-bmq x86_64 bits: 64 compiler: gcc v: 10.2.0
parameters: intel_pstate=passive BOOT_IMAGE=/@/boot/vmlinuz-linux-tkg-bmq
root=UUID=714c971c-553d-4312-9898-41d806bb3f45 rw rootflags=subvol=@ splash mds=full,nosmt rd.udev.log_priority=3
vt.global_cursor_default=0 systemd.unified_cgroup_hierarchy=1 resume=UUID=29f584fc-a360-4392-9009-274f30a78c58
loglevel=3 mitigations=off
Desktop: KDE Plasma 5.20.4 tk: Qt 5.15.2 info: latte-dock wm: kwin_x11 dm: SDDM Distro: Garuda Linux
Machine: Type: Laptop System: Dell product: XPS 15 9560 v: N/A serial: Chassis: type: 10 serial:
Mobo: Dell model: 05FFDN v: A00 serial: UEFI: Dell v: 1.20.0 date: 07/21/2020
Battery: ID-1: BAT0 charge: 67.4 Wh condition: 88.1/97.0 Wh (91%) volts: 12.1/11.4 model: SMP DELL GPM0365 type: Li-ion
serial: status: Unknown
CPU: Info: Quad Core model: Intel Core i7-7700HQ bits: 64 type: MT MCP arch: Kaby Lake family: 6 model-id: 9E (158)
stepping: 9 microcode: DE L2 cache: 6144 KiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 44840
Speed: 3736 MHz min/max: 800/3800 MHz Core speeds (MHz): 1: 3076 2: 3601 3: 3772 4: 3564 5: 3594 6: 3592 7: 3566
8: 3554
Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled
Type: l1tf mitigation: PTE Inversion; VMX: vulnerable
Type: mds status: Vulnerable; SMT vulnerable
Type: meltdown status: Vulnerable
Type: spec_store_bypass status: Vulnerable
Type: spectre_v1 status: Vulnerable: __user pointer sanitization and usercopy barriers only; no swapgs barriers
Type: spectre_v2 status: Vulnerable, IBPB: disabled, STIBP: disabled
Type: srbds status: Vulnerable
Type: tsx_async_abort status: Not affected
Graphics: Device-1: Intel HD Graphics 630 vendor: Dell driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:591b
Device-2: NVIDIA GP107M [GeForce GTX 1050 Mobile] driver: nvidia v: 455.45.01 alternate: nouveau,nvidia_drm
bus ID: 01:00.0 chip ID: 10de:1c8d
Device-3: Sunplus Innovation Integrated_Webcam_HD type: USB driver: uvcvideo bus ID: 1-12:3 chip ID: 1bcf:2b95
Display: x11 server: [X.org](http://x.org/) 1.20.10 compositor: kwin_x11 driver: modesetting,nvidia
alternate: fbdev,intel,nouveau,nv,vesa resolution: <missing: xdpyinfo>
OpenGL: renderer: Mesa Intel HD Graphics 630 (KBL GT2) v: 4.6 Mesa 20.3.0 direct render: Yes
Audio: Device-1: Intel CM238 HD Audio vendor: Dell driver: snd_hda_intel v: kernel bus ID: 00:1f.3 chip ID: 8086:a171
Sound Server: ALSA v: k5.9.14-99-tkg-bmq
Network: Device-1: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter vendor: Bigfoot Networks driver: ath10k_pci
v: kernel port: e000 bus ID: 02:00.0 chip ID: 168c:003e
IF: wlp2s0 state: up mac:
Device-2: Qualcomm Atheros QCA61x4 Bluetooth 4.0 type: USB driver: btusb bus ID: 1-4:2 chip ID: 0cf3:e300
Drives: Local Storage: total: 476.94 GiB used: 36.63 GiB (7.7%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 vendor: Toshiba model: KXG50ZNV512G NVMe 512GB size: 476.94 GiB block size: physical: 512 B
logical: 512 B speed: 31.6 Gb/s lanes: 4 serial: rev: AADA4106 scheme: GPT
Partition: ID-1: / raw size: 231.68 GiB size: 231.68 GiB (100.00%) used: 36.63 GiB (15.8%) fs: btrfs dev: /dev/nvme0n1p6
ID-2: /home raw size: 231.68 GiB size: 231.68 GiB (100.00%) used: 36.63 GiB (15.8%) fs: btrfs dev: /dev/nvme0n1p6
ID-3: /var/log raw size: 231.68 GiB size: 231.68 GiB (100.00%) used: 36.63 GiB (15.8%) fs: btrfs
dev: /dev/nvme0n1p6
ID-4: /var/tmp raw size: 231.68 GiB size: 231.68 GiB (100.00%) used: 36.63 GiB (15.8%) fs: btrfs
dev: /dev/nvme0n1p6
Swap: Kernel: swappiness: 10 (default 60) cache pressure: 75 (default 100)
ID-1: swap-1 type: partition size: 5.86 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/nvme0n1p5
ID-2: swap-2 type: zram size: 1.94 GiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram0
ID-3: swap-3 type: zram size: 1.94 GiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram1
Sensors: System Temperatures: cpu: 54.0 C mobo: N/A
Fan Speeds (RPM): cpu: 2530 fan-2: 2501
Info: Processes: 290 Uptime: 19m wakeups: 1 Memory: 15.49 GiB used: 4.04 GiB (26.1%) Init: systemd v: 247 Compilers:
gcc: 10.2.0 Packages: pacman: 1266 lib: 391 Shell: fish v: 3.1.2 running in: konsole inxi: 3.1.09

After reboot or shutdown. Randomly. Today it was two times after reboot, but I did reboot 5 - 10 times.

We can’t do much in such random cases.

Some standard advice:

  • Make sure packages are updated.
  • Use fallback options of your kernel.
  • Boot a different kernel. If you have only one, it’s time to add at least one more.
  • Check for kernel errors in journal, for the failed boot
  • If nothing helps, remove plymouth, with caution on every requirement, reading Archwiki. Don’t forget to change sddm plymouth to standard.
3 Likes

Thanks. Will try.

2 Likes

Yes, seems like it works well with kernel 5.4.84-1-lts (thanks for help).

But how to know why it doesn't work with 5.10?

1 Like

Check the source code :wink:


2 Likes

Ok, got it :laughing: Thanks)

2 Likes

It’s complicated and in your case it is related to Nvidia GPU.
This will be solved as soon as arch linux kernel get to 5.10.

1 Like

Ok, will wait =) Thanks.