Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:odroid_linux_watchdog [2016/02/22 18:46] moon.linux [Watchdog demon configuration files] |
en:odroid_linux_watchdog [2022/01/02 22:39] (current) |
||
---|---|---|---|
Line 59: | Line 59: | ||
sudo mkdir -p /var/log/watchdog | sudo mkdir -p /var/log/watchdog | ||
</code> | </code> | ||
+ | |||
+ | Remove the watchdog module from black list. | ||
+ | **/etc/modprobe.d/blacklist-watchdog.conf** | ||
+ | <code> | ||
+ | #blacklist s3c2410_wdt | ||
+ | </code> | ||
+ | |||
+ | Append the default watchdog configuration. | ||
+ | **/etc/default/watchdog** | ||
+ | <code> | ||
+ | # Start watchdog at boot time? 0 or 1 | ||
+ | run_watchdog=1 | ||
+ | # Start wd_keepalive after stopping watchdog? 0 or 1 | ||
+ | run_wd_keepalive=1 | ||
+ | # Load module before starting watchdog | ||
+ | watchdog_module=s3c2410_wdt | ||
+ | # Specify additional watchdog options here (see manpage). | ||
+ | watchdog_options="-s -v -c /etc/watchdog.conf" | ||
+ | |||
+ | </code> | ||
+ | |||
===== Watchdog demon configuration files ===== | ===== Watchdog demon configuration files ===== | ||
**Note: Watchdog drivers start automatically as it's buildin, but only if a watchdog daemon to configure the times.** | **Note: Watchdog drivers start automatically as it's buildin, but only if a watchdog daemon to configure the times.** | ||
Line 103: | Line 124: | ||
# This greatly decreases the chance that watchdog won't be scheduled before | # This greatly decreases the chance that watchdog won't be scheduled before | ||
# your machine is really loaded | # your machine is really loaded | ||
- | realtime = yes | + | #realtime = yes |
- | priority = 1 | + | #priority = 1 |
# Check if rsyslogd is still running by enabling the following line | # Check if rsyslogd is still running by enabling the following line |