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.

Filter by
Sorted by
Tagged with
62
votes
5answers
62k views

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 (...
13
votes
1answer
568 views

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 ...
13
votes
1answer
5k views

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 ...
8
votes
3answers
10k views

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/...
6
votes
4answers
7k views

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....
5
votes
3answers
10k views

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 ...
5
votes
2answers
9k views

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 ...
4
votes
2answers
1k views

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 ...
4
votes
0answers
304 views

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, ...
4
votes
1answer
410 views

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 ...
3
votes
3answers
774 views

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 ...
3
votes
1answer
597 views

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 ...
2
votes
2answers
3k views

Using Watchdog to reboot in case of overheat

Is it possible to use Watchdog to reboot the Raspberry Pi in case of overheating? I tried making Watchdog read the temperature from /sys/class/thermal/thermal_zone0/temp but so far no such luck. Can ...
2
votes
1answer
6k views

Pi B, Raspbian Jessie. Watchdog doesn't start at boot

After upgrading to Jessie, watchdog doesn't start at boot anymore. Starting it manually using "sudo service watchdog start" does work. I tried: purging and reinstalling watchdog update-rc.d I ...
2
votes
1answer
1k views

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 ...
2
votes
2answers
1k views

Raspberry Pi Reboot Cycle After SD Clone - Card works on old Pi but not new ones

I have a Raspberry Pi which runs a Python script on boot. They initiate and stroke the hardware watchdog at /dev/watchdog. I recently tried cloning the SD card onto two other SD cards. However on ...
2
votes
1answer
341 views

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 ...
2
votes
1answer
286 views

rPi B+ Arch Linux running Java application

My customer's java app - .jar file runs on rPi B+ with ArchLinux installed. Now, I've also enabled hardware watchdog timer which purpose is to reboot rPi when java app hangs. Now, I've configured the ...
1
vote
1answer
2k views

Raspbian watchdog fails at boot

I have a raspberry pi 2 with original power supply (5v 2a) from farnell with raspbian. Tried more than 4 sd cards (lexar class 10, kingston class 8, trasncendet class 10) connected to the router via ...
1
vote
3answers
2k views

Watchdog timer waking-up Pi after shutdown

I would need the Watchdog timer of the Pi to kiss the halted Pi awake to make it boot again. I know about the Watchdog timer limitations, and that it should not be able to do it, but I have seen ...
1
vote
2answers
3k views

Rpi3 is the hardware watchdog enabled by default

I have RaspberryPI's 3 (running both Jessie and Stretch) and tested on both In order to enable the watchdog timer, In many posts I saw that add in the /boot/config.txt a line with: dtparam=watchdog=...
1
vote
1answer
1k views

B+ Pi hangs what watchdog settings do I need?

This has been going on for a while. Raspbian B+ regularly updated and kernel updated, nothing connected other than Ethernet cable and power supply is Pi rated(from ModMyPi with a ModMyPi noodle cable)...
1
vote
1answer
411 views

Cannot install the watchdog package

I have recently updated the OS on my Pi to Raspbian Stretch and having problems setting up the watchdog. Namely when I try to download the package I get the following error message: $ sudo apt-get ...
1
vote
0answers
305 views

Add delay to startup Watchdog on boot Raspberry

I set up the watchdog to reboot my Raspberry if : fails ping, overheating and if a file is not updated for more than 3 minutes. Now I have a problem: the watchdog start on boot of my Raspberry, but I ...
1
vote
0answers
1k views

Changing watchdog timeout on RPi3

I want to change the timeout value of RPi (I use RPi3) internal watchdog. I wrote the simple application like so: #include <sys/ioctl.h> #include <errno.h> #include <unistd.h> #...
0
votes
2answers
84 views

Restart Pi after ping failure?

I have been creating a prototype using Pi Zeros, they work great at my house but are failing often at customer's site (other side of country). I do not know if the Pi kernel is crashing or if it's ...
0
votes
2answers
97 views

Raspberry PI 3 freeze for some hours and afterwards its working

I've a strange issue with my raspberry pi 3: The raspberry is working fine, after a while the raspberry stops working for about 5 hours. Afterwards the raspberry recovers itself (without rebooting!) ...
0
votes
1answer
3k views

Can't edit /etc/modules and add “bcm2708_wdog”

i tried following the directions here for the watchdog Link: http://pi.gadgetoid.co.uk/post/001-who-watches-the-watcher i can't get even past the first attempt, here's an SS: http://prntscr.com/ohvq1 ...
0
votes
0answers
212 views

Watchdog doesn't load in Raspberry pi 2

I have an raspberry py 2 running debian stretch and I have done all procedures to load watchdog, but I can't get module to work....it just doesn't show anything, even error! I can see watchdog 'device'...
0
votes
1answer
936 views

How to set up multiple wifi networks?

I know how to set up multiple wifi networks, as in this question. However, I have additional needs not addressed there: First: How do I know which network made the connection (for instance, in the ...