Solved Upgrade to freeBSD 13.2 causing trouble with vboxdrv.ko

Hi,

$ freebsd-version
13.2-RELEASE-p2

Since I upgraded to FreeBSD 13.2, vboxdrv.ko (virtualbox-ose-kmod-6.1.46) can't load :
# dmesg
.
.
.
KLD vboxdrv.ko: depends on kernel - not available or version mismatch
linker_load_file: /boot/modules/vboxdrv.ko - unsupported file type


Curious because :
Message from virtualbox-ose-kmod-6.1.46:

--
The vboxdrv kernel module uses internal kernel APIs.

To avoid crashes due to kernel incompatibility, this module will only
load on FreeBSD 13.2 kernels
.



$ file /boot/modules/vboxdrv.ko
/boot/modules/vboxdrv.ko: ELF 64-bit LSB relocatable, x86-64, version 1 (FreeBSD), BuildID[sha1]=5d6bf943c930d0c3e20cd9fd7dca00f5af2ad629, not stripped

Have you the same experience ?
Could be a bug from kernel version detection ?
 
Either the upgrade is not complete and you are running on older kernel version or, you need to recompile the kernel module after the upgrade to make it compatible to the version of the kernel you have.
 
Back
Top