Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Nov 2014 19:20:35 +0000
From:      Mark R V Murray <markm@FreeBSD.org>
To:        Adrian Chadd <adrian@freebsd.org>
Cc:        "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>, =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "src-committers@freebsd.org" <src-committers@freebsd.org>, Jan Beich <jbeich@vfemail.net>
Subject:   Re: svn commit: r273872 - in head: etc/defaults etc/rc.d libexec/save-entropy share/examples/kld/random_adaptor sys/conf sys/dev/glxsb sys/dev/random sys/kern sys/modules sys/modules/padlock_rng sys/mo...
Message-ID:  <E42D0C7F-15C7-4957-836A-94526A6EF239@FreeBSD.org>
In-Reply-To: <CAJ-VmomK7bHv3jo_f_pLLJCO-dfJC0AqtQWi2EMpiP6xaENwrg@mail.gmail.com>
References:  <201410302121.s9ULLsEw055630@svn.freebsd.org> <sii2-e10i-wny@vfemail.net> <86egtl4vgi.fsf@nine.des.no> <32C3BF80-C600-455C-9467-7C1D50D49BFB@FreeBSD.org> <CAJ-VmomK7bHv3jo_f_pLLJCO-dfJC0AqtQWi2EMpiP6xaENwrg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

> On 2 Nov 2014, at 19:07, Adrian Chadd <adrian@freebsd.org> wrote:
>=20
> On 2 November 2014 05:08, Mark R V Murray <markm@freebsd.org> wrote:
>>=20
>>> On 2 Nov 2014, at 12:51, Dag-Erling Sm=C3=B8rgrav <des@des.no> =
wrote:
>>>=20
>>> Jan Beich <jbeich@vfemail.net> writes:
>>>> I have a minimalistic kernel where everything is pushed to a module =
for
>>>> easier/faster debugging before kload. As its config has no |device =
random|
>>>> loading random.ko fails because nothing provides random_adaptors =
[...]
>>>=20
>>> Yes, there is work to be done there.  Ideally, the random module =
should
>>> include the random_adaptors framework and /dev/random itself, while
>>> Yarrow and Fortuna should be separate modules which can coexist, =
rather
>>> than mutually exclusive kernel options.
>>=20
>> Compiling both into the kernel is possible, but tricky, so I didn=E2=80=
=99t do it
>> this time round. The reason for the trickiness is that =
randomdev_soft.c gets
>> compiled for each hash (Yarrow, Fortuna) with hash-specific #defines =
set.
>>=20
>> Not insoluble, but I just didn=E2=80=99t get to it.
>>=20
>> I=E2=80=99ll fix the random_adaptors bit shortly.
>=20
> Also as a side note - the kernel on the embedded MIPS boards here are
> now > 1MiB compressed now because loading random as a module isn't
> supported or working right. :(

I=E2=80=99m looking at it.

M
--=20
Mark R V Murray




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E42D0C7F-15C7-4957-836A-94526A6EF239>