From owner-freebsd-stable@FreeBSD.ORG Thu Jan 31 13:02:23 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F2B7D16A4F0 for ; Thu, 31 Jan 2008 13:02:22 +0000 (UTC) (envelope-from pho@holm.cc) Received: from relay00.pair.com (relay00.pair.com [209.68.5.9]) by mx1.freebsd.org (Postfix) with SMTP id 86C0A13C442 for ; Thu, 31 Jan 2008 13:02:22 +0000 (UTC) (envelope-from pho@holm.cc) Received: (qmail 23717 invoked from network); 31 Jan 2008 12:35:41 -0000 Received: from unknown (HELO peter.osted.lan) (unknown) by unknown with SMTP; 31 Jan 2008 12:35:41 -0000 X-pair-Authenticated: 83.95.197.164 Received: from peter.osted.lan (localhost.osted.lan [127.0.0.1]) by peter.osted.lan (8.13.6/8.13.6) with ESMTP id m0VCZeSK062696; Thu, 31 Jan 2008 13:35:40 +0100 (CET) (envelope-from pho@peter.osted.lan) Received: (from pho@localhost) by peter.osted.lan (8.13.6/8.13.6/Submit) id m0VCZe8m062695; Thu, 31 Jan 2008 13:35:40 +0100 (CET) (envelope-from pho) Date: Thu, 31 Jan 2008 13:35:39 +0100 From: Peter Holm To: Ruslan Ermilov Message-ID: <20080131123539.GA61974@peter.osted.lan> References: <20060921113711.B70668@atlantis.atlantis.dp.ua> <1158833673.4894.5.camel@buffy.york.ac.uk> <20060921131547.GB29308@rambler-co.ru> <20060921151636.GA13806@peter.osted.lan> <20080130170640.GA10170@team.vega.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080130170640.GA10170@team.vega.ru> User-Agent: Mutt/1.4.2.1i Cc: freebsd-stable@freebsd.org Subject: Re: Minidumps in -STABLE and "smaller than physical memory" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Jan 2008 13:02:23 -0000 On Wed, Jan 30, 2008 at 08:06:40PM +0300, Ruslan Ermilov wrote: > On Thu, Sep 21, 2006 at 05:16:36PM +0200, Peter Holm wrote: > > On Thu, Sep 21, 2006 at 05:15:47PM +0400, Ruslan Ermilov wrote: > > > On Thu, Sep 21, 2006 at 11:14:33AM +0100, Gavin Atkinson wrote: > > > > On Thu, 2006-09-21 at 11:44 +0300, Dmitry Pryanishnikov wrote: > > > > > Hello! > > > > > > > > > > I've noticed (with the 2-day old RELENG_6) that I still can't configure my > > > > > 256Mb swap partition as a dump device for i386 machine with 1Gb RAM despite > > > > > having minidumps enabled: > > > > > > > > > > root@test2# sysctl debug.minidump > > > > > debug.minidump: 1 > > > > > root@test2# dumpon -v /dev/ad0s3b > > > > > /dev/ad0s3b is smaller than physical memory > > > > > > > > > > Am I correctly understand that minidumps should lift the restriction > > > > > > > > > > sizeof(dumpdev) >= sizeof(RAM) > > > > > > > > Yes. > > > > > > > > http://www.freebsd.org/cgi/cvsweb.cgi/src/sbin/dumpon/dumpon.c.diff?r1=1.22&r2=1.23 > > > > needs to be MFC'd. > > > > > > > I sent an MFC request to re@. > > > > > > > >From time to time I've had problems with minidumps on HEAD. Calling > > doadump() seems to work ok, but after a reset there's no dump. I > > haven't had time to test this systematically. Has anybody else seen > > this problem? > > > I think this was the same problem as was diagnosed (minidumps + amd64 + > SMP). Though it's not fixed yet, it's understood and its damage is > avoided. > > > Cheers, > -- > Ruslan Ermilov > ru@FreeBSD.org > FreeBSD committer No, this was and is i386. After changing "doadump;reset" to doadump;continue" it would seem that the dumps has a higher chance of making it to the disk. -- Peter