On 8/25/23 21:23, David C. Rankin wrote:
All,

  Upgrading the kernel on Archlinux from linux-6.4.11 to linux-6.4.12 broke the dkms build of virtualbox 6.1.46 modules. Specifically from the log:

DKMS make.log for vboxhost-6.1.46_non_OSE for kernel 6.4.12-arch1-1 (x86_64)
<snip>

The problem is a new header requirement, net/gso.h, in VBoxNetFlt-linux.c. A simple sed expression to include the new header fixes the issue for linux 6.4.12, but if you build for multiple kernel versions, it will make the older kernel dkms builds unhappy.

I simply used:

sed 's|#include <linux/inetdevice.h>|&\n#include <net/gso.h>|' src/virtualbox-bin-6.1.46/VirtualBox-extracted/src/vboxhost/vboxnetflt/linux/VBoxNetFlt-linux.c

in the Archlinux build of 6.1.46 and it worked fine. However, this breaks the dkms build for the linux-LTS kernel (I'm still looking for an alternative that will work for both)

Or will there be a 6.1.48 that handles the issue?

--
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

Reply via email to