Virtualbox 5.2.x and 6.x fail to start on kernels > 4.18
Posted: 23. Dec 2018, 14:30
Hi,
I'm running Debian 9-6 with default kernel 4.9.0.8.
Under 4.9.0.8 I can run all VM's without any issues.
I upgraded my to a 4.18.14 and 4.19.12 custom kernel.
Virtualbox 5.2.22 r126460 (Qt5.7.1) as well as 6.0.0 r127566 (Qt5.7.1) fail to run any VM.
They fail with the same error
How can this be fixed?
I'm running Debian 9-6 with default kernel 4.9.0.8.
Under 4.9.0.8 I can run all VM's without any issues.
I upgraded my to a 4.18.14 and 4.19.12 custom kernel.
Virtualbox 5.2.22 r126460 (Qt5.7.1) as well as 6.0.0 r127566 (Qt5.7.1) fail to run any VM.
They fail with the same error
Running /sbin/vboxsetup gives the followingThe virtual machine 'BSD 9' has terminated unexpectedly during startup with exit code 1 (0x1).
Result Code: NS_ERROR_FAILURE (0x80004005)
Component: MachineWrap
Interface: IMachine {5047460a-265d-4538-b23e-ddba5fb84976}
Vbox-setup.log starts withCreated symlink /etc/systemd/system/multi-user.target.wants/vboxdrv.service → /lib/systemd/system/vboxdrv.service. Created symlink /etc/systemd/system/multi-user.target.wants/vboxballoonctrl-service.service → /lib/systemd/system/vboxballoonctrl-service.service. Created symlink /etc/systemd/system/multi-user.target.wants/vboxautostart-service.service → /lib/systemd/system/vboxautostart-service.service. Created symlink /etc/systemd/system/multi-user.target.wants/vboxweb-service.service → /lib/systemd/system/vboxweb-service.service. vboxdrv.sh: Stopping VirtualBox services. vboxdrv.sh: Starting VirtualBox services. vboxdrv.sh: Building VirtualBox kernel modules. vboxdrv.sh: failed: Look at /var/log/vbox-setup.log to find out what went wrong. There were problems setting up VirtualBox. To re-start the set-up process, run /sbin/vboxconfig as root.
ends withBuilding the main VirtualBox module. Error building the module: make V=1 CONFIG_MODULE_SIG= -C /lib/modules/4.19.12/build SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 -j4 modules make[1]: warning: -jN forced in submake: disabling jobserver mode. mkdir -p /tmp/vbox.0/.tmp_versions ; rm -f /tmp/vbox.0/.tmp_versions/* WARNING: Symbol version dump ./Module.symvers is missing; modules will have no dependencies and modversions. make -f ./scripts/Makefile.build obj=/tmp/vbox.0
Anyone got an idea what is going on here?make -f ./scripts/Makefile.modpost find /tmp/vbox.0/.tmp_versions -name '*.mod' | xargs -r grep -h '\.ko$' | sort -u | sed 's/\.ko$/.o/' | scripts/mod/modpost -m -i ./Module.symvers -I /tmp/vbox.0/Module.symvers -o /tmp/vbox.0/Module.symvers -S -w -s -T - /bin/sh: 1: scripts/mod/modpost: not found scripts/Makefile.modpost:92: recipe for target '__modpost' failed make[2]: *** [__modpost] Error 127 Makefile recipe for target 'modules' failed make[1]: *** [modules] Error 2 /tmp/vbox.0/Makefile.include.footer:106: recipe for target 'vboxdrv' failed
How can this be fixed?