Bug 201960 - r285947: broken AESNI support? No aesni0 on Intel XEON E5-1650-v3 on Fujitsu Celsius M740
Summary: r285947: broken AESNI support? No aesni0 on Intel XEON E5-1650-v3 on Fujitsu ...
Status: Closed Not A Bug
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: amd64 Any
: --- Affects Some People
Assignee: freebsd-bugs mailing list
Depends on:
Reported: 2015-07-29 05:38 UTC by O. Hartmann
Modified: 2018-06-23 18:23 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description O. Hartmann 2015-07-29 05:38:16 UTC
Running a workstation with CURRENT (FreeBSD 11.0-CURRENT #5 r285947: Tue Jul 28
13:39:03 CEST 2015 amd64) equipted with an Intel XEON E5-1650 v3, see the
extraction from recent "dmesg" below.

I double checked the UEFI settings (the box is a Fujitsu Celsius M740 with most
recent firmware 1.8.0) and I didn't find anything indicating that AES-NI has
been deactivated.

I checked the data sheet at Intel, the CPU should support AES-NI.

FreeBSD clang version 3.6.1 (tags/RELEASE_361/final 237755) 20150525
VT: running with driver "efifb".
CPU: Intel(R) Xeon(R) CPU E5-1650 v3 @ 3.50GHz (3491.98-MHz K8-class CPU)
  Origin="GenuineIntel"  Id=0x306f2  Family=0x6  Model=0x3f  Stepping=2
  AMD Features=0x2c100800<SYSCALL,NX,Page1GB,RDTSCP,LM>
  AMD Features2=0x21<LAHF,ABM>
  Structured Extended
XSAVE Features=0x1<XSAVEOPT> VT-x: (disabled in BIOS)
PAT,HLT,MTF,PAUSE,EPT,UG,VPID,VID,PostIntr TSC: P-state invariant, performance
statistics real memory  = 34359738368 (32768 MB)
avail memory = 33136336896 (31601 MB)
Event timer "LAPIC" quality 600
ACPI APIC Table: <FUJ    D3348-A1>
FreeBSD/SMP: Multiprocessor System Detected: 12 CPUs
FreeBSD/SMP: 1 package(s) x 6 core(s) x 2 SMT threads
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  2
 cpu3 (AP): APIC ID:  3
 cpu4 (AP): APIC ID:  4
 cpu5 (AP): APIC ID:  5
 cpu6 (AP): APIC ID:  6
 cpu7 (AP): APIC ID:  7
 cpu8 (AP): APIC ID:  8
 cpu9 (AP): APIC ID:  9
 cpu10 (AP): APIC ID: 10
 cpu11 (AP): APIC ID: 11
random: unblocking device.
ioapic0 <Version 2.0> irqs 0-23 on motherboard
ioapic1 <Version 2.0> irqs 24-47 on motherboard
random: entropy device external interface
kbd0 at kbdmux0
random: registering fast source Intel Secure Key RNG
random: fast provider: "Intel Secure Key RNG"
cryptosoft0: <software crypto> on motherboard
aesni0: No AESNI support.
Comment 1 Conrad Meyer freebsd_committer 2018-06-23 18:23:50 UTC
Your CPU is reporting that it does not support AESNI.  This is not a software bug.

The "AESNI" feature bit should show in Features2 after "POPCNT."  It is missing.  Perhaps your CPU does not support AES-NI, or perhaps it is disabled in a BIOS setting.