From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 16 06:08:07 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5564D106566B; Fri, 16 Mar 2012 06:08:07 +0000 (UTC) (envelope-from artemb@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id EE4B08FC16; Fri, 16 Mar 2012 06:08:06 +0000 (UTC) Received: by ghrr20 with SMTP id r20so4672306ghr.13 for ; Thu, 15 Mar 2012 23:08:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=MtQtUPvivaLDY1zGRCymY3RaH83LrcMC+ooMdgyA/ig=; b=kiApndL7OrZ7ZcNqGmcavWKgDn1AYbUNKeRXfrk+b30HhCrYQm8lTSpi1kpkvQFF/A 7yWMPkb/r/sG0Jk5f1nvoVlMQkVWh/v0jL3SUIvueqA5zmomBolg0yjkeE14rQM4fH1W fRKRP9MGeHHg3qduoilqxZDwes/whMLJVhvy2LptYJ0ZSOW+B+WFPcy0DYDUBZhMzGUF dYgnyuYPGh8GvRH89u0N+lmm981si1AImbcDBGDwW3jJaIVhQWC8ewBNQpk09x6Se4ck OGACyqqlwc3s4YxMcPptAMi5rBk3ofnAh+HyP/d4ewsJZ9tC7cEr4hWtLTD6YFt1Ynar T7rA== MIME-Version: 1.0 Received: by 10.236.170.134 with SMTP id p6mr1387104yhl.81.1331878086264; Thu, 15 Mar 2012 23:08:06 -0700 (PDT) Sender: artemb@gmail.com Received: by 10.147.181.4 with HTTP; Thu, 15 Mar 2012 23:08:06 -0700 (PDT) In-Reply-To: References: <4F60FF28.8010104@freebsd.org> Date: Thu, 15 Mar 2012 23:08:06 -0700 X-Google-Sender-Auth: d8eSkT4a3Ojr8KzYqN010Y_sZy8 Message-ID: From: Artem Belevich To: Maninya M Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-hackers@freebsd.org Subject: Re: Capture states of all processes at the same time X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Mar 2012 06:08:07 -0000 On Thu, Mar 15, 2012 at 10:49 PM, Maninya M 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