From owner-cvs-all@FreeBSD.ORG Sun Sep 11 10:58:41 2005 Return-Path: X-Original-To: cvs-all@freebsd.org Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9759416A47C; Sun, 11 Sep 2005 10:58:41 +0000 (GMT) (envelope-from peterjeremy@optushome.com.au) Received: from mail15.syd.optusnet.com.au (mail15.syd.optusnet.com.au [211.29.132.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 03D7E43D58; Sun, 11 Sep 2005 10:58:24 +0000 (GMT) (envelope-from peterjeremy@optushome.com.au) Received: from server.vk2pj.dyndns.org (c220-239-19-236.belrs4.nsw.optusnet.com.au [220.239.19.236]) by mail15.syd.optusnet.com.au (8.12.11/8.12.11) with ESMTP id j8BAwMNv006350 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Sun, 11 Sep 2005 20:58:22 +1000 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.13.4/8.13.4) with ESMTP id j8BAwMxR092986; Sun, 11 Sep 2005 20:58:22 +1000 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.13.4/8.13.1/Submit) id j8BAwM4Z092985; Sun, 11 Sep 2005 20:58:22 +1000 (EST) (envelope-from peter) Date: Sun, 11 Sep 2005 20:58:22 +1000 From: Peter Jeremy To: Nate Lawson Message-ID: <20050911105821.GA91588@server.vk2pj.dyndns.org> References: <20050911002229.51F4916A471@hub.freebsd.org> <432382BC.5080105@root.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <432382BC.5080105@root.org> User-Agent: Mutt/1.4.2.1i Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org, "David E. O'Brien" Subject: Re: cvs commit: src/sys/conf kern.post.mk X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Sep 2005 10:58:41 -0000 On Sat, Sep 10, 2005 at 06:05:00PM -0700, Nate Lawson wrote: >David E. O'Brien wrote: >> For HEAD, install a kernel with debug information if DEBUG is a kernel >> config option. It is too easy to loose the build directory and not have >> symbols for kgdb to read. > >I disagree with this change. We do not need to waste the space in /. >If I'm running a debug kernel, it is based on the latest version of >kernel.debug in my kernel compile dir and I know to find it there. I'd agree with Nate here. I agree that the debug kernel is worth keeping but it's not needed in /. If you want to install it, how about installing it in /var/crash. A number of people have mentioned losing the debug kernel when they do a rebuild. The normal reasons for doing a rebuild are either that you have updated your source or you've changed your config. In the former case, the old debug kernel loses some of its validity because it no longer matches the source code it was built from. In the latter case, I would suggest that the only reason to change the kernel config is if you are planning on installing a new kernel, so again you don't need the old debug kernel. This just leaves the relatively small window whilst you are building and installing the new kernel - though David has found that this window can unfortunately be hit. In this change intended for -current only or will it remain in 7-RELEASE? -- Peter Jeremy