Re: watchdog timer programming
mike tancsa <[email protected]> Mon, 30 Sep 2024 13:05:37 -0400
| Newsgroups | gmane.os.freebsd.devel.hardware |
|---|---|
| Message-ID | <[email protected]> |
On 9/30/2024 3:18 AM, Stephane Rochoy wrote: > > mike tancsa <[email protected]> writes: > >> Do you know off hand how to set the system to just reboot ? The ddb man >> page seems to imply I need options DDB as well, which is not in GENERIC >> in order to set script actions. > > I would try the following: > > ddb script kdb.enter.default=reset > If I build a custom kernel then that will work. But with GENERIC (I am tracking project via freebsd-update), it fails # ddb script kdb.enter.default=reset ddb: sysctl: debug.ddb.scripting.scripts: No such file or directory With a customer kernel, adding options DDB it works perfectly. Is there any way to get this to work without having ddb custom compiled in ? ---Mike > Regards,