From owner-freebsd-rc@FreeBSD.ORG Sat Dec 1 19:31:59 2007 Return-Path: Delivered-To: freebsd-rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D9E5D16A41A; Sat, 1 Dec 2007 19:31:59 +0000 (UTC) (envelope-from mtm@FreeBSD.Org) Received: from mercury.mike.lan (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 60A0713C4D1; Sat, 1 Dec 2007 19:31:58 +0000 (UTC) (envelope-from mtm@FreeBSD.Org) Received: by mercury.mike.lan (Postfix, from userid 1000) id A8F8526D038; Sat, 1 Dec 2007 22:36:08 +0300 (EAT) From: Mike Makonnen To: Jeremy Chadwick In-Reply-To: <200712011110.lB1BA31d034368@freefall.freebsd.org> References: <200712011110.lB1BA31d034368@freefall.freebsd.org> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Sat, 01 Dec 2007 22:36:08 +0300 Message-Id: <1196537768.81142.9.camel@mercury> Mime-Version: 1.0 X-Mailer: Evolution 2.12.1 FreeBSD GNOME Team Port Cc: freebsd-rc@FreeBSD.org Subject: Re: conf/118255: savecore never finding kernel core dumps (rcorder problem) X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: mtm@FreeBSD.Org List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Dec 2007 19:31:59 -0000 On Sat, 2007-12-01 at 11:10 +0000, Jeremy Chadwick wrote: > The following reply was made to PR conf/118255; it has been noted by GNATS. > > From: Jeremy Chadwick > To: bug-followup@FreeBSD.org > Cc: > Subject: Re: conf/118255: savecore never finding kernel core dumps (rcorder > problem) > Date: Sat, 1 Dec 2007 02:55:36 -0800 > > This is great information; thanks for providing it! I found it quite > educational/informational. The documentation Antony provided seems to > indicate two things: > > 1) That savecore(8) should really be run before swapon(8) -- I don't see > any indication that swap needs to be made available prior to mounting > filesystems, which is what Doug B. was stating was a necessity. The dependency if I recall correctly is: savecore needs file systems mounted, which need to be fsck(8)ed, which may need swap depending on the size of the file systems. The real problem is fsck(8). It can be a real memory hog in some situations (in which case it will need swap to function properly). If at all possible I would recommend increasing the size of the swap partition as a work-around. > 2) That even regardless of Item #1, savecore(8) should be working > (assuming that kernel dumps are still written from the end of the swap > device to the front (e.g. backwards)), and that swapon(8) shouldn't be > stomping on kernel dumps. Yes, if the size of the swap partition is big enough that the two don't collide. Apparently, in this case the swap space probably isn't large enough. Cheers. -- Mike Makonnen | GPG-KEY: http://people.freebsd.org/~mtm/mtm.asc mmakonnen @ gmail.com | AC7B 5672 2D11 F4D0 EBF8 5279 5359 2B82 7CD4 1F55 mtm @ FreeBSD.Org | FreeBSD - http://www.freebsd.org