It it did not work for you, try this fix: Look at this file: /usr/share/virtualbox/src/vboxhost/vboxdrv/r0drv/linux/fileio-r0drv-linux.c and replace "open_with_fake_path" with its modern kernel replacement: "file_open_root" Worked for me. Akemi On Mon, Jul 13, 2026 at 11:41 AM John Thompson <johndthompson@gmail.com> wrote:
On 7/13/26 13:35, Akemi Yagi wrote:
Try this solution/workaround:
https://forums.rockylinux.org/t/virtualbox-7-1-rocky-9-8/20579/6
Thanks. Did it work for you? It still failed for me:
VBOXDRV -DIPRT_WITHOUT_EFLAGS_AC_PRESERVING -DVBOX_WITH_HOST_VMX -DCONFIG_VBOXDRV_AS_MISC -DRT_ARCH_AMD64 -include /tmp/vbox.0/include/VBox/SUPDrvMangling.h -fno-omit-frame-pointer -fno-pie -Wno-declaration-after-statement -I./include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/r0drv/linux -D__KERNEL__ -DMODULE -DRT_WITHOUT_PRAGMA_ONCE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DRT_WITH_VBOX -DVBOX_WITH_HARDENING -DSUPDRV_WITH_RELEASE_LOGGER -DVBOX_WITHOUT_EFLAGS_AC_SET_IN_VBOXDRV -DIPRT_WITHOUT_EFLAGS_AC_PRESERVING -DVBOX_WITH_HOST_VMX -DCONFIG_VBOXDRV_AS_MISC -DRT_ARCH_AMD64 -DMODULE -DKBUILD_BASENAME='"combined_agnostic1"' -DKBUILD_MODNAME='"vboxdrv"' -D__KBUILD_MODNAME=kmod_vboxdrv /tmp/vbox.0/combined-agnostic1.c | scripts/genksyms/genksyms -r /dev/null >> /tmp/vbox.0/.combined-agnostic1.o.cmd; fi make[1]: *** [Makefile:1968: /tmp/vbox.0] Error 2 make: *** [/tmp/vbox.0/Makefile-footer.gmk:146: vboxdrv] Error 2
--
-John (JohnDThompson@gmail.com) Appleton, WI USA