linux-mips
[Top] [All Lists]

Re: cause of early indigo2 crash

To: Florian Lohoff <flo@rfc822.org>
Subject: Re: cause of early indigo2 crash
From: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Date: Thu, 6 Apr 2000 10:51:17 +0200 (MET DST)
Cc: linux@cthulhu.engr.sgi.com
In-reply-to: <20000405223413.B996@paradigm.rfc822.org>
Sender: owner-linuxmips@oss.sgi.com
On Wed, 5 Apr 2000, Florian Lohoff wrote:
> i discovered that the prom of the indigo2 reports 2 MEMTYPE_FREE
> segments - One at 08002000 and the other at 88000000 - The second one
> at least 16 times larger - If i exclude the first segment from beeing
> freed and thus used the kernel boots much further - This is what
> i did in the arch/mips/arc/memory.c
> 
>         for (i = 0; pblocks[i].size; i++)
>                 if (pblocks[i].type == MEMTYPE_FREE &&
>                                 pblocks[i].base != 0x8002000)
>                         free_bootmem(pblocks[i].base, pblocks[i].size);
> 
> Now i get a very different crash - After SCSI Detection i get
> 
> scsi::resize_dma_pool: WARNING, dma_sectors=0, wanted=96, scaling
> scsi::resize_dma_pool: WARNING, dma_sectors=0, wanted=80, scaling
> scsi::resize_dma_pool: WARNING, dma_sectors=0, wanted=64, scaling
> scsi::resize_dma_pool: WARNING, dma_sectors=0, wanted=48, scaling
>        WARNING, not enough memory, pool not expanded
> Unable to handle kernel paging request at virtual address 00000000, epc == 
> 880cc668, ra == 880cc5d8
> [...]
  ^^^^^
What's here? Usually it tells the function where it crashes.

> Thats it - Might the first area be DMA bounce buffer only which have to
> be initialized in the memory controller ?

I see these panics sometimes as well. Where does the crash happen? Please
lookup in System.map.

Gr{oetje,eeting}s,

                                                Geert

--
Geert Uytterhoeven ------------- Sony Software Development Center Europe (SDCE)
Geert.Uytterhoeven@sonycom.com ------------------- Sint-Stevens-Woluwestraat 55
Voice +32-2-7248638 Fax +32-2-7262686 ---------------- B-1130 Brussels, Belgium


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