-
Notifications
You must be signed in to change notification settings - Fork 612
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CentOS Stream 10 guest kernel panic (invalid opcode: 0000
in chacha_8block_xor_avx512vl
)
#3022
Comments
Is this the version where they bumped the microarch? So that it now requires v3 - but not v4 afaik? https://www.centos.org/centos10/ If I understand correctly, that only means they can guarantee AVX2 - but still need to probe AVX512VL if (boot_cpu_has(X86_FEATURE_AVX) &&
boot_cpu_has(X86_FEATURE_AVX2) &&
cpu_has_xfeatures(XFEATURE_MASK_SSE | XFEATURE_MASK_YMM, NULL)) {
static_branch_enable(&chacha_use_avx2);
if (IS_ENABLED(CONFIG_AS_AVX512) &&
boot_cpu_has(X86_FEATURE_AVX512VL) &&
boot_cpu_has(X86_FEATURE_AVX512BW)) /* kmovq */
static_branch_enable(&chacha_use_avx512vl);
} Then again, it might be one of those AVX/AVX2 that are crashing - earlier versions did check for those too. https://developers.redhat.com/articles/2024/01/02/exploring-x86-64-v3-red-hat-enterprise-linux-10 |
This comment was marked as resolved.
This comment was marked as resolved.
There is now a 10.0 beta out, not sure it works better than stream 10 did? https://almalinux.org/blog/2024-12-10-almalinux-10-0-beta-now-available/ No cloud images yet, but maybe they will come later? |
This comment was marked as resolved.
This comment was marked as resolved.
According to this page, it comes in two different CPU variants (wrt AVX512): Can you It seems there is some mis-detection of the CPU features (or it has been disabled) https://kitten.repo.almalinux.org/10-kitten/BaseOS/x86_64/os/Packages/ (v3) |
Workaround: specify the cpu type as "Haswell-v4" |
Most likely there is some opcode that needs to be in that kernel check, need to align the assembly to find out which...
Also the CentOS Stream kernel (6.12) is different from the EL10 kernel, which for some reason used a non-lts version? https://www.theregister.com/2024/12/13/rhel_almalinux_betas/ |
I guess RHEL 10 will switch to 6.12 too before its GA? |
CentOS Stream 10 guest kernel panics:
lima.yaml
serial.log
The text was updated successfully, but these errors were encountered: