[parisc-linux] 2-way j5000 hangs early
Grant Grundler
grundler@cup.hp.com
Thu, 20 Apr 2000 15:36:56 -0700
Grant Grundler wrote:
> I also noticed that we don't print a message when crippling
> the box to 128MB of physical memory. I'm going to add
> that back to make sure it's happening *before* this
> init stuff happens.
I didn't have to.
> Available memory: 2147483648 bytes
> Good memory required: 9527296 bytes
combined with include/asm-parisc/pdc.h:
int imm_max_mem; /* bytes of mem in IMM */
and it's usage in kernel/setup.c:
mem_max = (PAGE0->imm_max_mem > MAX_MEM ? MAX_MEM : PAGE0->imm_max_mem);
Negative numbers are smaller than the small positive numbers.
We end up not crippling to 128MB and the mm code doesn't like that.
This cost me two days to figure out since I don't know what I'm
doing here.
grant
ps. Note that Paul Bame also just fixed another nasty (==hard to find)
bug in arch/parisc/lib/milli.S...
Grant Grundler
Unix Development Lab
+1.408.447.7253