On 13/02/2024 20:30, Jonathan Wright wrote:
What CPU model are you using for the VM?  AlmaLinux 9 requires x86_64v2 so you generally need to use host passthrough and not "kvm64" which is often the default.

On Tue, Feb 13, 2024 at 12:34 PM Benjamin Smith <[email protected]> wrote:

    I'm trying to get a VM of Alma 9 running on a fully updated Alma 9
    host. It's really simple:

    1) I start virt-manager

    2) Add machine, default settings, click "next... next..."
    * Local install media /home/AlmaLinux-9.3-x86_64-minimal.iso
      [X] Automatically detect from installation media/source
    * 1536 memory, 2 CPUs (default)
    * 20 GB storage (default)
    * Name: almalinux9 (default)

    3) When it boots, I choose "Install AlmaLinux...."

    4) Kernel panics! See attached screenshot result.

    What am I missing? Hopefully useful information to follow,
    screenshot attached.

    Host has 16 GB RAM and the following cpu.

    processor: 7

    vendor_id: GenuineIntel

    cpu family: 6

    model: 60

    model name: Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz

    stepping: 3

    microcode: 0x28

    cpu MHz: 3955.493

    cache size: 8192 KB

    physical id: 0

    siblings: 8

    core id: 3

    cpu cores: 4

    apicid: 7

    initial apicid: 7

    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 dts acpi mmx fxsr sse sse2 ss ht tm pbe
    syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts
    rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq
    dtes64 monitor ds_cpl smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm
    pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes
    xsave avx f16c rdrand lahf_lm abm cpuid_fault epb invpcid_single
    pti ssbd ibrs ibpb stibp fsgsbase tsc_adjust bmi1 avx2 smep bmi2
    erms invpcid xsaveopt dtherm ida arat pln pts md_clear flush_l1d

    bugs: cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf
    mds swapgs itlb_multihit srbds mmio_unknown

    bogomips: 7183.66

    clflush size: 64

    cache_alignment: 64

    address sizes: 39 bits physical, 48 bits virtual

    power management:


The physical CPU has AVX so it is x86-64-v2, actually it is a x86-64-v3 as it has AVX2, so I do not think that is the problem.
Did you set the CPU type in virt-manager?
If you are unsure use pass through as your physical CPU does have the features The screenshot is too small, as in there is relevant information missing, can you send the full screenshot including the part above that is missing, that might help us understand the problem

Reply via email to