Date: Tue, 20 Nov 2001 21:42:37 +0100 From: Arjan de Vet <devet@devet.org> To: Cyrille Lefevre <clefevre-lists@noos.fr> Cc: stable@FreeBSD.ORG Subject: Re: Has the size of stable /modules increased a lot lately? Message-ID: <20011120214237.A1985@adv.devet.org> In-Reply-To: <006d01c171fe$713030a0$91e5c6d4@cybercable.fr> References: <200111200556.fAK5ue780788@harmony.village.org> <200111201514.aa72952@salmon.maths.tcd.ie> <20011120164205.A12679@adv.devet.org> <006d01c171fe$713030a0$91e5c6d4@cybercable.fr>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <devet@devet.org>
URL : http://www.iae.nl/users/devet/ <Arjan.deVet@adv.iae.nl>
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011120214237.A1985>
