(VERR_INCOMPATIBLE_CONFIG) After encrypt VM

Discussions about using Linux guests in VirtualBox.

(VERR_INCOMPATIBLE_CONFIG) After encrypt VM

Postby JoseManuelLasJim » 15. Sep 2021, 16:52

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

Re: (VERR_INCOMPATIBLE_CONFIG) After encrypt VM

Postby scottgus1 » 15. Sep 2021, 17:45

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.
scottgus1
Site Moderator
 
Posts: 13245
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

Postby fth0 » 15. Sep 2021, 19:53

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

Re: (VERR_INCOMPATIBLE_CONFIG) After encrypt VM

Postby JoseManuelLasJim » 16. Sep 2021, 10:05

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 5 times
JoseManuelLasJim
 
Posts: 10
Joined: 27. Mar 2020, 12:37

Re: (VERR_INCOMPATIBLE_CONFIG) After encrypt VM

Postby fth0 » 16. Sep 2021, 12:39

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

Re: (VERR_INCOMPATIBLE_CONFIG) After encrypt VM

Postby JoseManuelLasJim » 16. Sep 2021, 13:06

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 1380 times
JoseManuelLasJim
 
Posts: 10
Joined: 27. Mar 2020, 12:37

Re: (VERR_INCOMPATIBLE_CONFIG) After encrypt VM

Postby scottgus1 » 16. Sep 2021, 17:17

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.
scottgus1
Site Moderator
 
Posts: 13245
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux


Return to Linux Guests

Who is online

Users browsing this forum: No registered users and 15 guests