From owner-freebsd-bugs Thu May 9 06:13:03 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id GAA02335 for bugs-outgoing; Thu, 9 May 1996 06:13:03 -0700 (PDT) Received: from innocence.interface-business.de (innocence.interface-business.de [193.101.57.101]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id GAA02320 Thu, 9 May 1996 06:12:51 -0700 (PDT) Received: from ida.interface-business.de (ida.interface-business.de [193.101.57.203]) by innocence.interface-business.de (8.6.11/8.6.9) with SMTP id PAA11624; Thu, 9 May 1996 15:15:59 +0200 Received: (from j@localhost) by ida.interface-business.de (8.7.3/8.7.3) id PAA14538; Thu, 9 May 1996 15:15:24 +0200 (MET DST) From: J Wunsch Message-Id: <199605091315.PAA14538@ida.interface-business.de> Subject: Re: kern/794 To: phk@critter.tfs.com (Poul-Henning Kamp) Date: Thu, 9 May 1996 15:15:24 +0200 (MET DST) Cc: joerg_wunsch@interface-business.de, phk@freefall.freebsd.org, freebsd-bugs@freefall.freebsd.org Reply-To: joerg_wunsch@interface-business.de (Joerg Wunsch) In-Reply-To: <4844.831647412@critter.tfs.com> from Poul-Henning Kamp at "May 9, 96 01:10:12 pm" X-Phone: +49-351-31809-14 X-Fax: +49-351-3361187 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E X-Mailer: ELM [version 2.4ME+ PL15 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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