Re: Automatic reboot on kernel crash in Debian 12 - how?

2024-04-16 Thread Max Nikulin
On 16/04/2024 16:17, Michael Kjörling wrote: I have a handful of Debian 12 systems that I want to configure such that they reboot automatically in case of a problem. [...] That leaves kernel-level issues. I have not tried it, but I have seen some systemd options related to configuration of

Re: Automatic reboot on kernel crash in Debian 12 - how?

2024-04-16 Thread Franco Martelli
On 16/04/24 at 11:17, Michael Kjörling wrote: Do I need to set some more settings to ensure that the system will automatically reboot on a panic? If so, what? Hi, In the Linux kernel source are available two options to reboot on panic: config BOOTPARAM_SOFTLOCKUP_PANIC bool "Panic

Re: Automatic reboot on kernel crash in Debian 12 - how?

2024-04-16 Thread Michael Kjörling
On 16 Apr 2024 11:42 +0200, from geo...@nsup.org (Nicolas George): >> Are you saying that the settings themselves are reasonable for the >> purpose, and that this particular crash just happened to be such a one >> that no software running on the system in question can reasonably help >> with that

Re: Automatic reboot on kernel crash in Debian 12 - how?

2024-04-16 Thread Nicolas George
Michael Kjörling (12024-04-16): > Are you saying that the settings themselves are reasonable for the > purpose, and that this particular crash just happened to be such a one > that no software running on the system in question can reasonably help > with that scenario? No, unfortunately I do not

Re: Automatic reboot on kernel crash in Debian 12 - how?

2024-04-16 Thread Michael Kjörling
On 16 Apr 2024 11:22 +0200, from geo...@nsup.org (Nicolas George): >> Do I need to set some more settings to ensure that the system will >> automatically reboot on a panic? If so, what? > > If the crash was bad enough to freeze the kernel before it could > trigger the reboot, there is nothing the

Re: Automatic reboot on kernel crash in Debian 12 - how?

2024-04-16 Thread Nicolas George
Michael Kjörling (12024-04-16): > However, this morning I woke up to one of those systems showing a > kernel crash dump and being frozen. Unfortunately the first part of > the crash dump had scrolled past so I couldn't tell what class of > problem caused the crash. > > Do I need to set some more

Automatic reboot on kernel crash in Debian 12 - how?

2024-04-16 Thread Michael Kjörling
I have a handful of Debian 12 systems that I want to configure such that they reboot automatically in case of a problem. I have set them up with userspace scripts (executed through cron) to reboot if something goes wrong there; that appears to work as expected if I induce an issue that those