From owner-freebsd-current@FreeBSD.ORG Tue Jul 30 14:07:53 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id DB33BDF2 for ; Tue, 30 Jul 2013 14:07:53 +0000 (UTC) (envelope-from jsteckli@os.inf.tu-dresden.de) Received: from os.inf.tu-dresden.de (os.inf.tu-dresden.de [IPv6:2002:8d4c:3001:48::99]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9CE7B260B for ; Tue, 30 Jul 2013 14:07:53 +0000 (UTC) Received: from [2002:8d4c:3001:48:ea40:f2ff:fee2:6328] by os.inf.tu-dresden.de with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.80.1) id 1V4Aab-0008Fh-Ae; Tue, 30 Jul 2013 16:07:49 +0200 Message-ID: <51F7C8B4.7070809@os.inf.tu-dresden.de> Date: Tue, 30 Jul 2013 16:07:48 +0200 From: Julian Stecklina User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130625 Thunderbird/17.0.7 MIME-Version: 1.0 To: "O. Hartmann" Subject: Re: CURRENT: Ivy Bridge CPU (i3-3220) and Intel Bull Mountain RNG (options RDRAND_RNG) References: <20130730134635.3b6d7b31@thor.walstatt.dyndns.org> In-Reply-To: <20130730134635.3b6d7b31@thor.walstatt.dyndns.org> X-Enigmail-Version: 1.5.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jul 2013 14:07:53 -0000 On 07/30/2013 01:46 PM, O. Hartmann wrote: > > I tried the new option "options RDRAND_RNG" on my SOHO server, equipted > with a Intel i3-3220 "Ivy Brdige" CPU, which is supposed to have the > Bull Mountain random number generator as a piece of hardware in its > uncore. > > Enabling the kernel option doesn't reveal any presence of such a > hardware number generator. "sysct kern.random" always reports > > kern.random.adaptors: yarrow > > By intentionally disallowing yarrow via commenting out options > YARROW_RNG, the box reports "no adaptors loaded". So, either this Ivy > Bridge has been castrated and ripped off by Intel of its RNG or FreeBSD > isn't capable of detecting it properly or I'm incapable of properly > configure the kernel. This might be Erratum BV54: Problem: On processors that support the RDRAND instruction, that capability should be reported via the setting of CPUID.01H:ECX.RDRAND[bit 30]. Due to this erratum, that bit will not be set, and the execution of the RDRAND instruction will result in a #UD exception. Implication: Software will not be able to utilize the RDRAND instruction http://www.intel.de/content/dam/www/public/us/en/documents/specification-updates/3rd-gen-core-desktop-specification-update.pdf Julian