Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Apr 2013 21:34:02 +0200
From:      Tom Vijlbrief <tvijlbrief@gmail.com>
To:        freebsd-arm@freebsd.org
Subject:   ARM VM issue on Raspberry Pi (was Re: C++ broken on Raspberry Pi? (Sean Eric Fagan))
Message-ID:  <CAOQrpVe-pyZy8DmXjXC_jPxq8i-_rhP%2Bg4niY7VcyOQw5N_AvA@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Although gcc fixes all compilation issues for me, I still get random
terminated
processes, dmesg shows:

pid 43911 (ruby18), uid 0: exited on signal 6 (core dumped)
pid 49291 (ruby18), uid 0: exited on signal 6 (core dumped)
pid 50469 (ruby18), uid 0: exited on signal 6 (core dumped)
pid 44969 (bash), uid 1000: exited on signal 11 (core dumped)
pid 73913 (bash), uid 1000: exited on signal 11 (core dumped)
pid 85048 (ruby18), uid 0: exited on signal 6 (core dumped)
pid 85058 (ruby18), uid 0: exited on signal 6 (core dumped)

Ruby/bash are gcc compiled on the Pi, but i have also terminated sshd
server processes from base,
which are originally clang cross compiled on my 64bit Intel freebsd
(virtual) machine. In general
the current freebsd kernel is rock solid on the Pi, except for these
terminated process.

I'll see if things get better if i use the Pi/gcc world/kernel builds, but
these native compiles will take a while.

I noticed that the processes are always terminated when the Pi is low on
memory, eg a compile
has a 150MB VM size and 130MB RSS, on my 256MB Pi. At these moments another
proces is terminated at random. In those situations the system is not
thrashing and CPU utilization is close to 100%, which is good. I have a
1024 megabyte swap partion so there should be no issue.

I suspect an ARM VM issue on the Pi here.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOQrpVe-pyZy8DmXjXC_jPxq8i-_rhP%2Bg4niY7VcyOQw5N_AvA>