Yes in Linux it seems to work. We tested this by following the guide in 
[1]. When we cat to the /dev/watchdog0 device the system reboots after 30 
seconds.

[1] 
https://www.thomas-krenn.com/de/wiki/Watchdog#Testen_der_Watchdog_Funktion

On Thursday, November 9, 2023 at 2:19:31 PM UTC+1 Jan Kiszka wrote:

> On 08.11.23 14:51, Root Mailer wrote:
> > Watchdog is now (allegedly) supported, thanks for that. Unfortunately,
> > it does not work as expected.
> > 
> > We set watchdog timeout to 30 seconds via "bg_setenv --part=0/1
> > --watchdog=30". Looks good:
> > 
> > Screenshot from 2023-11-08 10-02-55.png
> > 
> > We then manipulated the bzImage and the part where bg_gen_unified_kernel
> > checks for a valid bzImage to simulate a non-working kernel here:
> > 
> > 
> https://github.com/siemens/efibootguard/blob/master/tools/bg_gen_unified_kernel#L112
> > 
> > But the system does not reboot, it just hangs after the last line EFI
> > stub: etc. Any ideas what's missing?
> > 
>
> If you start the watchdog from Linux and let it expire there, will the
> machine reboot in that case? If no, then we have a hardware or firmware
> issue. If yes, then we could look for missing bits in the Linux code.
>
> Jan
>
> -- 
> Siemens AG, Technology
> Linux Expert Center
>
>

-- 
You received this message because you are subscribed to the Google Groups "EFI 
Boot Guard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to efibootguard-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/efibootguard-dev/b273b8d6-d84e-4709-8915-860113531e12n%40googlegroups.com.

Reply via email to