Hi,
Just wondering if somebody could point me to a good document on how the heap reclamation algorithm works for memory allocated in a user space program using the regular malloc/calloc functions. I am specifically interested in how effective it is in reclaiming memory. E.g., does it only reclaim from top of heap or does it reclaim from the complete heap? Are there multiple options for reclamation algorithms? Etc.
Thank you: Magnus
Magnus Karlsson
Software Development Engineering Manager
LSI Corporation
Box 1024, Knarrarnäsgatan 15
SE-164 21 Kista, Sweden
TEL +46 8 594 607 09
FAX +46 8 594 607 10
CELL +46 73 80 444 88
magnus.karlsson(a)lsi.com
I couldn't find a Cotton Candy-specific forum. Perhaps someone here will have advice. My apologies if I'm off-topic.
I'm using Linaro on the FXI Cotton Candy. At least every few hours, it experiences an X server crash, which logs me out.
Here is an example syslog message from the time of the crash:
Nov 20 08:27:46 linaro-ubuntu-desktop gnome-session[3350]: Gdk-WARNING: gnome-session: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.#012
A brief search online suggests this may be a problem with the video driver. But I'm not sure. I will be very glad of any assistance.
The crash is intermittent and difficult to reproduce. It seems to happen when I'm 'doing something', e.g. opening a new window, clicking a link or scrolling in Firefox, resizing a window, or viewing a photo attached to email. It does not seem to crash when the machine is idle.
I'm running Linaro (Ubuntu-beta-20130309.zip from FXI's Web site), which I reinstalled earlier this week then did 'apt-get update' and 'apt-get upgrade', and configured in various simple ways (e.g. software firewall, wireless networks, software installations using apt). The X server crash has happened before and after the reinstallation.
Without a swap file, there were some out of memory problems. I added a swapfile, which removed the out of memory problems. The X server still crashes.
I've also emailed FXI support but have not yet heard.
Thank you very much, in advance,
Daniel
Daniel Barker
http://biology.st-andrews.ac.uk/staff/db60
The University of St Andrews is a charity registered in Scotland :
No SC013532
> From: Deepak Saxena <dsaxena(a)linaro.org>
> Date: 12 November 2013 07:25
> Subject: Running Linaro toolchain on ubuntu 13.10 x86_64
> To: Linaro Dev <linaro-dev(a)lists.linaro.org>
>
>
> I'm working on getting my new build system up and running and with
> 13.10. Running any of our toolchain commands leads to "No such file or
> directory". I'm guessing this has to with my system being x86_64 and
> 13.10 no longer including ia32_libs package, but could be incorrect.
Yip. This is due to lack of /lib/ld-linux.so.2 which is included in 32-bit libc.
> If this is indeed the issue, my understanding is that I need to
> manually install 32 bit versions of every library that's needed. Can
> toolchain folks comment on this? Any possibility of getting 64 bit
Yip. You have to manually install 32 bit versions of every library
that's needed.
> native binaries or just having a repository that we can install from
> and thus auto-pull the dependent 32 bit libraries?
We need support both 32-bit and 64-bit systems. Ubuntu is not the only
Linux host we want to support. We also support Debian, Fedora,
openSUSE and RHEL.
Thanks!
-Zhenqiang
Hi,
I am trying to cross compile a package wi the following steps. The build
goes fine except that when I try to run the same on the foundation model it
doesn't work. Here are all the steps in details:
1. Installed the linaro gcc and set up the environment as follows:
------------------------------------------------------------------------------------------------
export
AARCH64_TOOLCHAIN=/home/anilss/Linaro/tools/gcc-linaro-aarch64-linux-gnu-4.7-2013.04-20130415_linux/bin
export PATH=$PATH:$AARCH64_TOOLCHAIN
export ARCH=aarch64
export CROSS_COMPILE=aarch64-linux-gnu-
2. Now on my build machine (x86_64 machine running linux), from source root
of the package (i.e. GMP) I want to cross compile:
anilss@anilss:~/Linaro/pkgs/gmp/cross_arm64/gmp-5.1.3-aarch64$./configure
--build=coreisbr-unknown-linux-gnu --host=aarch64-linux-gnu
--target=aarch64-linux-gnu
anilss@anilss:~/Linaro/pkgs/gmp/cross_arm64/gmp-5.1.3-aarch64$make
3. Then On the foundation model, where the above source tree is mounted, I
do:
$ make check
However this fails.
Any ideas on what is going wrong..?
Also is the triplet correct for host and foundation model (running oe
linux)?
Thanks and Regards,
Anil