Speaking of Watchdog, here archwiki says:
Many users need this feature due to their system's mission-critical role (i.e. servers), or because of the lack of power reset (i.e. embedded devices). Thus, this feature is required for a good operation in some situations. On the other hand, normal users (i.e. desktop and laptop) do not need this feature and can disable it.
On my laptop I can disable the watchdog in three different ways:
rmmod iTCO_wdt
for temporary effects or writingblacklist iTCO_wdt
to/etc/modprobe.d/nowatchdog.conf
for persistent effects.writing 0 to
/proc/sys/kernel/watchdog
orsysctl -w kernel.nmi_watchdog=0
for temporary effects, or writingkernel.nmi_watchdog = 0
to/etc/sysctl.d/nowatchdog.conf
for persistent effects.Appending
nowatchdog
to/etc/default/grub
if GRUB is used for persistent effects.
None of them works for the raspberry pi:
1 Doesn't work because the iTCO_wdt is not loaded.
2 Fails because there is no
watchdog
ornmi_watchdog
under/proc/sys/kernel/
3 Can't work because raspberry pi doesn't use GRUB.
The Output from wdctl
(executed as root):
Device: /dev/watchdog0
Identity: Broadcom BCM2835 Watchdog timer [version 0]
Timeout: 15 seconds
Pre-timeout: 0 seconds
Timeleft: 15 seconds
FLAG DESCRIPTION STATUS BOOT-STATUS
KEEPALIVEPING Keep alive ping reply 1 0
MAGICCLOSE Supports magic close char 0 0
SETTIMEOUT Set timeout (in seconds) 0 0
Is it possible to disable the watchdog feature in Raspberry Pi 3 Model B running Archlinux arm?
Timeout: 15 seconds
sudo touch /dev/watchdog
. I haven't tried to activatewatchdogd
, but I'm pretty sure that will work as well. Of course the watchdog is not active from the start: that would lead to a reset loop unless your Pi boots in less than 15 seconds.