From owner-freebsd-arch@FreeBSD.ORG Sat Jun 19 21:41:27 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 632D01065672; Sat, 19 Jun 2010 21:41:27 +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 CFB5F8FC13; Sat, 19 Jun 2010 21:41:26 +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 o5JLfPsc032823 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 19 Jun 2010 23:41:25 +0200 (CEST) (envelope-from uqs@spoerlein.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=spoerlein.net; s=dkim200908; t=1276983686; bh=cHRcUXkXnDBY512lcPH97sowZXFIvBU5Pw8/ZVn4vSI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Transfer-Encoding:In-Reply-To; b=nyClKcFWICwLvKP31RXNGWL70PNGjsy+N7iqwpm7Hpt7fsR1cH7wOLwIg+tc46R0D n3Cb6dSQSOL8HI4ZrZ2SWIlPIIWp1uomoFBlpJ8pI87SBNCLV8uYdSzp78ovZklsQU M0ZXHYaonJC1YUe3khFgGjK0eMLd1DnCm0pOjioo= Received: (from uqs@localhost) by acme.spoerlein.net (8.14.4/8.14.4/Submit) id o5JLfP5G032822; Sat, 19 Jun 2010 23:41:25 +0200 (CEST) (envelope-from uqs@spoerlein.net) Date: Sat, 19 Jun 2010 23:41:25 +0200 From: Ulrich =?utf-8?B?U3DDtnJsZWlu?= To: Andriy Gapon Message-ID: <20100619214125.GO3632@acme.spoerlein.net> Mail-Followup-To: Andriy Gapon , freebsd-arch@freebsd.org References: <4C1C7686.3050206@freebsd.org> <20100619143920.GM3632@acme.spoerlein.net> <4C1CF14C.8080108@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4C1CF14C.8080108@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 21:41:27 -0000 On Sat, 19.06.2010 at 19:33:16 +0300, Andriy Gapon wrote: > on 19/06/2010 17:39 Ulrich Spörlein said the following: > > 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. > > Would you really "rather" propose it? Or propose it in addition to what I > proposed? Or as a next step even? :-) > BTW, as I said, I am very much concerned about panics that people get when > running (trying to run) FreeBSD installation image, X is not a factor at that stage. Sorry, skipped that part. For installation it would be way better than what we have now. Enabling textdumps should be the next step, once we deem them stable enough to unleash them on unexpecting users. Uli