From owner-svn-src-all@FreeBSD.ORG Sun Nov 2 19:07:14 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A154D281; Sun, 2 Nov 2014 19:07:14 +0000 (UTC) Received: from mail-wg0-x231.google.com (mail-wg0-x231.google.com [IPv6:2a00:1450:400c:c00::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BAD4A7F2; Sun, 2 Nov 2014 19:07:13 +0000 (UTC) Received: by mail-wg0-f49.google.com with SMTP id x13so11003013wgg.8 for ; Sun, 02 Nov 2014 11:07:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=YP3xVn96l3LgxBDqcRSfiE3/sTwvw6TJAvKoN0OGa+8=; b=XC96KHjVm5KwSlLp6LW7OWHhTd8xo5gZ/JeWpdDpqF+2SwVP7dq6S4ZvNrCqprLotK 5HdtTwGsuddFbXXmFrbp73JzdjIpqrn+Q9jd+sdUVgcCDSzjqeicpKDLlZ36u8ms6+pu IRGjcgP5Ba0WC8C0yX1LVnKYT2d8NNkVILxhZyN/LoRly8OsOIGT4Y7IEJBhXE3f10k5 L2q3HNAKAhCYaAyPXfJCRBWhH83vvpaXg9W1Dk0VxHiifcXooqJR1IE+3lpyh4NMq3zx n59raqxmiaFfYSFy23bHa3Oqe3tABDwI+QYZb5I3VC7s3/DO6nOXBMKOkfdaRS95HhnA sdlQ== MIME-Version: 1.0 X-Received: by 10.180.106.162 with SMTP id gv2mr11296192wib.26.1414955232042; Sun, 02 Nov 2014 11:07:12 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.216.106.136 with HTTP; Sun, 2 Nov 2014 11:07:11 -0800 (PST) In-Reply-To: <32C3BF80-C600-455C-9467-7C1D50D49BFB@FreeBSD.org> References: <201410302121.s9ULLsEw055630@svn.freebsd.org> <86egtl4vgi.fsf@nine.des.no> <32C3BF80-C600-455C-9467-7C1D50D49BFB@FreeBSD.org> Date: Sun, 2 Nov 2014 11:07:11 -0800 X-Google-Sender-Auth: 0V6qG1VAoZxAZ1gTjLy4jbHl8MI Message-ID: 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... From: Adrian Chadd To: Mark R V Murray Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: "svn-src-head@freebsd.org" , =?UTF-8?Q?Dag=2DErling_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:07:14 -0000 On 2 November 2014 05:08, Mark R V Murray wrote: > >> On 2 Nov 2014, at 12:51, Dag-Erling Sm=C3=B8rgrav wrote: >> >> 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 rand= om| >>> loading random.ko fails because nothing provides random_adaptors [...] >> >> 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. > > 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 g= ets > compiled for each hash (Yarrow, Fortuna) with hash-specific #defines set. > > Not insoluble, but I just didn=E2=80=99t get to it. > > I=E2=80=99ll fix the random_adaptors bit shortly. 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. :( -adrian