It should have more than this. The board have 32Mb, and at this time, 
this was the only app running, and it has no allocmem stuff. The only thing on 
the memory was a big const.
        Do you think it could be due to some configuration ? What about the  
inactive 26164kB. Is it possible this memory is reserved by the system

        Thanks,

                Marcelo

-----Mensagem original-----
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Em nome de Erwin Authried
Enviada em: segunda-feira, 18 de junho de 2007 10:56
Para: uClinux development list
Assunto: Re: [uClinux-dev] Page Allocation Failure

It's quite obvious that you ran out of memory. The kernel cannot
allocate a 993906 bytes if the largest available block is only 512kB.

Regards,
Erwin

Am Montag, den 18.06.2007, 10:10 -0300 schrieb Marcelo Ortega:
> Hi,
> 
>       I´m new to uClinux, and I´m working on a project based around NXP´s 
> 2468 microcontroller, and we are using the Embedded Artists OEM board as a 
> development board.
>       We´ve compiled some of our software for it, and we´ve got the errors 
> listed below.
>       We´ve noticed that if we compile a small working file, and include a 
> big const matrix, we generate this. If the const is reduced, it works fine.
>       I´ve found similar reports in other forums, related to other boards, 
> and I´ve tried everything but could not solve it.
> 
>       Does anybody have a clue?
> 
>       Thanks,
> 
>               Marcelo
> 
> 
> 
> 
> exemplo_ctf_sta: page allocation failure. order:8, mode:0xd0
> Allocation of length 993906 from process 155 failed
> DMA per-cpu: empty
> Normal per-cpu:
> cpu 0 hot: low 4, high 12, batch 2
> cpu 0 cold: low 0, high 4, batch 2
> HighMem per-cpu: empty
> 
> Free pages:        1248kB (0kB HighMem)
> Active:459 inactive:6541 dirty:0 writeback:0 unstable:0 free:312 slab:366 
> mapped
> :0 pagetables:0
> DMA free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB present:0kB
> Normal free:1248kB min:180kB low:360kB high:540kB active:1836kB 
> inactive:26164kB
>  present:32768kB
> HighMem free:0kB min:128kB low:256kB high:384kB active:0kB inactive:0kB 
> present:
> 0kB
> DMA: empty
> Normal: 0*4kB 2*8kB 3*16kB 3*32kB 5*64kB 0*128kB 1*256kB 1*512kB 0*1024kB 
> 0*2048
> kB 0*4096kB = 1248kB
> HighMem: empty
> Unable to allocate RAM for process text/data, errno 12
> SIGSEGV
> _______________________________________________
> uClinux-dev mailing list
> uClinux-dev@uclinux.org
> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> This message was resent by uclinux-dev@uclinux.org
> To unsubscribe see:
> http://mailman.uclinux.org/mailman/options/uclinux-dev
-- 
Dipl.-Ing. Erwin Authried
Softwareentwicklung und Systemdesign

_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to