Hi,
While designing our system tests, I read the TestPlanValidation in the Linux guide.
One of the tests is jetson-linux-watchdog-timer-enable-verification.
The second instruction is :
On the serial console, to crash the system, run the following command.
But the command is missing. Which command should I use?
I don’t know the answer per se, it looks like the guide is incomplete. However, the description sounds like it isn’t about “crashing”, and it is just a bad description followed by a missing command. The description is instead what seems to be testing for reboot in case of crash.
The watchdog, when enabled, tests a register for change (for a write) every so often (180 seconds in this case). The timer does this:
- If the register is written to, then the timer unsets the change and also resets the timer to start over.
- An outside program needs to write to that register periodically (via a “
/dev/
” file for watchdog), presumably any interval which is shorter than the watchdog time. - If the outside program in user space dies, and is not restarted before the timer runs out, then the register will be seen as unmodified and the timer will reboot the system.
It is my belief that the missing part of that description is to kill the user space process which writes to that register. If the watchdog is set to 180 seconds, then in 180 seconds maximum the system should reboot.
1 Like
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.