-
Notifications
You must be signed in to change notification settings - Fork 516
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Watchdog timer (WDT) support #8284
Comments
That'd be nice! |
If you have some high-level overview of API changes required (e.g. new configuration, kernel args, etc.), it might be nice to bootstrap the discussion. |
Perhaps just an option in |
What would be the right place in the Perhaps a controller, yes? |
The controller is the best path, as it would consume the machine config once it's available, and control the timer based on the config (which might change on the fly). |
I did it, however unable to rebuild the kernel to include WDT drivers like the i6300esb I enabled in QEMU. I get this weird error from
Using rootful Docker 24.0.7 from the openSUSE packages:
No problem building stuff in the Talos repo however. If you don't know a quick fix could you please just enable the needed watchdog drivers and push that image? |
you need to use modern buildkit runners, you can look here and also |
That fixed it. Unsure why didn't that command persist from the Talos build (perhaps env var or something). Thank you! |
For some reason I can't get modules installed using these commands: Maybe modules are in a similar fashion as other packages from the pkgs repo? Will build i6300esb as built-in for now to test. |
Hard to say, it should work |
Also failing to update kernel which has the same tag ( |
Only enabled when activated by config, disabled on shutdown/reboot Fixes siderolabs#8284 Signed-off-by: Dmitry Sharshakov <[email protected]>
Only enabled when activated by config, disabled on shutdown/reboot Fixes siderolabs#8284 Signed-off-by: Dmitry Sharshakov <[email protected]>
Only enabled when activated by config, disabled on shutdown/reboot Fixes siderolabs#8284 Signed-off-by: Dmitry Sharshakov <[email protected]>
Only enabled when activated by config, disabled on shutdown/reboot Fixes siderolabs#8284 Signed-off-by: Dmitry Sharshakov <[email protected]>
Only enabled when activated by config, disabled on shutdown/reboot Fixes siderolabs#8284 Signed-off-by: Dmitry Sharshakov <[email protected]>
Only enabled when activated by config, disabled on shutdown/reboot Fixes siderolabs#8284 Signed-off-by: Dmitry Sharshakov <[email protected]>
Only enabled when activated by config, disabled on shutdown/reboot Fixes siderolabs#8284 Signed-off-by: Dmitry Sharshakov <[email protected]> Signed-off-by: Dmitry Sharshakov <[email protected]>
Only enabled when activated by config, disabled on shutdown/reboot Fixes siderolabs#8284 Signed-off-by: Dmitry Sharshakov <[email protected]> Signed-off-by: Dmitry Sharshakov <[email protected]>
Only enabled when activated by config, disabled on shutdown/reboot Fixes siderolabs#8284 Signed-off-by: Dmitry Sharshakov <[email protected]> Signed-off-by: Dmitry Sharshakov <[email protected]> Signed-off-by: Andrey Smirnov <[email protected]>
Only enabled when activated by config, disabled on shutdown/reboot Fixes siderolabs#8284 Signed-off-by: Dmitry Sharshakov <[email protected]> Signed-off-by: Dmitry Sharshakov <[email protected]> Signed-off-by: Andrey Smirnov <[email protected]>
Only enabled when activated by config, disabled on shutdown/reboot Fixes siderolabs#8284 Signed-off-by: Dmitry Sharshakov <[email protected]> Signed-off-by: Dmitry Sharshakov <[email protected]> Signed-off-by: Andrey Smirnov <[email protected]>
Feature Request
Support hardware/firmware watchdog. This could increase resilience and help fulfill requirements some users might add to their systems.
Description
Just as systemd is able to do it Talos init process should be able to arm and feed the watchdog if one is detected and configured by the user. If the system hangs (for example due to a driver crashing the kernel or hardware instability) WDT trips after not being fed for a timeout and resets the system, recovering it from a freeze. As hardware or firmware might be quirky I wouldn't risk enabling it in default config.
I want to try myself at implementing this feature in case it's approved.
The text was updated successfully, but these errors were encountered: