Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Mar 2012 23:08:06 -0700
From:      Artem Belevich <art@freebsd.org>
To:        Maninya M <maninya@gmail.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Capture states of all processes at the same time
Message-ID:  <CAFqOu6iQM%2BTSHVLv8GqtqKRRG8vKsX6ZE=Etkeh88vaBMb5zTQ@mail.gmail.com>
In-Reply-To: <CAC46K3kOh0yPn6KQDK0ZYWMHGjUjaV75ZDw3YMOPFtcKg76s_w@mail.gmail.com>
References:  <CAC46K3mNJQDf%2BKqA0YYiAXXdyjhU3iSX8V-5%2B2rF8Ah0aH-7rA@mail.gmail.com> <CAFqOu6i1TY-4FcGYEqvD00uz2qx9yL971s0Ca6PsxEVSTjnCSQ@mail.gmail.com> <CAC46K3kcuoDt92tj5yQN2E9Aj%2BRVihaA-NXUTaZBm8WFGZVC-Q@mail.gmail.com> <CAC46K3=Kq=J9fqfyV8FewmE49gcNh_C-rmL4rZu1PrRicTvhGA@mail.gmail.com> <CAFqOu6gkzk4A_o74P4fd-q8RDHsHy88grEg1G7ksc2tjwV6UFA@mail.gmail.com> <4F60FF28.8010104@freebsd.org> <CAC46K3kOh0yPn6KQDK0ZYWMHGjUjaV75ZDw3YMOPFtcKg76s_w@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Mar 15, 2012 at 10:49 PM, Maninya M <maninya@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFqOu6iQM%2BTSHVLv8GqtqKRRG8vKsX6ZE=Etkeh88vaBMb5zTQ>