From owner-freebsd-arm@freebsd.org Mon Mar 28 18:46:07 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3BEBFAE08F1 for ; Mon, 28 Mar 2016 18:46:07 +0000 (UTC) (envelope-from lifanov@mail.lifanov.com) Received: from mail.lifanov.com (mail.lifanov.com [206.125.175.12]) (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 266121C84 for ; Mon, 28 Mar 2016 18:46:06 +0000 (UTC) (envelope-from lifanov@mail.lifanov.com) Received: by mail.lifanov.com (Postfix, from userid 58) id 38270239E56; Mon, 28 Mar 2016 14:46:06 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail.lifanov.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT shortcircuit=ham autolearn=disabled version=3.4.1 Received: from [127.0.0.1] (vnat600.ejoco.com [166.108.32.32]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.lifanov.com (Postfix) with ESMTPSA id 5E05F239E52; Mon, 28 Mar 2016 14:46:05 -0400 (EDT) Subject: Re: Official images without noatime To: =?UTF-8?B?Sm9zw6kgUMOpcmV6?= References: <4b23b28ffae59216b5dde8f28f665330@mail.lifanov.com> <813ba9c4a1474478daa86fe685acec21@mail.yourbox.net> <56F96C46.80705@mail.lifanov.com> <6c15a205f6d5126c7d468bd2605be769@mail.yourbox.net> Cc: freebsd-arm@freebsd.org From: Nikolai Lifanov Message-ID: <56F97BEC.9020006@mail.lifanov.com> Date: Mon, 28 Mar 2016 14:46:04 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0 MIME-Version: 1.0 In-Reply-To: <6c15a205f6d5126c7d468bd2605be769@mail.yourbox.net> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2016 18:46:07 -0000 On 03/28/16 14:43, José Pérez wrote: > Hello Nokolai, > > El 2016-03-28 19:39, Nikolai Lifanov escribió: >> A simple case is during install /usr/bin/cmp is ran to compare two >> files, atime for /usr/bin/cmp is updated during a crash, and >> /usr/bin/cmp is gone on next boot. I then have to copy it out of >> /usr/obj and into place and run installworld again. It's the handful of >> utilities actually *used* by installworld that do this and mounting root >> with noatime stops this from happening. > > I suspect you have a problem somewhere else, maybe a faulty flash? > > Can you reproduce with another hardware? Can you help us reproduce it? > What do you mean "atime is updated during a crash"?? > I can reproduce this with my RPI-B (and a different SD card). Roughly this: 1) mount / with atime 2) make -j4 installworld 3) You can do step #2 over ssh and tee it somewhere so that you can be sure that utilities gone are the ones used, not the ones installed. >>> My RPI2 shutdown cleanly with shutdown(8) or reboot(8). >>> >> >> It doesn't stay down if the power cable is still connected. > > RP does not power down, you have to disconnect the power cable. > But first you have to stop the OS: > shutdown -p now > does that for you (which includes syncing and unmounting disks). > I think that we are saying the same thing here. > Regards, > > --- > José Pérez - Nikolai Lifanov