ACPI shutdown/reboot not working after longer uptime on HPE Microserver Gen10
FreeNAS has a known issue on the HPE Microserver Gen10 where screen output hangs shortly after booting up. This is typically not a problem, but prior to updating to FreeNAS 11.2 I decided to add the hw.pci.realloc_bars=1 tunable so that I could monitor the update process on a screen.
After a couple of weeks I wanted to shut down my server and pressed the power button. It turns out that this now shuts down the OS, but does not actually power down the machine. With a screen attached I saw that screen output ceases as well. Today I tested whether this also affects reboots: it seems that it does. A couple of things:
- It only occurs when the machine has been up for a longer period of time (days, weeks). Strangely enough, powering down after just a couple of hours of uptime works just fine.
- It both affects responding to the power button as a shutdown from software.
- Other tunables that I have: amdtemp_load="YES" and hint.acpi_throttle.0.disabled="YES".
- When I was running 11.1 shutdowns and reboots were never a problem. However, I never really bothered with any tunables at that point until I tried to get my temperature sensors to work. I do not clearly remember if I ever had 11.1 with one of the tunables from 3 enabled.
- I updated to 11.2U2 today and now have disabled hw.pci.realloc_bars=1 to see if it makes a difference. I would like to try disabling hint.acpi_throttle.0.disabled="YES" as well to see if I can identify a culprit here. But it will take time to reliably test this.
This may seem like just a nuisance, but these machines come with an emergency shutdown feature in which the bios emulates a power button press when temperatures get too high. This issue basically renders that feature unusable.