tiomap-dev team mailing list archive
-
tiomap-dev team
-
Mailing list archive
-
Message #00367
[Bug 690370] Re: Strange out of memory on pandaboard
Hey Laurent,
Finally setup my panda to do the same thing, so far i haven't been seeing this issue.. (I'm not using the mem=768M boot arg)
(MMC contains uImage/uInitrd rootfs on external usb sata drive)
My own kernel: (http://rcn-ee.net/deb/squeeze/v2.6.37-x0/)
voodoo@panda-a1-1gb:~$ cat /proc/meminfo | grep MemTotal
MemTotal: 766560 kB
cat /boot/uboot/boot.cmd
echo "Debug: NetInstall"
setenv bootcmd 'mmc init; fatload mmc 0:1 0x80300000 uImage; fatload mmc 0:1 0x81600000 uInitrd; bootm 0x80300000 0x81600000'
setenv bootargs console=ttyO2,115200n8 root=/dev/sda1 ro buddy=${buddy} mpurate=${mpurate}
boot
voodoo@panda-a1-1gb:~$ uname -a
Linux panda-a1-1gb 2.6.37-x0 #1 SMP PREEMPT Thu Jan 6 02:29:06 UTC 2011 armv7l GNU/Linux
Build logs from the last trunk/c test:
http://rcn-ee.homeip.net:81/dl/gcc/SVN-168617-trunk-c-panda-a1-1gb-GOOD/
It's currently halfway thru the test suite after successfully building
trunk/c&c++
http://rcn-ee.homeip.net:81/dl/gcc/SVN-168633-trunk-c-c++-panda-a1-1gb/
(link will change after testsuite completion)
Regards,
--
You received this bug notification because you are a member of TI OMAP
Developers, which is a direct subscriber.
https://bugs.launchpad.net/bugs/690370
Title:
Strange out of memory on pandaboard
Status in “linux-ti-omap4” package in Ubuntu:
New
Bug description:
A GCC trunk bootstrap fails with:
gcc -g -fkeep-inline-functions -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wc++-compat -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -o build/gengtype \
build/gengtype.o build/errors.o build/gengtype-lex.o build/gengtype-parse.o build/gengtype-state.o build/version.o ../build-armv7l-unknown-linux-gnueabi/libiberty/libiberty.a
/bin/bash ../../trunk/gcc/../move-if-change tmp-gi.list gtyp-input.list
echo timestamp > s-gtyp-input
build/gengtype \
-S ../../trunk/gcc -I gtyp-input.list -w gtype.state
build/gengtype \
-r gtype.state
out of memory allocating 4072 bytes after a total of 199240912 bytes
make[3]: *** [s-gtype] Error 1
make[3]: Leaving directory `/home/guerby/build/gcc'
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory `/home/guerby/build'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/home/guerby/build'
make: *** [bootstrap] Error 2
real 8m9.482s
user 4m0.680s
sys 1m37.547s
Looking at top at the time of failure:
Mem: 681844k total, 368152k used, 313692k free, 6076k buffers
Swap: 0k total, 0k used, 0k free, 240456k cached
/home is mounted over NFS, swap is commented out, make bootstrap after
a clean boot, /etc/rc.local has:
sysctl -w vm.overcommit_memory=2
echo 0 > /proc/sys/kernel/randomize_va_space
In a different situation, with mem=768M in a previous test I got various issues reported in /var/log/messages
copy here: wget http://guerby.org/ftp/messages-pandaboard
rsalveti asked me to open a report.