From owner-freebsd-arm@freebsd.org Tue Mar 29 02:04:12 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 6B42CAE1DEA for ; Tue, 29 Mar 2016 02:04:12 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "raven.bwct.de", Issuer "BWCT" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id E35431527 for ; Tue, 29 Mar 2016 02:04:11 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id u2T2472R095822 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Tue, 29 Mar 2016 04:04:07 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.5/8.14.4) with ESMTP id u2T2416h035303 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 29 Mar 2016 04:04:01 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.15.2/8.15.2) with ESMTP id u2T241GZ071071; Tue, 29 Mar 2016 04:04:01 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.15.2/8.15.2/Submit) id u2T241Dj071070; Tue, 29 Mar 2016 04:04:01 +0200 (CEST) (envelope-from ticso) Date: Tue, 29 Mar 2016 04:04:01 +0200 From: Bernd Walter To: Nikolai Lifanov Cc: =?iso-8859-1?Q?Jos=E9_P=E9rez?= , freebsd-arm@freebsd.org Subject: Re: Official images without noatime Message-ID: <20160329020400.GD68225@cicely7.cicely.de> Reply-To: ticso@cicely.de References: <4b23b28ffae59216b5dde8f28f665330@mail.lifanov.com> <813ba9c4a1474478daa86fe685acec21@mail.yourbox.net> <56F96C46.80705@mail.lifanov.com> <6c15a205f6d5126c7d468bd2605be769@mail.yourbox.net> <56F97BEC.9020006@mail.lifanov.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <56F97BEC.9020006@mail.lifanov.com> X-Operating-System: FreeBSD cicely7.cicely.de 10.2-RELEASE amd64 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 autolearn=ham version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de 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: Tue, 29 Mar 2016 02:04:12 -0000 On Mon, Mar 28, 2016 at 02:46:04PM -0400, Nikolai Lifanov wrote: > 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) This is saying that it is damged by smashing it with a hammer. > 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. That doesn't mean the filesystem(s) and card internal buffers are synced. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.