From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757018AbXGIPJX (ORCPT ); Mon, 9 Jul 2007 11:09:23 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753913AbXGIPJQ (ORCPT ); Mon, 9 Jul 2007 11:09:16 -0400 Received: from smtp-out001.kontent.com ([81.88.40.215]:53131 "EHLO smtp-out.kontent.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753771AbXGIPJP convert rfc822-to-8bit (ORCPT ); Mon, 9 Jul 2007 11:09:15 -0400 From: Oliver Neukum To: Jeremy Maitin-Shepard Subject: Re: Hibernation Redesign Date: Mon, 9 Jul 2007 17:09:09 +0200 User-Agent: KMail/1.9.7 Cc: Pavel Machek , Nick Piggin , Al Boldi , linux-kernel@vger.kernel.org, Andrew Morton References: <200707081737.21932.a1426z@gawab.com> <200707091602.27312.oliver@neukum.org> <87bqelwt4p.fsf@jbms.ath.cx> In-Reply-To: <87bqelwt4p.fsf@jbms.ath.cx> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8BIT Content-Disposition: inline Message-Id: <200707091709.09912.oliver@neukum.org> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Am Montag, 9. Juli 2007 schrieb Jeremy Maitin-Shepard: > Oliver Neukum writes: > > [snip] > > > Hm, once the new kernel is booted, this decision is irrevocable, isn't it? > > Is there any way to deal with errors by handing control back? > > Returning to the old kernel can be done by telling drivers to set the > hardware to the appropriate state, then copying the backed up memory > back to the beginning of physical memory, and finally jumping to the old > kernel.  It would be much like what is done to resume from hibernation. If you can do that, why load a new kernel image? Regards Oliver