Red Hat Bugzilla – Bug 1460345
Computer performs reboot instead of shutdown unless xHCI support is turned off in BIOS
Last modified: 2018-03-07 10:11:31 EST
Description of problem:
The computer seems to power off but then reboots after a shutdown command. If xHCI support is disabled in BIOS, the machine successfully shuts down.
Version-Release number of selected component (if applicable):
The motherboard is a P8Z77-V Pro.
I tried to blacklist the xhci_hcd module but it is built in to the kernel. I also tried as a kernel parameter but this didn't work either (I suppose for the same reason).
I am happy to provide logs or further debugging if needed. I know a few things about linux but I appreciate explicit instructions if possible.
I found a post on a forum about disabling Wake on LAN in the BIOS, which in my case is Power on by PCI. I had that switched on in the BIOS so I could send a magic packet to wake my machine. I switched that off and shutdown works now.
This is still not good for me as I'd like to be able to wake my machine from the network.
As usual, after asking for help / posting a bug, I figured out a fix after much internet searching.
to GRUB_CMDLINE_LINUX in /etc/default/grub to account for the XHCI_SPURIOUS_WAKEUP flag (for those watching) took care of the bogus wakeups after a shutdown.
I made sure that I could still do a wake on LAN following the guide here:
In my case, I had to enter ethtool -s eno1 wol g -- he forgot to specify a device in his guide.
We apologize for the inconvenience. There is a large number of bugs to go through and several of them have gone stale. The kernel moves very fast so bugs may get fixed as part of a kernel update. Due to this, we are doing a mass bug update across all of the Fedora 26 kernel bugs.
Fedora 26 has now been rebased to 4.15.4-200.fc26. Please test this kernel update (or newer) and let us know if you issue has been resolved or if it is still present with the newer kernel.
If you have moved on to Fedora 27, and are still experiencing this issue, please change the version to Fedora 27.
If you experience different issues, please open a new bug report for those.
I have since removed the XHCI_SPURIOUS_WAKEUP flag. I am not experiencing bogus wakeups after shutdown anymore in Fedora 27.
Thanks for letting us know