Jetson Nano watchdog module not work

Hi ,
I try to enable watchdog in Jetson Nano developer kit with JetPack4.2.1 - L4T R32.2 release. It seems that there isn’t watchdog module by default for this release. So which watchdog model I can use?

Here is my steps:
sudo apt-get update
sudo apt-get install watchdog
modprobe iTCO_wdt
It throws “modprobe: FATAL: Module iTCO_wdt not found in directory /lib/modules/4.9.140-tegra”
modeprobe softdog
It throws “modprobe: FATAL: Module softdog not found in directory /lib/modules/4.9.140-tegra”

Here is system release version:
uname -a
Linux iot-desktop 4.9.140-tegra #1 SMP PREEMPT Tue Jul 16 17:04:49 PDT 2019 aarch64 aarch64 aarch64 GNU/Linux

Thanks,

The Watchdog package does not contain any hardware watchdog drivers:

jwatte@jetson-nano:~$ dpkg -c <(curl -sL -o- http://ports.ubuntu.com/ubuntu-ports/pool/universe/w/watchdog/watchdog_5.15-2_arm64.deb)
drwxr-xr-x root/root         0 2017-01-20 04:31 ./
drwxr-xr-x root/root         0 2017-01-20 04:31 ./etc/
drwxr-xr-x root/root         0 2017-01-20 04:31 ./etc/init.d/
-rwxr-xr-x root/root      3238 2016-02-26 04:05 ./etc/init.d/watchdog
-rwxr-xr-x root/root      2497 2016-02-26 04:05 ./etc/init.d/wd_keepalive
-rw-r--r-- root/root      1436 2016-02-26 04:05 ./etc/watchdog.conf
drwxr-xr-x root/root         0 2017-01-20 04:31 ./lib/
drwxr-xr-x root/root         0 2017-01-20 04:31 ./lib/systemd/
drwxr-xr-x root/root         0 2017-01-20 04:31 ./lib/systemd/system/
-rw-r--r-- root/root       498 2016-02-26 04:05 ./lib/systemd/system/watchdog.service
-rw-r--r-- root/root       593 2016-02-26 04:05 ./lib/systemd/system/wd_keepalive.service
drwxr-xr-x root/root         0 2017-01-20 04:31 ./usr/
drwxr-xr-x root/root         0 2017-01-20 04:31 ./usr/sbin/
-rwxr-xr-x root/root    101808 2017-01-20 04:31 ./usr/sbin/watchdog
-rwxr-xr-x root/root     22704 2017-01-20 04:31 ./usr/sbin/wd_identify
-rwxr-xr-x root/root     26976 2017-01-20 04:31 ./usr/sbin/wd_keepalive
drwxr-xr-x root/root         0 2017-01-20 04:31 ./usr/share/
drwxr-xr-x root/root         0 2017-01-20 04:31 ./usr/share/doc/
drwxr-xr-x root/root         0 2017-01-20 04:31 ./usr/share/doc/watchdog/
-rw-r--r-- root/root       327 2016-02-26 04:05 ./usr/share/doc/watchdog/IAFA-PACKAGE
-rw-r--r-- root/root      1973 2016-02-26 04:05 ./usr/share/doc/watchdog/README
-rw-r--r-- root/root       639 2016-02-26 04:05 ./usr/share/doc/watchdog/README.Debian
-rw-r--r-- root/root      1829 2016-02-26 04:05 ./usr/share/doc/watchdog/README.watchdog.ipmi.gz
-rw-r--r-- root/root      1244 2017-01-20 04:31 ./usr/share/doc/watchdog/changelog.Debian.gz
-rw-r--r-- root/root      1030 2016-02-26 04:05 ./usr/share/doc/watchdog/copyright
drwxr-xr-x root/root         0 2017-01-20 04:31 ./usr/share/doc/watchdog/examples/
-rw-r--r-- root/root       228 2016-02-26 04:05 ./usr/share/doc/watchdog/examples/README
-rw-r--r-- root/root      1061 2016-02-26 04:05 ./usr/share/doc/watchdog/examples/another-chance.sh
-rwxr-xr-x root/root       547 2016-02-26 04:05 ./usr/share/doc/watchdog/examples/dbcheck.sh
-rwxr-xr-x root/root      2291 2016-02-26 04:05 ./usr/share/doc/watchdog/examples/repair.sh
-rw-r--r-- root/root       205 2016-02-26 04:05 ./usr/share/doc/watchdog/examples/systemcheck.sh
-rwxr-xr-x root/root       410 2016-02-26 04:05 ./usr/share/doc/watchdog/examples/uptime.sh
-rw-r--r-- root/root       885 2016-02-26 04:05 ./usr/share/doc/watchdog/watch_err.h
-rw-r--r-- root/root       470 2016-02-26 04:05 ./usr/share/doc/watchdog/watchdog.lsm
drwxr-xr-x root/root         0 2017-01-20 04:31 ./usr/share/man/
drwxr-xr-x root/root         0 2017-01-20 04:31 ./usr/share/man/man5/
-rw-r--r-- root/root      3214 2017-01-20 04:31 ./usr/share/man/man5/watchdog.conf.5.gz
drwxr-xr-x root/root         0 2017-01-20 04:31 ./usr/share/man/man8/
-rw-r--r-- root/root      6196 2017-01-20 04:31 ./usr/share/man/man8/watchdog.8.gz
-rw-r--r-- root/root       782 2017-01-20 04:31 ./usr/share/man/man8/wd_identify.8.gz
-rw-r--r-- root/root      1277 2017-01-20 04:31 ./usr/share/man/man8/wd_keepalive.8.gz
drwxr-xr-x root/root         0 2017-01-20 04:31 ./var/
drwxr-xr-x root/root         0 2017-01-20 04:31 ./var/log/
drwxr-xr-x root/root         0 2017-01-20 04:31 ./var/log/watchdog/

Dear snarky,

Thank you for your reply. So I’ll use softdog instead.

Thanks

My Nano froze last night and I could find no evidence for the crash on Syslog. I also store Tegrastats every one second. There was no anomaly before the crash. If I have had watchdog installed would it have rebooted the Nano? I was under the assumption that Nano had some hardware watchdog that takes care of such crashes.

What kind of issues will the software watchdog help recover from? What type of issues it will not help? Are there any suggestions for hardware watchdogs?

Can you give me steps for enabling the watchdog?

What other logs would help me find the reason for the crash other than Syslog?