Welcome! Log In Create A New Profile

Advanced

Zyxel NSA325 hangs during shutdown

Posted by sebr 
Zyxel NSA325 hangs during shutdown
September 17, 2018 11:52AM
Recently my NSA325 start to hang for many minutes when I shutdown / reboot it. If I am not mistaken this started to occur after the last kernel update (4.17.2 --> 4.18.4).
Output of serial console when shutdown/reboot is initiated: https://pastebin.com/LfyvFYn6
Any help is appreciated :)
Re: Zyxel NSA325 hangs during shutdown
September 17, 2018 05:57PM
sebr,

This might be a systemd problem. Or the WOL bug.

I'll see if I can repeat it only NSA310S booting with sysvinit. In the mean time, you could turn off WOL using ethtool, and see if you can shutdown cleanly.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Zyxel NSA325 hangs during shutdown
September 17, 2018 07:13PM
Yes, it was systemd problem dealing with WOL.

My NSA310S (which is identical to the NSA325 in most aspects regarding network and WOL) running sysvinit does a reboot or shutdown without problem.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)



Edited 1 time(s). Last edit at 09/17/2018 07:15PM by bodhi.
Re: Zyxel NSA325 hangs during shutdown
September 18, 2018 10:49AM
Thank for sorting this out bodhi. What WOL bug you talk about / will it be fixed in next kernel?
I remember only the NAS326 had some trouble with the WOL. Never used the WOL function on NSA325 tho.
Re: Zyxel NSA325 hangs during shutdown
September 18, 2018 02:31PM
sebr,

> Thank for sorting this out bodhi. What WOL bug you
> talk about / will it be fixed in next kernel?
> I remember only the NAS326 had some trouble with
> the WOL. Never used the WOL function on NSA325
> tho.

It is not related to the kernel. It seems that systemd has some problem dealing with WOL. To turn it on/off you'd use ethtool. So run that and check if your WOL is turn on and turn it off.

As I said, sysvinit runs WOL without problem.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Zyxel NSA325 hangs during shutdown
September 19, 2018 04:48PM
I can confirm that if I disable WOL the system shuts down properly.
Just strange that it appears after later kernel update. WOL has been enabled like forever (never used tho).
Re: Zyxel NSA325 hangs during shutdown
September 19, 2018 05:50PM
sebr Wrote:
-------------------------------------------------------
> I can confirm that if I disable WOL the system
> shuts down properly.
> Just strange that it appears after later kernel
> update. WOL has been enabled like forever (never
> used tho).

It is actually invoked in the kernel behind the sceen to check if you have WOL enable. Even though you never use it explicitly, it is still processed since it is enabled.

Between the kernel and systemd, I would say systemd is at fault here. sysvinit does not have this problem.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Author:

Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: