From owner-freebsd-arch@FreeBSD.ORG Sat Jun 19 14:39:22 2010 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5CAAB1065677; Sat, 19 Jun 2010 14:39:22 +0000 (UTC) (envelope-from uqs@spoerlein.net) Received: from acme.spoerlein.net (acme.spoerlein.net [IPv6:2001:470:9a47::1]) by mx1.freebsd.org (Postfix) with ESMTP id CB2EA8FC13; Sat, 19 Jun 2010 14:39:21 +0000 (UTC) Received: from acme.spoerlein.net (localhost.spoerlein.net [IPv6:::1]) by acme.spoerlein.net (8.14.4/8.14.4) with ESMTP id o5JEdKSi022320 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 19 Jun 2010 16:39:20 +0200 (CEST) (envelope-from uqs@spoerlein.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=spoerlein.net; s=dkim200908; t=1276958360; bh=FrkMgFfOH+MzDlSoYtqgfk/0QX4VAhZjmhx15AbHSLo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:In-Reply-To; b=oAAD7+QRkSOCr0kkoNslY1kLXijIFTOpq9H9GUDqUlqXwSRlFVJKGjSkE1cjnC6YK RsQGR122ujNFHId5OMxo8KHVNZ+Yuu60r1K08eq2aNtfBpct1MnWBdPYx5KfA8sJ4X 9jFEU9vgWn7sprsSv9rlKx0gSYgzwpsDzh2gFRj0= Received: (from uqs@localhost) by acme.spoerlein.net (8.14.4/8.14.4/Submit) id o5JEdKLx022319; Sat, 19 Jun 2010 16:39:20 +0200 (CEST) (envelope-from uqs@spoerlein.net) Date: Sat, 19 Jun 2010 16:39:20 +0200 From: Ulrich =?utf-8?B?U3DDtnJsZWlu?= To: Andriy Gapon Message-ID: <20100619143920.GM3632@acme.spoerlein.net> Mail-Followup-To: Andriy Gapon , freebsd-arch@freebsd.org References: <4C1C7686.3050206@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4C1C7686.3050206@freebsd.org> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-arch@freebsd.org Subject: Re: KDB_TRACE in GENERIC X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Jun 2010 14:39:22 -0000 On Sat, 19.06.2010 at 10:49:26 +0300, Andriy Gapon wrote: > > I propose to add the following options into GENERIC (perhaps only i386 and amd64): > > options KDB > options KDB_TRACE > options KDB_UNATTENDED > options SC_DISABLE_KDBKEY # <- not sure about his one > > This would increase kernel size only by a fraction, would not result in any POLA > violations (KDB_UNATTENDED, SC_DISABLE_KDBKEY) and would provide a useful service. > > Currently we get many panic reports that are almost impossible to analyze > because there is no stack trace. Especially this is true for panics at > installation time, when people use GENERIC from release media and do not have > ability to try a custom kernel. > > What do you think? I'd rather propose we turn on textdumps, as many people will be in X11 when disaster strikes and there's no easy way to get the crashdump then. But we would also need to bump the ddb capture buffer size significantly, as it cannot hold information for more than a few dozen processes right now. Uli