From owner-freebsd-arch@FreeBSD.ORG Sat Jun 19 07:49:29 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 ABCDF106564A for ; Sat, 19 Jun 2010 07:49:29 +0000 (UTC) (envelope-from avg@freebsd.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id F2F938FC12 for ; Sat, 19 Jun 2010 07:49:28 +0000 (UTC) Received: from porto.topspin.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id KAA04590 for ; Sat, 19 Jun 2010 10:49:27 +0300 (EEST) (envelope-from avg@freebsd.org) Received: from localhost.topspin.kiev.ua ([127.0.0.1]) by porto.topspin.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1OPsnv-000EOT-9w for freebsd-arch@freebsd.org; Sat, 19 Jun 2010 10:49:27 +0300 Message-ID: <4C1C7686.3050206@freebsd.org> Date: Sat, 19 Jun 2010 10:49:26 +0300 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.24 (X11/20100603) MIME-Version: 1.0 To: freebsd-arch@freebsd.org X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: 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 07:49:29 -0000 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? -- Andriy Gapon