After a cold boot laptop restarts 3 times before successfully login

For last few months, consistently, on a Dell XPS running Manjaro with KDE and Wayland…

After a cold boot, and only when the laptop has not been on for some time:
I turn on the laptop, it

  1. gets to the Dell logo and then restarts itself
  2. gets a bit further then restarts itself
  3. gets to the KDE SDDM login screen, lets me log in, then restarts itself (at this stage, if I don’t log in immediately, it will not restart until I have logged in!)
  4. at this point (the 4th restart) it will let me log-in successfully and continue my session as expected

Initially, I thought it may be a driver issue as it is a dual graphics card (Intel and Nvdia), and I was getting the black screen with a flashing cursor. However, I followed the tips on this forum and added the Nvidia drivers to the ‘MODULES’ line in mkinitcpio.conf and that resolved the flashing cursor, but left the multiple restarting issue.

As described in this topic:

I also checked the BIOS check and repair (Dell) checks and couldn’t find any issues with the hardware or the drives.

First reboot
~ sudo journalctl -b -3 -r --priority=3

Aug 17 08:13:30 rantilles kernel: 
Aug 17 08:13:30 rantilles kernel: x86/cpu: SGX disabled by BIOS.

Second reboot
~ sudo journalctl -b -1 -r --priority=3

Aug 17 08:13:56 rantilles kernel: 
Aug 17 08:13:56 rantilles kernel: x86/cpu: SGX disabled by BIOS.

Third reboot
~ sudo journalctl -b -1 -r --priority=3

Aug 17 08:14:28 rantilles kernel: Bluetooth: hci0: Malformed MSFT vendor event: 0x02
Aug 17 08:14:26 rantilles kernel: Bluetooth: hci0: Failed to read MSFT supported features (-19)
Aug 17 08:14:26 rantilles kernel: Bluetooth: hci0: sending frame failed (-19)
Aug 17 08:14:26 rantilles kernel: Bluetooth: hci0: Reading supported features failed (-19)
Aug 17 08:14:26 rantilles kernel: Bluetooth: hci0: sending frame failed (-19)
Aug 17 08:14:25 rantilles kernel: Bluetooth: hci0: Failed to send firmware data (-38)
Aug 17 08:14:24 rantilles kernel: psmouse serio1: elantech: failed to query capabilities.
Aug 17 08:14:24 rantilles kernel: psmouse serio1: elantech: elantech_send_cmd query 0x02 failed.
Aug 17 08:14:23 rantilles kernel: 
Aug 17 08:14:23 rantilles kernel: x86/cpu: SGX disabled by BIOS.

Final (successful) reboot
~ sudo journalctl -b -0 -r --priority=3

Aug 17 08:15:39 rantilles bluetoothd[745]: src/profile.c:record_cb() Unable to get Hands-Free Voice gateway SDP record: Host is down
Aug 17 08:15:34 rantilles bluetoothd[745]: src/profile.c:record_cb() Unable to get Hands-Free Voice gateway SDP record: Device or resource busy
Aug 17 08:15:34 rantilles bluetoothd[745]: src/profile.c:record_cb() Unable to get Hands-Free Voice gateway SDP record: Host is down
Aug 17 08:15:30 rantilles nmbd[1014]:   *****
Aug 17 08:15:30 rantilles nmbd[1014]: 
Aug 17 08:15:30 rantilles nmbd[1014]:   Samba name server RANTILLES is now a local master browser for workgroup WORKGROUP on subnet 192.168.68.118
Aug 17 08:15:30 rantilles nmbd[1014]: 
Aug 17 08:15:30 rantilles nmbd[1014]:   *****
Aug 17 08:15:30 rantilles nmbd[1014]: [2023/08/17 08:15:30.394976,  0] ../../source3/nmbd/nmbd_become_lmb.c:398(become_local_master_stage2)
Aug 17 08:15:29 rantilles bluetoothd[745]: profiles/audio/avdtp.c:avdtp_connect_cb() connect to E0:D4:64:81:27:B5: Host is down (112)
Aug 17 08:15:23 rantilles bluetoothd[745]: src/profile.c:record_cb() Unable to get Hands-Free Voice gateway SDP record: Host is down
Aug 17 08:15:07 rantilles smbd[1037]:   Copyright Andrew Tridgell and the Samba Team 1992-2023
Aug 17 08:15:07 rantilles smbd[1037]:   smbd version 4.18.5 started.
Aug 17 08:15:07 rantilles smbd[1037]: [2023/08/17 08:15:07.446452,  0] ../../source3/smbd/server.c:1746(main)
Aug 17 08:15:07 rantilles nmbd[1014]:   Copyright Andrew Tridgell and the Samba Team 1992-2023
Aug 17 08:15:07 rantilles nmbd[1014]:   nmbd version 4.18.5 started.
Aug 17 08:15:07 rantilles nmbd[1014]: [2023/08/17 08:15:07.364803,  0] ../../source3/nmbd/nmbd.c:901(main)
Aug 17 08:14:58 rantilles kernel: Bluetooth: hci0: Malformed MSFT vendor event: 0x02
Aug 17 08:14:57 rantilles kernel: psmouse serio1: elantech: failed to query capabilities.
Aug 17 08:14:57 rantilles kernel: psmouse serio1: elantech: elantech_send_cmd query 0x02 failed.
Aug 17 08:14:56 rantilles kernel: 
Aug 17 08:14:56 rantilles kernel: x86/cpu: SGX disabled by BIOS.

System Info
inxi --admin --verbosity=7 --filter --no-host --width

System:
  Kernel: 6.4.9-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: tsc available: acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.4-x86_64
    root=UUID=9b9fc542-522b-4199-a74f-60b90e8a66c8 rw nvidia_drm.modeset=1
    quiet apparmor=1 security=apparmor nsgx udev.log_priority=3
  Desktop: KDE Plasma v: 5.27.7 tk: Qt v: 5.15.10 wm: kwin_wayland vt: 1
    dm: SDDM Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: Dell product: XPS 15 9500 v: N/A
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: Dell model: 0RHXRG v: A03 serial: <superuser required> UEFI: Dell
    v: 1.23.1 date: 05/11/2023
Battery:
  ID-1: BAT0 charge: 17.9 Wh (26.9%) condition: 66.5/84.3 Wh (78.9%)
    volts: 11.1 min: 11.4 model: BYD DELL M59JH05 type: Li-poly serial: <filter>
    status: discharging
Memory:
  System RAM: total: 64 GiB note: est. available: 62.55 GiB
    used: 7.93 GiB (12.7%)
  RAM Report: permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: Intel Core i7-10750H bits: 64 type: MT MCP arch: Comet Lake
    gen: core 10 level: v3 note: check built: 2020 process: Intel 14nm family: 6
    model-id: 0xA5 (165) stepping: 2 microcode: 0xF8
  Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
    L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 1.5 MiB desc: 6x256 KiB
    L3: 12 MiB desc: 1x12 MiB
  Speed (MHz): avg: 2450 high: 2600 min/max: 800/5000 scaling:
    driver: intel_pstate governor: powersave cores: 1: 2600 2: 800 3: 2600
    4: 2600 5: 2600 6: 2600 7: 2600 8: 2600 9: 2600 10: 2600 11: 2600 12: 2600
    bogomips: 62431
  Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat
    arch_capabilities arch_perfmon art avx avx2 bmi1 bmi2 bts clflush
    clflushopt cmov constant_tsc cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64
    dtherm dts epb ept ept_ad erms est f16c flexpriority flush_l1d fma fpu
    fsgsbase fxsr ht hwp hwp_act_window hwp_epp hwp_notify ibpb ibrs
    ibrs_enhanced ida intel_pt invpcid invpcid_single lahf_lm lm mca mce
    md_clear mmx monitor movbe mpx msr mtrr nonstop_tsc nopl nx ospke pae pat
    pbe pcid pclmulqdq pdcm pdpe1gb pebs pge pku pln pni popcnt pse pse36 pts
    rdrand rdseed rdtscp rep_good sdbg sep smap smep ss ssbd sse sse2 sse4_1
    sse4_2 ssse3 stibp syscall tm tm2 tpr_shadow tsc tsc_adjust
    tsc_deadline_timer vme vmx vnmi vpid x2apic xgetbv1 xsave xsavec xsaveopt
    xsaves xtopology xtpr
  Vulnerabilities:
  Type: gather_data_sampling mitigation: Microcode
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
  Type: retbleed mitigation: Enhanced IBRS
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Enhanced / Automatic IBRS, IBPB: conditional,
    RSB filling, PBRSB-eIBRS: SW sequence
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel CometLake-H GT2 [UHD Graphics] vendor: Dell driver: i915
    v: kernel arch: Gen-9.5 process: Intel 14nm built: 2016-20 ports:
    active: eDP-1 empty: DP-1,DP-2,DP-3 bus-ID: 00:02.0 chip-ID: 8086:9bc4
    class-ID: 0300
  Device-2: NVIDIA TU117M [GeForce GTX 1650 Ti Mobile] vendor: Dell
    driver: nvidia v: 535.98 alternate: nouveau,nvidia_drm non-free: 535.xx+
    status: current (as of 2023-08) arch: Turing code: TUxxx
    process: TSMC 12nm FF built: 2018-22 pcie: gen: 1 speed: 2.5 GT/s lanes: 8
    link-max: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 01:00.0 chip-ID: 10de:1f95
    class-ID: 0302
  Device-3: Realtek Integrated_Webcam_HD driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-11:3 chip-ID: 0bda:5510
    class-ID: fe01 serial: <filter>
  Display: wayland server: X.org v: 1.21.1.8 with: Xwayland v: 23.1.2
    compositor: kwin_wayland driver: X: loaded: modesetting unloaded: nvidia
    alternate: fbdev,nouveau,nv,vesa dri: iris gpu: i915,nvidia display-ID: 0
  Monitor-1: eDP-1 res: 1920x1200 size: N/A modes: N/A
  API: OpenGL v: 4.6 Mesa 23.1.5 renderer: Mesa Intel UHD Graphics (CML GT2)
    direct-render: Yes
Audio:
  Device-1: Intel Comet Lake PCH cAVS vendor: Dell driver: snd_hda_intel
    v: kernel alternate: snd_soc_skl,snd_sof_pci_intel_cnl bus-ID: 00:1f.3
    chip-ID: 8086:06c8 class-ID: 0403
  API: ALSA v: k6.4.9-1-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl
  Server-2: JACK v: 1.9.22 status: off tools: N/A
  Server-3: PipeWire v: 0.3.77 status: active with: 1: pipewire-pulse
    status: active 2: pipewire-media-session status: active 3: pipewire-alsa
    type: plugin tools: pactl,pw-cat,pw-cli
Network:
  Device-1: Intel Comet Lake PCH CNVi WiFi vendor: Rivet Networks Wi-Fi 6
    AX1650s 160MHz driver: iwlwifi v: kernel bus-ID: 00:14.3 chip-ID: 8086:06f0
    class-ID: 0280
  IF: wlp0s20f3 state: up mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: link
  WAN IP: <filter>
Bluetooth:
  Device-1: Intel AX201 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
    speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-14:4 chip-ID: 8087:0026
    class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 1.82 TiB used: 513.79 GiB (27.6%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital
    model: WD Blue SN570 2TB size: 1.82 TiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 tech: SSD serial: <filter>
    fw-rev: 234140WD temp: 35.9 C scheme: GPT
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 241.21 GiB size: 236.37 GiB (97.99%)
    used: 63.67 GiB (26.9%) fs: ext4 dev: /dev/nvme0n1p4 maj-min: 259:4
    label: N/A uuid: 9b9fc542-522b-4199-a74f-60b90e8a66c8
  ID-2: /boot/efi raw-size: 1000 MiB size: 998 MiB (99.80%)
    used: 74.8 MiB (7.5%) fs: vfat dev: /dev/nvme0n1p2 maj-min: 259:2
    label: NO_LABEL uuid: 3E0D-CB3E
  ID-3: /home raw-size: 1.58 TiB size: 1.56 TiB (98.36%)
    used: 450.02 GiB (28.3%) fs: ext4 dev: /dev/nvme0n1p1 maj-min: 259:1
    label: N/A uuid: 1a833ed6-e986-42ea-baac-3d8c5e6405d3
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default) zswap: yes
    compressor: zstd max-pool: 20%
  ID-1: swap-1 type: partition size: 1.95 GiB used: 28.5 MiB (1.4%)
    priority: -2 dev: /dev/nvme0n1p3 maj-min: 259:3 label: N/A
    uuid: 44ddca5d-e8c8-4410-aa4e-670b88736736
Unmounted:
  Message: No unmounted partitions found.
USB:
  Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 16 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Device-1: 1-10:2 info: Shenzhen Goodix FingerPrint type: <vendor specific>
    driver: N/A interfaces: 1 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s) lanes: 1
    mode: 1.1 power: 100mA chip-ID: 27c6:533c class-ID: ff00
  Device-2: 1-11:3 info: Realtek Integrated_Webcam_HD type: video
    driver: uvcvideo interfaces: 5 rev: 2.0 speed: 480 Mb/s (57.2 MiB/s) lanes: 1
    mode: 2.0 power: 500mA chip-ID: 0bda:5510 class-ID: fe01 serial: <filter>
  Device-3: 1-14:4 info: Intel AX201 Bluetooth type: bluetooth driver: btusb
    interfaces: 2 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1
    power: 100mA chip-ID: 8087:0026 class-ID: e001
  Hub-2: 2-0:1 info: super-speed hub ports: 10 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-3: 3-0:1 info: hi-speed hub with single TT ports: 2 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-4: 4-0:1 info: super-speed hub ports: 2 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
Sensors:
  System Temperatures: cpu: 46.0 C pch: 40.0 C mobo: 34.0 C sodimm: SODIMM C
  Fan Speeds (rpm): cpu: 0 fan-2: 0
Info:
  Processes: 333 Uptime: 36m wakeups: 49683 Init: systemd v: 253
  default: graphical tool: systemctl Compilers: gcc: 13.2.1 clang: 15.0.7
  Packages: 2048 pm: pacman pkgs: 1985 libs: 467 tools: octopi,pamac,yay
  pm: flatpak pkgs: 44 pm: snap pkgs: 19 Shell: Zsh v: 5.9 default: Bash
  v: 5.1.16 running-in: yakuake inxi: 3.3.29

Going by what you’re describing, I am absolutely convinced that it is a hardware issue, and specifically, one of two possibilities…:

  1. Either your system is overheating during the boot-up/login sequence — possibly the GPU — which triggers a hardware reset (as it should); or…

  2. The connection to your battery intermittently drops away — possibly due to temperature-related expansion or contraction.

Thank you @Aragorn
Much appreciated insight.
I guess I’ll get it to manufacturer then, under extended warranty and hope they see/understand it…
I’ll post back here if/when it’s figured out (or failed to be).

1 Like

Scientific research has shown that the biggest cause of failure in consumer electronics is the expiry of the warranty. :stuck_out_tongue:

did you tried with different kernels?
does it also happen with xorg?
and post logs with priority 4 instead of 3…

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.