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

Re: [Emdebian] open2: fork failed: Cannot allocate memory



On Wed, 22 Apr 2009 01:42:01 +0200
Hector Oron <hector.oron@gmail.com> wrote:

> >> > Thereagain, if memory is that limited, shouldn't you try to avoid
> >> > needing x11-common in the first place?
> >>
> >> I wanted to do a quick try on X window on my target.

It looks like you may have found the answer to that experimental
already - if debconf cannot find any more memory, Xorg is going to be a
nightmare.

> > What device is this? balloon3?
> 
> This is a digi embedded module called ccw9p, with a netsilicon ns9215
> SoC (arm9 core)
> 
> Not powerful enough to keep with emdebian

$ du -h /var/lib/dpkg/info/x11-common.*
4.0K	/var/lib/dpkg/info/x11-common.conffiles
36K	/var/lib/dpkg/info/x11-common.config
4.0K	/var/lib/dpkg/info/x11-common.list
4.0K	/var/lib/dpkg/info/x11-common.md5sums
36K	/var/lib/dpkg/info/x11-common.postinst
36K	/var/lib/dpkg/info/x11-common.postrm
36K	/var/lib/dpkg/info/x11-common.preinst
4.0K	/var/lib/dpkg/info/x11-common.prerm
176K	/var/lib/dpkg/info/x11-common.templates

That's a lot of shell scripting.

My advice would be to install cdebconf (from Crush if necessary) and
then setup debconf to use it via the environment variables, also
setting debconf to noninteractive in the process:

echo "Setting cdebconf environment"
export DEBCONF_USE_CDEBCONF=true
DEBIAN_FRONTEND=noninteractive
DEBCONF_NONINTERACTIVE_SEEN=true
export DEBIAN_FRONTEND DEBCONF_NONINTERACTIVE_SEEN
# bug: See #451130
chroot $path/ /usr/lib/cdebconf/debconf-loadtemplate /usr/share/debconf/demo /usr/share/debconf/demo.templates

See if that reduces the memory requirements.

-- 


Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/

Attachment: pgpalMF6aONkf.pgp
Description: PGP signature


Reply to: