svn commit: r346250 - in head: share/man/man4 share/man/man9 sys/dev/random sys/kern sys/libkern sys/sys

Ed Maste emaste at freebsd.org
Tue Sep 3 14:07:45 UTC 2019


On Mon, 15 Apr 2019 at 14:40, Conrad Meyer <cem at freebsd.org> 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




More information about the svn-src-all mailing list