From owner-freebsd-arm@freebsd.org Fri Sep 25 05:07:11 2020 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 73F763EAB1A for ; Fri, 25 Sep 2020 05:07:11 +0000 (UTC) (envelope-from mike@karels.net) Received: from mail.karels.net (mail.karels.net [216.160.39.52]) by mx1.freebsd.org (Postfix) with ESMTP id 4ByKf60K6tz4d7V; Fri, 25 Sep 2020 05:07:09 +0000 (UTC) (envelope-from mike@karels.net) Received: from mail.karels.net (localhost [127.0.0.1]) by mail.karels.net (8.15.2/8.15.2) with ESMTP id 08P573Bh045283; Fri, 25 Sep 2020 00:07:03 -0500 (CDT) (envelope-from mike@karels.net) Message-Id: <202009250507.08P573Bh045283@mail.karels.net> To: Glen Barber cc: Ed Maste , "freebsd-arm@freebsd.org" , FreeBSD Release Engineering Team From: Mike Karels Reply-to: mike@karels.net Subject: Re: clock problems with BeagleBone Black on 12.2BETA2 In-reply-to: Your message of Fri, 25 Sep 2020 00:33:47 -0000. <20200925003347.GG60607@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <45281.1601010423.1@mail.karels.net> Date: Fri, 25 Sep 2020 00:07:03 -0500 X-Rspamd-Queue-Id: 4ByKf60K6tz4d7V X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of mike@karels.net designates 216.160.39.52 as permitted sender) smtp.mailfrom=mike@karels.net X-Spamd-Result: default: False [-2.46 / 15.00]; HAS_REPLYTO(0.00)[mike@karels.net]; TO_DN_EQ_ADDR_SOME(0.00)[]; FREEFALL_USER(0.00)[mike]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; REPLYTO_ADDR_EQ_FROM(0.00)[]; ARC_NA(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:216.160.39.52]; NEURAL_HAM_LONG(-0.96)[-0.965]; DMARC_NA(0.00)[karels.net]; NEURAL_HAM_SHORT(-0.34)[-0.338]; NEURAL_HAM_MEDIUM(-0.96)[-0.956]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:209, ipnet:216.160.36.0/22, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Sep 2020 05:07:11 -0000 > Date: Fri, 25 Sep 2020 00:33:47 +0000 > From: Glen Barber > On Thu, Sep 24, 2020 at 06:04:58PM -0400, Ed Maste wrote: > > On Tue, 22 Sep 2020 at 14:09, Mike Karels wrote: > > > > > > I just installed 12.2BETA2 on a BeagleBone Black (armv7), and it took > > > at least an hour. I hit ^T periodically, and time seemed screwed up > > > (real time was progressing slowly at best). > > > > I've independently confirmed this on the 12.2BETA2 image; from my console: > > ... > > FreeBSD 12.2-BETA2 r365865 GENERIC arm > > ... > > Trying to mount root from ufs:/dev/ufs/rootfs [rw]... > > Warning: no time-of-day clock registered, system time will not be set acc= > urately > > Growing root partition to fill device > > random: read_random_uio unblock wait > > load: 1.28 cmd: awk 39 [piperd] 0.12r 0.00u 0.00s 0% 2060k > > load: 1.28 cmd: awk 39 [piperd] 0.14r 0.00u 0.00s 0% 2060k > > ... > > > > time seems to be running about 500x slow. > > > > I ^C'd each startup script that was stuck (I'm not as patient as > > Mike), and got to a login prompt. I was able to login as root just > > fine and the system seemed responsive for commands that don't sleep. I > > tried `sleep 0.01` and that took about 5 seconds of actual time. > > > Given the 1 second = 5 seconds info, does it eventually finish, or have > you just killed the power to it before getting that far? In my case, it finished, but took at least an hour. It may have taken longer if I didn't hit ^T periodically, e.g. I think that helped seed entropy. But according to Ed's measurement, it is closer to 1 second = 500 seconds. Mike