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
1 vote
0 answers
822 views

How to configure the watchdog

I tried to configure the watchdog on several Pi's with the latest Raspbian by adding "dtpatam=watchdog=on" to /boot/config.txt and adding a file called /etc/watchdog.conf with: watchdog-...
WhyNine's user avatar
  • 51
0 votes
0 answers
101 views

After activating Watchdog on Raspbian the system goes to login screen when system reboots after freezing

I have made the necessary watchdog settings for 2021-12-02-raspios-buster-armhf in accordance with Watchdog on the RPi4 in the operating system. When I test the watchdog with fork bomb command sudo ...
Smetronic's user avatar
-1 votes
2 answers
179 views

Watchdog and autologin - raspberry pi zero-

Hi I have turned on watchdog and configurate them at my raspberry. I tested at my raspberry with fork-bomb and watchdog work - fork-bomb ( I wrote this command to console ) :(){ :|:& };: freeze ...
Hamilkar Barkas's user avatar
0 votes
1 answer
93 views

RPi3 randomly freezing and timing out SSH connections

I have set up an RPi3 running a Node.js server (with pm2) in a remote location. Even though the internet is quite fast, the pi sometimes times out or is very very slow. Recently I have set up a ...
Ionică Bizău's user avatar
0 votes
0 answers
689 views

Watchdog is running?

I need to enable Watchdog functionality on my RPi. I've followed this guide: https://medium.com/@arslion/enabling-watchdog-on-raspberry-pi-b7e574dcba6b No errors were reported, I installed everything ...
Daniel's user avatar
  • 259
0 votes
2 answers
327 views

Modbus to USB stops working after a few days

I monitor 10 Modbus devices with a Raspberry Pi 3B. Each modbus device sits about 20-30cm from the Pi and sends signal to the Pi through a Modbus RS485 to USB converter, which is shown here: https://...
Hayden Eastwood's user avatar
0 votes
2 answers
197 views

RPi3 Watchdog monitoring a directory instead of a file

I have a C++ application that permanently runs on a Raspberry Pi 3 and might occasionally freeze. It writes logfiles using Boost log and a good indication of a freeze is the absence of logging output ...
user3792852's user avatar
0 votes
0 answers
448 views

PI watchdog logs

I want to start using watchdog to check if I have problem in the connection. so I have check for ETH0 ping 10.0.0.1 (my router IP) I have install the basic "Watchdog" from here: sudo apt-get ...
Afik_Android's user avatar
1 vote
0 answers
536 views

Raspberry Pi Zero W in OS startup boot loop

I have a Raspbery Pi Zero W that was working, but today seems to be stuck in a boot loop. I'm running Raspian Lite on it. The boot messages look normal as far as I can tell. The last message I see ...
MikeB's user avatar
  • 111
0 votes
0 answers
592 views

Hardware watchdog during reboot

I'm creating a prototype of a Raspberry Pi 3B+ that uses Mender as the update manager. My goal is that if the Raspberry Pi is stuck somewhere in the boot process (Corrupted Kernel that cannot even ...
fnx_qt's user avatar
  • 1
2 votes
1 answer
2k views

Disabling watchdog in Raspberry Pi Archlinux ARM

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). ...
15 Volts's user avatar
  • 147
2 votes
0 answers
114 views

Tuning watchdog cpu usage

I've enabled the watchdog module # /etc/modules i2c-dev bcm2835_wdt And installed and activated the watchdog daemon with the following configuration: # /etc/watchdog.conf realtime = yes priority =...
jabozzo's user avatar
  • 121
11 votes
4 answers
16k views

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's user avatar
  • 149
0 votes
2 answers
1k 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 ...
Logic1's user avatar
  • 99
3 votes
1 answer
2k 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 ...
Mark's user avatar
  • 133
1 vote
2 answers
5k 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=...
akarapatis's user avatar
0 votes
2 answers
617 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!) ...
powerpete's user avatar
  • 159
0 votes
0 answers
348 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'...
Jonis's user avatar
  • 1
2 votes
1 answer
715 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 ...
jgulacsy's user avatar
3 votes
1 answer
715 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 ...
uhoh's user avatar
  • 562
4 votes
0 answers
357 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, ...
Paul's user avatar
  • 141
1 vote
0 answers
433 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 ...
therock24's user avatar
  • 121
2 votes
0 answers
2k 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> #...
lewiatan's user avatar
  • 713
11 votes
4 answers
19k 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/...
Duje's user avatar
  • 241
1 vote
0 answers
3k 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 ...
user448810's user avatar
3 votes
3 answers
1k 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 ...
Peter S's user avatar
  • 251
6 votes
3 answers
13k 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 ...
mocart's user avatar
  • 161
3 votes
1 answer
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 ...
Ric's user avatar
  • 89
2 votes
1 answer
3k 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 ...
plopes's user avatar
  • 41
2 votes
1 answer
7k 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 ...
BenjaminH's user avatar
  • 171
1 vote
1 answer
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)...
rob's user avatar
  • 2,793
2 votes
1 answer
315 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 ...
KernelPanic's user avatar
4 votes
2 answers
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 ...
fearless_fool's user avatar
2 votes
2 answers
4k 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 ...
João Pereira's user avatar
2 votes
2 answers
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 ...
Anthony Scodary's user avatar
13 votes
1 answer
610 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 ...
BobIsNotMyName's user avatar
1 vote
3 answers
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 ...
paulv's user avatar
  • 11
5 votes
2 answers
11k 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 ...
Bernicc's user avatar
  • 151
0 votes
1 answer
4k 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 ...
psyko666's user avatar
  • 181
8 votes
4 answers
9k 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....
Richard's user avatar
  • 461
5 votes
1 answer
427 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 ...
Guy's user avatar
  • 1,657
16 votes
1 answer
6k 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 ...
Guy's user avatar
  • 1,657
66 votes
5 answers
95k 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 (...
John La Rooy's user avatar
  • 11.9k