public inbox for kexec@lists.infradead.org
 help / color / mirror / Atom feed
* kexec -p and initrd
@ 2013-07-10 18:49 Chris Friesen
  2013-07-10 18:58 ` Vivek Goyal
  0 siblings, 1 reply; 2+ messages in thread
From: Chris Friesen @ 2013-07-10 18:49 UTC (permalink / raw)
  To: Vivek Goyal, Haren Myneni, kexec

Hi,

I'm trying to figure something out but the man pages seem a bit 
ambiguous.  If I specify the "--initrd" option when loading a kernel for 
use on panic, does the initrd get copied into kernel memory at that 
point or does it get loaded from the specified path after the panic when 
the new kernel is booting?

I'll take a look at the code, but I thought it'd be quicker if someone 
already knew the answer.

Thanks,
Chris


_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: kexec -p and initrd
  2013-07-10 18:49 kexec -p and initrd Chris Friesen
@ 2013-07-10 18:58 ` Vivek Goyal
  0 siblings, 0 replies; 2+ messages in thread
From: Vivek Goyal @ 2013-07-10 18:58 UTC (permalink / raw)
  To: Chris Friesen; +Cc: Haren Myneni, kexec

On Wed, Jul 10, 2013 at 12:49:48PM -0600, Chris Friesen wrote:
> Hi,
> 
> I'm trying to figure something out but the man pages seem a bit
> ambiguous.  If I specify the "--initrd" option when loading a kernel
> for use on panic, does the initrd get copied into kernel memory at
> that point or does it get loaded from the specified path after the
> panic when the new kernel is booting?

Yes, it gets loaded in kernel memory once kexec -p returns successfuly.

For more internals, have a look at.

http://lse.sourceforge.net/kdump/documentation/ols2oo5-kdump-paper.pdf

Vivek

_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-07-10 18:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-10 18:49 kexec -p and initrd Chris Friesen
2013-07-10 18:58 ` Vivek Goyal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox