From owner-cvs-all@FreeBSD.ORG Tue Jan 20 22:25:38 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3EBC916A4CF; Tue, 20 Jan 2004 22:25:38 -0800 (PST) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 189E843D2D; Tue, 20 Jan 2004 22:25:35 -0800 (PST) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.10/8.12.10) with ESMTP id i0L6PRCf013348; Wed, 21 Jan 2004 07:25:27 +0100 (CET) (envelope-from phk@phk.freebsd.dk) To: Robert Watson From: "Poul-Henning Kamp" In-Reply-To: Your message of "Tue, 20 Jan 2004 22:19:02 EST." Date: Wed, 21 Jan 2004 07:25:26 +0100 Message-ID: <13347.1074666326@critter.freebsd.dk> cc: wpaul@FreeBSD.org cc: src-committers@FreeBSD.org cc: bde@zeta.org.au cc: cvs-src@FreeBSD.org cc: Don Lewis cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/alpha/alpha support.s src/sys/i386/i386 swtch.s src/sys/kern kern_shutdown.c src/sys/sys systm.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Jan 2004 06:25:38 -0000 In message , Robe rt Watson writes: > >On Tue, 20 Jan 2004, Don Lewis wrote: > >> It would be extremely helpful to preserve the panic message and >> (optionally) the backtrace across the reboot. Crash dumps may not >> always be possible for any number of reasons (swap smaller than RAM, >> /var/crash too small or overflowing with previous crash dumps, crash >> dump takes too long ...). This is especially true in cases where the >> machine crashes and reboots unattended. > >Actually, I was having a very similar conversation with Bill Paul this >afternoon. We were discussing dropping a copy of the kernel message >buffer onto the header of swap space on panic Just remember to stay out of the first 16kb so you don't trash bootblocks/disklabels should they live there. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.