Failed to load ring-0 module 'VBoxEhciR0.r0' for device 'usb-xhci'

Discussions related to using VirtualBox on Linux hosts.
Post Reply
spiri
Posts: 19
Joined: 20. Aug 2020, 01:34

Failed to load ring-0 module 'VBoxEhciR0.r0' for device 'usb-xhci'

Post by spiri »

Hello,

My VM's don't start anymore since I upgraded to Linux 5.4.63-1-lts.

I removed the old VirtualBox version, then I installed the virtualbox-host-dkms package without errors.

I enabled the kernel modules vboxdrv, vboxnetadp and vboxnetflt and added myself to the vboxusers group. I also did a reboot.

I installed the Extension Pack using vboxmanage and I made sure the versions are correct - 6.1.12.

Version:

Code: Select all

$ vboxmanage --version
6.1.12r139181
Extpack: Oracle_VM_VirtualBox_Extension_Pack-6.1.12.vbox-extpack

But the VM does not start. Apparently there is a problem with the USB interface.

Code: Select all

Failed to open a session for the virtual machine windows_10.

Failed to load R0 module /usr/lib/virtualbox/ExtensionPacks/Oracle_VM_VirtualBox_Extension_Pack/linux.amd64/VBoxEhciR0.r0: RTLdrGetBits failed (VERR_SYMBOL_VALUE_TOO_BIG).

Failed to load ring-0 module 'VBoxEhciR0.r0' for device 'usb-xhci' (VERR_SYMBOL_VALUE_TOO_BIG).

Result Code: NS_ERROR_FAILURE (0x80004005)
Component: ConsoleWrap
Interface: IConsole {872da645-4a9b-1727-bee2-5585105b9eed}
I already had the same type of error with Linux kernel 5.8. Downgrading to 5.7 solved the problem for me. Now I am on LTS and it's not working for new.

How to solve this problem?
Attachments
VBox.log.zip
(8.65 KiB) Downloaded 135 times
spiri
Posts: 19
Joined: 20. Aug 2020, 01:34

Re: Failed to load ring-0 module 'VBoxEhciR0.r0' for device 'usb-xhci'

Post by spiri »

I reinstalled the extension pack from the AUR, now it is working.
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Failed to load ring-0 module 'VBoxEhciR0.r0' for device 'usb-xhci'

Post by scottgus1 »

Great! Glad you're up and running.
spiri
Posts: 19
Joined: 20. Aug 2020, 01:34

Re: Failed to load ring-0 module 'VBoxEhciR0.r0' for device 'usb-xhci'

Post by spiri »

Thank you although I do not understand why this version mismatch is working.

Code: Select all

$ vboxmanage --version
6.1.12r139181
with

Code: Select all

$ grep pkgver= virtualbox-ext-oracle/PKGBUILD
pkgver=6.1.14
There is 6.1.12 and 6.1.14 and my VM seems to work.
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Failed to load ring-0 module 'VBoxEhciR0.r0' for device 'usb-xhci'

Post by scottgus1 »

Sometimes a mismatch does not cause trouble, but there is no way to tell if a mismatch will not cause trouble. Better to always match the versions.
evagabond
Posts: 3
Joined: 20. Oct 2020, 00:58

Re: Failed to load ring-0 module 'VBoxEhciR0.r0' for device 'usb-xhci'

Post by evagabond »

1. Make sure version of extension matches the VirtualBox version.

2. You can check the VirtualBox version by opening VirtualBox Manager, then in Menu, Open Help >> About VirtualBox

3. Download/Install the Extension Pack for the VirtualBox version in Step 2.

Problem should be resolved now.
Post Reply