From owner-freebsd-current@freebsd.org Sun Mar 19 15:58:51 2017 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1F8E5D13EB2 for ; Sun, 19 Mar 2017 15:58:51 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [IPv6:2001:7b8:3a7:1:2d0:b7ff:fea0:8c26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D94453EB for ; Sun, 19 Mar 2017 15:58:50 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from [IPv6:2001:7b8:3a7::700c:efaa:fa5a:3f35] (unknown [IPv6:2001:7b8:3a7:0:700c:efaa:fa5a:3f35]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id DD08B311DC; Sun, 19 Mar 2017 16:58:47 +0100 (CET) From: Dimitry Andric Message-Id: Content-Type: multipart/signed; boundary="Apple-Mail=_E3231C59-6BB4-441A-B802-A6229B55DD7C"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 10.2 \(3259\)) Subject: Re: CURRENT: FreeBSD not reporting AES-NI on Intel(R) Xeon(R) CPU E5-1650 v3 Date: Sun, 19 Mar 2017 16:58:40 +0100 In-Reply-To: <20170319153658.7f2b0038@rimwks> Cc: "O. Hartmann" , Slawa Olhovchenkov , freebsd-current To: Rozhuk Ivan References: <20170317123625.60f1a508@freyja.zeit4.iv.bundesimmobilien.de> <20170317120429.GX15630@zxy.spb.ru> <20170317175324.27f1d59d@thor.intern.walstatt.dynvpn.de> <20170319153658.7f2b0038@rimwks> X-Mailer: Apple Mail (2.3259) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 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: Sun, 19 Mar 2017 15:58:51 -0000 --Apple-Mail=_E3231C59-6BB4-441A-B802-A6229B55DD7C Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 19 Mar 2017, at 13:36, Rozhuk Ivan wrote: >=20 > On Fri, 17 Mar 2017 17:53:24 +0100 > "O. Hartmann" wrote: >=20 >>> Other OS detect AES-NI on this server? >>=20 >> I havn't ried so far, the box is in heavy use. I'd like to check with >> some live USB drive versions and report later. >>=20 >=20 > You can write or find some program that read and decode CPUID and = check > AES-NI support without reboot. The kernel already does this at boot time, and show the results, e.g.: CPU: Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz (3391.68-MHz 686-class CPU) Origin=3D"GenuineIntel" Id=3D0x306a9 Family=3D0x6 Model=3D0x3a = Stepping=3D9 = Features=3D0xfa3fbff = Features2=3D0xffba2203 AMD Features=3D0x28100000 AMD Features2=3D0x1 Structured Extended Features=3D0x202 TSC: P-state invariant Unfortunately the kernel does not expose this information via any sysctl, so some time after booting it may have "scrolled away" in dmesg. In that case, you can use either the misc/cpuid or the sysutils/cpuid ports to show this information, and even quite a lot more. -Dimitry --Apple-Mail=_E3231C59-6BB4-441A-B802-A6229B55DD7C Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.30 iEYEARECAAYFAljOqrcACgkQsF6jCi4glqOw0gCfa41TVzeek6jN0X00//kMk3Wl lLMAnRCr+KwM5hDyaGTW4TzM5hgL+FGd =VnTQ -----END PGP SIGNATURE----- --Apple-Mail=_E3231C59-6BB4-441A-B802-A6229B55DD7C--