VirtualBox can't read VDI anymore

Andrea Venturoli ventu at netfence.it
Fri Jan 8 18:58:44 UTC 2021


Hello.

I'm tracking the quarterly port branches and building my packages with 
poudriere.
Today I switched from 2020Q4 to 2021Q1 and upgraded VirtualBox from 
5.2.44_3 to 5.2.44_4.
After that I can no longer start any guest.
What I get:
> VDI: error reading pre-header in '....vdi' (VERR_DEV_IO_ERROR).
> VD: error VERR_VD_VDI_INVALID_HEADER opening image file '....vdi' (VERR_VD_VDI_INVALID_HEADER).
> Failed to open image '....vdi' in read-write mode (VERR_VD_VDI_INVALID_HEADER).
> AHCI: Failed to attach drive to Port0 (VERR_VD_VDI_INVALID_HEADER).
> 
> 
> Result Code: 
> NS_ERROR_FAILURE (0x80004005)
> Component: 
> ConsoleWrap
> Interface: 
> IConsole {872da645-4a9b-1727-bee2-5585105b9eed}

Any hint?



Does this have anything to do with the following:
> emulators/virtualbox-ose: Turn off aio usage and make VirtualBox use generic
> Unix implementation.

I'm not enabling aio myself or messing with its config in any way, AFAIK.
I tried the sysctl suggested in pkg-messages, but they did not help.

  bye & Thanks
	av.


More information about the freebsd-virtualization mailing list