# Rocky Linux 9 - VirtualBox - Kernel Panic

**URL:** <https://forums.rockylinux.org/t/rocky-linux-9-virtualbox-kernel-panic/6692>\
**Category:** Rocky Linux Help & Support\
**Created:** [July 22, 2022, 8:40am UTC](https://forums.rockylinux.org/t/rocky-linux-9-virtualbox-kernel-panic/6692 "2022-07-22T08:40:42Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![alex09](https://avatars.discourse-cdn.com/v4/letter/a/3ab097/32.png) [@alex09](https://forums.rockylinux.org/u/alex09)\
**Post date:** [July 22, 2022, 8:40am UTC](https://forums.rockylinux.org/t/rocky-linux-9-virtualbox-kernel-panic/6692/1 "2022-07-22T08:40:42Z")

</div>

Hi Everyone,

I’m trying to install Rocky 9 in Virtualbox 6.1.36 and I’m getting a Kernel Panic no matter what options I select during boot (pic attached).

Re-downloaded the DVD iso 2 times and tried fiddling with the VM options but nothing has helped.

Tried to install Rocky 8.6 and it worked perfectly fine.

I’m using a Dell XPS 9520 that has an i7-12700H and also running Windows 11.

Can anyone let me know if what the issue might be ?

Kind regards,  
Alex

 ![image](https://us1.discourse-cdn.com/flex020/uploads/rockylinux/original/2X/1/114d6f66f2611f7103d55fd4d7a11ab281b7057b.png)

---

<div class="post-metadata">

**Author:** ![iwalker](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/iwalker/32/2599_2.png) [@iwalker](https://forums.rockylinux.org/u/iwalker)\
**Post date:** [July 22, 2022, 8:55am UTC](https://forums.rockylinux.org/t/rocky-linux-9-virtualbox-kernel-panic/6692/2 "2022-07-22T08:55:06Z")

</div>

Could be due to this: [Rocky 8.6 host, Rocky 9.0 guest? - #2 by jlehtone](https://forums.rockylinux.org/t/rocky-8-6-host-rocky-9-0-guest/6601/2)

Check if sse4\* is accessible in the cpu on your Rocky Linux 8.x install, so:

```auto
cat /proc/cpuinfo | grep -i sse4

```

if you get zero results, that means VirtualBox is not passing through the functionality that allows RHEL9 and Rocky9 to work.

More info on that here: [RHEL9 Raises Base Target For x86\_64 CPUs Plus Possible Optimized Libraries With glibc-hwcaps - Phoronix](https://www.phoronix.com/scan.php?page=news_item&px=RHEL-9-x86-64-v2-Plans)

And here for virtualbox: [virtualbox.org • View topic - Kernel Panic - Centos 9 Stream](https://forums.virtualbox.org/viewtopic.php?f=3&t=106056)

Red Hat: [New installation of RHEL 9.0: Kernel Panic Fatal Exception - Red Hat Customer Portal](https://access.redhat.com/discussions/6960369)

---

<div class="post-metadata">

**Author:** ![alex09](https://avatars.discourse-cdn.com/v4/letter/a/3ab097/32.png) [@alex09](https://forums.rockylinux.org/u/alex09)\
**Post date:** [July 22, 2022, 9:55am UTC](https://forums.rockylinux.org/t/rocky-linux-9-virtualbox-kernel-panic/6692/3 "2022-07-22T09:55:21Z")

</div>

Hi Iwalker,

Thank you for your assistance with this.

I’m getting the following in my RL 8.6 VM:

| 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 rdtscp lm constant\_tsc rep\_good nopl xtopology nonstop\_tsc cpuid tsc\_known\_freq pni ssse3 cx16 pcid sse4\_1 sse4\_2 hypervisor lahf\_lm invpcid\_single ibrs\_enhanced fsgsbase invpcid md\_clear flush\_l1d arch\_capabilities |
| --- | --- | --- |
| 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 rdtscp lm constant\_tsc rep\_good nopl xtopology nonstop\_tsc cpuid tsc\_known\_freq pni ssse3 cx16 pcid sse4\_1 sse4\_2 hypervisor lahf\_lm invpcid\_single ibrs\_enhanced fsgsbase invpcid md\_clear flush\_l1d arch\_capabilities |
| 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 rdtscp lm constant\_tsc rep\_good nopl xtopology nonstop\_tsc cpuid tsc\_known\_freq pni ssse3 cx16 pcid sse4\_1 sse4\_2 hypervisor lahf\_lm invpcid\_single ibrs\_enhanced fsgsbase invpcid md\_clear flush\_l1d arch\_capabilities |
| 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 rdtscp lm constant\_tsc rep\_good nopl xtopology nonstop\_tsc cpuid tsc\_known\_freq pni ssse3 cx16 pcid sse4\_1 sse4\_2 hypervisor lahf\_lm invpcid\_single ibrs\_enhanced fsgsbase invpcid md\_clear flush\_l1d arch\_capabilities |

I’m assuming that this sss4 works then ?

Cheers,  
Alex

---

<div class="post-metadata">

**Author:** ![jlehtone](https://avatars.discourse-cdn.com/v4/letter/j/e9a140/32.png) [@jlehtone](https://forums.rockylinux.org/u/jlehtone)\
**Post date:** [July 22, 2022, 10:44am UTC](https://forums.rockylinux.org/t/rocky-linux-9-virtualbox-kernel-panic/6692/4 "2022-07-22T10:44:24Z")

</div>

The AWK script about this checks strings: `cx16 lahf popcnt sse4_1 sse4_2 ssse3`  
I don’t see `popcnt` on your output. The hypervisor should be configured to pass that capability to the VM (since the host most likely has it).

Since you have RL8, you should be able to run `/lib64/ld-linux-x86-64.so.2 --help`

Here is example, where host is x86-64-v4, but guest does not get even the x86-64-v2:

```nohighlight
[guest]# /lib64/ld-linux-x86-64.so.2 --help | tail 
Subdirectories of glibc-hwcaps directories, in priority order:
  x86-64-v4
  x86-64-v3
  x86-64-v2

Legacy HWCAP subdirectories under library search path directories:
  x86_64 (AT_PLATFORM; supported, searched)
  tls (supported, searched)
  avx512_1
  x86_64 (supported, searched)

[guest]# grep -m 1 flags /proc/cpuinfo
flags : fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pse36 clflush mmx fxsr sse sse2 syscall nx lm rep_good nopl xtopology cpuid tsc_known_freq pni cx16 x2apic hypervisor lahf_lm cpuid_fault pti

[host]# /lib64/ld-linux-x86-64.so.2 --help | tail
Subdirectories of glibc-hwcaps directories, in priority order:
  x86-64-v4 (supported, searched)
  x86-64-v3 (supported, searched)
  x86-64-v2 (supported, searched)

Legacy HWCAP subdirectories under library search path directories:
  haswell (AT_PLATFORM; supported, searched)
  tls (supported, searched)
  avx512_1 (supported, searched)
  x86_64 (supported, searched)

[host]# grep -m 1 flags /proc/cpuinfo
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 art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities

```

---

<div class="post-metadata">

**Author:** ![alex09](https://avatars.discourse-cdn.com/v4/letter/a/3ab097/32.png) [@alex09](https://forums.rockylinux.org/u/alex09)\
**Post date:** [July 22, 2022, 1:51pm UTC](https://forums.rockylinux.org/t/rocky-linux-9-virtualbox-kernel-panic/6692/5 "2022-07-22T13:51:37Z")

</div>

Hi Jlehtone, everyone

I managed to make it work by disabling the “Memory Integrity” option from Windows 11’s Core Isolation. Though I’m not very happy on disabling Windows protections to make this work when other VM’s I have don’t require me to turn off this option.

Prior to this, I also disabled Hyper-V completely as I’ve read online that it helped some people with similar issues but it didn’t work for me.

Is there anything I could do to make RL 9 work in Virtualbox without having to disable the Memory Integrity from Core Isolation ?

Cheers,  
Alex

---

<div class="post-metadata">

**Author:** ![jlehtone](https://avatars.discourse-cdn.com/v4/letter/j/e9a140/32.png) [@jlehtone](https://forums.rockylinux.org/u/jlehtone)\
**Post date:** [July 22, 2022, 4:01pm UTC](https://forums.rockylinux.org/t/rocky-linux-9-virtualbox-kernel-panic/6692/6 "2022-07-22T16:01:21Z")

</div>

I use neither Windows 11 nor Virtualbox, so can’t tell what they are good for.

---

<div class="post-metadata">

**Author:** ![iwalker](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/iwalker/32/2599_2.png) [@iwalker](https://forums.rockylinux.org/u/iwalker)\
**Post date:** [July 22, 2022, 4:40pm UTC](https://forums.rockylinux.org/t/rocky-linux-9-virtualbox-kernel-panic/6692/7 "2022-07-22T16:40:09Z")

</div>

> [@alex09](#):
>
> Is there anything I could do to make RL 9 work in Virtualbox without having to disable the Memory Integrity from Core Isolation ?

I would ask on the VirtualBox forums about this since it seems to be a VirtualBox problem. I would expect you wouldn’t have any issues if using VMware Workstation on Windows.

This can most likely happen as well for any other VM types no matter what the OS is, if Oracle don’t get their act together with VirtualBox. I would never personally use their products, but that’s my personal viewpoint.

---

<div class="post-metadata">

**Author:** ![rajendra](https://avatars.discourse-cdn.com/v4/letter/r/8e8cbc/32.png) [@rajendra](https://forums.rockylinux.org/u/rajendra)\
**Post date:** [September 15, 2022, 10:21am UTC](https://forums.rockylinux.org/t/rocky-linux-9-virtualbox-kernel-panic/6692/8 "2022-09-15T10:21:54Z")

</div>

I am getting the same issue with the latest iso: Rocky-9.0-20220805.0-x86\_64-minimal  
I am trying to create a VM on my Hypervisor - KVM host. (with AMD CPU).

---

<div class="post-metadata">

**Author:** ![Les](https://avatars.discourse-cdn.com/v4/letter/l/db5fbb/32.png) [@Les](https://forums.rockylinux.org/u/Les)\
**Post date:** [September 27, 2022, 5:49pm UTC](https://forums.rockylinux.org/t/rocky-linux-9-virtualbox-kernel-panic/6692/9 "2022-09-27T17:49:11Z")

</div>

Hey all!  
Not sure if anyone else has solved this, but I have R9 running in Virtualbox 6.1.38. I noticed that under System/Processor, I had Enable PAE/NX and Netsted VT-x/AMD-V disabled - I vaguely recalling getting this error and this solved it. I had a kernel update come down today in R9 and shutdown the VM and then re-enabled these settings, and everything is working. (Also disabled EFI because I generally leave this off.)

See if that helps. 🙂

---

<div class="post-metadata">

**Author:** ![hardrock](https://avatars.discourse-cdn.com/v4/letter/h/4af34b/32.png) [@hardrock](https://forums.rockylinux.org/u/hardrock)\
**Post date:** [November 7, 2022, 11:31am UTC](https://forums.rockylinux.org/t/rocky-linux-9-virtualbox-kernel-panic/6692/10 "2022-11-07T11:31:00Z")

</div>

I get the same issue on newest ProxMox VM with default settings in the new KVM-machine and Rocky 9 Minimal. Same settings I always use for different Ubuntu/Debian and other distros.

Edit: Had to change the VM CPU type to Host instead of KVM64. Then both workes. First time I have needed to do that ever…

---

<div class="post-metadata">

**Author:** ![jmcnally](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/jmcnally/32/1304_2.png) [@jmcnally](https://forums.rockylinux.org/u/jmcnally)\
**Post date:** [November 14, 2022, 5:37pm UTC](https://forums.rockylinux.org/t/rocky-linux-9-virtualbox-kernel-panic/6692/11 "2022-11-14T17:37:05Z")

</div>

Me too!

I get the same kernel panic running Rocky 9 on the qemu-kvm hypervisor. Usually, my cluster manager (ganeti) omits the “-cpu” option when starting a VM instance. This results in:

```auto
# grep model /proc/cpuinfo
model : 13
model name	: QEMU Virtual CPU version 1.5.3

```

However, if I supply a specific virtual cpu model that matches the underlying physical processor, like so…

```auto
/usr/libexec/qemu-kvm -cpu Westmere ...

```

…then, Rocky 9 boots normally. In this example, after changing cpu type, /proc/cpuinfo looks like this from inside the viraual host:

```auto
# grep model /proc/cpuinfo
model : 44
model name	: Westmere E56xx/L56xx/X56xx (Nehalem-C)

```

This seems to be a manifestation of the new minimum requirement of “AMD and Intel 64-bit architectures (x86-64-v2)” as stated in the [release notes](https://docs.rockylinux.org/release_notes/9_0/).

It would be nice to have a specific list of Rocky 9-compatible processor models, or a way to derive such a list. Does anyone have that info?

---

<div class="post-metadata">

**Author:** ![iwalker](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/iwalker/32/2599_2.png) [@iwalker](https://forums.rockylinux.org/u/iwalker)\
**Post date:** [November 14, 2022, 7:07pm UTC](https://forums.rockylinux.org/t/rocky-linux-9-virtualbox-kernel-panic/6692/12 "2022-11-14T19:07:15Z")

</div>

@jmcnally can you not use the host option to pass it through by default? I usually always create my VM’s with virt-manager, so the option to copy the host CPU is enabled by default.

When I use:

```auto
qemu-kvm -cpu help

```

one of the options shown is:

```auto
x86 host

```

so I’m assuming you could then just do:

```auto
qemu-kvm -cpu host

```

and you’ll get what the underlying CPU on the server has. At least that is how I understand it.

---

<div class="post-metadata">

**Author:** ![jmcnally](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/jmcnally/32/1304_2.png) [@jmcnally](https://forums.rockylinux.org/u/jmcnally)\
**Post date:** [November 14, 2022, 7:45pm UTC](https://forums.rockylinux.org/t/rocky-linux-9-virtualbox-kernel-panic/6692/13 "2022-11-14T19:45:38Z")

</div>

Ian,

I am using Ganeti for virtual host and cluster management, not VirtualBox. On the ganeti master node, I enter this command…

```auto
# gnt-cluster modify -H kvm:cpu_type=Westmere

```

…and it passes the processor model through to KVM for each instance on the cluster.

But my question remains: What is the definitive list of compatible processors for Rocky Linux 9?

-jm

---

<div class="post-metadata">

**Author:** ![iwalker](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/iwalker/32/2599_2.png) [@iwalker](https://forums.rockylinux.org/u/iwalker)\
**Post date:** [November 14, 2022, 8:02pm UTC](https://forums.rockylinux.org/t/rocky-linux-9-virtualbox-kernel-panic/6692/14 "2022-11-14T20:02:45Z")

</div>

Hi, in my post I mentioned `virt-manager`, which is the GUI app for KVM environment - you’ll see the references to KVM, so I know you aren’t running VirtualBox. I believe the qemu-kvm commands that I mentioned should help you in resolving the issue. If you pass the `host` parameter through via that particular parameter to the VM **(-cpu host)**, then it’ll have the features you need to run Rocky 9 **rather than you telling it to be a particular CPU type**. I expect the Ganeti commands (not used it so can’t be sure) should give you similar ability to pass through the host CPU, irrespective of what CPU is underneath.

Maybe these links will help:

> **[RHEL9 Raises Base Target For x86\_64 CPUs Plus Possible Optimized Libraries...](https://www.phoronix.com/news/RHEL-9-x86-64-v2-Plans)**
>
> As we reported almost one year ago, Red Hat was looking at likely dropping older x86\_64 CPU support from Red Hat Enterprise Linux 9 and we now have a better idea of their plans in catering RHEL9 better to modern processors.

> **[Building Red Hat Enterprise Linux 9 for the x86-64-v2 microarchitecture level...](https://developers.redhat.com/blog/2021/01/05/building-red-hat-enterprise-linux-9-for-the-x86-64-v2-microarchitecture-level#recommendations_for_rhel_9)**
>
> Find out why Red Hat recommends building Red Hat Enterprise Linux 9 for x86-64-v2 and what you can expect from this new, optional microarchitecture level.

And this link:

> **[x86-64](https://en.wikipedia.org/wiki/X86-64)**
>
> x86-64 (also known as x64, x86\_64, AMD64, and Intel 64)\[note 1\] is a 64-bit version of the x86 instruction set, first released in 1999. It introduced two new modes of operation, 64-bit mode and compatibility mode, along with a new 4-level paging mode.
> With 64-bit mode and the new paging mode, it supports vastly larger amounts of virtual memory and physical memory than was possible on its 32-bit predecessors, allowing programs to store larger amounts of data in memory. x86-64 also expands gener...

shows lower down what ones are x86-64-v2 Nehalem and upwards

---

<div class="post-metadata">

**Author:** ![jlehtone](https://avatars.discourse-cdn.com/v4/letter/j/e9a140/32.png) [@jlehtone](https://forums.rockylinux.org/u/jlehtone)\
**Post date:** [November 14, 2022, 8:17pm UTC](https://forums.rockylinux.org/t/rocky-linux-9-virtualbox-kernel-panic/6692/15 "2022-11-14T20:17:07Z")

</div>

I stumbled on Spack package manager into “target” feature update [https://github.com/archspec/archspec-json/pull/31](https://github.com/archspec/archspec-json/pull/31) that uses:

> `x86-64-v2` (basically an alias to `nehalem` with generic tuning)

And elsewhere:

> With glibc 2.33 or later (Arch Linux, Debian 12, Ubuntu 21.04, Fedora 34, etc.), or patched glibc (RHEL 8), you can see what architecture is supported by your CPU by running:  
> `$ /lib/ld-linux-x86-64.so.2 --help`

---

<div class="post-metadata">

**Author:** ![magister](https://avatars.discourse-cdn.com/v4/letter/m/ebca7d/32.png) [@magister](https://forums.rockylinux.org/u/magister)\
**Post date:** [December 20, 2022, 9:50pm UTC](https://forums.rockylinux.org/t/rocky-linux-9-virtualbox-kernel-panic/6692/16 "2022-12-20T21:50:38Z")

</div>

Hi,

in my case I fixed the error increasing the number of processors. By default VirtualBox configure only one, increasing to two the kernel panic has disappeared.

I hope this is helpful for somebody.

Regards.

---

<div class="post-metadata">

**Author:** ![rodders](https://avatars.discourse-cdn.com/v4/letter/r/cc9497/32.png) [@rodders](https://forums.rockylinux.org/u/rodders)\
**Post date:** [December 26, 2022, 1:18pm UTC](https://forums.rockylinux.org/t/rocky-linux-9-virtualbox-kernel-panic/6692/17 "2022-12-26T13:18:47Z")

</div>

Having the same issue. Rocky 8.7 loads just fine. But 9.1 keeps dumping with kernel panic.  
Tried increasing CPU from 1 to 2, and then to 4, but still get Kernel panic dump.  
Also tried bumping RAM - 1GB to 4GB.  
Virtual Drive set to 50GB  
Tried toggling the ‘Enable PAE/NX’ setting (defaulted to checked)  
All with same result.

Using VirtualBox 6.1.38  
On Win10, latest patches.  
On a new ThinkPad L14 (Intel i7) 64GB RAM

Any further suggestions welcome.

- Rod.

---

<div class="post-metadata">

**Author:** ![aroundtheclock](https://avatars.discourse-cdn.com/v4/letter/a/7993a0/32.png) [@aroundtheclock](https://forums.rockylinux.org/u/aroundtheclock)\
**Post date:** [December 26, 2022, 3:29pm UTC](https://forums.rockylinux.org/t/rocky-linux-9-virtualbox-kernel-panic/6692/18 "2022-12-26T15:29:36Z")

</div>

In addition to removing Hyper-V (in “Turn Windows features on or off”), you may try to open cmd as administrator and run “bcdedit /set hypervisorlaunchtype off”, and reboot, before installing Rocky 9.

---

<div class="post-metadata">

**Author:** ![rodders](https://avatars.discourse-cdn.com/v4/letter/r/cc9497/32.png) [@rodders](https://forums.rockylinux.org/u/rodders)\
**Post date:** [December 28, 2022, 11:02am UTC](https://forums.rockylinux.org/t/rocky-linux-9-virtualbox-kernel-panic/6692/19 "2022-12-28T11:02:54Z")

</div>

Thanks for that, but I think that’s already set. Anyway, I’m not going to worry about it now. Was just experimenting, I’ll go with v8 - just excited to see a proper replacement for CentOS.

---

<div class="post-metadata">

**Author:** ![jmcphee](https://avatars.discourse-cdn.com/v4/letter/j/ea5d25/32.png) [@jmcphee](https://forums.rockylinux.org/u/jmcphee)\
**Post date:** [January 27, 2023, 9:08pm UTC](https://forums.rockylinux.org/t/rocky-linux-9-virtualbox-kernel-panic/6692/20 "2023-01-27T21:08:53Z")

</div>

Had the same problem. Windows 10, VirtualBox 6.1.38, attempted to boot rocky 9.1 iso. Kernel fault. Thanks to the info in this thread, checked cpu extensions, popcnt missing. Open cmd, cd C:\Program Files\Oracle\VirtualBox, run “VBoxManage setextradata VMName VBoxInternal/CPUM/IsaExts/POPCNT 1” and then tried again and that seemed to solve it. Replace VMName with whatever you named your vm.

[Next page](https://forums.rockylinux.org/t/rocky-linux-9-virtualbox-kernel-panic/6692.md?page=2)
