From owner-svn-src-all@FreeBSD.ORG Sun Nov 2 19:20:41 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 12253CFF; Sun, 2 Nov 2014 19:20:41 +0000 (UTC) Received: from gromit.grondar.org (grandfather.grondar.org [IPv6:2a01:348:0:15:5d59:5c20:0:2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C8A409AE; Sun, 2 Nov 2014 19:20:40 +0000 (UTC) Received: from [2001:470:9174:1:1da0:4ef1:3fbf:d630] by gromit.grondar.org with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.84 (FreeBSD)) (envelope-from ) id 1Xl0hY-000Gz4-FU; Sun, 02 Nov 2014 19:20:37 +0000 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... Mime-Version: 1.0 (Mac OS X Mail 8.0 \(1990.1\)) Content-Type: text/plain; charset=utf-8 From: Mark R V Murray In-Reply-To: Date: Sun, 2 Nov 2014 19:20:35 +0000 Content-Transfer-Encoding: quoted-printable Message-Id: References: <201410302121.s9ULLsEw055630@svn.freebsd.org> <86egtl4vgi.fsf@nine.des.no> <32C3BF80-C600-455C-9467-7C1D50D49BFB@FreeBSD.org> To: Adrian Chadd X-Mailer: Apple Mail (2.1990.1) X-SA-Score: -1.0 Cc: "svn-src-head@freebsd.org" , =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= , "svn-src-all@freebsd.org" , "src-committers@freebsd.org" , Jan Beich X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Nov 2014 19:20:41 -0000 > On 2 Nov 2014, at 19:07, Adrian Chadd wrote: >=20 > On 2 November 2014 05:08, Mark R V Murray wrote: >>=20 >>> On 2 Nov 2014, at 12:51, Dag-Erling Sm=C3=B8rgrav = wrote: >>>=20 >>> Jan Beich 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