[Bug 1172897] New: VirtualBox kernel modules will not run with kernel 5.8
http://bugzilla.opensuse.org/show_bug.cgi?id=1172897 Bug ID: 1172897 Summary: VirtualBox kernel modules will not run with kernel 5.8 Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: openSUSE Factory Status: NEW Severity: Major Priority: P5 - None Component: Virtualization:Other Assignee: virt-bugs@suse.de Reporter: Larry.Finger@gmail.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Created attachment 838772 --> http://bugzilla.opensuse.org/attachment.cgi?id=838772&action=edit Changes needed for kernel 5.8 for patch to module_memory to work There have been a number of fixes needed to build vboxdrv with kernel 5.8. The changes handle the following differences in the kernel API: 1. In struct mm_struct, member mmap_sem was renamed to mmap_lock. 2. The information in cpu_tlbstate is no longer exported. 3. The routines __get_vm_area() and map_vm_area() no longer exist and their replacements are not exported. Two fixes have been attempted: a. The missing routines were not available until kernel 2.6.23, thus the code was changed to revert back to the "old" method. Unfortunately, this did not work, and likely it will require Oracle to make the changes. b. The replacements for __get_vm_area() and map_vm_area() are implemented. The resulting code builds but gets missing globals on loading. For testing, my kernel was modified as shown in the attached patched. This change cannot be permanent, but it can be temporary. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1172897 Larry Finger <Larry.Finger@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jslaby@suse.com Assignee|virt-bugs@suse.de |Larry.Finger@gmail.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1172897 http://bugzilla.opensuse.org/show_bug.cgi?id=1172897#c1 --- Comment #1 from Larry Finger <Larry.Finger@gmail.com> --- I assume that the continuing failure to build VB on Kernel_HEAD_standard means that you have decided against making the special kernel changes proposed in my patch. I have been unable to find a work-around, thus I will soon push a patch that will allow VB to build with kernel 5.8; however, it will not run. Once 5.8 is released and becomes the default kernel in Tumbleweed, users will be forced to switch to use KVM rather than VB. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com