From owner-freebsd-arm@FreeBSD.ORG Sun Apr 21 19:34:02 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id AE4A7F32 for ; Sun, 21 Apr 2013 19:34:02 +0000 (UTC) (envelope-from tvijlbrief@gmail.com) Received: from mail-ie0-x231.google.com (mail-ie0-x231.google.com [IPv6:2607:f8b0:4001:c03::231]) by mx1.freebsd.org (Postfix) with ESMTP id 87783105E for ; Sun, 21 Apr 2013 19:34:02 +0000 (UTC) Received: by mail-ie0-f177.google.com with SMTP id 9so6428579iec.36 for ; Sun, 21 Apr 2013 12:34:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=d5RZjBHcrpliT5BoGLge/gBpXV+1BBrD8FDWGGpccWs=; b=JxGDRfS1juQnfIunxLIpRfHgLcEQM2KB3P77loEqGnR1J10OXOaP1pl6WpuO39uaTT 91NKsOFJ5hxAOEsoJ4LMJqqF3uYi0epZPJFihsu7okQQJt+iXoJUOSVWzn2Ap9TDw8dh K6uPy/0dOqHlhjJpqjQEQQ4tdHAUxeVd+Mv7PBvsyhkBEt5Z4+6bO/EKvL/LDzS/iJSx zarCbaHU53CJaKruUsri+aOhnRlrFzbM9Wr1HW+zK5TqV0CRVwdSBYVXhERzxGRyYFkI EzriOpxpfd7oNgarbrWxQTTVr8fPJWvnC4l+ExdmINNMxPcyCNHHKUfzRIXZG6U6hS4+ gcyA== MIME-Version: 1.0 X-Received: by 10.43.146.3 with SMTP id jw3mr10291185icc.39.1366572842230; Sun, 21 Apr 2013 12:34:02 -0700 (PDT) Received: by 10.50.92.34 with HTTP; Sun, 21 Apr 2013 12:34:02 -0700 (PDT) Date: Sun, 21 Apr 2013 21:34:02 +0200 Message-ID: Subject: ARM VM issue on Raspberry Pi (was Re: C++ broken on Raspberry Pi? (Sean Eric Fagan)) From: Tom Vijlbrief To: freebsd-arm@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Apr 2013 19:34:02 -0000 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.