From owner-freebsd-rc@FreeBSD.ORG Sat Dec 1 11:10:03 2007 Return-Path: Delivered-To: freebsd-rc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7BD7316A417 for ; Sat, 1 Dec 2007 11:10:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 77C2513C455 for ; Sat, 1 Dec 2007 11:10:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id lB1BA33S034372 for ; Sat, 1 Dec 2007 11:10:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id lB1BA31d034368; Sat, 1 Dec 2007 11:10:03 GMT (envelope-from gnats) Date: Sat, 1 Dec 2007 11:10:03 GMT Message-Id: <200712011110.lB1BA31d034368@freefall.freebsd.org> To: freebsd-rc@FreeBSD.org From: Jeremy Chadwick Cc: 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: Jeremy Chadwick 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 11:10:03 -0000 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. 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. I haven't tried changing the rcorder of the /etc/rc.d scripts in question to see if it works. My gut feeling says it probably will, but I'm not sure of the implications. Doug, can you provide some comments/insight here when time permits? -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |