Page 1 of 1

(VERR_INCOMPATIBLE_CONFIG) After encrypt VM

Posted: 15. Sep 2021, 16:52
by JoseManuelLasJim
Hello all !

I just have crashed my VM before doing:

VBoxManage encryptmedium '/home/omnitec/VirtualBox VMs/OmnitecOsaccess/OmnitecOsaccess-disk001.vmdk' --newpassword - --cipher AES-XTS256-PLAIN64 --newpasswordid OmnitecOsaccessDisc

It encrypted normaly with no errors but when doing:

VBoxManage startvm OmnitecOsaccess --type headless &

omnitec@ubuntumvhost:~$ Waiting for VM "OmnitecOsaccess" to power on...
VBoxManage: error: Incompatible configuration requested. (VERR_INCOMPATIBLE_CONFIG)
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component ConsoleWrap, interface IConsole



Ill attach here logs files

Re: (VERR_INCOMPATIBLE_CONFIG) After encrypt VM

Posted: 15. Sep 2021, 17:45
by scottgus1
Something went wrong, though what is hard to tell. The log says:
00:00:00.140486 VMMR0_DO_PDM_DEVICE_CREATE for ioapic failed: VERR_INCOMPATIBLE_CONFIG
Did you change the VM's System > Motherboard > Enable I/O APIC checkbox?

Best thing to do is to restore the VM from your backups.

Re: (VERR_INCOMPATIBLE_CONFIG) After encrypt VM

Posted: 15. Sep 2021, 19:53
by fth0
scottgus1 wrote:Something went wrong, though what is hard to tell.
Let me try. ;)
VBox.log file wrote:
00:00:00.140428 PDMR0DeviceCreate: Ring-3 does not match ring-0 device registration (ioapic):
00:00:00.140434   cbInstanceShared: 0x150 vs 0x148
cbInstanceShared contains the size of an internal structure, which is determined at compile time AFAICS. The first value 0x150 originates from the file VBoxDD.so, and the second value 0x148 originates from the file VBoxDDR0.r0. This means that those two files probably are from two different VirtualBox versions on the OPs host (*). To verify that:

@JoseManuelLasJim:
On your host, please create a directory listing with the following command and provide it:

Code: Select all

ls -l /usr/lib/virtualbox
Did you (un-)install different versions of VirtualBox lately (note that the Ubuntu version and the Oracle versions also count as different when having the same version number)?

(*) In Oracle VirtualBox 6.1.26, both files contain the value 0x150, BTW.

Re: (VERR_INCOMPATIBLE_CONFIG) After encrypt VM

Posted: 16. Sep 2021, 10:05
by JoseManuelLasJim
Hi all

First thank you all for the fast replys ! :wink: Specially to @fth0 :) who offers his help

I'll atach the ls -l /usr/lib/virtualbox

And no , i didn't change any version, the only thing i did was an apt update, but without upgrade

I did install gcc too and libboost-all-dev

Re: (VERR_INCOMPATIBLE_CONFIG) After encrypt VM

Posted: 16. Sep 2021, 12:39
by fth0
Thanks for the directory listing, that unfortunately doesn't support my theory. I've asked a VirtualBox dev to take a closer look ...

You could try to uninstall the Ubuntu VirtualBox version and to install the Oracle VirtualBox version instead.

Re: (VERR_INCOMPATIBLE_CONFIG) After encrypt VM

Posted: 16. Sep 2021, 13:06
by JoseManuelLasJim
Sure i'll do that right now

Something curious, i've just installed a GUI and tryed to enter the VM again, IT WORKED ! but the VM still has problems .

I attach screenshot

Re: (VERR_INCOMPATIBLE_CONFIG) After encrypt VM

Posted: 16. Sep 2021, 17:17
by scottgus1
FWIW The screenshot shows a working VM environment with a running VM OS which has problem inside the VM's OS. The Virtualbox 'hardware' seems to be running, so you can troubleshoot the VM OS's problems using the OS's forums and support channels.