watchdog not rebooting
Daniel Braniss
danny at cs.huji.ac.il
Fri Jan 8 15:02:40 UTC 2016
> On 8 Jan 2016, at 1:13 PM, Eugene Grosbein <eugen at grosbein.net> wrote:
>
>>> on real hardware, with hardware watchdog, it does the right thing, panics and reboots,
>>> but on vmware, it enters the debugger, and ‘cont’ will resume.
>>> the kernel in both cases(it’s the same) has option KDB and ALT_BREAK_TO_DEBUGGER
>>>
>>> so how can I get the vm to reboot?
>>
>> debug.debugger_on_panic=0 in the /boot/loader.conf and/or options KDB_UNATTENDED in the kernel config.
>
> Hmm, no - in case of watchdog, only kernel options KDB_UNATTENDED will help,
> debug.debugger_on_panic will not.
>
I just tried an older kernel, 10.1, and it works as expected, with debugger_on_panic = 0, it reboots.
so something changed. I actually tried this on different hardware, and so far it fails on 10.2
and works ok on 10.1
More information about the freebsd-hackers
mailing list