DeskTop machine restarts instead of shutting down. AHS, xfce.  [Solved]

Message
Author
jj 5117
Posts: 152
Joined: Sun Aug 07, 2016 1:13 pm

DeskTop machine restarts instead of shutting down. AHS, xfce.

#1 Post by jj 5117 »

No huge deal, just inconvenient. ...

In a rather plain enclosure w/o fancy devices attached to the MOBO,
Whether from GUI or terminal, "shutdown" ends up restarting. (Restart works as expected.)
No other problems. Everything that I can read during shutdown seems to look good.
This has been going on for a long time. The case's power button isn't direct (remember the 80s!) so, mashing that button during a reboot isn't an exact science for avoiding data corruption.

"Shutdown" with the Nobara installation on the same drive works.
Win 10 and Win 11 on a different drive also shutdown fine.

This is a LUKS install. (So is the Nobara.)

Code: Select all

System:
  Kernel: 6.6.11-amd64 [6.6.11-1~mx23ahs] arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/vmlinuz-6.6.11-amd64 root=UUID=<filter> ro
  Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.36 info: xfce4-panel wm: xfwm v: 4.18.0 vt: 7
    dm: LightDM v: 1.26.0 Distro: MX-23.2_ahs_x64 Libretto October 15  2023 base: Debian GNU/Linux
    12 (bookworm)
Machine:
  Type: Desktop System: ASUS product: N/A v: N/A serial: <superuser required>
  Mobo: ASUSTeK model: ProArt X670E-CREATOR WIFI v: Rev 1.xx serial: <superuser required>
    UEFI: American Megatrends v: 1904 date: 01/29/2024
CPU:
  Info: model: AMD Ryzen 9 7950X3D bits: 64 type: MT MCP arch: Zen 4 gen: 5 level: v4 note: check
    built: 2022+ process: TSMC n5 (5nm) family: 0x19 (25) model-id: 0x61 (97) stepping: 2
    microcode: 0xA601206
Thanks!!!
Thanks for being there!

User avatar
CharlesV
Global Moderator
Posts: 7076
Joined: Sun Jul 07, 2019 5:11 pm

Re: DeskTop machine restarts instead of shutting down. AHS, xfce.

#2 Post by CharlesV »

Some Asus bios's keep the Wake-On-Lan live on debian systems. And on two of the newer Asus models I worked on there was also a Power On By PCI-e setting. (Which kept them alive when I attempted to shut them down.)

As I recall there is also a way to blacklist some modules which will fix this too, but I do not remember which ones it was. (And not sure it was on Asus either, I just remember seeing them. )
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

User avatar
j2mcgreg
Global Moderator
Posts: 6564
Joined: Tue Oct 23, 2007 12:04 pm

Re: DeskTop machine restarts instead of shutting down. AHS, xfce.

#3 Post by j2mcgreg »

@jj 5117
You have to give us the complete Quick System Info report, not just a truncated version. Forum rules.
HP 15; ryzen 3 5300U APU; 500 Gb SSD; 8GB ram
HP 17; ryzen 3 3200; 500 GB SSD; 12 GB ram
Idea Center 3; 12 gen i5; 256 GB ssd;

In Linux, newer isn't always better. The best solution is the one that works.

Charlie Brown

Re: DeskTop machine restarts instead of shutting down. AHS, xfce.  [Solved]

#4 Post by Charlie Brown »

Disable Fast Startup on Windows if you haven't.

What about with a different kernel? (Say, Liquorix 6.7.x from "MX Package Installer", just 2 clicks)

Also: What happens when booted with systemd ? Same there ?

No matter SysV or systemd, what about with this?

Code: Select all

sudo init 0

User avatar
duane
Posts: 272
Joined: Sun May 20, 2007 3:08 pm

Re: DeskTop machine restarts instead of shutting down. AHS, xfce.

#5 Post by duane »

For what it is worth I have several Lenovo that are the same model. I am not saying these are your make or model I see you have an Asus.
But one particular PC does this while other ones of same model do not. Just to say sometimes is may be an anomaly of a particular machine.
Lenovo M92p Quad Core i5 3470 3.2Ghz

User avatar
davidy
Posts: 818
Joined: Sat Jul 03, 2021 1:59 pm

Re: DeskTop machine restarts instead of shutting down. AHS, xfce.

#6 Post by davidy »

Too true. My sys76 intel laptop with coreboot but with no intelme shutsdown on restart unless I'm plugged in. Then it restarts. When I hibernate I wait til the screen is totally blank for a few seconds, push the power button once, and then hold it in til the led is out. Works like a charm. Instead of a password I do the opposite in reverse. JK
Sys76 LemurPro-mx-23.4, EliteMinis HM90-mx-21.3, Deskmini UM350-phoenixLite win10, Qnap 12tb nas, Protectli FW4C-opnsense(=゜ω゜)

zero privacy = zero security . All MX'd Up
UAP = up above people

jj 5117
Posts: 152
Joined: Sun Aug 07, 2016 1:13 pm

Re: DeskTop machine restarts instead of shutting down. AHS, xfce.

#7 Post by jj 5117 »

@j2mcgreg

Copy that J2. I didn't catch that detail in the rules. I was shooting for efficiency while limiting fingerprints. Here you go.

Code: Select all

System:
  Kernel: 6.6.11-amd64 [6.6.11-1~mx23ahs] arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/vmlinuz-6.6.11-amd64 root=UUID=<filter> ro nosplash
  Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.36 info: xfce4-panel wm: xfwm v: 4.18.0 vt: 7
    dm: LightDM v: 1.26.0 Distro: MX-23.2_ahs_x64 Libretto October 15  2023 base: Debian GNU/Linux
    12 (bookworm)
Machine:
  Type: Desktop System: ASUS product: N/A v: N/A serial: <superuser required>
  Mobo: ASUSTeK model: ProArt X670E-CREATOR WIFI v: Rev 1.xx serial: <superuser required>
    UEFI: American Megatrends v: 1904 date: 01/29/2024
CPU:
  Info: model: AMD Ryzen 9 7950X3D bits: 64 type: MT MCP arch: Zen 4 gen: 5 level: v4 note: check
    built: 2022+ process: TSMC n5 (5nm) family: 0x19 (25) model-id: 0x61 (97) stepping: 2
    microcode: 0xA601206
  Topology: cpus: 1x cores: 16 tpc: 2 threads: 32 smt: enabled cache: L1: 1024 KiB desc: d-16x32
    KiB; i-16x32 KiB L2: 16 MiB desc: 16x1024 KiB L3: 128 MiB desc: 1x32 MiB, 1x96 MiB
  Speed (MHz): avg: 1430 high: 5539 min/max: 400/5759 scaling: driver: amd-pstate-epp
    governor: powersave cores: 1: 400 2: 400 3: 400 4: 400 5: 4837 6: 400 7: 400 8: 400 9: 400
    10: 400 11: 3204 12: 3468 13: 3612 14: 400 15: 400 16: 3352 17: 400 18: 400 19: 400 20: 400
    21: 400 22: 400 23: 400 24: 400 25: 5534 26: 5539 27: 400 28: 400 29: 400 30: 3432 31: 400
    32: 3612 bogomips: 268286
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow mitigation: Safe RET
  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, STIBP: always-on,
    RSB filling, PBRSB-eIBRS: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: AMD vendor: Sapphire driver: amdgpu v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    ports: active: DP-2 empty: DP-1,HDMI-A-1,HDMI-A-2 bus-ID: 03:00.0 chip-ID: 1002:747e
    class-ID: 0300
  Device-2: AMD Raphael vendor: ASUSTeK driver: amdgpu v: kernel arch: RDNA-2 code: Navi-2x
    process: TSMC n7 (7nm) built: 2020-22 pcie: gen: 4 speed: 16 GT/s lanes: 16 ports: active: none
    empty: DP-3,DP-4,HDMI-A-3 bus-ID: 6e:00.0 chip-ID: 1002:164e class-ID: 0300 temp: 39.0 C
  Display: x11 server: X.Org v: 1.21.1.7 compositor: xfwm v: 4.18.0 driver: X: loaded: amdgpu
    unloaded: fbdev,modesetting,radeon,vesa dri: radeonsi gpu: amdgpu display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 2560x1440 s-dpi: 96 s-size: 677x381mm (26.65x15.00") s-diag: 777mm (30.58")
  Monitor-1: DP-2 mapped: DisplayPort-1 model: Dell S3220DGF serial: <filter> built: 2020
    res: 2560x1440 dpi: 93 gamma: 1.2 size: 697x392mm (27.44x15.43") diag: 806mm (31.7") ratio: 16:9
    modes: max: 2560x1440 min: 720x400
  API: OpenGL v: 4.6 Mesa 23.1.2-1~mx23ahs renderer: AMD Radeon Graphics (gfx1101 LLVM 15.0.6
    DRM 3.54 6.6.11-amd64) direct-render: Yes
Audio:
  Device-1: AMD driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 03:00.1 chip-ID: 1002:ab30 class-ID: 0403
  Device-2: AMD Rembrandt Radeon High Definition Audio vendor: ASUSTeK driver: snd_hda_intel
    v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 6e:00.1 chip-ID: 1002:1640 class-ID: 0403
  Device-3: AMD Family 17h/19h HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel pcie:
    gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 6e:00.6 chip-ID: 1022:15e3 class-ID: 0403
  API: ALSA v: k6.6.11-amd64 status: kernel-api tools: alsamixer,amixer
  Server-1: PipeWire v: 1.0.0 status: active with: 1: pipewire-pulse status: active
    2: wireplumber status: active 3: pipewire-alsa type: plugin 4: pw-jack type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Intel Ethernet I225-V vendor: ASUSTeK driver: igc v: kernel pcie: gen: 2 speed: 5 GT/s
    lanes: 1 port: N/A bus-ID: 0a:00.0 chip-ID: 8086:15f3 class-ID: 0200
  IF: eth1 state: up speed: 1000 Mbps duplex: full mac: <filter>
  Device-2: Aquantia AQC113CS NBase-T/IEEE 802.3bz Ethernet [AQtion] vendor: ASUSTeK ProArt
    X570-CREATOR WIFI driver: atlantic v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 1 link-max:
    lanes: 2 port: N/A bus-ID: 0b:00.0 chip-ID: 1d6a:94c0 class-ID: 0200
  IF: eth0 state: down mac: <filter>
  IF-ID-1: nordtun state: unknown speed: 10000 Mbps duplex: full mac: N/A
Drives:
  Local Storage: total: 5.57 TiB used: 126.65 GiB (2.2%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:6 vendor: TeamGroup model: TM8FPW004T size: 3.73 TiB
    block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: SN12717 temp: 41.9 C scheme: GPT
  ID-2: /dev/nvme1n1 maj-min: 259:0 vendor: Western Digital model: WD BLACK SN770 2TB
    size: 1.82 TiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s lanes: 4 type: SSD
    serial: <filter> rev: 731100WD temp: 35.9 C scheme: GPT
  ID-3: /dev/sda maj-min: 8:0 type: USB model: RageLite Patriot Memory size: 29.3 GiB block-size:
    physical: 512 B logical: 512 B type: N/A serial: <filter> rev: PMAP scheme: GPT
  SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
Partition:
  ID-1: / raw-size: 249.98 GiB size: 245 GiB (98.01%) used: 126.43 GiB (51.6%) fs: ext4
    dev: /dev/dm-0 maj-min: 253:0 mapped: luks-<filter>
  ID-2: /boot raw-size: 1024 MiB size: 973.4 MiB (95.06%) used: 207.6 MiB (21.3%) fs: ext4
    dev: /dev/nvme0n1p2 maj-min: 259:8
  ID-3: /boot/efi raw-size: 512 MiB size: 511 MiB (99.80%) used: 17.5 MiB (3.4%) fs: vfat
    dev: /dev/nvme0n1p1 maj-min: 259:7
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 45.0 C mobo: N/A
  Fan Speeds (RPM): N/A
  GPU: device: amdgpu temp: 39.0 C device: amdgpu temp: 61.0 C mem: 63.0 C fan: 0 watts: 15.00
Repos:
  Packages: pm: dpkg pkgs: 2254 libs: 1152 tools: apt,apt-get,aptitude,nala,synaptic pm: rpm
    pkgs: 0 pm: flatpak pkgs: 0
  No active apt repos in: /etc/apt/sources.list
  No active apt repos in: /etc/apt/sources.list.d/amdgpu-proprietary.list
  Active apt repos in: /etc/apt/sources.list.d/amdgpu.list
    1: deb https://repo.radeon.com/amdgpu/5.7.2/ubuntu focal main
  Active apt repos in: /etc/apt/sources.list.d/brave-browser-release.list
    1: deb [arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stable main
  Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
    1: deb http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/debian.list
    1: deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
    2: deb http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/mx.list
    1: deb http://la.mxrepo.com/mx/repo/ bookworm main non-free
    2: deb http://la.mxrepo.com/mx/repo/ bookworm ahs
  Active apt repos in: /etc/apt/sources.list.d/nordvpn.list
    1: deb https://repo.nordvpn.com/deb/nordvpn/debian stable main
  Active apt repos in: /etc/apt/sources.list.d/rocm.list
    1: deb [arch=amd64] https://repo.radeon.com/rocm/apt/5.7.2 focal main
Info:
  Processes: 604 Uptime: 3d 15h 4m wakeups: 1 Memory: 125.02 GiB used: 3.48 GiB (2.8%)
  Init: SysVinit v: 3.06 runlevel: 5 default: graphical tool: systemctl Compilers: gcc: 12.2.0
  alt: 12 Client: shell wrapper v: 5.2.15-release inxi: 3.3.26
Boot Mode: UEFI
Thanks for being there!

jj 5117
Posts: 152
Joined: Sun Aug 07, 2016 1:13 pm

Re: DeskTop machine restarts instead of shutting down. AHS, xfce.

#8 Post by jj 5117 »

@Charlie Brown
Loaded my first Liquorix kernel. 6.7.12-1-liquorix-amd64 [6.7-18~mx23ahs] That fixed it, though that kernel had install errors and some boot errors. Both of those are probably from the hatchet-job cure I had used for Radeon drivers. (A driver with my GPU chip ID hadn't been ported yet.) I'll worry about the errors when I have to, or when I feel like it. Whichever comes last. :)

I didn't want to screw with sysemd. Nordvpn has gotten excited about that in the past. Other things might, too.

Init 0 was the same.

And, I had read that Windows quick-boot could be a problem with that. My Windows boots are on a secondary NVME, and on which I had borked the Windows boot loader/boot partition, and I haven't repaired it yet. :-)

@CharlesV
Thanks. I already had all of the PCIe/Lan and other power-on options disabled. But yep, different systems can be weird, and most bios controls kinda suck.

THANKS to ALL!
Thanks for being there!

User avatar
CharlesV
Global Moderator
Posts: 7076
Joined: Sun Jul 07, 2019 5:11 pm

Re: DeskTop machine restarts instead of shutting down. AHS, xfce.

#9 Post by CharlesV »

Excellent... Glad you have it resolved!
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

Post Reply

Return to “XFCE Desktop Environment”