Date: Tue, 4 Dec 2012 02:10:22 +0200 From: Konstantin Belousov <kostikbel@gmail.com> To: Karl Pielorz <kpielorz_lst@tdx.co.uk> Cc: freebsd-hackers@freebsd.org Subject: Re: Two Intel E31220L 9.0-Stable systems, 'kern.random' missing on one? Message-ID: <20121204001022.GM3013@kib.kiev.ua> In-Reply-To: <019F3C674FEE8BF6DB530F39@MightyAtom.tdx.co.uk>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] On Mon, Dec 03, 2012 at 03:11:21PM +0000, Karl Pielorz wrote: > > Hi, > > I have two SuperMicro E31220L based systems - both had identical > /etc/sysctl.conf - I then shifted them from 9.0-R to 9.0-Stable (as of > 2012/12/03). > > Now I've noticed of them complains at boot time that a bunch of OID's are > missing - and sure enough: > > " > sysctl kern.random > sysctl: unknown oid 'kern.random' > " > > But the other system returns these fine. > > One system ID's as 'Intel E31220L @ 2.20Ghz' - the other ID's as 'Intel > E31220L V2 @ 2.30Ghz' the V2 system is apparently 'missing' the kern.random > stuff. > > The only reason I can think for the OID's not being present is if one > system is using hardware RNG? - Though 'man 4 random' states: > > "The only hardware implementation currently is for the > VIA C3 Nehemiah (stepping 3 or greater) CPU. More will be added in the > future." > > Is there any other reason why they would have 'disappeared' on the non V2 > system? (in fact, looking at the Feature2 line I can see 'RDRAND' on the V2 > system, hmm so I'm guessing that's it?!) You noted that RDRAND is supported by your hardware. And indeed, FreeBSD got the RDRAND (aka Bull Mountain) hardware random number generator support recently. From my reading of the sys/dev/random code, the kern.random OID is only instantiated if the software implementation is selected. If you prefer software, you can disable RDRAND with hw.ivy_rng_enable=0 tunable. [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQIcBAEBAgAGBQJQvT9tAAoJEJDCuSvBvK1BvHMP/1vFEH3p/QS+3xVFMbhxiDOZ X8p+6GFyAHdBOx93fdkuxmRFrpv9fx5b3ur+vMWOmveQfKvu+vgSgch+2zlHubN1 6EmMVSzae/AtFz42bNxM+Pp0Z83bSzbuSmz+FdnzyW0bt3XBxKbyVANmTVEXs2ID UjRHGAEQov1FUto3aL/IuATiAdAbj3WceCIkHHbKGP9zqxN4sCTn8NrxSQ70pwMB Wlc9nYTZsZquH3GX7hCh6nmm9XlVoR3DQyAwIauBBFtGXNRKSTNaw65aI+uHmNWO QLg2sWnaYm2SVC2DQj3CQL7fW0p2BXBWh5QDGCAsFskwREZgtVdV+VRjDmVYwBfP hXUIrHgxWCV6B2Fx5Afx+2wYKZK1oewn4KpBzg4wZXQF84hNGQ6mQpxzMxkikJvG xI1xAr7JWUho/2WFQeRT08N6hJfAPxPFYjr1euA1OKS24roy8seV3QHFEWQ2QS19 ECyQ9Rov2zE4ez2t82kmMjQ+bbaDoIOGioJeR53Z2lhH4Q+4vMxD9VVYLIEBsU0I FNLdCIzG+IjTrQHNlMd+6m6XLiSDIhztetEacHbKh4fSC0kP83XzKtxu/DAC14Sd 2kE6Sp83kKEYuSosUncEYPCUDbkbBnpELIYTo+xXBK91W1BNAKI4DQmce9FOuy1z 7OrTaotQ1E29CvHxkPVk =OHvM -----END PGP SIGNATURE-----home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121204001022.GM3013>
