Bug 22686 - Update request: virtualbox 5.2.8
Summary: Update request: virtualbox 5.2.8
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 6
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: mga6-32-ok mga6-64-ok
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2018-03-03 02:00 CET by Thomas Backlund
Modified: 2018-03-07 21:38 CET (History)
5 users (show)

See Also:
Source RPM: virtualbox
CVE:
Status comment:


Attachments

Description Thomas Backlund 2018-03-03 02:00:08 CET
NOTE: Theese packages are in *backports_testing* for now to avoid the QT mess in updates testing... but they will be pushed to Core Updates as a normal update once tested/validated...


Advisory:
VirtualBox 5.2.8 maintenance release

This update provides the VirtualBox 5.2.8 maintenance release, fixing
various bugs like black screen when 3D enabled in guests, some crashes,
and some fixes to regain some of the performance lost due to Spectre and
Meltdown fixes.

For more info about the fixes, see the referenced changelog.

References:
https://www.virtualbox.org/wiki/Changelog



SRPMS:
kmod-vboxadditions-5.2.8-1.mga6.src.rpm
kmod-virtualbox-5.2.8-1.mga6.src.rpm
virtualbox-5.2.8-1.mga6.src.rpm



i586:
dkms-vboxadditions-5.2.8-1.mga6.noarch.rpm
dkms-virtualbox-5.2.8-1.mga6.noarch.rpm
python-virtualbox-5.2.8-1.mga6.i586.rpm

vboxadditions-kernel-4.14.20-desktop-1.mga6-5.2.8-1.mga6.i586.rpm
vboxadditions-kernel-4.14.20-desktop586-1.mga6-5.2.8-1.mga6.i586.rpm
vboxadditions-kernel-4.14.20-server-1.mga6-5.2.8-1.mga6.i586.rpm
vboxadditions-kernel-desktop586-latest-5.2.8-1.mga6.i586.rpm
vboxadditions-kernel-desktop-latest-5.2.8-1.mga6.i586.rpm
vboxadditions-kernel-server-latest-5.2.8-1.mga6.i586.rpm

virtualbox-5.2.8-1.mga6.i586.rpm
virtualbox-devel-5.2.8-1.mga6.i586.rpm
virtualbox-guest-additions-5.2.8-1.mga6.i586.rpm

virtualbox-kernel-4.14.20-desktop-1.mga6-5.2.8-1.mga6.i586.rpm
virtualbox-kernel-4.14.20-desktop586-1.mga6-5.2.8-1.mga6.i586.rpm
virtualbox-kernel-4.14.20-server-1.mga6-5.2.8-1.mga6.i586.rpm
virtualbox-kernel-desktop586-latest-5.2.8-1.mga6.i586.rpm
virtualbox-kernel-desktop-latest-5.2.8-1.mga6.i586.rpm
virtualbox-kernel-server-latest-5.2.8-1.mga6.i586.rpm

x11-driver-video-vboxvideo-5.2.8-1.mga6.i586.rpm



x86_64:
dkms-vboxadditions-5.2.8-1.mga6.noarch.rpm
dkms-virtualbox-5.2.8-1.mga6.noarch.rpm
python-virtualbox-5.2.8-1.mga6.x86_64.rpm

vboxadditions-kernel-4.14.20-desktop-1.mga6-5.2.8-1.mga6.x86_64.rpm
vboxadditions-kernel-4.14.20-server-1.mga6-5.2.8-1.mga6.x86_64.rpm
vboxadditions-kernel-desktop-latest-5.2.8-1.mga6.x86_64.rpm
vboxadditions-kernel-server-latest-5.2.8-1.mga6.x86_64.rpm

virtualbox-5.2.8-1.mga6.x86_64.rpm
virtualbox-devel-5.2.8-1.mga6.x86_64.rpm
virtualbox-guest-additions-5.2.8-1.mga6.x86_64.rpm

virtualbox-kernel-4.14.20-desktop-1.mga6-5.2.8-1.mga6.x86_64.rpm
virtualbox-kernel-4.14.20-server-1.mga6-5.2.8-1.mga6.x86_64.rpm
virtualbox-kernel-desktop-latest-5.2.8-1.mga6.x86_64.rpm
virtualbox-kernel-server-latest-5.2.8-1.mga6.x86_64.rpm

x11-driver-video-vboxvideo-5.2.8-1.mga6.x86_64.rpm
Comment 1 PC LX 2018-03-03 13:14:17 CET
Found an issue that I think is a regressions, or at least, I don't remember it happen before.

When installing, usually the older kernel drivers are uninstalled an the new kernel drivers are installed. But this time, I was left with a mix of old an new drivers. The result of this, is that VirtualBox complains about a version mismatch.

here is the message displayed by VirtualBox when I try to start a Mageia 6 guest:
> RTR3InitEx failed with rc=-1912 (rc=-1912)
> The VirtualBox kernel modules do not match this version of VirtualBox. The installation of VirtualBox was apparently not successful. Executing
> '/sbin/vboxconfig'
> may correct this. Make sure that you do not mix the OSE version and the PUEL version of VirtualBox.
> where: supR3HardenedMainInitRuntime what: 4 VERR_VM_DRIVER_VERSION_MISMATCH (-1912) - > The installed support driver doesn't match the version of the user. 


This is the dkms status right after installing the new VB packages:

$ dkms status | egrep virtualbox.*4.14.20
virtualbox, 5.2.6-1.mga6, 4.14.20-desktop-1.mga6, x86_64: installed 
virtualbox, 5.2.8-1.mga6, 4.14.20-desktop-1.mga6, x86_64: installed-binary from 4.14.20-desktop-1.mga6


Removing the old driver from the kernel and reloading the vbox* kernel modules fixes the problem.

$ dkms uninstall -m virtualbox -v 5.2.6-1.mga6 -k 4.14.20-desktop-1.mga6

-------- Uninstall Beginning --------
Module:  virtualbox
Version: 5.2.6-1.mga6
Kernel:  4.14.20-desktop-1.mga6 (x86_64)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

vboxdrv.ko.xz:
 - Uninstallation
   - Deleting from: /lib/modules/4.14.20-desktop-1.mga6/dkms/3rdparty/vbox/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

vboxnetflt.ko.xz:
 - Uninstallation
   - Deleting from: /lib/modules/4.14.20-desktop-1.mga6/dkms/3rdparty/vbox/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

vboxnetadp.ko.xz:
 - Uninstallation
   - Deleting from: /lib/modules/4.14.20-desktop-1.mga6/dkms/3rdparty/vbox/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

vboxpci.ko.xz:
 - Uninstallation
   - Deleting from: /lib/modules/4.14.20-desktop-1.mga6/dkms/3rdparty/vbox/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.
depmod.....

DKMS: uninstall Completed.
$ rmmod vboxpci vboxnetadp vboxnetflt vboxdrv
$ modprobe vboxpci ; modprobe vboxnetadp ; modprobe vboxnetflt
$ lsmod | grep vbox
vboxnetflt             32768  0
vboxnetadp             28672  0
vboxpci                28672  0
vboxdrv               483328  4 vboxnetadp,vboxnetflt,vboxpci

CC: (none) => mageia

Comment 2 Thomas Backlund 2018-03-03 13:28:38 CET
That looks like you have both the prebuilt virtualbox-kernel* and the dkms-virtualbox package installed, but when you installed the updated virtualbox packages, you didn't install the new dkms-virtualbox package, so you got a mismatch...
Comment 3 PC LX 2018-03-03 13:51:17 CET
Thanks Thomas. That was it. Somehow (probably my mistake), the dkms-virtualbox package was not installed the first time.
Comment 4 PC LX 2018-03-03 15:26:57 CET
Installed and tested without issues (the second time :-) ).

Host system: Mageia 6, x86_64, Plasma DE, Intel CPU, nVidia GPU using nvidia340 proprietary driver.

Tested using the guests:
- Windows 10
- Windows 7
- Windows XP
- Mageia 6
- Easy2Boot (booting systemrescuecd 5, booting Mageia 6 LiveDVD Plasma DE)

Tests included:
- minimal use;
- using firefox to browse some sites and seeing some videos;
- updating the system;
- updating VB additions.

$ rpm -qa | egrep -i 'virtualbox|vbox|kernel|dkms' | sort
dkms-2.0.19-39.mga6
dkms-minimal-2.0.19-39.mga6
dkms-nvidia340-340.106-1.mga6.nonfree
dkms-virtualbox-5.2.8-1.mga6
kernel-desktop-4.14.20-1.mga6-1-1.mga6
kernel-desktop-devel-4.14.20-1.mga6-1-1.mga6
kernel-desktop-devel-latest-4.14.20-1.mga6
kernel-desktop-latest-4.14.20-1.mga6
kernel-firmware-20170531-1.mga6
kernel-firmware-nonfree-20180211-1.mga6.nonfree
kernel-userspace-headers-4.14.20-1.mga6
virtualbox-5.2.8-1.mga6
virtualbox-doc-5.1.30-1.mga6
virtualbox-kernel-4.14.20-desktop-1.mga6-5.2.8-1.mga6
virtualbox-kernel-desktop-latest-5.2.8-1.mga6
Comment 5 Ben McMonagle 2018-03-04 11:25:54 CET
Mageia 6 i586 on kernel-desktop-4.14.22

Preparing...                     ##########################################
      1/5: dkms-minimal          ##########################################
      2/5: virtualbox-kernel-4.14.20-desktop-1.mga6
                                 ##########################################
      3/5: virtualbox-kernel-desktop-latest
                                 ##########################################
      4/5: virtualbox-doc        ##########################################
      5/5: virtualbox            ##########################################

vboxdrv.ko.xz:
 - Installation
   - Installing to /lib/modules/4.14.20-desktop-1.mga6/dkms-binary/3rdparty/vbox/

vboxnetflt.ko.xz:
 - Installation
   - Installing to /lib/modules/4.14.20-desktop-1.mga6/dkms-binary/3rdparty/vbox/

vboxnetadp.ko.xz:
 - Installation
   - Installing to /lib/modules/4.14.20-desktop-1.mga6/dkms-binary/3rdparty/vbox/

vboxpci.ko.xz:
 - Installation
   - Installing to /lib/modules/4.14.20-desktop-1.mga6/dkms-binary/3rdparty/vbox/

depmod.....

DKMS: install Completed.
virtualbox, 5.2.8-1.mga6, 4.14.20-desktop-1.mga6, i586: installed-binary from 4.14.20-desktop-1.mga6
+ /usr/sbin/rmmod vboxpci
+ /usr/sbin/rmmod vboxnetflt
+ /usr/sbin/rmmod vboxnetadp
+ /usr/sbin/rmmod vboxdrv
+ /usr/sbin/modprobe vboxdrv
+ /usr/sbin/modprobe vboxnetflt
+ /usr/sbin/modprobe vboxnetadp
+ /usr/sbin/modprobe vboxpci
+ :

I get this error: Virtualbox Error in sublibOsInit

Kernel driver not installed (rc=-1908)

The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing

'/sbin/vboxconfig'

as root.

where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT.

CC: (none) => westel

Comment 6 Thomas Backlund 2018-03-04 11:38:25 CET
(In reply to ben mcmonagle from comment #5)

> I get this error: Virtualbox Error in sublibOsInit
> 
> Kernel driver not installed (rc=-1908)

This is because of:

> 
> Mageia 6 i586 on kernel-desktop-4.14.22
> 

You are runnign the 4.14.22 from testing...


> Preparing...                     ##########################################
>       1/5: dkms-minimal          ##########################################
>       2/5: virtualbox-kernel-4.14.20-desktop-1.mga6
>                                  ##########################################
>       3/5: virtualbox-kernel-desktop-latest
>                                  ##########################################
>       4/5: virtualbox-doc        ##########################################
>       5/5: virtualbox            ##########################################
> 

And here only the prebuilt module for 4.14.20 is installed (as there is no prebuilt kmods for the testing kernel).

so you need to install dkms-virtualbox and the 4.14.22 kernel-devel package if you want to test with that kernel...
Comment 7 Ben McMonagle 2018-03-06 10:29:54 CET
thanks for the info Thomas

Part #2

Mageia6 kernel-desktop-4.14.20-1.mga6

(added vboxuser to user group and rebooted)

basic tests ok

booted existing virtualbox system

Firefox  Youtube video playback (big buck bunny) sound and video -ok
connected usb device, transferred file from and to -ok, disconnected ok

$  rpm -qa | egrep -i 'virtualbox|vbox|kernel|dkms' | sort
dkms-minimal-2.0.19-39.mga6
kernel-desktop-4.14.20-1.mga6-1-1.mga6
kernel-firmware-20170531-1.mga6
kernel-firmware-nonfree-20180211-1.mga6.nonfree
virtualbox-5.2.8-1.mga6
virtualbox-doc-5.1.30-1.mga6
virtualbox-kernel-4.14.20-desktop-1.mga6-5.2.8-1.mga6
virtualbox-kernel-desktop-latest-5.2.8-1.mga6

Whiteboard: (none) => mga6-32-ok

Comment 8 James Kerr 2018-03-06 15:57:15 CET
on mga6-64 plasma 4.14.20-desktop

packages installed cleanly:
- virtualbox-5.2.8-1.mga6.x86_64
- virtualbox-kernel-4.14.20-desktop-1.mga6-5.2.8-1.mga6.x86_64
- virtualbox-kernel-desktop-latest-5.2.8-1.mga6.x86_64

virtualbox and clients (mga6-32, win7, winxp) launched normally
proprietary extension pack installed cleanly

OK for mga6-64

CC: (none) => jim

Comment 9 James Kerr 2018-03-06 16:06:02 CET
on mga6-32 in a vbox VM 4.14.20-desktop plasma

packages installed cleanly:
- vboxadditions-kernel-4.14.20-desktop-1.mga6-5.2.8-1.mga6.i586
- vboxadditions-kernel-desktop-latest-5.2.8-1.mga6.i586
- virtualbox-guest-additions-5.2.8-1.mga6.i586
- x11-driver-video-vboxvideo-5.2.8-1.mga6.i586

VM re-started normally

USB devices - OK
shared folders - OK

no regressions noted

OK for mga6-32 in a vbox VM
Comment 10 claire robinson 2018-03-07 17:25:45 CET
Advisory uploaded. mga6 64 OK from above. Validating.

Over to you to push to _updates_ Thomas (Not Backports).

Keywords: (none) => advisory, validated_update
Whiteboard: mga6-32-ok => mga6-32-ok mga6-64-ok
CC: (none) => sysadmin-bugs

Comment 11 Len Lawrence 2018-03-07 17:37:21 CET
Mageia 6 :: x86_64

Core backports testing:
- dkms-virtualbox-5.2.8-1.mga6.noarch
- vboxadditions-kernel-4.14.20-desktop-1.mga6-5.2.8-1.mga6.x86_64
- vboxadditions-kernel-desktop-latest-5.2.8-1.mga6.x86_64
- virtualbox-5.2.8-1.mga6.x86_64
- virtualbox-kernel-4.14.20-desktop-1.mga6-5.2.8-1.mga6.x86_64
- virtualbox-kernel-desktop-latest-5.2.8-1.mga6.x86_64

then by hand:
dkms-vboxadditions
python-virtualbox
virtualbox-devel
virtualbox-guest-additions
x11-driver-video-vboxvideo

Booted a 32-bit Mageia 5.1 guest -using nomodeset (not a regression - it is always needed).
Logged in to Mate desktop - all is well.

Mageia 5.1 x86_64 guest - nomodeset.  Mate running fine.

Mageia 5.1 i586 guest - straight boot.  Tried GNOME Classic and GNOME desktops.  Both working.

OK for 64-bit.

CC: (none) => tarazed25

Comment 12 Mageia Robot 2018-03-07 21:38:16 CET
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2018-0045.html

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


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