uClinux 2.4.19 with 8MByte limit

Do you have a question? Post it now! No Registration Necessary

Translate This Thread From English to

Threaded View
Hello,

I have uClinux 2.4.19 on a linux/m68knommu/platform/5272 CPU that has
16Mbytes of RAM.
Everything works fine if no more than 8 Mbtyes of RAM is used.

Any attempt to use RAM past the 8 Mbtyes limits hangs the OS.
I can't invest the time to upgrade to a new kernel.  Do anyone know
in which version or patch this problem was fixed?

Any help would be apprecited.

Mike

Re: uClinux 2.4.19 with 8MByte limit
Mike,
Quoted text here. Click to load it
Which memory allocator are you using ?

Quoted text here. Click to load it
Any more detail on "hangs the OS" ?

Quoted text here. Click to load it
assuming it's a problem in that kernel version and not something else...

regards,

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Damion de Soto - Software Engineer  email:     snipped-for-privacy@snapgear.com
We've slightly trimmed the long signature. Click to see the full one.
Re: uClinux 2.4.19 with 8MByte limit
Quoted text here. Click to load it

The config.uClibc file in my vendor direcotry contains the line:
    MALLOC = malloc
I did try malloc-930716 and malloc-simple, it did not solve the problem.

Quoted text here. Click to load it

The decoded kysmoops details are as follows:

Quoted text here. Click to load it
Trace; 0004430e <sys_select+2c2/3a8>
Trace; 00022c4e <old_select+0/36>
Trace; 00022c80 <old_select+32/36>
Trace; 00023d22 <system_call+96/d4>

Code;  000380e6 <fget+1e/32>
00000000 <_PC>:
Code;  000380e6 <fget+1e/32>   <=====
   0:   2030 1c00         movel %a0@(00000000,%d1:l:4),%d0   <=====
Code;  000380ea <fget+22/32>
   4:   4a80              tstl %d0
Code;  000380ec <fget+24/32>
   6:   6708              beqs 10 <_PC+0x10> 000380f6 <fget+2e/32>
Code;  000380ee <fget+26/32>
   8:   2240              moveal %d0,%a1
Code;  000380f0 <fget+28/32>
   a:   41e9 0014         lea %a1@(20),%a0
Code;  000380f4 <fget+2c/32>
   e:   5290              addql #1,%a0@
Code;  000380f6 <fget+2e/32>
  10:   4e5e              unlk %fp
Code;  000380f8 <fget+30/32>
  12:   4e75              rts



Quoted text here. Click to load it

We have eliminated the possibilty that it is caused by our user apps.
We do have a custom loader based on Motorola's debug code.

Kind regards,
Mike

Re: uClinux 2.4.19 with 8MByte limit
Quoted text here. Click to load it

Maybe you need to increase INITRD size into kernel settings ?

Regards,
Marco Cavallini
==============================================
Koan s.a.s. - Software Engineering  (x86 and ARM)
Linux and WinCE solutions for Embedded and Real-Time Software
Via Pascoli, 3  - 24121 Bergamo - ITALIA
Tel./Fax (++39) +35 - 255.235 - www.koansoftware.com
==============================================



Re: uClinux 2.4.19 with 8MByte limit
Quoted text here. Click to load it

We are not using INITRD.  The boot loader we use does successfully
use the entire 16MBytes of RAM before uClinux is running.

Kind regards,

Mike

Site Timeline