(VERR_INCOMPATIBLE_CONFIG) After encrypt VM

Discussions about using Linux guests in VirtualBox.
Post Reply
JoseManuelLasJim
Posts: 14
Joined: 27. Mar 2020, 12:37

(VERR_INCOMPATIBLE_CONFIG) After encrypt VM

Post 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
Attachments
VBox.log
(32.91 KiB) Downloaded 16 times
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: (VERR_INCOMPATIBLE_CONFIG) After encrypt VM

Post 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.
fth0
Volunteer
Posts: 5668
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: (VERR_INCOMPATIBLE_CONFIG) After encrypt VM

Post 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.
JoseManuelLasJim
Posts: 14
Joined: 27. Mar 2020, 12:37

Re: (VERR_INCOMPATIBLE_CONFIG) After encrypt VM

Post 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
Attachments
info.txt
(3.75 KiB) Downloaded 10 times
fth0
Volunteer
Posts: 5668
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: (VERR_INCOMPATIBLE_CONFIG) After encrypt VM

Post 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.
JoseManuelLasJim
Posts: 14
Joined: 27. Mar 2020, 12:37

Re: (VERR_INCOMPATIBLE_CONFIG) After encrypt VM

Post 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
Attachments
Screenshot from 2021-09-16 10-56-38.png
Screenshot from 2021-09-16 10-56-38.png (23.17 KiB) Viewed 4184 times
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: (VERR_INCOMPATIBLE_CONFIG) After encrypt VM

Post 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.
Post Reply