On Mon, Apr 15, 2019, 18:34 Ed Maste <ema...@freebsd.org> wrote:

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


Given the discussion over there it would probably also fail on powernv,
which also does not use loader.

- Justin

>
>
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to