[SRU] 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
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
liblzf (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Unassigned | ||
Groovy |
Fix Released
|
Undecided
|
Unassigned | ||
virtualbox (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Unassigned | ||
Groovy |
Fix Released
|
Undecided
|
Unassigned | ||
virtualbox-ext-pack (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Unassigned | ||
Groovy |
Fix Released
|
Undecided
|
Unassigned | ||
virtualbox-guest-additions-iso (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Unassigned | ||
Groovy |
Fix Released
|
Undecided
|
Unassigned | ||
virtualbox-hwe (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Unassigned | ||
Groovy |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[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
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
[ Other info ]
* for groovy, other than fixing this issue, we finally sync 6.1.16 everywhere (due to late upload before release, this change was suitable to a 0 day SRU but I didn't proceed, so now its a good timing to fix it)
* for focal, it needs liblzf, in the system, I removed the embedded version now that the archive has a packaged one
[ 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:/
LIBLZF
[ Impact ]
* Needed to SRU newer virtualbox versions
[Regression Potential]
* none, leaf package
[ Other info ]
Please, this is a bundled library in virtualbox, now packaged as system library.
Unfortunately this is missing in focal, but we need to backport virtualbox from time to time (due to kernel changes).
In order to avoid having a special bundled version in virtualbox again (the library is now stripped from sources), and to introduce bugs in packaging, I would really like to add this library (leaf) to focal
tags: | added: kernel-adt-failure |
Changed in virtualbox (Ubuntu Focal): | |
assignee: | nobody → Stefan Bader (smb) |
importance: | Undecided → Medium |
status: | New → In Progress |
Changed in virtualbox (Ubuntu): | |
status: | New → Fix Released |
description: | updated |
description: | updated |
summary: |
- 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 + [SRU] 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 |
Changed in virtualbox-hwe (Ubuntu Focal): | |
status: | New → In Progress |
Changed in virtualbox-hwe (Ubuntu Groovy): | |
status: | New → In Progress |
Changed in liblzf (Ubuntu Focal): | |
status: | Fix Committed → Fix Released |
tags: | added: hwe-dkms regression-update |
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