From owner-freebsd-arm@freebsd.org Wed Apr 4 12:50:22 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F0C61F8BE88 for ; Wed, 4 Apr 2018 12:50:21 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9CB19789C0 for ; Wed, 4 Apr 2018 12:50:21 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 394AE21803 for ; Wed, 4 Apr 2018 08:50:15 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Wed, 04 Apr 2018 08:50:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=r+y43woYzmURdmMuWiqMo7981Bx7h npiwO8AefFUCuI=; b=Z0ahvVScv3Dg23/2jJrhw5j7ajnRs9NEuk91WaxRDdodK 5Bo77A6q6R0wSU1ZZrQ95KHqK8h/K2fKTRLhw9CAVzD5bTMPCnAfWQ0CntPnGLnp JdnaJSpmMcKOnZbO+P5Dib6jxDKrMYqN4iiSuo3XJZJhpDvM0zToHflNI/tUPkNs MRi6X8cNoKfYpS1TbhFj2/XmplA8iUOhFSrxFI+PV5aVd6w2KeCNL92VhkGE89vG 3iz26R4TvkgxJYK7jBG3clgya8Dty3/SfJKbPtUoKlrZ2tyRyWLRw8B/3iLHdwix VZaskJcMmULZk18jiJi0KSKaHTdzBdn98riF+9VKg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=r+y43w oYzmURdmMuWiqMo7981Bx7hnpiwO8AefFUCuI=; b=ljijsaO8LvvUQdphZXzSOg wScV6nhydNN/aBuxHvQy2ysTvDshaGXdV8L/GWAgfRsjMrzVhj5vU0PDupbf3j1k AMKa6L4wn/ZzCgnh+Rf0xIsbUsACjLdhw6qa6isCa3EzybgNGDjpN25AMqfvuE/G JAqap3mxWYuNWtXS9ZEK/ZVRXrAG+W3vt/lrn9UgP2Bm5TiVNQr18mSkqJkA0MNr MY4LK6aLLjh54oCoHXDPYBT1h89n17gTNWx0qJQUIZQJ6xJrCAKChsWBCdzf8ub7 A67HdL3ExPMacyv+2DW6kQbtVnQCpy5jCeaQjUBMaWXqp/6QBPqcW+ZmOIh87sTA == X-ME-Sender: Received: from desktop.local (parsley.growveg.org [82.70.91.97]) by mail.messagingengine.com (Postfix) with ESMTPA id C847BE43C8 for ; Wed, 4 Apr 2018 08:50:14 -0400 (EDT) Subject: Re: More problems self-hosting -current on RPi3 To: freebsd-arm@freebsd.org References: <20180330235039.GA53786@www.zefox.net> From: tech-lists Message-ID: Date: Wed, 4 Apr 2018 13:50:13 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <20180330235039.GA53786@www.zefox.net> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Apr 2018 12:50:22 -0000 Hi, On 31/03/2018 00:50, bob prohaska wrote: > Here's a strange buildworld failure with -current on an RPI3. > > To set the stage, a make -j2 buildworld/buildkernel was run from a > clean (run make cleandir twice, rm -rf /usr/obj/usr/src) start. Kernel > and sources were at, or close to, r331146. > > Buildworld finished, but the kernel build failed on an error of long standing, > something about mismatches between various versions of stdint.h in the file > system. Svnlite update reported quite a bit of activity, so the world/kernel > build was restarted with -j2 and -DNO_CLEAN. > > Some hours later, the system was found with all ssh sessions terminated > and the top output recorded in the link below. It looks as if the system > decided it was out of swap, and then went on a killing spree when lld.ld > didn't go away. Disregarding the stated swap usage, ld.lld was less than > 1.4 GB in size with 3 GB of swap. > > Details are at http://www.zefox.net/~fbsd/rpi3/crashes/20180330/ > > It's worth noting that gstat reports write speeds of 2-3 MB/sec to > the microSD card and USB flash, which does not seem much worse than > mechanical hard disks. The system _does_ seem prone to a sort of > "swap frenzy" when swap usage goes much over 10%, recovering at > intervals when all the cores are busy. Some months ago it was at > least occasionally possible to finish a -j4 buildworld, now even > -j2 buildworld is extremely uncertain. Do you think the following might be related to the swap problems you've been having: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221356 https://lists.freebsd.org/pipermail/freebsd-stable/2018-March/088467.html -- J.