Re: Using both memory banks for 256Mb DRAM in AT91SAM9G45

Russell King - ARM Linux <[email protected]>
Newsgroups gmane.linux.ports.arm.general
Message-ID <[email protected]>
On Mon, Sep 14, 2009 at 02:25:35PM +0300, Nicu Pavel wrote:
> 
> > > <0>Bad page state in process 'python'                   
> > > <0>page:c04419e0 flags:0x30303030 mapping:30303030 mapcount:808464433 count:808464432
> > 
> > This looks like something overwrote the page structure.  At a guess, I'd
> > say that the SDRAM controller is not correctly configured, so you're
> > getting memory aliases over the 256MB you've given the kernel.
> > 
> > Try reducing the amount of memory by a factor of two and see whether
> > that prevents the OOPS occuring.  If so, it points to incorrect SDRAM
> > configuration.
> 
> Thanks. I tested with the following boot parameters:
> mem=128M memmap=exactmap memmap=0x08000000@0x70000000
> and
> mem=128M memmap=exactmap memmap=0x08000000@0x20000000
> 
> and OOM killer was invoked correctly on both cases. I guess the problem
> lies with AT91bootstrap.

Don't provide the memmap arguments btw - they do absolutely nothing on
ARM.

If mem=128M results in the OOM killer being activated, what are you
running which is eating up all system RAM?

-------------------------------------------------------------------
List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
FAQ:        http://www.arm.linux.org.uk/mailinglists/faq.php
Etiquette:  http://www.arm.linux.org.uk/mailinglists/etiquette.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.