You are not logged in.

#1 2016-11-23 06:16:37

PeterBell
Member
Registered: 2014-07-20
Posts: 39

Skylake system restarts after shutdown

I have just upgraded my main desktop machine from an old i5-650/H55 system to an i5-6600/Z170 system (mobo is a Gigabyte GA-Z170XP-SLI).

I am finding that the machine invariably powers up and reboots after shutdown.  Even booting the latest (2016.11.01) installation image, if the first thing I do is type "shutdown now", the machine does shutdown and power off.  However, after ~3-5 seconds, the system powers up and boots again.

Gigabyte tech support point their finger at Linux.  I have ensured that all the 'wake-on' features are disabled and the system is set to remain off on restoration of power.

How can I prevent the restart from happening?  My system is powered through a UPS and will shutdown under control of apcupsd, but will restart before the UPS powers down.  We have an average of two powercuts a day here in Philippines and I am fearful of unclean shutdown/corruption if I'm not around to halt the system before it reboots.

This is a Microsoft-free zone, so I cannot say how it behaves under Windows.

Last edited by PeterBell (2016-11-23 06:19:37)

Offline

#2 2016-11-23 09:01:49

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,427

Re: Skylake system restarts after shutdown

I don't know in what way the shutdown commands map to the corresponding systemctl commands, but if I run

systemctl halt

as opposed to

systemctl poweroff

I have this same issue. So if shutdown now passes halt instead of poweroff that would explain that. I guess

shutdown -P now

(or simply directly use systemctl which is what will be used in the end anyway) should remove that ambiguity

Last edited by V1del (2016-11-23 09:03:12)

Offline

#3 2016-11-23 10:55:24

PeterBell
Member
Registered: 2014-07-20
Posts: 39

Re: Skylake system restarts after shutdown

V1del wrote:

I don't know in what way the shutdown commands map to the corresponding systemctl commands, but if I run

systemctl halt

as opposed to

systemctl poweroff

I have this same issue.

Are you sure about that?  For me

systemctl halt

simply shuts the OS down, without powering off - which is exactly what I would expect it to do.  However, it doesn't reboot, so if I can persuade apcupsd to halt, rather than shutdown, it should remove the risk of an unclean power-off.

So if shutdown now passes halt instead of poweroff that would explain that. I guess

shutdown -P now

(or simply directly use systemctl which is what will be used in the end anyway) should remove that ambiguity

Both

systemctl poweroff

and

shutdown now

(the presence of the '-P' doesn't make any difference - it is the default action) result in the OS closing down gracefully, and the machine powering off (again, exactly as expected).  However, the problem is that some three seconds after powering off, my machine powers back on and boots back up.

The latest response from Gigabyte tech support simply urges me to configure my system for UEFI (which it has been for at least a couple of years).

Last edited by PeterBell (2016-11-23 10:57:07)

Offline

#4 2016-11-23 11:50:16

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,427

Re: Skylake system restarts after shutdown

Yeah then that's fine only other thing I'd suggest are checking if there's an UEFI update for your board.

Offline

#5 2016-11-23 12:18:47

PeterBell
Member
Registered: 2014-07-20
Posts: 39

Re: Skylake system restarts after shutdown

Thanks for your suggestions.
As far as I'm aware, the UEFI is included in the 'BIOS' - there doesn't appear to be a separate UEFI download.  I've already flashed the latest BIOS, dated November 9, 2016.

Offline

#6 2016-11-24 21:14:02

TheSgtBilko
Member
Registered: 2013-08-13
Posts: 87

Re: Skylake system restarts after shutdown

On an older NUC I had to disable WOL (Wake on LAN) in BIOS to get rid of the rebooting after poweroff.

But it seems like you already tried that.

Last edited by TheSgtBilko (2016-11-24 21:14:45)

Offline

Board footer

Powered by FluxBB