svn commit: r269590 - projects/arm64/sys/dev/random
Andrew Turner
andrew at FreeBSD.org
Tue Aug 5 15:17:55 UTC 2014
Author: andrew
Date: Tue Aug 5 15:17:54 2014
New Revision: 269590
URL: http://svnweb.freebsd.org/changeset/base/269590
Log:
Comment out the contents of random_adaptors_reseed as it blocks
the boot process.
Modified:
projects/arm64/sys/dev/random/random_adaptors.c
Modified: projects/arm64/sys/dev/random/random_adaptors.c
==============================================================================
--- projects/arm64/sys/dev/random/random_adaptors.c Tue Aug 5 15:17:50 2014 (r269589)
+++ projects/arm64/sys/dev/random/random_adaptors.c Tue Aug 5 15:17:54 2014 (r269590)
@@ -242,10 +242,13 @@ static void
random_adaptors_reseed(void *unused)
{
+ /* TODO: This sleeps which is broken on arm64 */
+#if 0
(void)unused;
if (random_adaptor != NULL)
(*random_adaptor->reseed)();
arc4rand(NULL, 0, 1);
+#endif
}
SYSINIT(random_reseed, SI_SUB_INTRINSIC_POST, SI_ORDER_SECOND,
random_adaptors_reseed, NULL);
More information about the svn-src-projects
mailing list