Shutdown & Reboot not working

So I’ve just installed TrueNAS SCALE onto a new machine, and all seems to work as it should, except for actual shutdown and reboots. And I’d prefer to have it resolved so that I can remotely reboot the unit without having to worry about getting a KVM to press the reset button for me.

So a detailed rundown of the issue:

When I try to reboot, shut down or in any way power off the device from TrueNAS (Web-UI and Linux CLI / SSH), it shuts down the OS, but not the PC.

The drives spin down, but the power LED and fans stay on.

Because it doesn’t power down properly the power button is unresponsive and doesn’t power the machine back on, nor does a reboot ever reach the actual boot part of the re-boot. The only way to get it back out of this soft-locked state is to press the reset button or pull the power from the device

The hardware itself is not likely to be at fault, because when I’m in the GRUB bootloader’s CLI, I can call the ‘halt’ command, and that powers down the machine perfectly fine. (fans stop spinning, power LED off, and power button actually starts the machine again)

I’ve already tried several things in BIOS, such as disabling fast boot, disabling PCIe power on (Wake On Lan) in case that was keeping the PC powered. But at this point I don’t quite know what the problem is anymore

Luckily this is a new install without any data, so in case a re-install of TrueNAS is needed, that shouldn’t be an issue in this case.

As extra reference, here’s also the hardware specs I’m running:

Motherboard:
AsRock B650M-HDV/M.2

CPU:
Ryzen 5 8600G

Memory
2x 24GB Corsair Vengeance DDR5 6000Mhz CAS 36
(CMK48GX5M2E6000C36)

Storage:
1x Crucial BX500 240GB SATA SSD (TrueNAS SCALE boot drive)
1x Lexar NM790 2TB M.2 SSD
1x Kingston NV2 4TB M.2 SSD
2x Seagate IronWolf Pro 20TB SATA HDD

Case:
Chieftec Pro Cube Mesh
PSU:
be quiet! Pure Power 11 400W

If there are other details that are missing or that might help, I’ll gladly add those as well.

Your problem remember me this not related thread, because the op describe facing same shutdown/reboot problem with a similar hw setup on dragonfish.
If you are using DF too, try to update on EE and see if It continue happen

1 Like

That fixed it indeed. I’m guessing the Dragonfish kernel has some compat issues with the hardware I’m running that got fixed in the Electric Eel kernel.

Thank you for the quick and concise response!

2 Likes

Same kernel.

(Blah blah)

I’m confused, according to the documentation Dragonfish runs 6.6.32, and Electric Eel runs 6.6.44 of the kernel.
Ofcourse that’s not nearly all that got changed, so I can’t say with 100% certainty that it’s the kernel update that did the trick.
But because 32 != 44. And after checking syslogs and finding nothing out of the ordinary. It did kind of point to an issue in the last stage of the OS shutting down and handing off to the kernel to finalize the power down sequence.

Yes, you’re right, 44 > 32

Just wanted to say thank you, as upgrading to 24.10.2 also solved the same issue for me. Could not reboot nor power off normally; had to hard reset with the power button.

fwiw, I also have the Ryzen 5 8600G in my system like the OP; but an ASUS PRIME B650M-A AX II mobo. guess either the CPU or that AMD B650 chipset wasn’t playing nice with that 6.6.32 kernel.

1 Like