ts-7000
[Top] [All Lists]

[ts-7000] Re: memory allocation error

To:
Subject: [ts-7000] Re: memory allocation error
From: "j.chitte" <>
Date: Tue, 06 May 2008 22:03:43 -0000
--- In  
"shroompicker2000" <> wrote:
>
> --- In  "j.chitte" <j.chitte@> wrote:
> >
> > --- In  "Gonzalo A. de la 
> > Vega" <gadelavega@> wrote:
> > >
> > > On Mon, May 5, 2008 at 9:03 PM, shroompicker2000
> > > <shroompicker2000@> wrote:
> > > >
> > > >  On a ts-7260 32MB, When trying to run 'apt-get install 
> > locales', I am
> > > >  getting "__alloc_pages: 0-order allocation failed" in the 
> > middle of
> > > >  the install. I am only installing one language (for now), 
> > en_US.UTF-8.
> > > 
> > > You may be getting out of RAM. You could allocate some swap 
space 
> > on a
> > > flash driver and be patient, or get a TS7260 with more RAM and 
then
> > > copy the filesystem from that to the production ones... or just
> > > install manually.
> > >
> > 
> > Yeah , I doubt you'll get apt-get to run directly on the board. I 
> > have used it booting to debian via nfs but on a 64/128M version.
> > 
> > you probably need to use the low level tools like dpkg and just 
> > resolve the dependacies manaully.
> 
> Actually I've used apt-get a lot, but I guess until now I haven't
> installed anything large enough to blow all 32M of RAM.
> 
> The swapfile solution worked like a charm, locales with all 10
> localizations I wanted installed!  Took about half hour for
> locales-gen to run and get all configured, but it worked.  Apache 
now
> serves utf8, and web browsers understand it.  Thanks!
> 
> Oh...  Looking back I guess it wasn't apt-get specifically that was
> blowing the memory, but locales-gen while running under apt-get.  
When
> I tried running locales-gen by itself it still page errored.
> 
> # dd if=/dev/zero of=/swapfile bs=1024 count=98304
> # mkswap -L swapfile /swapfile
> # swapon /swapfile
> # apt-get install locales
> [...]
> # swapoff /swapfile
> # rm /swapfile
>

erm, if you're booting direct to the board, that's a NAND flash 
device you are using as swap for a heavy compile job. You may not 
want to do that too often.






------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU