Date: Sun, 25 Feb 2001 10:14:17 -0500 (EST) From: Robert Watson <rwatson@FreeBSD.ORG> To: Randell Jesup <rjesup@wgate.com> Cc: arch@FreeBSD.ORG, Alfred Perlstein <bright@wintelcom.net>, Mike Sinz <msinz@wgate.com>, Bruce Bauman <bbauman@wgate.com> Subject: Re: ELF and diskless boot Message-ID: <Pine.NEB.3.96L.1010225101145.97061A-100000@fledge.watson.org> In-Reply-To: <ybur90pxjwo.fsf_-_@jesup.eng.tvol.net.jesup.eng.tvol.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 23 Feb 2001, Randell Jesup wrote: > FYI, is there a reason that we've set up our kernel interface to top, > etc to fail unless the kernel (in this case 4.x) is loaded with > _debugging_ symbols? I.e. if you strip a kernel, top (and a bunch of > other stuff) doesn't work because they can't find certain kernel > structures. To make this worse, they also fail if you etherboot > (because debug symbols aren't loaded). I won't comment on the symbol stripping issue since I don't know much/anything about that, but I can comment that we're in the process of moving to using sysctl() for top and other kernel-grubbing utilities, when used on a live system. top has already been changed to do this on -CURRENT, and patches to systat/dmesg/vmstat/... are in the wings. While this doesn't address your symbol stripping problem, it does mean that these utilities will continue to work despite a possibly over-stripped kernel. Before anyone asks, as they always do before reading the patches: yes, we're retaining support for using these commands on core dumps, as appropriate. Robert N M Watson FreeBSD Core Team, TrustedBSD Project robert@fledge.watson.org NAI Labs, Safeport Network Services To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1010225101145.97061A-100000>