From owner-freebsd-hackers@FreeBSD.ORG Mon Jan 24 19:22:30 2005 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1FDBA16A4CE for ; Mon, 24 Jan 2005 19:22:30 +0000 (GMT) Received: from ferengi.borderworlds.dk (ferengi.borderworlds.dk [80.166.152.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8748743D45 for ; Mon, 24 Jan 2005 19:22:29 +0000 (GMT) (envelope-from xi@borderworlds.dk) Received: from borg.borderworlds.dk (localhost [127.0.0.1]) by ferengi.borderworlds.dk (Postfix) with ESMTP id D3438B802 for ; Mon, 24 Jan 2005 20:22:27 +0100 (CET) Received: by borg.borderworlds.dk (Postfix, from userid 1001) id A4E4F11425; Mon, 24 Jan 2005 20:22:27 +0100 (CET) Sender: xi@borderworlds.dk To: hackers@freebsd.org From: Christian Laursen Date: 24 Jan 2005 20:22:27 +0100 Message-ID: <86pszu639o.fsf@borg.borderworlds.dk> Lines: 16 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Resuming from a crashdump X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Jan 2005 19:22:30 -0000 I was thinking about software suspend and got this crazy idea. I have no idea if this is possible or total madness but here goes anyway. The idea would be to force the system to "crash" and make a dump on a dedicated partition. On boot after initializing devices but before mounting /, the kernel would check that partition and if it found a dump there restore it to the machine's memory, reinitialize devices and continue where it left off. Any thoughts? Could this be done or would an entirely different approach be better? -- Christian Laursen