Capture states of all processes at the same time

Artem Belevich art at freebsd.org
Fri Mar 16 06:08:07 UTC 2012


On Thu, Mar 15, 2012 at 10:49 PM, Maninya M <maninya at gmail.com> wrote:
> # sysctl debug.kdb.enter=1
>
> ------
>
> But when I type that the computer hangs!

Did you by any chance do that from a terminal window in X11
environment? If that's the case, then kernel debugger is running, you
just don't see anything because it can print stuff out only on console
or serial port. If that indeed what happened, typing c and then ENTER
should unhang your system. After that you can switch to the console
with CTRL-ALT-F1 and enter debugger from there.

--Artem


More information about the freebsd-hackers mailing list