RL10 under VirtualBox?

Hi,


I’ve been running RL9 under VirtualBox for a long time with no issues.

Thought I’d try spinning up an RL10 VM to check it out. Have tried three different ISOs (DVD, minimal, gnome) and all get a kernel panic when I try to boot. I’ve tried various VirtualBox settings to no avail.

Additionally, I get a message that i9-14900K is deprecated which is disturbing because it’s a pretty new processor (and it’s what I’m running).

I also tried spinning up my RL9 VM and running:

/lib64/ld-linux-x86-64.so.2 --help | grep x86-64

It reports:

This program interpreter self-identifies as: /lib64/ld-linux-x86-64.so.2
x86-64-v4
x86-64-v3
x86-64-v2 (supported, searched)

which maybe is why I’m having problems?

Rocky Linux 10 runs well in virtualbox.

Since VM’s in virtualbox on your system are reporting v2 (which 10 does not support), I would ensure the following:

  • VirtualBox is fully up to date
  • Hyper-V is not enabled
  • Core Isolation is turned off
  • Device Guard / Credential Guard is disabled

I would start with the first three. Hyper-V and core isolation are notorious for causing issues like this in non-microsoft virtualization platforms.

Thank you for the response.

VirtualBox is now updated to the latest.
Hyper-V was already off.
I turned off Core Isolation (Memory Integrity). Kernel-mode stack protection was already off.
Rebooted the machine.

I tried changing some of the VBox settings (most notably enabled EFI). Got it to where it no longer kernel panics, but it halts with the message:
Fatal glibc error: CPU does not support x86-64-v3

If I turn EFI back off, a message about a TPM error flies by and then it kernel panics.

Am I just screwed because I have an i9-14900K?

Your processor won’t be the problem, it’ll be your system settings somewhere. I have the generation before yours (13900KF). In fact, VirtualBox added the extensions needed for v3 to work in 7.1.0, so you shouldn’t be having trouble.

What I would do next is look through your VM’s vbox.log file and see if it mentions anything about VT-x or “fall back to NEM”. You can find these logs by right clicking your VM in and clicking “show in explorer”



2 Likes

Thank you for the response.

In my log, there is in fact a line that says:

00:00:02.433059 HM: HMR3Init: Attempting fall back to NEM: VT-x is not available

So I found to enable VT-x you do this:
VBoxManage modifyvm “RockyLinux 10” --nested-hw-virt on

After I did that, the checkbox to enable nested VT-x (under System/Processor) showed up, so I’m pretty sure I enabled it correctly.

But attempting to run the VM results in exactly the same as before. If EFI is disabled, I get a kernel panic. If EFI is enabled, I get Fatal glibc error: CPU does not support x86-64-v3

After running the above vboxmanage command, if I examine the log file it once again says:
00:00:02.439489 HM: HMR3Init: Attempting fall back to NEM: VT-x is not available

So I don’t understand why VT-x is not available but it shows up as active in the settings for the VM.

I don’t have nested virtualization on myself, so I don’t think that’s necessary. And your log doesn’t mention Hyper-V? Hyper-V is usually the fallback in these situations, but if it’s off and you’re still running into this issue, something else may be getting in the way… and I’m sure you also have virtualization turned on in your BIOS too, so that wouldn’t be it.

It’s likely I’m forgetting what you may need to turn off or on… but I found this for you. Apologies if you’ve found this before.

Maybe this can help you. I’m hitting a blank in my mind of what else you could potentially do (and my windows 11 install is a couple years old, so that doesn’t help matters with remembering how I’ve set it up…)

There are only two lines in the log that reference hyper-v:
00:00:02.476883 NEM: Disable Hyper-V if you need X2APIC for your guests!

00:00:02.476965 NEM: NEMR3Init: Snail execution mode is active!
00:00:02.476965 NEM: Note! VirtualBox is not able to run at its full potential in this execution mode.
00:00:02.476965 NEM: To see VirtualBox run at max speed you need to disable all Windows features
00:00:02.476965 NEM: making use of Hyper-V. That is a moving target, so google how and carefully
00:00:02.476965 NEM: consider the consequences of disabling these features.

There’s also this:
00:00:02.476980 CPUM: No hardware-virtualization capability detected
00:00:02.476982 CPUM: fXStateHostMask=0x7; initial: 0x7; host XCR0=0x7
00:00:02.477596 CPUM: Warning! Can’t turn on nested VT-x/AMD-V when NEM is used! (later)

I read through the link you provided (again!), and I suspect I have some windows service running that is interfering.

I do have a green turtle in my status bar, so that’s some kind of clue.

Thank you for your help.

Update: It’s definitely some problem with Windows. I installed RL10 on VirtualBox running under RL9, with ancient Xeon CPUs, and it works fine.

Wish I could find the magic Windows incantation to make this work.

I have a i5-11400 and that kernel panics as well.

Note how VM on OP’s post reports:

x86-64-v4
x86-64-v3
x86-64-v2 (supported, searched)

while the hardware under VirtualBox is i9-14900K. The i9-14900K and i5-11400 do support x86-64-v3. The issue is not the hardware, but what the hypervisor allows the VM to use. In other words, the config of the VirtualBox (or of the Windows-VirtualBox combo).

I don’t use VirtualBox, so cannot advice on that.

There’s something to be followed up with about this.

lscpu | grep Virtual reports “full”

on a bare metal machine lscpu | grep Virtual reports:
VT-x

So somehow VirtualBox is not allowing VT-x through. In VirtualBox settings, under SystemProcessor, Enable Nested VT-V and AMD-V is checked.

I have tried both:
VboxManage modifyvm --nested-hw-virt on
and editing the .vbox file to manually add
NestedHWVirt enabled=“true”/ (with brackets around it)

No further info on this? I’ve tried every solution I found. I am not the only person reporting the problem.

Apparently VBox is not allowing VT-x to be presented to a VM.

Check your version of VirtualBox! I had the same issue, was on v7.1.0x. Installed latest (v7.1.10r…) and bootup and install worked without issue.

Current VBox is 7.1.12.

With earlier versions, RL10 kerne panicked. With current version, RL10 installs and runs, but VT-X is still not passed through so VBox runs in turtle mode.

This may be due to being unable to fully disable Hyper-V in the Windows host machine. There are many ways to disable Hyper-V documented, and I’ve tried them all. msinfo stil reports Hyper-V is active no matter what I do.

I’m having similar issues with RL 10 boot up in not only Virtual Box but also VMware 6.7 and Hyper-V on 2022 server.

where 9.6 works just fine.

I’m still trying to figure out what it could be.

I have VMware ESX 8.x and it works fine with RL10 installed on that. Probably VMware 6.7 is too old now anyway.

:rofl: “Wish I could find the magic Windows incantation to make this work.” :rofl:

To run M$ Windows you need to be Mr. Wizard and have a BOOK of incantations!!

Me?!? Ocelot runs an AMD Ryzen 9 5900X with 128 GB of GSkill 3600 Trident Z Neo. Back in the “Old” days and ocelot still ran with “ONLY” 64 GB of RAM If I wanted to run M$ Windows 10 and one or two other Virtual Machines, ocelot CRAWLED. Virtual LINUX Machines NO PROBLEM, add M$ Windows 10 and my Get up and GO, would Get up and WENT. When Zen 5 came out and the price of the “OLD” memory started falling I quickly added another 64 GB of RAM at 1/2 the price of my original 64 GB of RAM and Maxed out the total RAM on my MB. In those day I ran a M$ Windows 10 VM to help my sister who lives in NV, and INSISTS on Running Win 10 – NOT Win 11, but Win 10.

In retrospect that may have been a GOOD buy with all the TARIFFS that have started going into effect. Besides being ZEN 4 DDR4 memory and thus one generation behind the current ZEN 5, DDR5 memory, buying that “OLD” memory, at 1/2 price – IF you can find it at all – will probably cost you an arm and a leg.

Love it, I too Wish I had some, “ magical Windows incantations” up my sleeve at times.:laughing:

Getting the same kernel panic on VirtualBox 7.1.12 (latest) and a 7800x3d cpu with latest Win11.

The “Deprecated hardware is detected” says x86_64-v2:AuthenticAMD:AMD Ryzen 7 7800X3D
Hyper-V is disabled and instead set to KVM.

edit: In case anyone stumbles upon this issue - try reinstalling the VirtualBox, worked out in my case and now I got RL10 up and running.

VirtualBox isn’t recognizing your CPU as capable, even though it is. This workaround can spoof your CPU profile:

  1. If you dont have VBoxManage in your paths, go to Program Files/Oracle/VirtualBox/VBoxManage
  2. Run this command:
VBoxManage modifyvm "your_vm_name" --cpu-profile "Intel Core i7-6700K"

Then try running it again.

That’s unlikely to fix the issue. The problem is that Windows has made it very difficult to fully disable HyperV.

Refer to this thread:

In the last post is the solution I found that finally worked.

1 Like