Linux MIPS Architecture development
 help / color / mirror / Atom feed
* Question concerning memory initialization (4M->64M)
@ 2000-02-09 20:35 Jeff Harrell
  2000-02-10 16:15 ` Ralf Baechle
  0 siblings, 1 reply; 2+ messages in thread
From: Jeff Harrell @ 2000-02-09 20:35 UTC (permalink / raw)
  To: sgi-mips, linux-mips, linux-mips

[-- Attachment #1: Type: text/plain, Size: 1182 bytes --]


I have run into an interesting problem and would like to run it past
this newsgroup
to see if anyone has any experience in these areas.  I am running kernel
2.3.22 and
have upgraded my memory space from ~4M (0x400000) to ~64M (0x4000000).
I run the 4M
version of the kernel and have no problems but when I run the 64M
version, I run
into problems during the mem_init() portion of the code.  Specifically
during the
free_page(tmp) call during the determination of totalram, codepages and
datapages.
It looks like it is failing during the call to remove_mem_queue() within
free_pages_ok().
I am seeing the next->prev and prev->next  set to 0 causing a page
fault.   Is there
anything that anyone is aware of that I would need to change (beyond
mips_memory_upper)
that would enable me to increase available memory to 64M.  Any insights
would be greatly appreciated.

Thanks
Jeff

Additional information:
------------------

high memory: 0x83fff000  start memory: 0x80433000

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Jeff Harrell                    Work:  (801) 619-6104
Broadband Access group/TI
jharrell@ti.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





[-- Attachment #2: Type: text/html, Size: 1537 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Question concerning memory initialization (4M->64M)
  2000-02-09 20:35 Question concerning memory initialization (4M->64M) Jeff Harrell
@ 2000-02-10 16:15 ` Ralf Baechle
  0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2000-02-10 16:15 UTC (permalink / raw)
  To: Jeff Harrell; +Cc: sgi-mips, linux-mips, linux-mips

On Wed, Feb 09, 2000 at 01:35:58PM -0700, Jeff Harrell wrote:

> I have run into an interesting problem and would like to run it past this
> newsgroup to see if anyone has any experience in these areas.  I am
> running kernel 2.3.22 and have upgraded my memory space from ~4M
> (0x400000) to ~64M (0x4000000).  I run the 4M version of the kernel and
> have no problems but when I run the 64M version, I run into problems
> during the mem_init() portion of the code.  Specifically during the
> free_page(tmp) call during the determination of totalram, codepages and
> datapages.  It looks like it is failing during the call to
> remove_mem_queue() within free_pages_ok().  I am seeing the next->prev and
> prev->next set to 0 causing a page fault.

The free pages are being stored in a circular list, so struct page of a free
page should never have prev or next set to zero.  Smells like memory
corruption.

> Is there anything that anyone is aware of that I would need to change
> (beyond mips_memory_upper) that would enable me to increase available
> memory to 64M.  Any insights would be greatly appreciated.

That alone should be sufficient.

> Additional information:
> ------------------
> 
> high memory: 0x83fff000  start memory: 0x80433000

I assume these are the values of start_mem and mem_end as passed to
mem_init()?  In that case these values look sane.

  Ralf

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-02-10 16:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-02-09 20:35 Question concerning memory initialization (4M->64M) Jeff Harrell
2000-02-10 16:15 ` Ralf Baechle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox