Skip to content
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

Open
AkihiroSuda opened this issue Dec 14, 2024 · 8 comments · May be fixed by #3047
Open

CentOS Stream 10 guest kernel panic (invalid opcode: 0000 in chacha_8block_xor_avx512vl) #3022

AkihiroSuda opened this issue Dec 14, 2024 · 8 comments · May be fixed by #3047

Comments

@AkihiroSuda
Copy link
Member

CentOS Stream 10 guest kernel panics:

[    1.554186] Oops: invalid opcode: 0000 [#1] PREEMPT SMP PTI                                                                          23:11:52 [26/831]
[    1.554408] CPU: 1 UID: 0 PID: 1 Comm: swapper/0 Not tainted 6.12.0-32.el10.x86_64 #1
[    1.554408] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[    1.554408] RIP: 0010:chacha_8block_xor_avx512vl+0x6e/0x6a0                                                                                           [    1.554408] Code: 7d 58 57 28 c4 62 7d 58 5f 2c c4 62 7d 58 67 30 c4 62 7d 58 6f 34 c4 62 7d 58 77 38 c4 62 7d 58 7f 3c c5 1d fe 25 52 f0 8b 01 <62> e
1 fd 28 6f c0 62 e1 fd 28 6f c9 62 e1 fd 28 6f d2 62 e1 fd 28
[    1.554408] RSP: 0000:ffffb2aec0013a18 EFLAGS: 00010206                                                                                               
[    1.554408] RAX: 0000000000000000 RBX: ffffb2aec0013cb0 RCX: 0000000000000109
[    1.554408] RDX: ffffffffb93b5ac0 RSI: ffff9aaaf43ff000 RDI: ffffb2aec0013cb0
[    1.554408] RBP: 0000000000000109 R08: 0000000000000014 R09: 17ae28094b4ea975
[    1.554408] R10: 0000000000000000 R11: 09dee45c094af0bd R12: 0000000000000109
[    1.554408] R13: 0000000000000014 R14: ffffb2aec0013cb0 R15: 0000000000000014           
[    1.554408] FS:  0000000000000000(0000) GS:ffff9aab3bc80000(0000) knlGS:0000000000000000
[    1.554408] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033                                                                                         
[    1.554408] CR2: 0000000000000000 CR3: 0000000132c22001 CR4: 00000000003706f0
[    1.554408] Call Trace:                                                  
[    1.554408]  <TASK>                                                                                                                                   
[    1.554408]  ? show_trace_log_lvl+0x1b0/0x2f0                        
[    1.554408]  ? show_trace_log_lvl+0x1b0/0x2f0
[    1.554408]  ? chacha_dosimd+0x24b/0x350
[    1.554408]  ? chacha_8block_xor_avx512vl+0x6e/0x6a0
[    1.554408]  ? __die_body.cold+0x8/0x12
[    1.554408]  ? die+0x2e/0x50   
[    1.554408]  ? do_trap+0xca/0x110                                                                                                                     
[    1.554408]  ? do_error_trap+0x65/0x80                                                                                                                
[    1.554408]  ? chacha_8block_xor_avx512vl+0x6e/0x6a0                                                                                                  
[    1.554408]  ? exc_invalid_op+0x50/0x70                  
[    1.554408]  ? chacha_8block_xor_avx512vl+0x6e/0x6a0
[    1.554408]  ? asm_exc_invalid_op+0x1a/0x20
[    1.554408]  ? chacha_8block_xor_avx512vl+0x6e/0x6a0
[    1.554408]  chacha_dosimd+0x24b/0x350
[    1.554408]  chacha_crypt_arch+0x58/0xa0
[    1.554408]  __chacha20poly1305_encrypt+0x11d/0x210
[    1.554408]  chacha20poly1305_encrypt+0xba/0x120
[    1.554408]  chacha20poly1305_selftest+0xe4/0x480
[    1.554408]  ? __pfx_chacha20poly1305_init+0x10/0x10
[    1.554408]  chacha20poly1305_init+0xe/0x30
[    1.554408]  do_one_initcall+0x5b/0x300
[    1.554408]  do_initcalls+0xdf/0x100
[    1.554408]  ? __pfx_kernel_init+0x10/0x10
[    1.554408]  kernel_init_freeable+0x147/0x1a0
[    1.554408]  kernel_init+0x1a/0x140 
[    1.554408]  ret_from_fork+0x34/0x50
[    1.554408]  ? __pfx_kernel_init+0x10/0x10
[    1.554408]  ret_from_fork_asm+0x1a/0x30
[    1.554408]  </TASK>
[    1.554408] Modules linked in:
[    1.663794] ---[ end trace 0000000000000000 ]---
  • Lima v1.0.2
  • macOS 15.2
  • MacBook Pro 2020 (2.3 GHz Quad-Core Intel Core i7)
lima.yaml

# This template requires Lima v0.11.1 or later.

images:
# Try to use release-yyyyMMdd image if available. Note that release-yyyyMMdd will be removed after several months.
- location: "https://cloud.centos.org/centos/10-stream/x86_64/images/CentOS-Stream-GenericCloud-10-20241209.0.x86_64.qcow2"
  arch: "x86_64"
  digest: "sha256:cf4c2bf9f6fe1c730b407baa13a48b085bd3bd96a8ea019d3c4062d6b8f3264d"
- location: "https://cloud.centos.org/centos/10-stream/aarch64/images/CentOS-Stream-GenericCloud-10-20241209.0.aarch64.qcow2"
  arch: "aarch64"
  digest: "sha256:732902370a694a91d0c5838abbeaeb35f270038368eea5c0f307c1aa725a1d6f"
# Fallback to the latest release image.
# Hint: run `limactl prune` to invalidate the cache
- location: "https://cloud.centos.org/centos/10-stream/x86_64/images/CentOS-Stream-GenericCloud-10-latest.x86_64.qcow2"
  arch: "x86_64"
- location: "https://cloud.centos.org/centos/10-stream/aarch64/images/CentOS-Stream-GenericCloud-10-latest.aarch64.qcow2"
  arch: "aarch64"
mountTypesUnsupported: ["9p"]
mounts:
- location: "~"
- location: "/tmp/lima"
  writable: true
firmware:
  # CentOS Stream 10 still requires legacyBIOS
  legacyBIOS: true

serial.log

[    0.000000] Linux version 6.12.0-32.el10.x86_64 (mockbuild@377f5d4d32c54d01a0cbc426e10b5898) (gcc (GCC) 14.2.1 20241104 (Red Hat 14.2.1-6), GNU ld version 2.41-49.el10) #1 SMP PREEMPT_DYNAMIC Mon Dec  2 15:19:00 UTC 2024
[    0.000000] Command line: BOOT_IMAGE=(hd0,gpt2)/boot/vmlinuz-6.12.0-32.el10.x86_64 root=UUID=60502b47-266b-4024-8562-87085e3c479a ro console=ttyS0,115200n8 no_timer_check crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M
[    0.000000] BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable
[    0.000000] BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000007ffd8fff] usable
[    0.000000] BIOS-e820: [mem 0x000000007ffd9000-0x000000007fffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000b0000000-0x00000000bfffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fed1c000-0x00000000fed1ffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000100000000-0x000000017fffffff] usable
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] APIC: Static calls initialized
[    0.000000] SMBIOS 2.8 present.
[    0.000000] DMI: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[    0.000000] DMI: Memory slots populated: 1/1
[    0.000000] last_pfn = 0x180000 max_arch_pfn = 0x400000000
[    0.000000] MTRRs disabled by BIOS
[    0.000000] x86/PAT: PAT support disabled by the firmware.
[    0.000000] x86/PAT: Configuration [0-7]: WB  WT  UC- UC  WB  WT  UC- UC  
[    0.000000] last_pfn = 0x7ffd9 max_arch_pfn = 0x400000000
[    0.000000] found SMP MP-table at [mem 0x000f5430-0x000f543f]
[    0.000000] RAMDISK: [mem 0x2eb3b000-0x33595fff]
[    0.000000] ACPI: Early table checksum verification disabled
[    0.000000] ACPI: RSDP 0x00000000000F5240 000014 (v00 BOCHS )
[    0.000000] ACPI: RSDT 0x000000007FFE244C 000038 (v01 BOCHS  BXPC     00000001 BXPC 00000001)
[    0.000000] ACPI: FACP 0x000000007FFE222C 0000F4 (v03 BOCHS  BXPC     00000001 BXPC 00000001)
[    0.000000] ACPI: DSDT 0x000000007FFE0040 0021EC (v01 BOCHS  BXPC     00000001 BXPC 00000001)
[    0.000000] ACPI: FACS 0x000000007FFE0000 000040
[    0.000000] ACPI: APIC 0x000000007FFE2320 000090 (v03 BOCHS  BXPC     00000001 BXPC 00000001)
[    0.000000] ACPI: HPET 0x000000007FFE23B0 000038 (v01 BOCHS  BXPC     00000001 BXPC 00000001)
[    0.000000] ACPI: MCFG 0x000000007FFE23E8 00003C (v01 BOCHS  BXPC     00000001 BXPC 00000001)
[    0.000000] ACPI: WAET 0x000000007FFE2424 000028 (v01 BOCHS  BXPC     00000001 BXPC 00000001)
[    0.000000] ACPI: Reserving FACP table memory at [mem 0x7ffe222c-0x7ffe231f]
[    0.000000] ACPI: Reserving DSDT table memory at [mem 0x7ffe0040-0x7ffe222b]
[    0.000000] ACPI: Reserving FACS table memory at [mem 0x7ffe0000-0x7ffe003f]
[    0.000000] ACPI: Reserving APIC table memory at [mem 0x7ffe2320-0x7ffe23af]
[    0.000000] ACPI: Reserving HPET table memory at [mem 0x7ffe23b0-0x7ffe23e7]
[    0.000000] ACPI: Reserving MCFG table memory at [mem 0x7ffe23e8-0x7ffe2423]
[    0.000000] ACPI: Reserving WAET table memory at [mem 0x7ffe2424-0x7ffe244b]
[    0.000000] No NUMA configuration found
[    0.000000] Faking a node at [mem 0x0000000000000000-0x000000017fffffff]
[    0.000000] NODE_DATA(0) allocated [mem 0x17ffd42c0-0x17fffefff]
[    0.000000] crashkernel reserved: 0x000000006f000000 - 0x000000007f000000 (256 MB)
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000001000-0x0000000000ffffff]
[    0.000000]   DMA32    [mem 0x0000000001000000-0x00000000ffffffff]
[    0.000000]   Normal   [mem 0x0000000100000000-0x000000017fffffff]
[    0.000000]   Device   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000001000-0x000000000009efff]
[    0.000000]   node   0: [mem 0x0000000000100000-0x000000007ffd8fff]
[    0.000000]   node   0: [mem 0x0000000100000000-0x000000017fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000001000-0x000000017fffffff]
[    0.000000] On node 0, zone DMA: 1 pages in unavailable ranges
[    0.000000] On node 0, zone DMA: 97 pages in unavailable ranges
[    0.000000] On node 0, zone Normal: 39 pages in unavailable ranges
[    0.000000] ACPI: PM-Timer IO Port: 0x608
[    0.000000] ACPI: LAPIC_NMI (acpi_id[0xff] dfl dfl lint[0x1])
[    0.000000] IOAPIC[0]: apic_id 0, version 32, address 0xfec00000, GSI 0-23
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level)
[    0.000000] ACPI: Using ACPI (MADT) for SMP configuration information
[    0.000000] ACPI: HPET id: 0x8086a201 base: 0xfed00000
[    0.000000] CPU topo: Max. logical packages:   1
[    0.000000] CPU topo: Max. logical dies:       1
[    0.000000] CPU topo: Max. dies per package:   1
[    0.000000] CPU topo: Max. threads per core:   1
[    0.000000] CPU topo: Num. cores per package:     4
[    0.000000] CPU topo: Num. threads per package:   4
[    0.000000] CPU topo: Allowing 4 present CPUs plus 0 hotplug CPUs
[    0.000000] PM: hibernation: Registered nosave memory: [mem 0x00000000-0x00000fff]
[    0.000000] PM: hibernation: Registered nosave memory: [mem 0x0009f000-0x0009ffff]
[    0.000000] PM: hibernation: Registered nosave memory: [mem 0x000a0000-0x000effff]
[    0.000000] PM: hibernation: Registered nosave memory: [mem 0x000f0000-0x000fffff]
[    0.000000] PM: hibernation: Registered nosave memory: [mem 0x7ffd9000-0x7fffffff]
[    0.000000] PM: hibernation: Registered nosave memory: [mem 0x80000000-0xafffffff]
[    0.000000] PM: hibernation: Registered nosave memory: [mem 0xb0000000-0xbfffffff]
[    0.000000] PM: hibernation: Registered nosave memory: [mem 0xc0000000-0xfed1bfff]
[    0.000000] PM: hibernation: Registered nosave memory: [mem 0xfed1c000-0xfed1ffff]
[    0.000000] PM: hibernation: Registered nosave memory: [mem 0xfed20000-0xfffbffff]
[    0.000000] PM: hibernation: Registered nosave memory: [mem 0xfffc0000-0xffffffff]
[    0.000000] [mem 0xc0000000-0xfed1bfff] available for PCI devices
[    0.000000] Booting paravirtualized kernel on bare hardware
[    0.000000] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1910969940391419 ns
[    0.000000] setup_percpu: NR_CPUS:8192 nr_cpumask_bits:4 nr_cpu_ids:4 nr_node_ids:1
[    0.000000] percpu: Embedded 66 pages/cpu s233472 r8192 d28672 u524288
[    0.000000] Kernel command line: BOOT_IMAGE=(hd0,gpt2)/boot/vmlinuz-6.12.0-32.el10.x86_64 root=UUID=60502b47-266b-4024-8562-87085e3c479a ro console=ttyS0,115200n8 no_timer_check crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M
[    0.000000] Unknown kernel command line parameters "BOOT_IMAGE=(hd0,gpt2)/boot/vmlinuz-6.12.0-32.el10.x86_64", will be passed to user space.
[    0.000000] random: crng init done
[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] Fallback order for Node 0: 0 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1048439
[    0.000000] Policy zone: Normal
[    0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
[    0.000000] software IO TLB: area num 4.
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Kernel/User page tables isolation: enabled
[    0.000000] ftrace: allocating 52797 entries in 207 pages
[    0.000000] ftrace: allocated 207 pages with 6 groups
[    0.000000] Dynamic Preempt: voluntary
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu: 	RCU event tracing is enabled.
[    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=8192 to nr_cpu_ids=4.
[    0.000000] 	Trampoline variant of Tasks RCU enabled.
[    0.000000] 	Rude variant of Tasks RCU enabled.
[    0.000000] 	Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 100 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] RCU Tasks: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=4.
[    0.000000] RCU Tasks Rude: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=4.
[    0.000000] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=4.
[    0.000000] NR_IRQS: 524544, nr_irqs: 456, preallocated irqs: 16
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] kfence: initialized - using 2097152 bytes for 255 objects at 0x(____ptrval____)-0x(____ptrval____)
[    0.000000] Console: colour VGA+ 80x25
[    0.000000] printk: console [ttyS0] enabled
[    0.000000] ACPI: Core revision 20240827
[    0.000000] clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604467 ns
[    0.001000] APIC: Switch to symmetric I/O mode setup
[    0.003000] x2apic: IRQ remapping doesn't support X2APIC mode
[    0.009000] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[    0.012000] tsc: Unable to calibrate against PIT
[    0.013000] tsc: using HPET reference calibration
[    0.014000] tsc: Detected 2303.946 MHz processor
[    0.000038] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x2135c4e5196, max_idle_ns: 440795236439 ns
[    0.004237] Calibrating delay loop (skipped), value calculated using timer frequency.. 4607.89 BogoMIPS (lpj=2303946)
[    0.006013] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0
[    0.006237] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0
[    0.007243] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization
[    0.008238] Spectre V2 : Mitigation: Retpolines
[    0.009237] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch
[    0.010237] Spectre V2 : Spectre v2 / SpectreRSB : Filling RSB on VMEXIT
[    0.011237] RETBleed: WARNING: Spectre v2 mitigation leaves CPU vulnerable to RETBleed attacks, data leaks possible!
[    0.012237] RETBleed: Vulnerable
[    0.013237] Speculative Store Bypass: Vulnerable
[    0.014246] MDS: Vulnerable: Clear CPU buffers attempted, no microcode
[    0.015237] MMIO Stale Data: Vulnerable: Clear CPU buffers attempted, no microcode
[    0.017237] SRBDS: Unknown: Dependent on hypervisor status
[    0.018237] GDS: Unknown: Dependent on hypervisor status
[    0.019292] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[    0.020245] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[    0.021237] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
[    0.022238] x86/fpu: xstate_offset[2]:  576, xstate_sizes[2]:  256
[    0.023237] x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using 'standard' format.
[    0.043838] Freeing SMP alternatives memory: 40K
[    0.044244] pid_max: default: 32768 minimum: 301
[    0.045285] LSM: initializing lsm=lockdown,capability,yama,selinux,bpf,landlock,ima,evm
[    0.046297] Yama: becoming mindful.
[    0.047248] SELinux:  Initializing.
[    0.048625] LSM support for eBPF active
[    0.049279] landlock: Up and running.
[    0.050458] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.052361] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.134771] smpboot: CPU0: Intel 06/7e (family: 0x6, model: 0x7e, stepping: 0x5)
[    0.136319] Performance Events: unsupported p6 CPU model 126 no PMU driver, software events only.
[    0.137271] signal: max sigframe size: 1776
[    0.139314] rcu: Hierarchical SRCU implementation.
[    0.139316] rcu: 	Max phase no-delay instances is 400.
[    0.141514] Timer migration: 1 hierarchy levels; 8 children per group; 1 crossnode level
[    0.142807] NMI watchdog: Perf NMI watchdog permanently disabled
[    0.143576] smp: Bringing up secondary CPUs ...
[    0.145927] smpboot: x86: Booting SMP configuration:
[    0.146000] .... node  #0, CPUs:      #1 #2 #3
[    0.157961] smp: Brought up 1 node, 4 CPUs
[    0.158044] smpboot: Total of 4 processors activated (18431.56 BogoMIPS)
[    0.178233] node 0 deferred pages initialised in 17ms
[    0.180233] Memory: 3653452K/4193756K available (18432K kernel code, 5779K rwdata, 14088K rodata, 4320K init, 6796K bss, 535888K reserved, 0K cma-reserved)
[    0.180431] devtmpfs: initialized
[    0.180431] x86/mm: Memory block size: 128MB
[    0.181050] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
[    0.181050] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.181050] pinctrl core: initialized pinctrl subsystem
[    0.185233] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.185233] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
[    0.185233] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.185233] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.185233] audit: initializing netlink subsys (disabled)
[    0.185486] audit: type=2000 audit(1734185460.198:1): state=initialized audit_enabled=0 res=1
[    0.185539] thermal_sys: Registered thermal governor 'fair_share'
[    0.185541] thermal_sys: Registered thermal governor 'step_wise'
[    0.185542] thermal_sys: Registered thermal governor 'user_space'
[    0.186318] cpuidle: using governor menu
[    0.186369] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[    0.186817] PCI: ECAM [mem 0xb0000000-0xbfffffff] (base 0xb0000000) for domain 0000 [bus 00-ff]
[    0.186823] PCI: ECAM [mem 0xb0000000-0xbfffffff] reserved as E820 entry
[    0.186833] PCI: Using configuration type 1 for base access
[    0.190360] kprobes: kprobe jump-optimization is enabled. All kprobes are optimized if possible.
[    0.202622] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[    0.202758] HugeTLB: 28 KiB vmemmap can be freed for a 2.00 MiB page
[    0.203013] cryptd: max_cpu_qlen set to 1000
[    0.203013] ACPI: Added _OSI(Module Device)
[    0.203013] ACPI: Added _OSI(Processor Device)
[    0.203013] ACPI: Added _OSI(3.0 _SCP Extensions)
[    0.203013] ACPI: Added _OSI(Processor Aggregator Device)
[    0.203348] ACPI: 1 ACPI AML tables successfully acquired and loaded
[    0.206454] ACPI: Interpreter enabled
[    0.206454] ACPI: PM: (supports S0 S3 S4 S5)
[    0.206454] ACPI: Using IOAPIC for interrupt routing
[    0.206499] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[    0.206500] PCI: Using E820 reservations for host bridge windows
[    0.206640] ACPI: Enabled 2 GPEs in block 00 to 3F
[    0.208554] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[    0.208562] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI EDR HPX-Type3]
[    0.208598] acpi PNP0A08:00: _OSC: platform does not support [PCIeHotplug LTR DPC]
[    0.208640] acpi PNP0A08:00: _OSC: OS now controls [SHPCHotplug PME AER PCIeCapability]
[    0.208650] acpi PNP0A08:00: host bridge window [mem 0xe00000000-0x15ffffffff window] ([0x1000000000-0x15ffffffff] ignored, not CPU addressable)
[    0.209233] PCI host bridge to bus 0000:00
[    0.209233] pci_bus 0000:00: root bus resource [io  0x0000-0x0cf7 window]
[    0.209233] pci_bus 0000:00: root bus resource [io  0x0d00-0xffff window]
[    0.209233] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window]
[    0.209233] pci_bus 0000:00: root bus resource [mem 0x80000000-0xafffffff window]
[    0.209233] pci_bus 0000:00: root bus resource [mem 0xc0000000-0xfebfffff window]
[    0.209233] pci_bus 0000:00: root bus resource [mem 0xe00000000-0xfffffffff window]
[    0.209233] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.209233] pci 0000:00:00.0: [8086:29c0] type 00 class 0x060000 conventional PCI endpoint
[    0.210233] pci 0000:00:01.0: [1af4:1004] type 00 class 0x010000 conventional PCI endpoint
[    0.210233] pci 0000:00:01.0: BAR 0 [io  0xc080-0xc0bf]
[    0.211196] pci 0000:00:01.0: BAR 1 [mem 0xfebd4000-0xfebd4fff]
[    0.211233] pci 0000:00:01.0: BAR 4 [mem 0xe00000000-0xe00003fff 64bit pref]
[    0.212803] pci 0000:00:02.0: [1af4:1000] type 00 class 0x020000 conventional PCI endpoint
[    0.213233] pci 0000:00:02.0: BAR 0 [io  0xc180-0xc19f]
[    0.213233] pci 0000:00:02.0: BAR 1 [mem 0xfebd5000-0xfebd5fff]
[    0.214233] pci 0000:00:02.0: BAR 4 [mem 0xe00004000-0xe00007fff 64bit pref]
[    0.214233] pci 0000:00:02.0: ROM [mem 0xfeb80000-0xfebbffff pref]
[    0.214241] pci 0000:00:03.0: [1af4:1005] type 00 class 0x00ff00 conventional PCI endpoint
[    0.215233] pci 0000:00:03.0: BAR 0 [io  0xc1a0-0xc1bf]
[    0.215233] pci 0000:00:03.0: BAR 1 [mem 0xfebd6000-0xfebd6fff]
[    0.215233] pci 0000:00:03.0: BAR 4 [mem 0xe00008000-0xe0000bfff 64bit pref]
[    0.216868] pci 0000:00:04.0: [1af4:1050] type 00 class 0x030000 conventional PCI endpoint
[    0.217233] pci 0000:00:04.0: BAR 0 [mem 0xfe000000-0xfe7fffff pref]
[    0.217233] pci 0000:00:04.0: BAR 2 [mem 0xe0000c000-0xe0000ffff 64bit pref]
[    0.217233] pci 0000:00:04.0: BAR 4 [mem 0xfebd7000-0xfebd7fff]
[    0.217233] pci 0000:00:04.0: ROM [mem 0xfebc0000-0xfebcffff pref]
[    0.217392] pci 0000:00:04.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff]
[    0.218233] pci 0000:00:05.0: [1af4:1052] type 00 class 0x090000 conventional PCI endpoint
[    0.219727] pci 0000:00:05.0: BAR 1 [mem 0xfebd8000-0xfebd8fff]
[    0.220233] pci 0000:00:05.0: BAR 4 [mem 0xe00010000-0xe00013fff 64bit pref]
[    0.220971] pci 0000:00:06.0: [1af4:1052] type 00 class 0x090200 conventional PCI endpoint
[    0.221233] pci 0000:00:06.0: BAR 1 [mem 0xfebd9000-0xfebd9fff]
[    0.221233] pci 0000:00:06.0: BAR 4 [mem 0xe00014000-0xe00017fff 64bit pref]
[    0.222233] pci 0000:00:07.0: [1b36:000d] type 00 class 0x0c0330 PCIe Root Complex Integrated Endpoint
[    0.222233] pci 0000:00:07.0: BAR 0 [mem 0xfebd0000-0xfebd3fff 64bit]
[    0.222233] pci 0000:00:07.0: enabling Extended Tags
[    0.223233] pci 0000:00:08.0: [1af4:1003] type 00 class 0x078000 conventional PCI endpoint
[    0.224233] pci 0000:00:08.0: BAR 0 [io  0xc0c0-0xc0ff]
[    0.224233] pci 0000:00:08.0: BAR 1 [mem 0xfebda000-0xfebdafff]
[    0.224233] pci 0000:00:08.0: BAR 4 [mem 0xe00018000-0xe0001bfff 64bit pref]
[    0.225233] pci 0000:00:09.0: [1af4:1003] type 00 class 0x078000 conventional PCI endpoint
[    0.225233] pci 0000:00:09.0: BAR 0 [io  0xc100-0xc13f]
[    0.225233] pci 0000:00:09.0: BAR 1 [mem 0xfebdb000-0xfebdbfff]
[    0.226233] pci 0000:00:09.0: BAR 4 [mem 0xe0001c000-0xe0001ffff 64bit pref]
[    0.227233] pci 0000:00:0a.0: [1af4:1001] type 00 class 0x010000 conventional PCI endpoint
[    0.227233] pci 0000:00:0a.0: BAR 0 [io  0xc000-0xc07f]
[    0.227233] pci 0000:00:0a.0: BAR 1 [mem 0xfebdc000-0xfebdcfff]
[    0.227233] pci 0000:00:0a.0: BAR 4 [mem 0xe00020000-0xe00023fff 64bit pref]
[    0.228233] pci 0000:00:1f.0: [8086:2918] type 00 class 0x060100 conventional PCI endpoint
[    0.229233] pci 0000:00:1f.0: quirk: [io  0x0600-0x067f] claimed by ICH6 ACPI/GPIO/TCO
[    0.229233] pci 0000:00:1f.2: [8086:2922] type 00 class 0x010601 conventional PCI endpoint
[    0.230233] pci 0000:00:1f.2: BAR 4 [io  0xc1c0-0xc1df]
[    0.230233] pci 0000:00:1f.2: BAR 5 [mem 0xfebdd000-0xfebddfff]
[    0.231140] pci 0000:00:1f.3: [8086:2930] type 00 class 0x0c0500 conventional PCI endpoint
[    0.231233] pci 0000:00:1f.3: BAR 4 [io  0x0700-0x073f]
[    0.232233] ACPI: PCI: Interrupt link LNKA configured for IRQ 10
[    0.232233] ACPI: PCI: Interrupt link LNKB configured for IRQ 10
[    0.232233] ACPI: PCI: Interrupt link LNKC configured for IRQ 11
[    0.232233] ACPI: PCI: Interrupt link LNKD configured for IRQ 11
[    0.232233] ACPI: PCI: Interrupt link LNKE configured for IRQ 10
[    0.232233] ACPI: PCI: Interrupt link LNKF configured for IRQ 10
[    0.232233] ACPI: PCI: Interrupt link LNKG configured for IRQ 11
[    0.232233] ACPI: PCI: Interrupt link LNKH configured for IRQ 11
[    0.232233] ACPI: PCI: Interrupt link GSIA configured for IRQ 16
[    0.232233] ACPI: PCI: Interrupt link GSIB configured for IRQ 17
[    0.232233] ACPI: PCI: Interrupt link GSIC configured for IRQ 18
[    0.232233] ACPI: PCI: Interrupt link GSID configured for IRQ 19
[    0.232233] ACPI: PCI: Interrupt link GSIE configured for IRQ 20
[    0.232233] ACPI: PCI: Interrupt link GSIF configured for IRQ 21
[    0.232233] ACPI: PCI: Interrupt link GSIG configured for IRQ 22
[    0.232233] ACPI: PCI: Interrupt link GSIH configured for IRQ 23
[    0.232373] iommu: Default domain type: Translated
[    0.232376] iommu: DMA domain TLB invalidation policy: lazy mode
[    0.232586] SCSI subsystem initialized
[    0.232618] ACPI: bus type USB registered
[    0.232631] usbcore: registered new interface driver usbfs
[    0.232636] usbcore: registered new interface driver hub
[    0.232642] usbcore: registered new device driver usb
[    0.232697] pps_core: LinuxPPS API ver. 1 registered
[    0.232699] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[email protected]>
[    0.232701] PTP clock support registered
[    0.232905] EDAC MC: Ver: 3.0.0
[    0.233909] NetLabel: Initializing
[    0.233909] NetLabel:  domain hash size = 128
[    0.233909] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    0.233909] NetLabel:  unlabeled traffic allowed by default
[    0.233909] PCI: Using ACPI for IRQ routing
[    0.362358] pci 0000:00:04.0: vgaarb: setting as boot VGA device
[    0.362358] pci 0000:00:04.0: vgaarb: bridge control possible
[    0.362358] pci 0000:00:04.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none
[    0.362434] vgaarb: loaded
[    0.362648] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0
[    0.362648] hpet0: 3 comparators, 64-bit 100.000000 MHz counter
[    0.364233] clocksource: Switched to clocksource tsc-early
[    0.365185] VFS: Disk quotas dquot_6.6.0
[    0.365205] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.365290] pnp: PnP ACPI init
[    0.365492] system 00:04: [mem 0xb0000000-0xbfffffff window] has been reserved
[    0.365939] pnp: PnP ACPI: found 5 devices
[    0.406322] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
[    0.406624] NET: Registered PF_INET protocol family
[    0.407858] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.435670] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[    0.435798] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.435798] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.436494] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, linear)
[    0.438898] TCP: Hash tables configured (established 32768 bind 32768)
[    0.439007] MPTCP token hash table entries: 4096 (order: 4, 98304 bytes, linear)
[    0.439044] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.439053] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.439096] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.439103] NET: Registered PF_XDP protocol family
[    0.439114] pci_bus 0000:00: resource 4 [io  0x0000-0x0cf7 window]
[    0.439117] pci_bus 0000:00: resource 5 [io  0x0d00-0xffff window]
[    0.439119] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff window]
[    0.439120] pci_bus 0000:00: resource 7 [mem 0x80000000-0xafffffff window]
[    0.439121] pci_bus 0000:00: resource 8 [mem 0xc0000000-0xfebfffff window]
[    0.439122] pci_bus 0000:00: resource 9 [mem 0xe00000000-0xfffffffff window]
[    0.440098] ACPI: \_SB_.GSIH: Enabled at IRQ 23
[    0.441675] PCI: CLS 0 bytes, default 64
[    0.441974] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    0.441976] software IO TLB: mapped [mem 0x000000006b000000-0x000000006f000000] (64MB)
[    0.442026] ACPI: bus type thunderbolt registered
[    0.442163] Trying to unpack rootfs image as initramfs...
[    0.526759] Initialise system trusted keyrings
[    0.526916] Key type blacklist registered
[    0.528664] workingset: timestamp_bits=36 max_order=20 bucket_order=0
[    0.528729] zbud: loaded
[    0.541681] integrity: Platform Keyring initialized
[    0.541818] integrity: Machine keyring initialized
[    0.555536] NET: Registered PF_ALG protocol family
[    0.555680] Key type asymmetric registered
[    0.555773] Asymmetric key parser 'x509' registered
[    1.428838] tsc: Refined TSC clocksource calibration: 2303.959 MHz
[    1.429161] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x2135d147f92, max_idle_ns: 440795296488 ns
[    1.433210] clocksource: Switched to clocksource tsc
[    1.537519] Freeing initrd memory: 76140K
[    1.552729] Block la
** replaying previous printk message **
[    1.552729] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    1.553651] io scheduler mq-deadline registered
[    1.553653] io scheduler kyber registered
[    1.553661] io scheduler bfq registered
[    1.554186] Oops: invalid opcode: 0000 [#1] PREEMPT SMP PTI
[    1.554408] CPU: 1 UID: 0 PID: 1 Comm: swapper/0 Not tainted 6.12.0-32.el10.x86_64 #1
[    1.554408] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[    1.554408] RIP: 0010:chacha_8block_xor_avx512vl+0x6e/0x6a0
[    1.554408] Code: 7d 58 57 28 c4 62 7d 58 5f 2c c4 62 7d 58 67 30 c4 62 7d 58 6f 34 c4 62 7d 58 77 38 c4 62 7d 58 7f 3c c5 1d fe 25 52 f0 8b 01 <62> e1 fd 28 6f c0 62 e1 fd 28 6f c9 62 e1 fd 28 6f d2 62 e1 fd 28
[    1.554408] RSP: 0000:ffffb2aec0013a18 EFLAGS: 00010206
[    1.554408] RAX: 0000000000000000 RBX: ffffb2aec0013cb0 RCX: 0000000000000109
[    1.554408] RDX: ffffffffb93b5ac0 RSI: ffff9aaaf43ff000 RDI: ffffb2aec0013cb0
[    1.554408] RBP: 0000000000000109 R08: 0000000000000014 R09: 17ae28094b4ea975
[    1.554408] R10: 0000000000000000 R11: 09dee45c094af0bd R12: 0000000000000109
[    1.554408] R13: 0000000000000014 R14: ffffb2aec0013cb0 R15: 0000000000000014
[    1.554408] FS:  0000000000000000(0000) GS:ffff9aab3bc80000(0000) knlGS:0000000000000000
[    1.554408] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    1.554408] CR2: 0000000000000000 CR3: 0000000132c22001 CR4: 00000000003706f0
[    1.554408] Call Trace:
[    1.554408]  <TASK>
[    1.554408]  ? show_trace_log_lvl+0x1b0/0x2f0
[    1.554408]  ? show_trace_log_lvl+0x1b0/0x2f0
[    1.554408]  ? chacha_dosimd+0x24b/0x350
[    1.554408]  ? chacha_8block_xor_avx512vl+0x6e/0x6a0
[    1.554408]  ? __die_body.cold+0x8/0x12
[    1.554408]  ? die+0x2e/0x50
[    1.554408]  ? do_trap+0xca/0x110
[    1.554408]  ? do_error_trap+0x65/0x80
[    1.554408]  ? chacha_8block_xor_avx512vl+0x6e/0x6a0
[    1.554408]  ? exc_invalid_op+0x50/0x70
[    1.554408]  ? chacha_8block_xor_avx512vl+0x6e/0x6a0
[    1.554408]  ? asm_exc_invalid_op+0x1a/0x20
[    1.554408]  ? chacha_8block_xor_avx512vl+0x6e/0x6a0
[    1.554408]  chacha_dosimd+0x24b/0x350
[    1.554408]  chacha_crypt_arch+0x58/0xa0
[    1.554408]  __chacha20poly1305_encrypt+0x11d/0x210
[    1.554408]  chacha20poly1305_encrypt+0xba/0x120
[    1.554408]  chacha20poly1305_selftest+0xe4/0x480
[    1.554408]  ? __pfx_chacha20poly1305_init+0x10/0x10
[    1.554408]  chacha20poly1305_init+0xe/0x30
[    1.554408]  do_one_initcall+0x5b/0x300
[    1.554408]  do_initcalls+0xdf/0x100
[    1.554408]  ? __pfx_kernel_init+0x10/0x10
[    1.554408]  kernel_init_freeable+0x147/0x1a0
[    1.554408]  kernel_init+0x1a/0x140
[    1.554408]  ret_from_fork+0x34/0x50
[    1.554408]  ? __pfx_kernel_init+0x10/0x10
[    1.554408]  ret_from_fork_asm+0x1a/0x30
[    1.554408]  </TASK>
[    1.554408] Modules linked in:
[    1.663794] ---[ end trace 0000000000000000 ]---
[
** replaying previous printk message **
[    1.665742] RIP: 0010:chacha_8block_xor_avx512vl+0x6e/0x6a0
[    1.666042] Code: 7d 58 57 28 c4 62 7d 58 5f 2c c4 62 7d 58 67 30 c4 62 7d 58 6f 34 c4 62 7d 58 77 38 c4 62 7d 58 7f 3c c5 1d fe 25 52 f0 8b 01 <62> e1 fd 28 6f c0 62 e1 fd 28 6f c9 62 e1 fd 28 6f d2 62 e1 fd 28
[    1.666150] RSP: 0000:ffffb2aec0013a18 EFLAGS: 00010206
[    1.666153] RAX: 0000000000000000 RBX: ffffb2aec0013cb0 RCX: 0000000000000109
[    1.666154] RDX: ffffffffb93b5ac0 RSI: ffff9aaaf43ff000 RDI: ffffb2aec0013cb0
[    1.666155] RBP: 0000000000000109 R08: 0000000000000014 R09: 17ae28094b4ea975
[    1.666157] R10: 0000000000000000 R11: 09dee45c094af0bd R12: 0000000000000109
[    1.666158] R13: 0000000000000014 R14: ffffb2aec0013cb0 R15: 0000000000000014
[    1.666159] FS:  0000000000000000(0000) GS:ffff9aab3bc80000(0000) knlGS:0000000000000000
[    1.666160] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    1.666161] CR2: 0000000000000000 CR3: 0000000132c22001 CR4: 00000000003706f0
[    1.666163] Kernel panic - not syncing: Fatal exception
[    1.666722] Shutting down cpus with NMI
[    1.666722] Kernel Offset: 0x35600000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
[    1.666722] ---[ end Kernel panic - not syncing: Fatal exception ]---

@afbjorklund
Copy link
Member

afbjorklund commented Dec 14, 2024

Is this the version where they bumped the microarch? So that it now requires v3 - but not v4 afaik?

https://www.centos.org/centos10/
https://en.wikipedia.org/wiki/X86-64#Microarchitecture_levels
https://www.qemu.org/docs/master/system/i386/cpu.html#abi-compatibility-levels-for-cpu-models

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

@afbjorklund

This comment was marked as resolved.

@afbjorklund
Copy link
Member

afbjorklund commented Dec 21, 2024

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?

https://repo.almalinux.org/almalinux/10.0-beta/cloud/

@afbjorklund

This comment was marked as resolved.

@afbjorklund
Copy link
Member

afbjorklund commented Dec 26, 2024

MacBook Pro 2020 (2.3 GHz Quad-Core Intel Core i7)

According to this page, it comes in two different CPU variants (wrt AVX512):
https://lowendmac.com/2024/13-intel-macbook-pro-2-or-4-tb-ports-2020/

Can you go run github.com/klauspost/cpuid/v2/cmd/cpuid@latest ?

It seems there is some mis-detection of the CPU features (or it has been disabled)
Running with a v2 kernel (SSE only) would also be an interesting experiment...

https://kitten.repo.almalinux.org/10-kitten/isos/x86_64_v2/AlmaLinux-Kitten-10-latest-x86_64_v2-boot.iso

https://kitten.repo.almalinux.org/10-kitten/BaseOS/x86_64/os/Packages/ (v3)
https://kitten.repo.almalinux.org/10-kitten/BaseOS/x86_64_v2/os/Packages/

@AkihiroSuda
Copy link
Member Author

$ go run github.com/klauspost/cpuid/v2/cmd/cpuid@latest
Name: Intel(R) Core(TM) i7-1068NG7 CPU @ 2.30GHz
Vendor String: GenuineIntel
Vendor ID: Intel
PhysicalCores: 4
Threads Per Core: 2
Logical Cores: 8
CPU Family 6 Model: 126 Stepping: 5
Features: ADX,AESNI,AMXFP8,AVX,AVX2,AVX512BITALG,AVX512BW,AVX512CD,AVX512DQ,AVX512F,AVX512IFMA,AVX512VBMI,AVX512VBMI2,AVX512VL,AVX512VNNI,AVX512VPOPCNTDQ,BMI1,BMI2,CLMUL,CMOV,CMPXCHG8,CX16,ERMS,F16C,FLUSH_L1D,FMA3,FSRM,FXSR,FXSROPT,GFNI,HTT,IA32_ARCH_CAP,IBPB,LAHF,LZCNT,MD_CLEAR,MMX,MOVBE,NX,OSXSAVE,POPCNT,PSFD,RDRAND,RDSEED,RDTSCP,SGX,SGXLC,SHA,SPEC_CTRL_SSBD,SRBDS_CTRL,SSE,SSE2,SSE3,SSE4,SSE42,SSSE3,STIBP,SYSCALL,SYSEE,VAES,VMX,VPCLMULQDQ,X87,XGETBV1,XSAVE,XSAVEC,XSAVEOPT,XSAVES
Microarchitecture level: 4
Cacheline bytes: 64
L1 Instruction Cache: 32768 bytes
L1 Data Cache: 49152 bytes
L2 Cache: 524288 bytes
L3 Cache: 8388608 bytes
Frequency: 2300000000 Hz
Boost Frequency: 4100000000 Hz
SGX: {Available:true LaunchControl:true SGX1Supported:false SGX2Supported:false MaxEnclaveSizeNot64:1 MaxEnclaveSize64:1 EPCSections:[]}

Workaround: specify the cpu type as "Haswell-v4"

@AkihiroSuda AkihiroSuda linked a pull request Dec 26, 2024 that will close this issue
@afbjorklund
Copy link
Member

Most likely there is some opcode that needs to be in that kernel check, need to align the assembly to find out which...

[    1.554408]  ? asm_exc_invalid_op+0x1a/0x20
[    1.554408]  ? chacha_8block_xor_avx512vl+0x6e/0x6a0
[    1.554408]  chacha_dosimd+0x24b/0x350

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/

@AkihiroSuda
Copy link
Member Author

I guess RHEL 10 will switch to 6.12 too before its GA?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants