Moved drive to new Asus Z170 Deluxe rig - Shutdown won't power off

Just built a new rig with an ASUS Z170 Deluxe board. Moved my boot drive from my old Dell T1800 to the new rig. Everything works perfectly except the shutdown/power off. Linux seems to shutdown correctly and the screen turns off but then the CPU fan starts spinning really fast so I assume the CPU is stuck in some loop. No hard disk activity. Have to power off with the power button.

Tried both “shutdown -h 0”, “shutdown -P 0” and “shutdown -h -P 0”. No difference.

Anyone knows what’s wrong?

TIA,
Gunnar

 #  shutdown now

or

  >  sudo systemctl poweroff

?

No, same result. I’ve also checked the journal and everything seems to shut down correctly. The last entry is unsurprisingly “Journal stopped”.

I am stumped. I have tested these commands both outside and inside a KDE environment (tty1 and Konsole) and they power-off my 13.2 machine – Gigabyte 78LMT-USB3 motherboard.

You should take a look at “/etc/sysconfig/shutdown” and the motherboard firmware version. Did you transfer some ACPI/APM kernel options in Grub from your previous setup? Are you using the same chipsets and architectures? Have you reinstalled the system software – the easiest/quickest way is with an “upgrade” to the same version from the “NET” CD image?

Don’t have any “/etc/sysconfig/shutdown”. The MB is upgraded to the latest version, 1902. Don’t have any ACPI or APM kernel options in Grub. The chipset used by my old Dell T1600 is Intel C206 while the new MB uses Z170 so yes, the chipset is newer. Same architecture though.

Found a post in the arch forum that indicates that it might be a kernel problem: Yet another arch system not shutting down (it's the Network Manager) (Page 2) / System Administration / Arch Linux Forums

Leap 42.1 uses Linux 4.1 and according to the above post the problem seems to be solved in 4.6. Won’t attempt an upgrade though, since I don’t want to wreck anything. Pressing the power button after shutdown is not really a big deal. Hopefully Leap 42.2 will come with a newer kernel.

Not sure what you mean by “uppgrade”. Zypper dup with current repos?

Solved-ish! Installed kernel 4.7 and now shutdown works but not Plasma 5. Won’t show a login screen and crashes repeatedly if I use auto login. If I have to choose between a working shutdown and a desktop I choose the latter so I guess I stick with kernel 4.1 for now.