Re: kexec: reuse 1st kernel as kexec/kdump kernel?

2014-01-08 Thread Vivek Goyal
On Wed, Jan 08, 2014 at 09:24:22AM +0800, Dave Young wrote: > On 01/07/14 at 09:37am, Vivek Goyal wrote: > > On Tue, Jan 07, 2014 at 10:34:06AM +0800, Dave Young wrote: > > > Hi, all > > > > > > I have a question in mind: can we copy and prepare kexec kernel while > > > normal booting? > > > > >

Re: kexec: reuse 1st kernel as kexec/kdump kernel?

2014-01-08 Thread Vivek Goyal
On Wed, Jan 08, 2014 at 09:24:22AM +0800, Dave Young wrote: On 01/07/14 at 09:37am, Vivek Goyal wrote: On Tue, Jan 07, 2014 at 10:34:06AM +0800, Dave Young wrote: Hi, all I have a question in mind: can we copy and prepare kexec kernel while normal booting? Just like below

Re: kexec: reuse 1st kernel as kexec/kdump kernel?

2014-01-07 Thread Dave Young
On 01/07/14 at 09:37am, Vivek Goyal wrote: > On Tue, Jan 07, 2014 at 10:34:06AM +0800, Dave Young wrote: > > Hi, all > > > > I have a question in mind: can we copy and prepare kexec kernel while > > normal booting? > > > > Just like below wild idea: > > > > Kernel uncompress itself (assume

Re: kexec: reuse 1st kernel as kexec/kdump kernel?

2014-01-07 Thread Vivek Goyal
On Tue, Jan 07, 2014 at 10:34:06AM +0800, Dave Young wrote: > Hi, all > > I have a question in mind: can we copy and prepare kexec kernel while > normal booting? > > Just like below wild idea: > > Kernel uncompress itself (assume kernel is relocatable) > -> copy the kernel image somewhere for

Re: kexec: reuse 1st kernel as kexec/kdump kernel?

2014-01-07 Thread Vivek Goyal
On Tue, Jan 07, 2014 at 10:34:06AM +0800, Dave Young wrote: Hi, all I have a question in mind: can we copy and prepare kexec kernel while normal booting? Just like below wild idea: Kernel uncompress itself (assume kernel is relocatable) - copy the kernel image somewhere for backup -

Re: kexec: reuse 1st kernel as kexec/kdump kernel?

2014-01-07 Thread Dave Young
On 01/07/14 at 09:37am, Vivek Goyal wrote: On Tue, Jan 07, 2014 at 10:34:06AM +0800, Dave Young wrote: Hi, all I have a question in mind: can we copy and prepare kexec kernel while normal booting? Just like below wild idea: Kernel uncompress itself (assume kernel is

kexec: reuse 1st kernel as kexec/kdump kernel?

2014-01-06 Thread Dave Young
Hi, all I have a question in mind: can we copy and prepare kexec kernel while normal booting? Just like below wild idea: Kernel uncompress itself (assume kernel is relocatable) -> copy the kernel image somewhere for backup -> reserver crashkernel memory -> copy the backuped kernel

kexec: reuse 1st kernel as kexec/kdump kernel?

2014-01-06 Thread Dave Young
Hi, all I have a question in mind: can we copy and prepare kexec kernel while normal booting? Just like below wild idea: Kernel uncompress itself (assume kernel is relocatable) - copy the kernel image somewhere for backup - reserver crashkernel memory - copy the backuped kernel