From owner-svn-src-head@freebsd.org Tue Sep 3 14:06:58 2019 Return-Path: Delivered-To: svn-src-head@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 1D2F0DD1A1; Tue, 3 Sep 2019 14:06:56 +0000 (UTC) (envelope-from yuripv@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46N7zz5D8nz4Q37; Tue, 3 Sep 2019 14:06:55 +0000 (UTC) (envelope-from yuripv@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1452) id C28961AD91; Tue, 3 Sep 2019 14:06:21 +0000 (UTC) X-Original-To: yuripv@localmail.freebsd.org Delivered-To: yuripv@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id 1688B10A94; Mon, 15 Apr 2019 23:34:42 +0000 (UTC) (envelope-from owner-src-committers@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3C7F496FFF; Mon, 15 Apr 2019 23:34:41 +0000 (UTC) (envelope-from owner-src-committers@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 538) id 0F7E510A2D; Mon, 15 Apr 2019 23:34:41 +0000 (UTC) Delivered-To: src-committers@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [96.47.72.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id 2016B10A29; Mon, 15 Apr 2019 23:34:38 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mail-io1-f42.google.com (mail-io1-f42.google.com [209.85.166.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6936796FF6; Mon, 15 Apr 2019 23:34:37 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: by mail-io1-f42.google.com with SMTP id f6so16124998iop.3; Mon, 15 Apr 2019 16:34:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=6534R8IMbkKBj/k90kOsweS8NqFWXQkz7n3CggVJo3o=; b=qP4xjSmJj/lGBxnujdJfXoqoSJ5dq65dqk3P5jetLXBuEkAXWIQj7JUPUq7XlmGilG 7VNK/B1+GJqUulmvdBmgaO+dJ3BDai3HxlkImHjkQxaZ+QdAOViPh9xI5dJOdTK+gkEO Zzxh5JdCM+HLMX2J78tOro6DUSHv3B0l+vWU/78LOcKU6qgwK0YodmMUMVceJOYHp973 55lHRDjaNgiWh3curJ51T1+xTmKZfuxWnyFjYEqOo1TXhDaS+GfCczT1P91UcAp/IyQs ZRgIIiLGFVK2ZF214daVMBwGB3SNMYXa+CappUdr1KuzYY9OiSP+NuitMBz/p1cJaiG4 nRag== X-Gm-Message-State: APjAAAWxV5gxFwP7x1YanbEyFnMieEVsTTOQ0LnCmjlpwjVDVyuibuDU zYsrlAFSV3sgClySe11HsIL/OUX2Bu3JWfRtDnZkVgwf X-Google-Smtp-Source: APXvYqzUTFV3A/SdG3+x9QGqZFqCYfjjxF10dESzd4cYNSmiP6z+iYNDna9lIO+19ue7thQQ4fO8xY5xHpOVWgUk1AM= X-Received: by 2002:a5e:9e0d:: with SMTP id i13mr54108057ioq.156.1555367738051; Mon, 15 Apr 2019 15:35:38 -0700 (PDT) MIME-Version: 1.0 References: <201904151840.x3FIeaEQ009242@repo.freebsd.org> In-Reply-To: <201904151840.x3FIeaEQ009242@repo.freebsd.org> From: Ed Maste Message-ID: Subject: Re: svn commit: r346250 - in head: share/man/man4 share/man/man9 sys/dev/random sys/kern sys/libkern sys/sys To: Conrad Meyer Cc: src-committers , svn-src-all , svn-src-head Content-Type: text/plain; charset="UTF-8" Precedence: bulk X-Loop: FreeBSD.org Sender: owner-src-committers@freebsd.org X-Rspamd-Queue-Id: 3C7F496FFF X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.93 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.93)[-0.933,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] Status: O X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.29 List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Tue, 03 Sep 2019 14:06:58 -0000 X-Original-Date: Mon, 15 Apr 2019 18:35:26 -0400 X-List-Received-Date: Tue, 03 Sep 2019 14:06:58 -0000 On Mon, 15 Apr 2019 at 14:40, Conrad Meyer wrote: > > Author: cem > Date: Mon Apr 15 18:40:36 2019 > New Revision: 346250 > URL: https://svnweb.freebsd.org/changeset/base/346250 > > Log: > random(4): Block read_random(9) on initial seeding Because Gerald (one of the FreeBSD Foundation's co-op students for this term) is not on the svn mailing list I'll bring his report from GitHub[1] over here: As probably also seen from the official CI (https://ci.freebsd.org/job/FreeBSD-head-riscv64-test/), this commit prevents booting on both arm and arm64. Condensed Error log (arm64 Pine A64-LTS) random: randomdev_wait_until_seeded unblock wait panic: _sleep: curthread not running cpuid = 0 time = 1 KDB: stack backtrace: <...> randomdev_wait_until_seeded() at read_random+0x50 pc = 0xffff00000021b850 lr = 0xffff00000021b930 sp = 0xffff000000010a00 fp = 0xffff000000010a40 read_random() at arc4rand+0x168 pc = 0xffff00000021b930 lr = 0xffff00000049ae5c sp = 0xffff000000010a50 fp = 0xffff000000010af0 arc4rand() at __stack_chk_init+0x18 pc = 0xffff00000049ae5c lr = 0xffff0000003f0558 sp = 0xffff000000010b00 fp = 0xffff000000010b40 <....> [1] https://github.com/freebsd/freebsd/commit/654aeb58dd40d3db3af91ce26c9c31d1b02cee5f#commitcomment-33187782