Specifically, I am interested in removing watchdogd. My system was, for the most part, fine, the past few years. I recently updated the system and now it shuts down about every 10 minutes. I have read much of the past suggestions and none have worked. BIOS watchdog has never been enabled. The jumper has never been moved. What has changed is the OS.
watchdog -t 0 nor putting that command in rc.local does nothing practical. Stopping watchdogd via service command does nothing practical. I want to remove the watchdog module however, modprobe, rmmod are not in the OS as I can find. pkg has errors when trying to get modprobe. When I moved /etc/rc.d/watchdog to …/ and rebooted the file was restored. I did not see anything obvious to my experience in /boot to point me in getting rid of watchdog.
I am not new to Linux. I am also not an expert the the FreeBSD flavor. How do I ensure the system will not shutdown due to any watchdog event ? How do I permanently remove software binds to ipmi0 ? Will enabling the debug kernel allow me to remove this module ? Are there instructions somewhere about compiling a custom kernel for FreeNAS ? I can see not allowing changes in the interest of stability but with years of this issue that keeps coming back I’d hope there was at least an option of disabling modules by now.
Lot’s of history with this issue and no decent resolution. Yeah I changed the battery…
The watchdogd utility interfaces with the kernel’s watchdog facility to
ensure that the system is in a working state. If watchdogd is unable
to interface with the kernel over a specific timeout, the kernel will
take actions to assist in debugging or restarting the computer.
Seems to me that seems like something you may not want to shutdown (or specifically investigate why it’s not talking to the kernel).
But I would start with the examples to see if any debugging info will help. Maybe checking your softtimeout action is set to log,printf (or just log, or just printf).
Thanks for the tip. I want the module gone. If / when the system crashes, I will go from there. When I, as the administrator, remove a file (/etc/rc.d/watchdogd in this case), I don’t want it reappearing unless I restore it.
TrueNAS is not “another Linux distro”; it is a NAS appliance OS.
In other words: You are NOT the OS administrator, you are the NAS adminstrator. You define how storage is organised and shared; iXsystems decides what goes, or not, into the underlying OS.
Sorry, I probably wasn’t clear enough. You cannot remove it. Watchdog is part of the kernel and the kernel needs watchdogd. Re-read the quote from the man page I posted. “…if the kernel cannot find watchdogd, the kernel panics.”