scaleway / kernel-tools

:penguin: Kernels on Scaleway
http://devhub.scaleway.com/#/bootscripts
MIT License
104 stars 36 forks source link

asni_intel module not present on VC1S #374

Open Gu1nness opened 6 years ago

Gu1nness commented 6 years ago

On my VC1S server, the asni_intel module is listed in the /proc/config.gz file, but is not present :

---> uname -a
Linux hermoth.oudin.ml 4.15.7-mainline-rev1 #1 SMP Wed Feb 28 10:23:10 UTC 2018 x86_64 GNU/Linux

and

---> zgrep AES /proc/config.gz
# CONFIG_SND_MAESTRO3 is not set
CONFIG_CRYPTO_AES=y
CONFIG_CRYPTO_AES_TI=m
CONFIG_CRYPTO_AES_X86_64=y
CONFIG_CRYPTO_AES_NI_INTEL=y
CONFIG_CRYPTO_CAMELLIA_AESNI_AVX_X86_64=y
CONFIG_CRYPTO_CAMELLIA_AESNI_AVX2_X86_64=y

and

---> sudo find /lib |grep aes
/lib/modules/4.14.11-mainline-rev1/kernel/crypto/aes_ti.ko
/lib/modules/4.15.7-mainline-rev1/kernel/crypto/aes_ti.ko

The CPU is aesni-enabled

---> grep aes /proc/cpuinfo 
flags       : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx rdtscp lm constant_tsc arch_perfmon rep_good nopl cpuid pni pclmulqdq vmx ssse3 cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes rdrand hypervisor lahf_lm 3dnowprefetch pti tpr_shadow vnmi flexpriority ept vpid tsc_adjust smep erms arat
flags       : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx rdtscp lm constant_tsc arch_perfmon rep_good nopl cpuid pni pclmulqdq vmx ssse3 cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes rdrand hypervisor lahf_lm 3dnowprefetch pti tpr_shadow vnmi flexpriority ept vpid tsc_adjust smep erms arat

I think that the module is missing by error (especially since https://github.com/scaleway/kernel-tools/issues/259 had added it)

Would it be possible to add it back ?