On 10/18/20 1:54 AM, David C. Rankin wrote: > Interesting issue, > > Archlinux moved to 5.9.1 and the AUR package for 6.1.14 was patched to build > with the new kernel. However the oracle extensions fail to build the modules > with the error in vboxadd-setup.log: > > In file included from /tmp/vbox.0/VBoxGuest-linux.c:36: > /tmp/vbox.0/r0drv/linux/the-linux-kernel.h:141:11: fatal error: > linux/smp_lock.h: No such file or directory > 141 | # include <linux/smp_lock.h> > | ^~~~~~~~~~~~~~~~~~ > compilation terminated. > > I build the extensions from testbuild 6.1.15-140899 to see if it was updated > for 5.9.1, but it fails for the same reason. > > Any word on when a testbuild will be ready to test? >
The crux of the problem is this, (1) the src files installed on the host in /usr/src/vboxhost-6.1.14_non_OSE/ are patched for 5.9.1, (2) the files src that get installed on the guest to /opt/VBoxGuestAdditions-6.1.14/src/vboxgues-6.1.14/ to build the extension modules are not (they are still dated Sept. 4, 2020). I guess this is the guest-additions src problem effecting the extension module build? The patch file used to build the updated virtualbox 6.1.14 from AUR with Linux 5.9.1 is: https://aur.archlinux.org/cgit/aur.git/tree/021-kernel-5.9.patch?h=virtualbox-bin So would the guest additional files also need to same patch so when VBoxLinuxAdditions.run is run the patched files are present for the extension module build on the guest? -- David C. Rankin, J.D.,P.E. _______________________________________________ VBox-users-community mailing list VBox-users-community@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vbox-users-community _______________________________________________ Unsubscribe: mailto:vbox-users-community-requ...@lists.sourceforge.net?subject=unsubscribe