From owner-freebsd-questions@FreeBSD.ORG Fri Apr 7 23:01:53 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2AAC916A400 for ; Fri, 7 Apr 2006 23:01:53 +0000 (UTC) (envelope-from pm940@yahoo.com) Received: from web54004.mail.yahoo.com (web54004.mail.yahoo.com [206.190.36.228]) by mx1.FreeBSD.org (Postfix) with SMTP id AB91643D45 for ; Fri, 7 Apr 2006 23:01:52 +0000 (GMT) (envelope-from pm940@yahoo.com) Received: (qmail 57318 invoked by uid 60001); 7 Apr 2006 23:01:52 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=maMV88RuhXnAXDtKv47yTpeffsUrDHU/zQ2O9K+6cdvvrzhU58XHLNh4G2rf1EJmldJm9wF3ScIXBRkqx6+O+6RvbUaL3F4dSUg3j65s+PnL1BsPmWFqksK4q1Tzyhv4/ZqhJmcWWkh/Nm3AUlgv32BczXinzoDO6lWIPUSEOfo= ; Message-ID: <20060407230152.57316.qmail@web54004.mail.yahoo.com> Received: from [71.140.186.33] by web54004.mail.yahoo.com via HTTP; Fri, 07 Apr 2006 16:01:52 PDT Date: Fri, 7 Apr 2006 16:01:52 -0700 (PDT) From: Paul Marciano To: Peter Wemm , freebsd-questions@freebsd.org In-Reply-To: <200604071520.03764.peter@wemm.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: Paul Marciano Subject: Re: Does FreeBSD support sparse kernel crash dumps? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Apr 2006 23:01:53 -0000 --- Peter Wemm wrote: > On Friday 07 April 2006 12:47 pm, Paul Marciano > wrote: > > Hello. I read a while back about someone working > on > > supporting sparse kernel crash dumps (dumping only > the > > active kernel pages to the dump device as opposed > to > > all physical memory - for machines where the phys > mem > > is greater than the dump dev space.) > > > > Does anyone know the status of that project? Was > it > > committed, or are there plans to commit it? > > I have a working prototype as of last night. There > should be something > committable in the next week or two. > > When I boot my 2GB machine and force a crash dump > from single user mode, the > fully debuggable vmcore file is in the 40-50MB > range. A busy machine with > 12GB ram took about 150MB to dump. > > There are still some things to work out. It was > written for the amd64 kernel, > but can be ported to i386. > > -Peter > That's very timely news Peter. Do you think your code is easily back-portable to 5.4? Are the changes limited to dump_machdep.c or otherwise not dependent on a great deal of -current updates? Do you compress the data stream at all (e.g. gzip)? I have a specific need on a CompactFlash based system. I have a 256MB IDE mode card on a machine with 512MB physical memory. I can probably commit 128MB of the card as a dumpdev but I can't go beyond that. Good luck with it. Regards, Paul. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com