> On Sep 18, 2020, at 11:19 PM, Michael Knill 
> <michael.kn...@ipcsolutions.com.au> wrote:
> 
> Is there any way I can reboot Astlinux on a kernel panic?
> Would also be good to be notified as well.
> 
> Regards
> Michael Knill

Yes, in your user.conf you can add ...
--
KERNEL_SYSCTL="kernel.panic=3"
--

which will try to reboot after 3 seconds following a kernel panic.

But, this does not always work if it locked-up tight.

Another approach is to set WDMODULE to a hardware watchdog module or the 
generic "softdog" module.  Some say the "sp5100_tco" should work on the APU2.

After a little testing on my APU2
--
WDMODULE="sp5100_tco"
--
works on the newer 4.19.x kernel in AstLinux 1.4-pre-release, but not for 
AstLinux 1.3.10 and older

for AstLinux 1.3.10 and older, you can try
--
WDMODULE="softdog"
--


Lonnie



_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.

Reply via email to