Do you have a question? Post it now! No Registration Necessary
Subject
- Posted on
uClinux 2.4.19 with 8MByte limit
- 03-03-2004
March 3, 2004, 7:24 pm

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
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

Which memory allocator are you using ?

Any more detail on "hangs the OS" ?

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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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

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.

The decoded kysmoops details are as follows:

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

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

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
==============================================
Site Timeline
- » Handling power off with no shutdown
- — Next thread in » Embedded Linux
-
- » DiskOnChip ?
- — Previous thread in » Embedded Linux
-
- » Crosscompiling for ARM: reloc type R_ARM_ABS32 is not supported for PIC - ...
- — Newest thread in » Embedded Linux
-
- » FPC Buchse gesucht
- — The site's Newest Thread. Posted in » Electronics (German)
-
- » Communist Chinese Military Companies
- — The site's Last Updated Thread. Posted in » Electronics Design
-