Hello,
I am running Rocky9 in virtualbox to run my dev environment with containers. When I try to use the mongodb container I get the famous CPU error: ILL/4 Illegal instruction.
here are my CPU details:
root@rocky9:[~]: cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 25
model : 97
model name : AMD Ryzen 7 7800X3D 8-Core Processor
stepping : 2
microcode : 0xffffffff
cpu MHz : 4199.876
cache size : 1024 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 4
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 cx16 sse4_1 sse4_2 movbe popcnt aes rdrand hypervisor lahf_lm cmp_legacy cr8_legacy abm sse4a misalignsse 3dnowprefetch vmmcall fsgsbase bmi1 bmi2 invpcid rdseed clflushopt arat
bugs : fxsave_leak sysret_ss_attrs null_seg spectre_v1 spectre_v2 srso
bogomips : 8399.75
TLB size : 3584 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 48 bits physical, 48 bits virtual
power management:
Even though it does not show AVX support in the flags, the bios have AVX-512 enabled.
virtualbox version: 7.0.20 (with PAE/NX and VT-x/AMD-V enabled)
mongodb version: 7.x
rocky9 kernel: Linux rocky9.localdomain 5.14.0-427.35.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Sep 12 18:24:53 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
What could be the problem please?
Using mongodb 4.4 is not really an option as it is already passed its EOL.