Changes between Initial Version and Version 1 of Ticket #19644, comment 56
- Timestamp:
- Dec 15, 2020 3:16:54 AM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #19644, comment 56
initial v1 1 1 For 6.0.24, these get it to build. I pulled these from "meta-oe-vboxguestdrivers-Fix-build-with-kernel-5.8.patch" which was for 6.1.x series. These are I suppose against the build tree, but I patched the (6.0.24) files in /usr/share/virtualbox/src/vboxhost/vboxdrv/ that are used to build the kernel modules. 2 The -p4 patches, I used "sudo patch -p4 < ~/path/to/vb-6.0.24-kernel-5.8-p4-1.patch" for the "-p4" patches. The other"sudo patch -p5 < ~/path/to/vb-6.0.24-kernel-5.8-p5-1.patch". Patch 2 rejects 1 line, but it's a one-line comment saying (paraphrasing) "todo, kernel 5.8 always applies NX (No eXecute) anyway" so no problem on the reject.2 For the -p4 patches, I changed to /usr/share/virtualbox/src/vboxhost/vboxdrv/ and applied them like "sudo patch -p4 < ~/path/to/vb-6.0.24-kernel-5.8-p4-1.patch" on each patch. The other patch, "sudo patch -p5 < ~/path/to/vb-6.0.24-kernel-5.8-p5-1.patch". Patch 2 rejects 1 line, but it's a one-line comment saying (paraphrasing) "todo, kernel 5.8 always applies NX (No eXecute) anyway" so no problem on the reject. 3 3 4 The sharedfolder patch, I didn't use it but I suppose it's for guest extensions? Included it if you do want to try patching guest extensions, but I didn't ; I'm not running 5.8+ in a VM that I want to run on my non-virtualization-extension-supporting system anyway. I would not be surprised if you couldn't simply run the 6.1.16 guest additions in the VMs, I'm sure running newer guest additions is an unsupported configuration but 5.0.x is unsupported anyway so if it works it works I suppose.4 The sharedfolder patch, I didn't use it but I suppose it's for guest extensions? Included it if you do want to try patching guest extensions, but I didn't try it. I'm guessing I'll be able to run 6.1.x guest additions if I need to run a 5.8+ VM (not supported, but neither is 5.0.x series anyway.)