linux-mips
[Top] [All Lists]

Re: early crash on indigo2 fix breaks indy ...

To: Florian Lohoff <flo@rfc822.org>
Subject: Re: early crash on indigo2 fix breaks indy ...
From: Ralf Baechle <ralf@oss.sgi.com>
Date: Fri, 28 Apr 2000 01:52:28 -0700
Cc: Ulf Carlsson <ulfc@calypso.engr.sgi.com>, linux@cthulhu.engr.sgi.com
In-reply-to: <20000428091646.A1458@paradigm.rfc822.org>; from flo@rfc822.org on Fri, Apr 28, 2000 at 09:16:46AM +0200
References: <20000424132221.D2583@paradigm.rfc822.org> <Pine.LNX.4.21.0004241152170.23887-100000@calypso.engr.sgi.com> <20000424210940.C1623@paradigm.rfc822.org> <20000426131047.F757@uni-koblenz.de> <20000428091646.A1458@paradigm.rfc822.org>
Sender: owner-linuxmips@oss.sgi.com
On Fri, Apr 28, 2000 at 09:16:46AM +0200, Florian Lohoff wrote:

> > I don't see why the kernel memory could ever be treated as free.  Initially
> > the entire memory is considered to be allocated.  Then all areas that are
> > free as per ARC(S) firmware get freed.  The kernel itself should of course
> > not be part of those areas.  Then even later once again as part of
> > free_initmem() the rest of the ARC(S) memory gets freed, that's all the
> > firmware temporary areas.  Again the kernel memory should not reside in
> > any of those areas.  So I can't make any sense out of your changes?
> >
> 
> The problem i seen on MY indigo2 is that i get a memory chunk from
> the ARC which is freed up although the kernel resides in that memory
> chunk. The first allocation of memory (still in the bootmem) 
> then gets kernel pages - does a "memset" and dead we are.

In that case I suggest you enable the define DEBUG near the top of
arch/mips/arc/memory.c and take a closer look at the printout.

  Ralf

<Prev in Thread] Current Thread [Next in Thread>