Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 May 1996 15:15:24 +0200 (MET DST)
From:      J Wunsch <j@ida.interface-business.de>
To:        phk@critter.tfs.com (Poul-Henning Kamp)
Cc:        joerg_wunsch@interface-business.de, phk@freefall.freebsd.org, freebsd-bugs@freefall.freebsd.org
Subject:   Re: kern/794
Message-ID:  <199605091315.PAA14538@ida.interface-business.de>
In-Reply-To: <4844.831647412@critter.tfs.com> from Poul-Henning Kamp at "May 9, 96 01:10:12 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
As Poul-Henning Kamp wrote:

> > I think the computation of the offset must be done at system init
> > time.  If my memory serves well, savecore(8) picks the contents of a
> > kernel variable at run-time to determine the starting block of the
> > dump in the dump area.
> 
> yes, so why not simply change the default from 0 to 8k and teach savecore
> to look both places ?

Thinking more about it... it's been wrong that it was even starting to
dump at offset 0.  It should compute the required space backwards from
the end of the dump area.  Now i wonder why it started at 0... (the
swap partition was large enough).  I think _that's_ the real bug.

-- 
J"org Wunsch					       Unix support engineer
joerg_wunsch@interface-business.de       http://www.interface-business.de/~j



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199605091315.PAA14538>