Re: [Fastboot] Re: Kexec on 2.5.59 problems ?

Suparna Bhattacharya
2003-02-13T09:35:21Z

On Wed, Feb 12, 2003 at 02:31:57PM -0800, Andy Pfiffer wrote:
> On Tue, 2003-02-11 at 20:29, Eric W. Biederman wrote:
> > Andy Pfiffer <andyp@osdl.org> writes:
> > > On Tue, 2003-02-11 at 09:04, Andy Pfiffer wrote:
> > > > On Mon, 2003-02-10 at 23:21, Suparna Bhattacharya wrote:
> > > > <snip>
> > > > > The following patch from Anton Blanchard's WIP kexec tree
> > > > > for ppc64 seems to fix this for me. It just does a use_mm()
> > > > > (routine from fs/aio.c) instead of switch_mm().
> > > > >
> > > > > Andy could you try this out and see if it helps ?
> > > > >
> <snip>
> > > > > Regards
> > > > > Suparna
> > > >
> > > > Will do. --Andy
> > >
> > > Answer: hard lock-up after decompressing the kernel. I'll see if I can
> > > get anything meaningful out of the system before it wedges.
> >
> > Which kernel is wedging. The kexec'd kernel. Or the kernel with
> > the patch?
> >
> > Eric
>
> Correction: this patch is now working for me. While pruning my .config
> to debug my serial console problem, kexec worked on a 2-way for me
> several times in a row without failure. (I hadn't properly updated my
> script that invokes kexec with my preferred command line arguments).

Great !
Eventually we should probably avoid init_mm altogether (on ppc64
at least, init_mm can't be used as Anton pointed out to me) and
setup a spare mm instead.

Regards
Suparna

--
Suparna Bhattacharya (suparna@in.ibm.com)
Linux Technology Center
IBM Software Labs, India