lkml.org 
[lkml]   [2004]   [Sep]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Fastboot] Re: [PATCH][2/6]Memory preserving reboot using kexec
Hi Eric,

On Sun, Sep 19, 2004 at 02:37:18PM -0600, Eric W. Biederman wrote:
> Hariprasad Nellitheertha <hari@in.ibm.com> writes:
>
> > This patch contains the code that does the memory preserving reboot. It
> > copies over the first 640k into a backup region before handing over to
> > kexec. The second kernel will boot using only the backup region.
>
> Do you know what the kernel does with the low 1M?
>
> Nothing in the hardware architecture requires us to use the
> low 1M. So I think we would be safer if we could track down
> and remove this dependency.
>
> In general I agree that we need to be prepared to save some of the
> original machine state, because some architectures give special
> meaning to addresses in memory. But x86 is not one of those.
>
> Perhaps the proper abstraction is to add a use_mem= variable
> that simply tells us which memory addresses we can use.
>
> By still doing some copying we run into the problem, of
> potentially running out of memory areas where ongoing DMA
> transfers may be happening. So this is worth
> tracking down.

I am trying to track this down. I tried moving the first segment of vmlinux
into the reserved section by modifying kexec-tools. This is the command line
argument segment. It still seems to need the first few kilobytes, though.

Eliminating this is definitely needed so we can avoid using the first
kernel's region completely.

Also, I will make the changes in the rest of the patch as per your review
comments.

Regards, Hari
--
Hariprasad Nellitheertha
Linux Technology Center
India Software Labs
IBM India, Bangalore
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:06    [W:0.096 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site