Questions tagged [watchdog]

a watchdog timer is a simple, low-level electronic timer to detect faults in program execution and recover from malfunction, usually by rebooting the system.

47 questions
67
votes
5 answers

How do I hard reset a Raspberry Pi?

How do I hard reset a Raspberry Pi? Obviously you can power cycle, but is there a more subtle way, like a reset pin? It would be very useful to connect a watchdog in case the Raspberry Pi crashes (mine crashed last night). EDIT: The rev 2.0 board…
John La Rooy
  • 12,005
  • 9
  • 48
  • 77
16
votes
1 answer

Can I send a heart beat to hardware watch dog from my own program?

Following on from the question and excellent answer provided by Steve Robillard here: How do I hard reset a Raspberry Pi? How can I send a heartbeat signal from my own program to the BCM2708's hardware watchdog instead of from the Linux watchdog…
Guy
  • 1,667
  • 1
  • 16
  • 18
13
votes
1 answer

How can I mitigate the need for manual intervention with remotely deployed Raspberry Pis?

I'm working on a project that makes use of Raspberry Pis which will be deployed to several locations. They have special hardware attached to it for automation purposes, and run a web-service (that I wrote) to access the hardware. We will…
BobIsNotMyName
  • 231
  • 1
  • 2
12
votes
4 answers

Watchdog on the RPi4

Does the Raspberry Pi 4 have a hardware watchdog timer like the RPi3 does? If it does, which kernel module should I load in order to use it? I'm running Raspbian Buster, kernel 4.19.93-v7l+ Thanks.
tlqmj
  • 159
  • 1
  • 1
  • 8
11
votes
4 answers

How to keep watchdog timer running during reboot/shutdown

In my research so far I've noticed there are two approaches to activating a watchdog timer on raspberry: using systemd or installing watchdog. It's all explained well here: https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=147501# And I've…
Duje
  • 241
  • 1
  • 3
  • 5
9
votes
4 answers

WatchDog Daemon not restarting PI after fork bomb

I have tried to run the WatchDog Daemon using the tutorial found at http://binerry.de/post/28263824530/raspberry-pi-watchdog-timer So basic process I ran through to get WatchDog up and running is: 1. sudo modprobe bcm2708_wdog 2. sudo nano…
Richard
  • 481
  • 2
  • 5
  • 9
6
votes
3 answers

FATAL: Module bcm2708_wdog not found

I would like to install watchdog timer on Raspbian Wheezy, but when I execute: sudo modprobe bcm2708_wdog I get: FATAL: Module bcm2708_wdog not found. uname -a Linux raspberrypi 4.4.7-v7+ #878 SMP Tue Apr 19 19:03:45 BST 2016 armv7l GNU/Linux How…
mocart
  • 161
  • 1
  • 1
  • 2
5
votes
2 answers

mmc0: Timeout waiting for hardware interrupt trigger watchdog

During a strong file I/O application, the Pi regular crashes. mmc0: Timeout waiting for hardware interrupt - cmd25. mmc0: Timeout waiting for hardware interrupt - cmd12. mmc0: Timeout waiting for hardware interrupt - cmd13. mmcblk0: error -110…
Bernard Ladenthin
  • 151
  • 1
  • 1
  • 2
5
votes
1 answer

How do I get hardware Watch Dog working in soft-float Wheezy?

I have moved from the beta Wheezy release to the final release currently on the official download page (2012-08-08-wheezy-armel.zip). The hardware watch dog no longer seems to work. I have tried running sudo modprobe bcm2708_wdog, but the device…
Guy
  • 1,667
  • 1
  • 16
  • 18
4
votes
0 answers

Watchdog service doesn't kick /dev/watchdog in OSMC

I have installed watchdog service on OSMC/Raspberry Pi 3. It starts now automatically, but doesn't touch the /dev/watchdog device. How I check this: ls -l /dev/watchdog crw------- 1 root root 10, 130 Dec 17 14:44 /dev/watchdog ls -l…
Paul
  • 141
  • 1
4
votes
2 answers

Best practices for "hardening" an RPi for embedded applications (unattended operation)?

This is a very general question, but I'm sure others will want to know the answer... I'm using headless RPi's for a remote monitoring application. These RPi's will be buried in utility closets and generally inaccessible places. I already have…
fearless_fool
  • 593
  • 1
  • 4
  • 15
3
votes
1 answer

Where do the pigpio watchdogs run? Could watchdogs on multiple GPIO pins conflict?

I'm using pigpio bit-banging script (download, GitHub) that interprets the pulse durations generated by the DH22 Temperature/Humidity sensor. It sets a 200 ms pigpio watchdog to the GPIO pin and attaches a callback, passing the tick count and new…
uhoh
  • 562
  • 6
  • 21
3
votes
3 answers

Restart Pi if not reachable (3G)

My Pi 2 is uses a USB Modem 3G connection. Sometimes the connection gets stuck and the Pi is no longer reachable via SSH, (Weaved). The Pi itself looks normal, ( the Pi is on and the light on USB modem indicates that the Pi is connected) I tried…
Peter S
  • 251
  • 5
  • 14
3
votes
1 answer

Create a watchdog for RPi using Arduino

I have a RPi 2 and my circuit involves an Arduino connected to it using Logic level converter. I want my Arduino to act as a watchdog for Pi that will receive a signal timely from Pi and if not received, send some signal to Run pins on Pi to reset…
Ric
  • 89
  • 1
  • 8
2
votes
1 answer

Installing Watchdog Daemon on Arch

I've been following along with the instructions on the Arch Linux Arm wiki. The install itself went just fine, but in following the post-install suggestions on the Wiki tab, I got stuck at the watchdog section. The kernel module was easy enough to…
Mark
  • 123
  • 1
  • 5
1
2 3 4