[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] SSL cannot allocate memory - how to free memory ?



Yes ! Thats it ! It worked (almost).
Thank you both, Ivan and John !!

Now Openssl is opening, at least.
SSH, however, is killed by binfmt_flat. When I type #ssh , it returns :

# ssh
BINFMT_FLAT: reloc outside program 0x157ee8 (0 - 0x157eb4/0x11c620), killing ssh
!
BINFMT_FLAT: reloc outside program 0x157ee8 (0 - 0x157eb4/0x11c620), killing ssh
!
SIGSEGV
#

In the mail archives, I've found one issue related, but it was about sh and data cache. As I am able to boot and only ssh is having this problem, I think data cache is ok. I've tryied mb-flthdr in romfs/bin/ssh, it is returning this :

-bash-3.00$ mb-flthdr ssh
ssh
    Magic:        bFLT
    Rev:          4
    Build Date:   Mon Apr 10 09:42:31 2006
    Entry:        0x50
    Data Start:   0x11c660
    Data End:     0x151bd0
    BSS End:      0x157ef0
    Stack Size:   0x10000
    Reloc Start:  0x151bd0
    Reloc Count:  0x3f92
    Flags:        0x5 ( Load-to-Ram Gzip-Compressed )
-bash-3.00$

What is that ?

Ivan <salorankatu@xxxxxxxx> escreveu:
Hi Arthur (and John),

yes, you need to enable the "Allow allocating large blocks (> 1MB) of
memory" in the kernel.

Regards,

Ivan

El lun, 10-04-2006 a las 12:01 +1000, John Williams escribió:
> Hi Arthur,
>
> A. Arthur Mohr wrote:
>
> > # openssl
> > Allocation of length 1814732 from process 81 failed
> > Free pages: 250960kB ( 0kB HighMem)
> > Zone:DMA freepages:250960kB
> > Zone:Normal freepages: 0kB
> > Zone:HighMem freepages: 0kB
> > ( Active: 259, inactive: 81, free: 62740 )
> > 0*4kB 0*8kB 1*1B 0*512kB 1*1024kB 122*2048kB = 250960kB)
> > = 0kB)
> > = 0kB)
> > Unable to allocate RAM for process text/data, errno 12
> > #
>
> See my reply to Wei Xu last week about "Ruby on uClinux", they may be
> helpful to you.
>
> Regards,
>
> John
> ___________________________
> microblaze-uclinux mailing list
> microblaze-uclinux@xxxxxxxxxxxxxx
> Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
> Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/
>



______________________________________________
LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.com
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/



Yahoo! Search
Imposto de Renda 2006: o prazo está acabando. Faça já a sua declaração no site da Receita Federal.