FS#74526 - [virtualbox] Unable to locate imported symbol 'memset' for module 'VBoxDDR0.r0'

Attached to Project: Community Packages
Opened by Martin Minka (k2s) - Thursday, 21 April 2022, 06:49 GMT
Last edited by Christian Hesse (eworm) - Thursday, 21 April 2022, 20:16 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Christian Hesse (eworm)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 20
Private No

Details

Description:

After virtualbox upgrade I get following error:

```
Failed to load R0 module /usr/lib/virtualbox/VBoxDDR0.r0: Unable to locate imported symbol 'memset' for module 'VBoxDDR0.r0' (VERR_SYMBOL_NOT_FOUND).
Failed to load ring-0 module 'VBoxDDR0.r0' for device 'pci' (VERR_SYMBOL_NOT_FOUND).
```

Same is reported as problem in Debian: https://forums.virtualbox.org/viewtopic.php?t=105815

Additional info:
* community/virtualbox 6.1.34-1
* https://forums.virtualbox.org/viewtopic.php?t=105815

Steps to reproduce:

* upgrade to virtualbox 6.1.34-1
* try to start existing VM (Windows or Linux guest) that was working before
* it will not start and error message is shown
This task depends upon

Closed by  Christian Hesse (eworm)
Thursday, 21 April 2022, 20:16 GMT
Reason for closing:  Fixed
Additional comments about closing:  virtualbox 6.1.34-2
Comment by nl6720 (nl6720) - Thursday, 21 April 2022, 07:05 GMT
Same issue for me:

Failed to open a session for the virtual machine Arch Linux (testing).

Failed to load R0 module /usr/lib/virtualbox/VBoxDDR0.r0: Unable to locate imported symbol 'memset' for module 'VBoxDDR0.r0' (VERR_SYMBOL_NOT_FOUND).

Failed to load ring-0 module 'VBoxDDR0.r0' for device 'efi' (VERR_SYMBOL_NOT_FOUND).

Result Code: NS_ERROR_FAILURE (0x80004005)
Component: ConsoleWrap
Interface: IConsole {872da645-4a9b-1727-bee2-5585105b9eed}


Arch forums thread: https://bbs.archlinux.org/viewtopic.php?id=275797
VirtualBox ticket: https://www.virtualbox.org/ticket/20904
Comment by Alexandre ZANNI (noraj) - Thursday, 21 April 2022, 08:03 GMT
Happens with host kernel 5.17.3-arch1-1 and Virtualbox 6.1.34 r150636

This appeared since https://github.com/archlinux/svntogit-community/commit/866c5c3ccbd5f32fe28c533f24e06ea471f6ba50

PS: Is it possible to add `[virtualbox]` in title so it will be listed at https://bugs.archlinux.org/?project=5&string=virtualbox
Comment by AMM (amish) - Thursday, 21 April 2022, 08:48 GMT
Copying (replacing) /usr/lib/virtualbox/VBoxDDR0.r0 from /var/cache/pacman/pkg/virtualbox-6.1.32-2-x86_64.pkg.tar.zst fixes the problem as of now.
Comment by Cedric Roijakkers (cedricroijakkers) - Thursday, 21 April 2022, 09:20 GMT
The problem seems to happen upstream in the VirtualBox release, it's been reported by people using Fedora too. See the VirtualBox forums: https://forums.virtualbox.org/viewtopic.php?f=7&t=105815

I've fixed it by downloading the statically linked installer ov VirtualBox https://download.virtualbox.org/virtualbox/6.1.34/VirtualBox-6.1.34-150636-Linux_amd64.run and extracting the file VBoxDDR0.r0 from it, and using that one:

```
wget https://download.virtualbox.org/virtualbox/6.1.34/VirtualBox-6.1.34-150636-Linux_amd64.run
bash VirtualBox-6.1.34-150636-Linux_amd64.run --tar xf
tar -xf VirtualBox.tar.bz2
sudo cp VBoxDDR0.r0 /usr/lib/virtualbox/VBoxDDR0.r0
```
Comment by Ng Oon-Ee (ngoonee) - Thursday, 21 April 2022, 13:21 GMT
Upstream bug report - https://www.virtualbox.org/ticket/20904 I just downgraded all virtualbox related packages to 6.1.32 for now.
Comment by Alexandre ZANNI (noraj) - Thursday, 21 April 2022, 14:28 GMT
```
$ b2sum /usr/lib/virtualbox/VBoxDDR0.r0 /usr/lib/virtualbox/VBoxDDR0.r0.bak
d451c2777c8777254a1f733a071547968d69963ce3cd29616d890edc9b3f42aac55ef96a5fa9753ca6a673fbea8af125ac8eea354f5ca67cb40c7f9bfcd4e9b0 /usr/lib/virtualbox/VBoxDDR0.r0 (from upstream, working)
b48343438d9c1c91065fb11c9e8f3a519f77a9c24afd882cbf2df3a8391f1e8758b3c8c22dacc5c1aa3810adbf4495d7afc60fc98d4fd278db8495790be67400 /usr/lib/virtualbox/VBoxDDR0.r0.bak (packaged on AL, broken)
```
Comment by David (1zuna) - Thursday, 21 April 2022, 15:52 GMT
This is worked for me:
wget https://download.virtualbox.org/virtualbox/6.1.34/VirtualBox-6.1.34-150636-Linux_amd64.run
bash VirtualBox-6.1.34-150636-Linux_amd64.run --tar xf
tar -xf VirtualBox.tar.bz2
sudo cp VBoxDDR0.r0 /usr/lib/virtualbox/VBoxDDR0.r0
Comment by agapito fernandez (agapito) - Thursday, 21 April 2022, 16:46 GMT Comment by Serge (SR-G) - Thursday, 21 April 2022, 17:53 GMT
Thanks David (@1zuna) for this workaround. Also worked for me.

Loading...