linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* memory problem
@ 2003-04-03  0:40 최영일
  0 siblings, 0 replies; 4+ messages in thread
From: 최영일 @ 2003-04-03  0:40 UTC (permalink / raw)
  To: linuxppc-dev


I'm trying to boot with ppc-kernel(2.4.21-pre5)
I'm trying to boot to the platform for our team to develop.
I add some driver to the kernel.
Unhappily, the size of my driver is over 3M bytes.
So, My total kernel size is over 5M(5140376 byte).
Then, My system(440 cpu) can not boot
Just kernel(no my driver or with small size my driver) can boot.
I don't know reason.
 does Linux have limit to kernel size?
Please, let me know why to happen?

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

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

* MEMORY PROBLEM
@ 2004-12-14 20:25 ppclinux
  2004-12-14 21:07 ` Jerry Van Baren
  0 siblings, 1 reply; 4+ messages in thread
From: ppclinux @ 2004-12-14 20:25 UTC (permalink / raw)
  To: linuxppc-embedded

Hello,
I have a Freescale-PPC8270 ( Former Motorola ) based board with 256Megs of
RAM.

I am using the Montavista Vista Kernel 2.4.20.

When the system is handling larger files ~100M when NFS mounted and ~20M
when RAMDISKed the kernel crashes since things are being overwritten in
memory.

The crash happens when handling/creating large files by measn of e.g.
* dd
* gunzip
* sftp download
etc. it seems to be a general memory handling problem.

When looking at the memory though there are plenty of free space, or there
should be plenty of free space but for some reason things are
overwritten...

The Kernel reports actually 256M of memory. Top also shows that there is o
r should be more than enough free memory for the operations I am trying to
pull :-))

Can you give me suggestions where to start digging into this problem?

Best Regards // Matias

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

* Re: MEMORY PROBLEM
  2004-12-14 20:25 MEMORY PROBLEM ppclinux
@ 2004-12-14 21:07 ` Jerry Van Baren
  2004-12-15 16:51   ` ppclinux
  0 siblings, 1 reply; 4+ messages in thread
From: Jerry Van Baren @ 2004-12-14 21:07 UTC (permalink / raw)
  To: linuxppc-embedded

ppclinux@sundmangroup.com wrote:
> Hello,
> I have a Freescale-PPC8270 ( Former Motorola ) based board with 256Megs of
> RAM.
> 
> I am using the Montavista Vista Kernel 2.4.20.
> 
> When the system is handling larger files ~100M when NFS mounted and ~20M
> when RAMDISKed the kernel crashes since things are being overwritten in
> memory.
> 
> The crash happens when handling/creating large files by measn of e.g.
> * dd
> * gunzip
> * sftp download
> etc. it seems to be a general memory handling problem.
> 
> When looking at the memory though there are plenty of free space, or there
> should be plenty of free space but for some reason things are
> overwritten...
> 
> The Kernel reports actually 256M of memory. Top also shows that there is o
> r should be more than enough free memory for the operations I am trying to
> pull :-))
> 
> Can you give me suggestions where to start digging into this problem?
> 
> Best Regards // Matias

Your SDRAM initialization is suspect
   http://www.denx.de/twiki/bin/view/DULG/LinuxCrashesRandomly
   http://www.denx.de/twiki/bin/view/DULG/SDRAM
   http://www.denx.de/twiki/bin/view/DULG/UBootCrashAfterRelocation

gvb

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

* Re: MEMORY PROBLEM
  2004-12-14 21:07 ` Jerry Van Baren
@ 2004-12-15 16:51   ` ppclinux
  0 siblings, 0 replies; 4+ messages in thread
From: ppclinux @ 2004-12-15 16:51 UTC (permalink / raw)
  To: Jerry Van Baren; +Cc: linuxppc-embedded

> Your SDRAM initialization is suspect

Thx for that. Those words made me go through the SDRAM
initialization once again and BINGO the PSDMR register had
an address line setting wrong.

The thing is that we have boards with 128M and 256M and the
PSDMR register settings was the same for both. Other involved
registers were modified by the book.

THX!

Cheers // Matias


> ppclinux@sundmangroup.com wrote:
>> Hello,
>> I have a Freescale-PPC8270 ( Former Motorola ) based board with 256Megs
>> of
>> RAM.
>>
>> I am using the Montavista Vista Kernel 2.4.20.
>>
>> When the system is handling larger files ~100M when NFS mounted and ~20M
>> when RAMDISKed the kernel crashes since things are being overwritten in
>> memory.
>>
>> The crash happens when handling/creating large files by measn of e.g.
>> * dd
>> * gunzip
>> * sftp download
>> etc. it seems to be a general memory handling problem.
>>
>> When looking at the memory though there are plenty of free space, or
>> there
>> should be plenty of free space but for some reason things are
>> overwritten...
>>
>> The Kernel reports actually 256M of memory. Top also shows that there is
>> o
>> r should be more than enough free memory for the operations I am trying
>> to
>> pull :-))
>>
>> Can you give me suggestions where to start digging into this problem?
>>
>> Best Regards // Matias
>
> Your SDRAM initialization is suspect
>    http://www.denx.de/twiki/bin/view/DULG/LinuxCrashesRandomly
>    http://www.denx.de/twiki/bin/view/DULG/SDRAM
>    http://www.denx.de/twiki/bin/view/DULG/UBootCrashAfterRelocation
>
> gvb
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
>

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

end of thread, other threads:[~2004-12-15 16:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-03  0:40 memory problem 최영일
  -- strict thread matches above, loose matches on Subject: below --
2004-12-14 20:25 MEMORY PROBLEM ppclinux
2004-12-14 21:07 ` Jerry Van Baren
2004-12-15 16:51   ` ppclinux

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).