Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Jun 2009 09:16:11 -0400
From:      Glen Barber <glen.j.barber@gmail.com>
To:        stable@freebsd.org
Subject:   Kernel Debugging Options
Message-ID:  <4ad871310906060616u7f162f26h8a3149fbe7e4c273@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hello everyone

I have a two-part question:

I have a minimally customized GENERIC kernel, with the only changes being:
options         KDB
options         KDB_UNATTENDED
options         DDB

and 'sysctl debug.debugger_on_panic' shows:
debug.debugger_on_panic: 0

However, after a panic loading the vboxdrv.ko module, the machine did
not reboot automatically after reboot.

Here are my questions:
1)  Would enabling DDB in the kernel prevent an automatic reboot after a panic?

2)  Does the debugger wait for XX seconds of console inactivity before
rebooting?  I was under the impression from the handbook that the
machine would instantly reboot and after dumping the crash to vmcore0.
 Is this assumption incorrect?

Thanks in advance for any input.

-- 
Glen Barber
http://www.dev-urandom.com
http://www.linkedin.com/in/glenjbarber



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4ad871310906060616u7f162f26h8a3149fbe7e4c273>