Failsafe on kernel panic

Andrey Zonov zont at FreeBSD.org
Sat Feb 2 10:26:25 UTC 2013


On 1/20/13 6:07 PM, Willem Jan Withagen wrote:
> On 17-1-2013 4:18, Ian Lepore wrote:
>> On Wed, 2013-01-16 at 23:27 +0200, Sami Halabi wrote:
>>> Thank you for your response, very helpful.
>>> one question - how do i configure auto-reboot once kernel panic occurs?
>>>
>>> Sami
>>>
>>
>> From src/sys/conf/NOTES, this may be what you're looking for...
>>
>> #
>> # Don't enter the debugger for a panic. Intended for unattended operation
>> # where you may want to enter the debugger from the console, but still want
>> # the machine to recover from a panic.
>> #
>> options 	KDB_UNATTENDED
>>
>> But I think it only has meaning if you have option KDB in effect,
>> otherwise it should just reboot itself after a 15 second pause.
> 
> Well it is not the  magical fix-all solution.
> 
> Last night I had to drive to the colo (lucky for me a 5 min drive.)
> because I could not get a system to reboot/recover from a crash.
> 
> Upon arrival the system was crashed and halted on the message:
> 	rebooting in 15 sec.
> 

I've seen the same thing many and many times.  Now I'm using ddb to save
crash dump and reboot machine on panic.  It's much more reliable.

-- 
Andrey Zonov

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 535 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20130202/b3c387b9/attachment.sig>


More information about the freebsd-stable mailing list