Page MenuHomeFreeBSD

emulators/virtualbox-ose: guest machines are no longer usable: Failed to construct device 'VMMDev' instance #0 (VERR_INTERNAL_ERROR_3)
ClosedPublic

Authored by vvd on May 24 2023, 10:08 AM.
Tags
Referenced Files
Unknown Object (File)
Fri, Dec 13, 1:24 PM
Unknown Object (File)
Sat, Dec 7, 10:10 PM
Unknown Object (File)
Thu, Dec 5, 7:13 PM
Unknown Object (File)
Wed, Dec 4, 2:28 AM
Unknown Object (File)
Sun, Dec 1, 6:43 PM
Unknown Object (File)
Sat, Nov 30, 4:50 PM
Unknown Object (File)
Fri, Nov 29, 10:30 AM
Unknown Object (File)
Nov 25 2024, 8:32 AM
Subscribers

Details

Summary
  1. llvm10 in FreeBSD before r364284 miscompiles virtualbox 6.1 causing errors.
  2. llvm15 in FreeBSD miscompiles virtualbox 6.1 causing errors: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270189.

Force llvm14 from ports. Use VBOX_LLVM_VER in make.conf to define different llvm.

Tested build on 12.4, 13.1, 13.2, but I don't have 14 for test build and run.

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

vvd requested review of this revision.May 24 2023, 10:08 AM
vvd created this revision.

What's the rationale for patches? They look strange.

What's the rationale for patches? …

14.0

If not patched, then guest machines are unusable. Visually, from https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270189#c82:

image.png (755×848 px, 181 KB)

We have not found confirmation of the need for new patches.

This revision is now accepted and ready to land.May 25 2023, 2:04 PM

I will test on 14-CURRENT this weekend. The patch has been applied, packages built on my poudriere, and machines updated. I won't have time until Saturday or Sunday to test because the machine that will be used to run the test is busy with other work ATM.

This revision now requires changes to proceed.May 28 2023, 8:21 AM
cy accepted this revision.EditedMay 30 2023, 4:20 PM

Tested and works on a recent 14-CURRENT.

This revision was not accepted when it landed; it landed in state Needs Revision.Jun 1 2023, 2:53 PM
This revision was automatically updated to reflect the committed changes.