From owner-freebsd-stable Tue Nov 20 12:42:46 2001 Delivered-To: freebsd-stable@freebsd.org Received: from d13225.upc-d.chello.nl (d13225.upc-d.chello.nl [213.46.13.225]) by hub.freebsd.org (Postfix) with ESMTP id BC15E37B405 for ; Tue, 20 Nov 2001 12:42:42 -0800 (PST) Received: from adv.devet.org (adv.devet.org [192.168.1.2]) by d13225.upc-d.chello.nl (Postfix) with ESMTP id 16447689D; Tue, 20 Nov 2001 21:42:38 +0100 (CET) Received: by adv.devet.org (Postfix, from userid 100) id CE47B3E1B; Tue, 20 Nov 2001 21:42:37 +0100 (CET) Date: Tue, 20 Nov 2001 21:42:37 +0100 From: Arjan de Vet To: Cyrille Lefevre Cc: stable@FreeBSD.ORG Subject: Re: Has the size of stable /modules increased a lot lately? Message-ID: <20011120214237.A1985@adv.devet.org> References: <200111200556.fAK5ue780788@harmony.village.org> <200111201514.aa72952@salmon.maths.tcd.ie> <20011120164205.A12679@adv.devet.org> <006d01c171fe$713030a0$91e5c6d4@cybercable.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <006d01c171fe$713030a0$91e5c6d4@cybercable.fr> User-Agent: Mutt/1.3.22.1i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Cyrille Lefevre wrote: >> However, it would be very useful to have something like a 'make >> installkerneldebug' target which does install the debug versions of both >> kernel and modules (I now install the debug kernel manually). > >I'm not sure that is possible to directly boot on a kernel.debug due to the >memory space needed by the symbol table and that is the reason why only >the stripped kernel *must* be installed. What I meant to say was that 'make installkerneldebug' should install kernel.debug as kernel.debug somewhere such that it is available in a known location outside the build tree so you can find it when you need it (e.g., after a panic). Because of this it might even be useful in the future to have the normal 'installkernel' target do this if a kernel.debug exists: why compile a kernel.debug and then not install it in a known location? Furthermore it ensures that the installed 'kernel' and 'kernel.debug' stay in-sync. Note that I update my machines from one NFS-mounted /usr/{src,obj} tree and 'installkernel' installing (at least) the kernel.debug file somewhere on the target machines would be nice. Of course we would still prefer the stripped kernel for booting. Arjan -- Arjan de Vet, Eindhoven, The Netherlands URL : http://www.iae.nl/users/devet/ Work: http://www.madison-gurkha.com/ (Security, Open Source, Education) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message