Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

System booting immediately after shutdown

Featured Replies


Howdy,

Recently I've been unable to shutdown unRAID without it starting right up again. I've fiddled with all my motherboard's power settings. After booting into my Windows drive natively I can shutdown just fine, so only unRAID has this problem right now. I'm about to try resetting my BIOS just in case there's still a problem there. What other info should I provide? Thanks a lot~

  • Author

Guess something was borked in BIOS. Updated it and restored all my settings and it just fixed itself. Still don't understand what went wrong and why the issue was isolated to unRAID.

Edited by taotien

  • 2 weeks later...
  • Author

Somehow it started happening again.

  • Author

I've already updated to the latest BIOS, which I thought fixed my issue, but actually seemed fixed because I forgot to re-enable WOL. Booting straight into Windows doesn't exhibit the issue either.

 

Also this looks to be an issue with Wake-on-LAN. [Archlinux Wiki: WOL Wake-up on shutdown]

Quote

solved by adding the following kernel boot parameter: xhci_hcd.quirks=270336 This activates the following quirks:

XHCI_SPURIOUS_REBOOT

XHCI_SPURIOUS_WAKEUP

 

I dunno why this issue suddenly cropped up after so long without problems, but the kernel parameter fix helped. I will keep updating this thread if otherwise.

 

Motherboard: ASUS PRIME Z370-A

Edited by taotien

  • Author

This is driving me insane. With the kernel patch the system shuts down properly only if I don't start up any VM's (or at least my single Windows VM) while the system is on. Otherwise, the system boots immediately upon shutdown. Could this be because I have a USB3 addin card? Or is it caused by vfio or enabling pcid acs override downstream, multifunction?

Edited by taotien

If you confirm the addon USB3 controller wake up the system, then I would suggest you buy another one or simple tape/cut the hardware wakeup signal.

 

Do you try disable wakeup on this controller in VM ?

 

Do you try unload the driver for the controller before shutdown ?

Edited by Benson

  • Author

Thanks for the suggestions.

 

How would I cut the hardware wakeup signal? The card is an Inateck KT4001 (Fresno Logic FL1100).

 

Under device manager in W10 VM all of the USB controllers have the option to wake the system greyed out. The card's driver details says that PCI S0 Wakeup support is false.

 

My guess was to try to unload the driver for the controller before shutdown, but I didn't know how to search for or go about doing that.

 

Edit: Looks like xhci_hcd is built into the kernel so I can't unload it? But that wouldn't explain why only after running a VM does the issue come up. Installing the Inateck drivers didn't enable the option to wake the system with the card.

Edited by taotien

  • Author

When I have time later I'll also try removing the card to isolate the issue to it in case it's the onboard controller that's causing issues.

 

I will also try finding older versions of BIOS that will let me disable xHCI hand-off, but will that affect the Intel Management Engine compatibility?

Then pls try tape (mask) the B11 pin. Components side is B side.

 

IMG_20200310_081117.thumb.jpg.e25ca717915ee07ea57d08c8ea0b2e97.jpg

Edited by Benson

2 minutes ago, taotien said:

disable xHCI hand-off

I doubt this could help.

  • Author

Sadly the tape trick didn't work.

2020-03-09 18.25.36.jpg

  • Author

I might give up and disable Wake-on-Lan for now, as it's getting to be more trouble than it's worth.

Make sure that EuP is disabled in the bios. I Note that you are using an Asus board - and EUP would be present on their boards.

2 hours ago, taotien said:

Sadly the tape trick didn't work.

2020-03-09 18.25.36.jpg

It should my fault, I googling more deep and seems I oversimple PCIe and ASPM stuff.

  • Author
2 hours ago, Xaero said:

Make sure that EuP is disabled in the bios. I Note that you are using an Asus board - and EUP would be present on their boards.

Yeah I have that disabled. I won't be able to turn on Wake-On-Lan otherwise.

  • 4 years later...

Have same issue after updated to B760M-A with 2.5g nic internal and 1g nic external... 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.