vbox VirtualBox stopped working after upgrade to 15.1

Hi folks

I updated one of my VirtualBox VMs host from 15.0 to 15.1 and hit with issue: cannot start VirtualBox VMs.
VM start failed with the following exception:
Code:
Exception Object
(
    [message:protected] => The virtual machine 'test 2022' has terminated unexpectedly during startup with exit code 1 (0x1)
    [string:Exception:private] =>
    [code:protected] => 0
    [file:protected] => /usr/local/www/phpvirtualbox-72/endpoints/lib/vboxconnector.php
    [line:protected] => 2491
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /usr/local/www/phpvirtualbox-72/endpoints/lib/vboxconnector.php
                    [line] => 956
                    [function] => remote_progressGet
                    [class] => vboxconnector
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [progress] => 213b40dd4513e05b-0000000000000004
                                )

                        )

                )

            [1] => Array
                (
                    [file] => /usr/local/www/phpvirtualbox-72/endpoints/api.php
                    [line] => 316
                    [function] => __call
                    [class] => vboxconnector
                    [type] => ->
                    [args] => Array
                        (
                            [0] => progressGet
                            [1] => Array
                                (
                                    [0] => Array
                                        (
                                            [progress] => 213b40dd4513e05b-0000000000000004
                                        )

                                    [1] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [data] => Array
                                                        (
                                                            [responseData] => Array
                                                                (
                                                                    [progress] => 213b40dd4513e05b-0000000000000004
                                                                    [info] => Array
                                                                        (
                                                                            [completed] => 1
                                                                            [canceled] =>
                                                                            [description] => Starting VM
                                                                            [operationDescription] => Creating process for virtual machine "test 2022" (headless)
                                                                            [timeRemaining] => Array
                                                                                (
                                                                                )

                                                                            [timeElapsed] => Array
                                                                                (
                                                                                    [days] => 20678
                                                                                    [hours] => 16
                                                                                    [minutes] => 27
                                                                                    [seconds] => 27
                                                                                )

                                                                            [percent] => 0
                                                                        )

                                                                )

                                                            [success] => 1
                                                            [key] => 500f4531e0fc72e2909e25f8e66362e3
                                                        )

                                                    [errors] => Array
                                                        (
                                                        )

                                                    [persist] => Array
                                                        (
                                                        )

                                                    [messages] => Array
                                                        (
                                                        )

                                                )

                                        )

                                )

                        )

                )

        )

    [previous:Exception:private] =>
)

Quick research tells me that issue is in this package:
- virtualbox-ose-kmod-72-7.2.14.1500068 VirtualBox kernel module for FreeBSD
It looks like it is built for 15.0 kernel, not 15.1, despite I did pkg update + pkg upgrade -f after system upgrade.

The workaround is to build that virtualbox-ose-kmod-72 from ports, but it requires to have ports collection and a lot of related stuff be installed, which I don't like.
Or rollback to virtualbox-ose-kmod-72: 7.2.8.1501000, which was built for 15.1.

So, my question is why the recent update of the virtualbox-ose-kmod-72 still has no correct version for 15.1?
Should this be reported as a bug? (I didn't find anything related in the Bug List)

Thanks
 
You have found where the problem lie, so rollback.
I don't know why there is some versions of virtualbox-ose-kmod in FreeBSD-ports repo.
You have to stay on FreeBSD-ports-kmods for kernel modules.
 
So, my question is why the recent update of the virtualbox-ose-kmod-72 still has no correct version for 15.1?
Should this be reported as a bug?
It's a bug, and the "why" is, that kmods for 15.1, "kmods_quarterly_1" and "kmods_latest_1" repositories, are not updated since May 20 2026. I have the same problem on my system.

https://pkg.freebsd.org/FreeBSD:15:amd64/kmods_quarterly_1/ .
https://pkg.freebsd.org/FreeBSD:15:amd64/kmods_latest_1/ .

You could open a bug report. Perhaps someone from the assignee crew can take care of the issue (updating build servers of aforementioned repositories), or delegate to the person(s) responsible.

Another PR has suffered from the assignee's apparent limited knowledge (or temporary blackout) of the FreeBSD-ports-kmods framework. He had the report closed, declaring "Not a bug", when clearly it is a bug, if the 15.1 kmods repos are not updated anymore.

Bug 297254 - graphics/drm-612-kmod: Absent from 15.1 kmods repo

Meanwhile:
The workaround is to build that virtualbox-ose-kmod-72 from ports, but it requires to have ports collection and a lot of related stuff be installed, which I don't like.
you can use the ports(7) target
Rich (BB code):
     install-missing-packages
                Install missing dependencies from packages instead of building
                them.
After building the kernel module from port, pkg-autoremove(8) build dependencies (check before deleting listed packages).

Also, pkg-lock(8) the kmod packages, so that a update won't try to replace it with the old version. You have to monitor yourself any virtualbox-ose-kmod-72 updates and build from ports again if there are any, at least until 15.0 is end-of-life (expected 30 September 2026). After that, all kernel modules are build for 15.1 in the "FreeBSD-ports" repo.
 
Back
Top