Re: vbox dkms fix - How to include fix for linux, but not linux-lts?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi,

since "[2023-08-25T11:46:21+0200] [ALPM] upgraded linux" I didn't run
virtualbox, but the modules were build. The 019-linux-6-4-10.patch [1]
is from the Arch repos' virtualbox 7+ build, when virtualbox modules
already failed to build with linux 6.4.10. It seemingly works for linux
6.4.12, too. I don't know if my PKGBUILD's "sed -i" fix is still
required to build virtualbox 6.1.46. It's probably obsolet and was only
required a while back. Note, in December Oracle discontinues Virtualbox
6+. I don't know what to do, to continue running a Windows 11 guest
then. Some people are able to run a Windows 11 guest in Virtualbox 7+,
but it still doesn't work with my 13th Gen Intel Core machine.
I nearly forgot to mention, that I build Virtualbox in a clean chroot.

Regards,
Ralf

[1]
• rocketmouse@archlinux ~ 
$ pacman -Q virtualbox
virtualbox 1:6.1.46-7010.2
• rocketmouse@archlinux ~ 
$ pacman -Qi virtualbox | grep Date
Build Date      : Wed 16 Aug 2023 12:37:57 CEST
Install Date    : Wed 16 Aug 2023 12:48:06 CEST
• rocketmouse@archlinux ~ 
$ /bin/ls -l /lib/modules/6.4.12-arch1-1/updates/dkms/
total 396
-rw-r--r-- 1 root root  96343 Aug 25 11:46 r8125.ko.zst
-rw-r--r-- 1 root root 227168 Aug 25 11:47 vboxdrv.ko.zst
-rw-r--r-- 1 root root  26706 Aug 25 11:47 vboxnetadp.ko.zst
-rw-r--r-- 1 root root  47040 Aug 25 11:47 vboxnetflt.ko.zst
• rocketmouse@archlinux ~ 
$ cat /.tmp/virtualbox-epoch1-6.1/019-linux-6-4-10.patch 
diff -Nurp VirtualBox-7.0.10/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c VirtualBox-7.0.10-linux6410/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
--- VirtualBox-7.0.10/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c	2023-07-12 16:36:55.000000000 +0000
+++ VirtualBox-7.0.10-linux6410/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c	2023-08-11 12:18:01.841396649 +0000
@@ -47,7 +47,7 @@
 #if RTLNX_VER_MIN(2,6,24)
 # include <linux/nsproxy.h>
 #endif
-#if RTLNX_VER_MIN(6,5,0)
+#if RTLNX_VER_MIN(6,4,10)
 # include <net/gso.h>
 #endif
 #include <linux/netdevice.h>
• rocketmouse@archlinux ~ 
$ grep "build(" -A3 /.tmp/virtualbox-epoch1-6.1/PKGBUILD
build() {
    cd "VirtualBox-$pkgver"

    sed -i 's/"python2.7 python2.6 python3.1 python3.2 python3.3 python3.4 python3.4m python3.5 python3.5m python3.6 python3.6m python3.7 python3.7m python3.8 python3.8m python3.9 python3.9m python3.10 python3.10m"/"python2.7 python2.6 python3.1 python3.2 python3.3 python3.4 python3.4m python3.5 python3.5m python3.6 python3.6m python3.7 python3.7m python3.8 python3.8m python3.9 python3.9m python3.10 python3.10m python3.11"/' configure




[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux