virtualbox-modules-5.0.16 fails to build with : ERROR: Kernel configuration is invalid. include/generated/autoconf.h or include/config/auto.conf are missing Yes, there is no include/config/auto.conf in the 4.6.0-rc3 kernel anymore and there is no 'page_cache_release' anymore /var/tmp/portage/app-emulation/virtualbox-modules-5.0.16/work/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:581:21: error: implicit declaration of function 'page_cache_release' [-Werror=implicit-function-declaration]
Upstream ticket: https://www.virtualbox.org/ticket/15298 There you see the links to the fixes for the next vbox release.
Created attachment 430516 [details, diff] Temporary user patch This is the user patch I'm using in the meantime until the next maintenance release.
(In reply to Herb Miller Jr. from comment #2) > Created attachment 430516 [details, diff] [details, diff] > Temporary user patch > > This is the user patch I'm using in the meantime until the next maintenance > release. I tried the same. virtualbox-modules-5.0.16 build and load. But Virtualbox shows a heavy error when I try to start my windows guest. I even tried patched memobj-r0drv-linux.c to the latest svn trunk version but no luck. Could be related to vbox-additions. Is VBox/Additions/linux/sharedfolders/regops.c used on the host for windows guests too or for linux guests only? See https://www.virtualbox.org/changeset/60453/vbox/trunk/src/VBox/Additions/linux/sharedfolders/regops.c
Created attachment 430534 [details, diff] patch to update memobj-r0drv-linux.c in app-emulation/virtualbox-modules-5.0.16 to latest svn trunk
Running both Window 7 and Window 10 guests here with no problems. I'm pretty sure VBox/Additions/linux/sharedfolders/regops.c is only used for building the Guest Additions, so only used in the guest.
Compilation fixed in app-emulation/virtualbox-modules-5.0.18. Compiled against linux-4.6.0-rc4 I still have that other error with my windows-VMs. After playing with the virtualbox system settings of the VMs (mem,PAE,cores,3D) it crashed not on boot but after about 10 minutes with: Guru Meditation -2708 (VERR_VMM_SET_JMP_ABORTED_RESUME) Can't find it on the vbox bugtracker and google doesn't say anything about it. Linux guests seem to run stable.
Still exists with gentoo-sources-aufs-4.6.3 and Virtualbox packages versions 4.3.32 and 5.1.0, currently in Portage.
virtualbox-modules 4.3.32 on kernel 4.6.4. Same old bug existing. /var/tmp/portage/app-emulation/virtualbox-modules-4.3.32/work/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:581:21: error: implicit declaration of function ‘page_cache_release’ [-Werror=implicit-function-declaration] page_cache_release(pMemLnx->apPages[iPage]); Among the many other warnings. Does ~arch fix this?
Please reopen if this is still a problem on current versions