On 10.06.24 20:14, 'Christopher Obbard' via EFI Boot Guard wrote: > Hi, > > I have been doing some testing with efibootguard, it seems like efibootguard > fails to enable the watchdog on some of my hardware. I am testing this with a > recent Linux build with all kernel watchdog drivers not built and the > efibootguard watchdog configuration option set to 30s. > > For this test, I expect the system to reboot roughly 30s after efibootguard > initialises. > > Test results from a few machines I have to hand are as follows: > > - qemu x86_64 machine q35 (iTCO v2; wdt resets fine) > > - generic mini pc (iTCO v4, Braswell; wdt resets fine) >
Err, we do not support iTCO v4 yet, see the related driver. Do you have patches on top? > > > And some machines which do not seem to reset after the wdt has been primed: > > - Atari VCS (I believe this machine contains an amdfch_wdt, but I didn't > verify that as yet; wdt does not reset) > > - Dell OptiPlex 7000 series mini PC (iTCO v6, Alder Lake-S; wdt does not > reset) I also have some other hardware which uses iTCO v6 which also do not > seem to reset. > There might be an issue with clearing the no-reboot flag on the particular device. As its name says, that flag prevent any actual reboot if the timer expires. You should cross-check if Linux works fine and then dig deeper what exactly that driver does to ensure this. > > > Do you have any recommendations on how to debug/fix these issues? It'd be > great to get this fixed before the next efibootguard release. If someone can > also verify my claims, it'd be great. > > > ftr: I also think it'd probably make sense to redo my testing above, with an > UEFI shell as a target, just in case some watchdog driver really was feeding > the hardware. > BTW, you should be able to simulate a handing kernel fairly easily now by setting --with-boot-delay during configure to a value above the configured EBG timeout. 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/a32f6797-44f1-4963-8247-fb1fa9ee726a%40siemens.com.