With those changes applied in a VM:

# dkms status
virtualbox, 6.1.10, 5.4.0-52-generic, x86_64: installed
virtualbox, 6.1.10, 5.8.0-25-generic, x86_64: installed

** Patch added: "focal-proposed.debdiff"
   
https://bugs.launchpad.net/ubuntu/focal/+source/virtualbox/+bug/1901904/+attachment/5428626/+files/focal-proposed.debdiff

** Description changed:

  [SRU Justification]
  
  Impact: The build of virtualbox-dkms modules fails in 20.04/Focal when the 
5.8 based HWE kernel is installed.
-  * Rename of mm->mmap_sem into mmap_lock
-  * Modified API to read/write CR4
-  * Modified API to access virtual memory areas
+  * Rename of mm->mmap_sem into mmap_lock
+  * Modified API to read/write CR4
+  * Modified API to access virtual memory areas
+ 
+ Fix: Picking 2 patches from a later version of virtualbox and adjusting
+ the 3rd to match what upstream virtualbox settled in the end with (that
+ enables some code only for kernels between 2.6.23 and 5.8, the compile
+ of virtualbox-dkms succeeds on 5.8.
+ 
+ Testcase: dkms install -m virtualbox -v 6.1.10 -k 5.8.0-*-generic
+ 
+ Regression Potential: This could show runtime issues when used on the
+ 5.8 kernel but that did not work at all with the Focal version of
+ virtualbox. The code generated for older kernels is unchanged.
  
  ---
  
  Testing failed on:
      amd64: 
https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-focal/focal/amd64/v/virtualbox/20201016_103035_8da78@/log.gz

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1901904

Title:
  virtualbox 6.1.10-dfsg-1~ubuntu1.20.04.1 ADT test failure with linux-
  hwe-5.8 5.8.0-25.26~20.04.1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/virtualbox/+bug/1901904/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to