[Bug 262192] Crashes at boot with kern.random.initial_seeding.bypass_before_seeding=0 in randomdev_wait_until_seeded()

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 17 Mar 2022 23:10:49 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262192

--- Comment #12 from Olivier Certner <olivier.freebsd@free.fr> ---
FYI, the stacks to all calls to arc4rand(om) (omitted) I see at boot on a
custom kernel (which resembles GENERIC, but notably rules out IPv6):

__stack_chk_init
vnet_register_sysinit -> domain_init -> ip_init -> ipreass_init
vnet_register_sysinit -> domain_init -> tcp_init -> syncache_init
vnet_register_sysinit -> domain_init -> tcp_init -> tcp_hc_init
vnet_register_sysinit -> domain_init -> tcp_init -> tcp_fastopen_init
vnet_register_sysinit -> ipid_sysinit
fork_trampoline -> fork_exit -> start_init -> vfs_mountroot -> vfs_mount_alloc
fork_trampoline -> fork_exit -> start_init -> kern_execve ->
exec_copyout_strings

After patching all these occurences, the system finishes booting and seems
functional.

-- 
You are receiving this mail because:
You are the assignee for the bug.