Hello
I'm using the watchdog in order to reboot if my script fails
ubus call system watchdog '{"magicclose": true}'
ubus call system watchdog '{"stop": true}'
while true
do
[my code]
echo 1 > /dev/watchdog
done
The code works, but after a while logread and dmesg only show this message:
dmesg
[49176.536002] bcm63xx_wdt: Unexpected close, not stopping watchdog!
[49178.615563] bcm63xx_wdt: Unexpected close, not stopping watchdog!
[49180.694992] bcm63xx_wdt: Unexpected close, not stopping watchdog!
[49182.775097] bcm63xx_wdt: Unexpected close, not stopping watchdog!
[49184.854379] bcm63xx_wdt: Unexpected close, not stopping watchdog!
[49186.934469] bcm63xx_wdt: Unexpected close, not stopping watchdog!
[49189.014825] bcm63xx_wdt: Unexpected close, not stopping watchdog!
logread
Sat May 16 18:10:08 2020 kern.crit kernel: [49245.170501] bcm63xx_wdt: Unexpected close, not stopping watchdog!
Sat May 16 18:10:10 2020 kern.crit kernel: [49247.251924] bcm63xx_wdt: Unexpected close, not stopping watchdog!
Sat May 16 18:10:12 2020 kern.crit kernel: [49249.330255] bcm63xx_wdt: Unexpected close, not stopping watchdog!
Sat May 16 18:10:14 2020 kern.crit kernel: [49251.458990] bcm63xx_wdt: Unexpected close, not stopping watchdog!
How to avoid watchdog printing those messages?
I'm using OpenWrt 19.07.2
Regards.