Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: thomas@lkg.dec.com (Matt Thomas)
Subject: Re: Checking swap space on OSF1
Date: Fri, 12 Mar 1993 03:24:31 GMT	[thread overview]
Message-ID: <1993Mar12.032431.18456@nntpd.lkg.dec.com> (raw)
In-Reply-To: 1niqrj$3mi@netnews.alf.dec.com


In article <1niqrj$3mi@netnews.alf.dec.com>, rogers@jerry.alf.dec.com (Joe Rogers) writes:
|>	As mentioned earlier, the field test ULTRIX and OSF/1 kernels
|>	have mucho debug stuff (-g3 & profiling) build in. It makes
|>	it easier for engineering to debug kernel problems and tune
|>	various kernel subroutines.

The final SSB kits ships that way as well.

|>	When ULTRIX and OSF/1 really ship, the debug & profiling stuff
|>	is removed, saving a significant amount of disk space.

Only for genvmunix.  The BINARY .o's still have the full -g3 debug information
so that crash dump analysis can be done.

|>	Our DEC 7000-610 kernel was a big 6150072 bytes with debugging
|>	and profiling. I just built a _stripped_ OSF/1 kernel without
|>	profiling or debugging and the result is a 2783232 byte vmunix.
|>	The 5000/240 sitting on my desk runs a stripped ULTRIX kernel
|>	that takes only 1660856 bytes.

ULTRIX and OSF/1 does not like stripped kernel.  (ld -x does not produce a
stripped kernel -- it producs a kernel without debug or local symbols but all
the global symbols are still for nlist to find).

|>	'makeoptions LDOPTS="-x"' in your kernel config file will build
|>	a stripped /vmunix by default. The tradeoff here is that any
|>	kernel built with this option is totally useless for debugging
|>	crash dumps. No symbol table no crash dump analysis, so use this
|>	option with _caution_.

As I said before, -x does not produce a stripped kernel (-s would but you
don't want to do that).
--
Matt Thomas                            Internet:   thomas@lkg.dec.com
U*X Networking                         UUCP:       ...!decwrl!thomas
Digital Equipment Corporation          Disclaimer: This message reflects my own
Littleton, MA                                      warped views, etc.


  reply	other threads:[~1993-03-12  3:24 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-02-13  0:22 Checking swap space on OSF1 Charles Foreman
1993-02-13  1:47 ` Matt Thomas
1993-02-13 20:08   ` Andreas Karrer
1993-03-03 17:20   ` ufe
1993-03-04  1:21     ` John Stoffel
1993-03-04  9:27       ` ufe
1993-03-10  1:22         ` Art Stine
1993-03-10  9:56           ` ufe
1993-03-04  9:29       ` ufe
     [not found]         ` <JOHN.93Mar4121601@sekrit.WPI.EDU>
     [not found]           ` <1993Mar4.225511.22064@coe.montana.edu>
1993-03-05  1:45             ` John Stoffel
1993-03-08  2:04               ` Hitoshi Doi
1993-03-09 19:23               ` Joe Rogers
1993-03-12  3:24                 ` Matt Thomas [this message]
1993-03-05 11:07             ` Simon Patience
1993-03-05 16:27               ` John Stoffel
1993-03-04 21:41     ` Magnus Harlander
     [not found] ` <MEISSNER.93Feb17163940@curley.osf.org>
1993-02-19  9:32   ` Balendra Elangco
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox