VERR_CPUM_IPE_2 on Intel Xeon Silver 4410T

Discussions related to using VirtualBox on Linux hosts.
Post Reply
BenV
Posts: 2
Joined: 24. May 2023, 14:22

VERR_CPUM_IPE_2 on Intel Xeon Silver 4410T

Post by BenV »

Hi folks,

I've assembled a new server here using a Supermicro X13SEI-F and an Intel Xeon 4410T processor with 64GB of memory.
After successfully installing Arch linux on it (now on kernel 6.3.3) with Virtualbox 7.0.8, my next objective is getting a VM up and running.

Unfortunately this seems harder than it should be.
Initially I ran into a kernel panic issue due to ibt, but adding `ibt=off` to the kernel parameters made that go away (based on virtualbox ticket #21435).

However, now I'm stuck:
No matter what VM I try to configure, VMs fail to boot with the same error:
Relevant snippet of VBox.log

Code: Select all

00:00:00.135712 HM: HMR3Init: VT-x w/ nested paging and unrestricted guest execution hw support
00:00:00.135829 CPUM: fXStateHostMask=0xe7; initial: 0xe7; host XCR0=0x602e7
00:00:00.135831 AssertLogRel /build/virtualbox/src/VirtualBox-7.0.8/src/VBox/VMM/VMMR3/CPUM.cpp(2192) int CPUMR3Init(PVM): pVM->cpum.s.HostFeatures.cbMaxExtendedState >= sizeof(X86FXSTATE) && pVM->cpum.s.HostFeatures.cbMaxExtendedState <= sizeof(pVM->apCpusR3[0]->cpum.s.Host.XState) && pVM->cpum.s.HostFeatures.cbMaxExtendedState <= sizeof(pVM->apCpusR3[0]->cpum.s.Guest.XState)
00:00:00.136288 VMSetError: /build/virtualbox/src/VirtualBox-7.0.8/src/VBox/VMM/VMMR3/VM.cpp(341) int VMR3Create(uint32_t, PCVMM2USERMETHODS, uint64_t, PFNVMATERROR, void*, PFNCFGMCONSTRUCTOR, void*, VM**, UVM**); rc=VERR_CPUM_IPE_2
00:00:00.136293 VMSetError: CPUM internal processing error #2.
00:00:00.137475 ERROR [COM]: aRC=NS_ERROR_FAILURE (0x80004005) aIID={6ac83d89-6ee7-4e33-8ae6-b257b2e81be8} aComponent={ConsoleWrap} aText={CPUM internal processing error #2. (VERR_CPUM_IPE_2)}, preserve=false aResultDetail=-1755
00:00:00.137638 Console: Machine state changed to 'PoweredOff'
00:00:00.141898 Power up failed (vrc=VERR_CPUM_IPE_2, hrc=NS_ERROR_FAILURE (0X80004005))
00:00:00.145749 VRDP: TCP server closed.
00:00:00.160572 VBoxHeadless: exiting
I've tried all the options that I could find regarding processor extensions (e.g. nested paging / VT-x), acceleration enabled/disabled, 32/64 bit vms, all break with the same error.
This makes me believe it might either be due to the CPU being unknown to virtualbox, the kernel not playing nice, or a combination of such.
That said, I'm not sure how to make this work - are there more kernel options to try, or perhaps VM options to somehow disable whatever it's breaking on?
Suggestions welcome - added the complete log of trying to boot a basic (empty) arch VM.
Attachments
VBox.log
VBox.log of simple arch test vm
(28.28 KiB) Downloaded 25 times
fth0
Volunteer
Posts: 5677
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: VERR_CPUM_IPE_2 on Intel Xeon Silver 4410T

Post by fth0 »

BenV wrote:This makes me believe it might either be due to the CPU being unknown to virtualbox, the kernel not playing nice, or a combination of such.
Agreed! Please create a ticket in the Bugtracker.
BenV
Posts: 2
Joined: 24. May 2023, 14:22

Re: VERR_CPUM_IPE_2 on Intel Xeon Silver 4410T

Post by BenV »

fth0 wrote: Agreed! Please create a ticket in the Bugtracker.
Thanks, I created #21687 just now.
fth0
Volunteer
Posts: 5677
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: VERR_CPUM_IPE_2 on Intel Xeon Silver 4410T

Post by fth0 »

This issue should be fixed in the VirtualBox test builds 7.0.13r160260 and newer.
Post Reply