saurus saurus -4 years ago 80
Linux Question

how to prevent watchdog messages flooding dmesg

I'm using the watchdog on an ARM system running Ubuntu, watchdog itself works perfectly fine however since I have enabled the watchdog I get so many "watchdog watchdog0: watchdog did not stop!" messages in dmesg that basically dmesg has become unusable. Is there any way to disable these watchdog messages or at least redirect them to a different log file ? I cannot find a way to do it.

Thanks

Answer Source

The "watchdog did not stop!" message is caused by closing the watchdog device without stopping the watchdog (via the magic character 'V').

Keeping the device open will prevent this.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download