From owner-freebsd-sparc64@FreeBSD.ORG Wed Jan 25 10:28:58 2012 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B86D71065670 for ; Wed, 25 Jan 2012 10:28:58 +0000 (UTC) (envelope-from linuxmail@4lin.net) Received: from mail.4lin.net (mail.4lin.net [IPv6:2a01:4f8:130:6021::50]) by mx1.freebsd.org (Postfix) with ESMTP id 496C78FC12 for ; Wed, 25 Jan 2012 10:28:57 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.4lin.net (Postfix) with ESMTP id EAC345D54 for ; Wed, 25 Jan 2012 11:30:54 +0100 (CET) X-Virus-Scanned: amavisd-new at mail.4lin.net Received: from mail.4lin.net ([127.0.0.1]) by localhost (mail.4lin.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SdfHkCnrNUb2 for ; Wed, 25 Jan 2012 11:30:51 +0100 (CET) Received: from pcdenny.rbg.informatik.tu-darmstadt.de (pcdenny.rbg.informatik.tu-darmstadt.de [130.83.160.152]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.4lin.net (Postfix) with ESMTPSA id 89C9A3CC6A for ; Wed, 25 Jan 2012 11:30:51 +0100 (CET) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1251.1) From: Denny Schierz In-Reply-To: <20120124202111.GB7731@alchemy.franken.de> Date: Wed, 25 Jan 2012 11:28:51 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <431CCA8C-2E5E-43BC-89EE-7F06CF8E8E8D@4lin.net> References: <5C638638-3D1A-417E-A574-9BCE51E08C59@4lin.net> <20120124202111.GB7731@alchemy.franken.de> To: freebsd-sparc64@freebsd.org X-Mailer: Apple Mail (2.1251.1) Subject: Re: Howto debug Kernel problems ? (jail -r -> freeze) X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jan 2012 10:28:58 -0000 hi, Am 24.01.2012 um 21:21 schrieb Marius Strobl: > On Mon, Jan 23, 2012 at 01:16:22PM +0100, Denny Schierz wrote: >> hi, >>=20 >> If I stop a jail (v2 with vnet), the jail doesn't completely = disappear. "jls" shows the jail as active. If I try to remove the jail = with "jail -r " the whole machine freezes. Other users with same = options (i386) doesn't have this problem. So how can I debug it? >>=20 >=20 > I'd start with a kernel built with BREAK_TO_DEBUGGER, DDB and KDB > enabled. Then when it appears to hang try to break into the debugger > by sending a break on the serial console. If that works try to bug > virtualization@ and probably bz@ directly for information they > want as given that you mention vnet it sounds like you're not > seeing this problem without VIMAGE. hmm, all debug options are active and I send the break signal from = ALOM, but I think, that FreeBSD isn't configured to interpret the = signal. Can I enter the kdb first (sysctl debug.kdb.enter=3D1) and than = execute "jail -r 1" ? cu denny=