Bug 27113 - virtualbox fails to launch client after latest updates
Summary: virtualbox fails to launch client after latest updates
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: High major
Target Milestone: Mageia 8
Assignee: Kernel and Drivers maintainers
QA Contact:
URL: https://www.virtualbox.org/ticket/196...
Whiteboard:
Keywords: UPSTREAM
Depends on:
Blocks: 27219
  Show dependency treegraph
 
Reported: 2020-08-14 17:11 CEST by William Kenney
Modified: 2020-09-11 15:09 CEST (History)
4 users (show)

See Also:
Source RPM: virtualbox-6.1.12-8.mga8.src.rpm, kernel-5.8.5-1.mga8.src.rpm
CVE:
Status comment:


Attachments

Description William Kenney 2020-08-14 17:11:59 CEST
Description of problem:

After latests updates:

Vbox on M8 will no longer launchs a simple client

Client name: M8 x86_64 Plasma Live-DVD
Mageia-8-beta1-Live-Plasma-x86_64.iso
md5sum: 8cea7b657a1bfee91b7fb709dcebfdfc

Error window reported:

Failed to open a session for
the virtual machine M8
x86_64 Plasma Live-DVD.

Failed to load R0 module /usr/lib64/virtualbox/VMMR0.r0: SUP_IOCTL_LDR_OPEN failed (VERR_NO_EXEC_MEMORY).
Failed to load VMMR0.r0 (VERR_NO_EXEC_MEMORY).


Result Code: 
NS_ERROR_FAILURE (0x80004005)
Component: 
ConsoleWrap
Interface: 
IConsole {872da645-4a9b-1727-bee2-5585105b9eed}
David Walser 2020-08-14 23:37:34 CEST

Summary: Vbox fails to launch client after latest updates => virtualbox fails to launch client after latest updates

Comment 1 Robert Fox 2020-08-17 10:00:42 CEST
This still occurs as of today's updates and latest kernel - 5.8.1-desktop-4.mga8

Virtualbox can not be used and this should be considered a release blocker if continues

CC: (none) => rfox

Comment 2 Lewis Smith 2020-08-18 10:04:46 CEST
Sorry to have left this, Bill. No time...
Thank you for the confirmation, Robert.

Assigning to the kernel group.

Assignee: bugsquad => kernel
Source RPM: virtualbox => virtualbox-6.1.12-8.mga8.src.rpm, kernel-desktop-5.8.1-4.mga8-1-1.mga8
Priority: Normal => High
Severity: normal => major

Comment 3 Giuseppe Ghibò 2020-08-18 11:48:12 CEST
I add some info. Actually 6.1.12 doesn't work with kernel 5.8.x. It actually has two behaviours: one is the VERR_NO_EXEC_MEMORY you reported, and the second is a system freeze as soon as any virtual machine is started. There are no issues on older 5.7.x kernels.

Actually the current solution (which yet doesn't work) is based on:

a) include a patchset for kernel. I.e. this one:

http://svnweb.mageia.org/packages/cauldron/kernel/current/SPECS/kernel.spec?r1=1613660&r2=1613700

we have to remember that this is a temporary workaround, and should be removed once the status upstream is stabilized.

b) include also patch for virtualbox 6.1.12 for kernel 5.8. There are a few around (opensuse, fusion, arch, etc.), and we include one of them, but they are not yet working properly.

A referring upstream bug, which the patch are derived from, is this one:

https://www.virtualbox.org/ticket/19644

As experiment, I tried to build the current development version from trunk svn, which is 6.1.97. Resulting temporary RPMS are here:

https://download.copr.fedorainfracloud.org/results/ghibo/kernel/mageia-cauldron-x86_64/01611810-virtualbox/

and they actually works with kernel 5.8.1, without any freeze or VERR_NO_EXEC_MEMORY error, but only if kernel patch as from point a) is included, otherwise a system freeze occurs. So probably a next upstream release (6.1.14 or 6.2.0) should fix this issue.

CC: (none) => ghibomgx

Comment 4 William Kenney 2020-08-18 14:52:06 CEST
(In reply to Robert Fox from comment #1)
> Virtualbox can not be used and this should be considered a release blocker
> if continues

Correct. Vbox is a vital tool in Mageia.
I myself could not transition from M7 -> M8 without a working Vbox on M8.

Thanks
Stéphane Pontier 2020-08-23 14:11:18 CEST

CC: (none) => stephane.pontier

Comment 5 Aurelien Oudelet 2020-08-27 09:41:48 CEST
This is upstream bug

Here is ticket:
https://www.virtualbox.org/ticket/19644?cversion=0&cnum_hist=8

URL: (none) => https://www.virtualbox.org/ticket/19644?cversion=0&cnum_hist=8
Source RPM: virtualbox-6.1.12-8.mga8.src.rpm, kernel-desktop-5.8.1-4.mga8-1-1.mga8 => virtualbox-6.1.12-8.mga8.src.rpm, kernel-5.8.4-1.mga8.src.rpm
Keywords: (none) => UPSTREAM

Aurelien Oudelet 2020-08-28 19:00:59 CEST

Source RPM: virtualbox-6.1.12-8.mga8.src.rpm, kernel-5.8.4-1.mga8.src.rpm => virtualbox-6.1.12-8.mga8.src.rpm, kernel-5.8.5-1.mga8.src.rpm
Blocks: (none) => 27219

Comment 6 Giuseppe Ghibò 2020-09-08 10:50:26 CEST
There is a newer version 6.1.14-3.mga8 that should fix this.
Comment 7 Aurelien Oudelet 2020-09-10 21:44:35 CEST
Yeah.
virtualbox-6.1.14-3.mga8 fixes this.

Therefore, in my testing, on a M8 UEFI x86_64 install and under Plasma,

All M7 ISO correctly boot in VM while VM configured in BIOS mode.
In UEFI mode configured, VM always start to a EFI-shell, not to UEFI mode in ISO.

Target Milestone: --- => Mageia 8
CC: (none) => ouaurelien

Comment 8 Aurelien Oudelet 2020-09-11 11:52:38 CEST
Resolved fixed. Cauldron is able to launch VM on 5.8.8 Kernel.

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 9 William Kenney 2020-09-11 15:09:25 CEST
(In reply to Aurelien Oudelet from comment #7)

> virtualbox-6.1.14-3.mga8 fixes this.

Agreed.

Note You need to log in before you can comment on or make changes to this bug.