From owner-freebsd-arm@freebsd.org Fri Sep 25 11:17:35 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 69AC33F312A for ; Fri, 25 Sep 2020 11:17:35 +0000 (UTC) (envelope-from melounmichal@gmail.com) Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ByTsV4cGGz3X2p; Fri, 25 Sep 2020 11:17:34 +0000 (UTC) (envelope-from melounmichal@gmail.com) Received: by mail-wm1-x341.google.com with SMTP id s13so2644551wmh.4; Fri, 25 Sep 2020 04:17:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:reply-to:subject:to:cc:references:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=ycsQS9UuyxM7d/zrcfFvuQoPNf0jIADznxwhgj1+xgI=; b=udgqRlyD1M2OjZJ3p4rY8XZjHNy7vt4MIjWeLhf8FUh13eAaiu99ItL67yxZx48qqP y8PCyPnedNCm8wc+tt5GwdwuY0dwvddnCrfrgHF8xiOfsd3aWcJOZ33MI1pAmdqYafMd D7minSXRamKowxlbr703xjDNT7+v1luuk1+tpqofuYmICgOZvSZjX5OUDSLEpcSQcvwn /fgr54+SRTh5NnuojmiEPeeJlCmQVeFLXoi17bmX/GIkV0pd9RtEg22Kzg/dLEyteZW4 xamJDCP7ZjnVqNWYgaFuFM372zbRRj8EgS4quV/c/HaraJFw0H+sCIS8xyGdjGKmdvvN 8lVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:reply-to:subject:to:cc:references :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=ycsQS9UuyxM7d/zrcfFvuQoPNf0jIADznxwhgj1+xgI=; b=XxvFfGfB0ui9AxyoSXqxtfZxi2gVOrYNUw+YOyFefBRXIjj/rJTtiArzzehDHrIZQw cfmllPECY5mQcFiwcR4ByWtHFllMPEa5F+e4wLJhlABFYlP0gy2U+k9YnHL7aFcpQdUo 5b0jaecLmoPNzxOhm6+XcdsrtBDaYJXl14DgJkg3Gq9Pwq+Q25km6p95KkRCzL0G27ga azgGHW/yz8Z2kBWD8Q7fF27BI238TG9himKu17Q85fMHdLyDMVUoUQrswj8q/qLrUbFi kHHcUBofMEMJ076ZccDfXI7KQRD5pBydYPqbCFgarNHyoOy+fHMZ71KMbzNYBpX4ogJn 03aQ== X-Gm-Message-State: AOAM53192pDSI48sa6A7Qd5B14R1Woi8dSyZe4VPyhRAsnDvCkhx3KQq p+CXcLD1p3fzHff/ccZphDMXMEb8bYY= X-Google-Smtp-Source: ABdhPJx71XFOumm4aZJ3xfjobcv7oltwYKNV2JZ5F2QnkXQI5SvRawxvewbtD7rSDg5Z6e8nzA0GOA== X-Received: by 2002:a7b:cc8f:: with SMTP id p15mr2631903wma.18.1601032652855; Fri, 25 Sep 2020 04:17:32 -0700 (PDT) Received: from [88.208.79.100] (halouny.humusoft.cz. [88.208.79.100]) by smtp.gmail.com with ESMTPSA id k5sm2499422wmb.19.2020.09.25.04.17.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 25 Sep 2020 04:17:32 -0700 (PDT) Sender: Michal Meloun From: Michal Meloun X-Google-Original-From: Michal Meloun Reply-To: mmel@freebsd.org Subject: Re: clock problems with BeagleBone Black on 12.2BETA2 To: Glen Barber , Mike Karels Cc: FreeBSD Release Engineering Team , "freebsd-arm@freebsd.org" References: <20200925003347.GG60607@FreeBSD.org> <202009250507.08P573Bh045283@mail.karels.net> <20200925093334.GH60607@FreeBSD.org> Message-ID: <97b52e71-9dfe-6b5f-13f0-8dc466ef376f@freebsd.org> Date: Fri, 25 Sep 2020 13:17:34 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.2.2 MIME-Version: 1.0 In-Reply-To: <20200925093334.GH60607@FreeBSD.org> Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4ByTsV4cGGz3X2p X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=udgqRlyD; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of melounmichal@gmail.com designates 2a00:1450:4864:20::341 as permitted sender) smtp.mailfrom=melounmichal@gmail.com X-Spamd-Result: default: False [-1.88 / 15.00]; HAS_REPLYTO(0.00)[mmel@freebsd.org]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.98)[-0.975]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; NEURAL_SPAM_SHORT(0.12)[0.124]; NEURAL_HAM_LONG(-1.03)[-1.025]; MIME_GOOD(-0.10)[text/plain]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; MID_RHS_MATCH_TO(1.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::341:from]; RCVD_TLS_ALL(0.00)[]; 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 11:17:35 -0000 On 25.09.2020 11:33, Glen Barber wrote: > On Fri, Sep 25, 2020 at 12:07:03AM -0500, Mike Karels wrote: >>> 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. >> > > Err, sorry, I misread part of Ed's email, and 1 second = 500 seconds is > what he seems to report as well. Glen, do you see same problem also on CURRENT? Thanks, Michal