System does not shut down properly

Hi there,

since a few days my system wont shut down properly: The screen turns dark but the power LED is still on, even after 15 minutes of waiting.

I have to do a forced shutdown via long pressing the power button.
(I know there is the Magic SysRQ but I haven´t figured that one out, FN key weirdness I think)

Here is my journal, can someone point me in the right direction?

https://clbin.com/4HtJd

Thanks!

rey

I don’t see anything obvious in the log it just ends. I am not sure if that is because it is stuck, or because the subvolume holding the log is unmounted at that point so it has reached it’s natural end.

Can we see inxi -Fxxxz?

Hi dalto,

thanks for your reply here is my inxi:

System:
  Kernel: 5.18.9-arch1-1 arch: x86_64 bits: 64 compiler: gcc v: 12.1.0
    Desktop: Xfce v: 4.16.0 tk: Gtk v: 3.24.29 info: xfce4-panel wm: xfwm
    v: 4.16.1 vt: 7 dm: LightDM v: 1.30.0 Distro: EndeavourOS
    base: Arch Linux
Machine:
  Type: Laptop System: Timi product: TM1612 v: N/A
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: Timi model: TM1612 v: MP serial: <superuser required> UEFI: INSYDE
    v: A04 date: 08/06/2016
Battery:
  ID-1: BAT0 charge: 13.2 Wh (41.1%) condition: 32.1/36.5 Wh (88.1%)
    volts: 7.5 min: 7.6 model: N/A type: Li-ion serial: <filter>
    status: discharging
CPU:
  Info: dual core model: Intel Core m3-6Y30 bits: 64 type: MT MCP
    smt: enabled arch: Skylake rev: 3 cache: L1: 128 KiB L2: 512 KiB L3: 4 MiB
  Speed (MHz): avg: 700 min/max: 400/2200 cores: 1: 700 2: 700 3: 700
    4: 700 bogomips: 12007
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel HD Graphics 515 vendor: Xiaomi driver: i915 v: kernel
    arch: Gen9 ports: active: eDP-1 empty: DP-1,HDMI-A-1,HDMI-A-2
    bus-ID: 00:02.0 chip-ID: 8086:191e class-ID: 0300
  Device-2: Cheng Uei Precision Industry (Foxlink) XiaoMi Webcam type: USB
    driver: uvcvideo bus-ID: 1-7:4 chip-ID: 05c8:03a1 class-ID: 0e02
  Display: x11 server: X.org v: 1.21.1.3 with: Xwayland v: 22.1.2
    compositor: xfwm v: 4.16.1 driver: X: loaded: intel
    unloaded: fbdev,modesetting,vesa gpu: i915 display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-size: <missing: xdpyinfo>
  Monitor-1: eDP-1 mapped: eDP1 model: BOE Display 0x0691 res: 1920x1080
    hz: 60 dpi: 174 size: 280x160mm (11.02x6.3") diag: 325mm (12.8")
    modes: 1920x1080
  Message: Unable to show GL data. Required tool glxinfo missing.
Audio:
  Device-1: Intel Sunrise Point-LP HD Audio vendor: Xiaomi
    driver: snd_hda_intel v: kernel bus-ID: 00:1f.3 chip-ID: 8086:9d70
    class-ID: 0403
  Sound Server-1: ALSA v: k5.18.9-arch1-1 running: yes
  Sound Server-2: JACK v: 1.9.21 running: no
  Sound Server-3: PulseAudio v: 16.1 running: yes
  Sound Server-4: PipeWire v: 0.3.54 running: no
Network:
  Device-1: Intel Wireless 8260 driver: iwlwifi v: kernel pcie:
    speed: 2.5 GT/s lanes: 1 bus-ID: 01:00.0 chip-ID: 8086:24f3 class-ID: 0280
  IF: wlan0 state: up mac: <filter>
Bluetooth:
  Device-1: Intel Bluetooth wireless interface type: USB driver: btusb v: 0.8
    bus-ID: 1-3:3 chip-ID: 8087:0a2b class-ID: e001
  Report: bt-adapter note: tool can't run ID: hci0 rfk-id: 1 state: down
    bt-service: disabled rfk-block: hardware: no software: no address: N/A
Drives:
  Local Storage: total: 119.24 GiB used: 42.2 GiB (35.4%)
  ID-1: /dev/sda vendor: Samsung model: MZNTY128HDHP-00000 size: 119.24 GiB
    speed: 6.0 Gb/s type: SSD serial: <filter> rev: 100Q scheme: GPT
Partition:
  ID-1: / size: 118.74 GiB used: 42.2 GiB (35.5%) fs: btrfs dev: /dev/dm-0
    mapped: luks-e18f6506-703f-4301-a350-f612525b6496
  ID-2: /boot/efi size: 511 MiB used: 720 KiB (0.1%) fs: vfat
    dev: /dev/sda1
  ID-3: /home size: 118.74 GiB used: 42.2 GiB (35.5%) fs: btrfs
    dev: /dev/dm-0 mapped: luks-e18f6506-703f-4301-a350-f612525b6496
  ID-4: /var/log size: 118.74 GiB used: 42.2 GiB (35.5%) fs: btrfs
    dev: /dev/dm-0 mapped: luks-e18f6506-703f-4301-a350-f612525b6496
Swap:
  ID-1: swap-1 type: file size: 6 GiB used: 162.2 MiB (2.6%) priority: -2
    file: /swap/swapfile
Sensors:
  System Temperatures: cpu: 33.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 211 Uptime: 28m wakeups: 1 Memory: 3.75 GiB
  used: 2.15 GiB (57.4%) Init: systemd v: 251 default: graphical Compilers:
  gcc: 12.1.0 clang: 14.0.6 Packages: pacman: 1202 Shell: Bash v: 5.1.16
  running-in: xfce4-terminal inxi: 3.3.19

If it just started happening recently, try updating your system and see if that resolves it.

If not, try installing the LTS kernel sudo pacman -S linux-lts linux-lts-headers and see if booting off that makes any difference.

2 Likes

It may just be a coincidence :wink: . Can you tell if you had done a system update before trying to shutdown? After some (rare cases) critical system packages upgrades, it has been noticed such a behavior. But not too often, or shortly repeated… :person_shrugging:

OTOH, how do you shut down your system?
In the log, it seems you had run sudo shutdown -h now. There are alternatives.
Have you tried other ways and the same thing happens?
Do you always use sudo ?
Try:

systemctl poweroff

Try from LightDM, after logging out your user session.
Try from XFCE (or other DE) standard shutdown menu options.

As @dalto noted, the logs seem to not have reached the usual end of a system shutdown.
Do you have network, or USB drives connected?

  • System is up to date
  • Same issue with the LTS kernel
  • Sorry I can´t recall, but I definitely had no error messages after the last updates.
  • Was just another try to shutdown somehow
  • Same, no real shutdown :expressionless:
  • That is normally my go to
  • Nothing mounted, just my USB mouse. But I will do another try with disconnected mouse.

What I did notice after trying all this: Rebooting works!

After this the journal looks like this, it seems there is one more entry: stopping and deactivating the swap:

https://clbin.com/LxAso