| Summary: | Update request: virtualbox 5.2.8 | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Thomas Backlund <tmb> |
| Component: | RPM Packages | Assignee: | QA Team <qa-bugs> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | jim, mageia, sysadmin-bugs, tarazed25, westel |
| Version: | 6 | Keywords: | advisory, validated_update |
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | mga6-32-ok mga6-64-ok | ||
| Source RPM: | virtualbox | CVE: | |
| Status comment: | |||
|
Description
Thomas Backlund
2018-03-03 02:00:08 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,vboxpciCC:
(none) =>
mageia 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... Thanks Thomas. That was it. Somehow (probably my mistake), the dkms-virtualbox package was not installed the first time. 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 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 (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... 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 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 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 Advisory uploaded. mga6 64 OK from above. Validating. Over to you to push to _updates_ Thomas (Not Backports). Keywords:
(none) =>
advisory, validated_update 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 An update for this issue has been pushed to the Mageia Updates repository. https://advisories.mageia.org/MGAA-2018-0045.html Resolution:
(none) =>
FIXED |