Unable to locate imported symbol 'SUPR0FpuBegin' VERR_SYMBOL_NOT_FOUND

Discussions related to using VirtualBox on Linux hosts.
edufissure
Posts: 79
Joined: 8. Sep 2018, 19:27

Unable to locate imported symbol 'SUPR0FpuBegin' VERR_SYMBOL_NOT_FOUND

Post by edufissure »

Hi im facing with my Virtual machines:

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


Código resultado:
NS_ERROR_FAILURE (0x80004005)
Componente:
ConsoleWrap
Interfaz:
IConsole {872da645-4a9b-1727-bee2-5585105b9eed}


I was using till today perfectly with 6.1.34. Im on ubuntu 20.04 and i have downloaded again the .deb file from official download page and also ext pack. My kernel is 5.15.0-25-generic / which was working with 6.1.34, 6.1.32 perfectly.

I have tried to open a w10 guest vm, and turnkey core, both the same error.
Last edited by scottgus1 on 21. Jul 2022, 21:55, edited 1 time in total.
Reason: changed topic title
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Discuss the VirtualBox 6.1.36 release here.

Post by scottgus1 »

I think this is because the installed Extension Pack version doesn't match the new Virtualbox version. Try checking on that.
fth0
Volunteer
Posts: 5668
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: Discuss the VirtualBox 6.1.36 release here.

Post by fth0 »

edufissure wrote:Unable to locate imported symbol 'SUPR0FpuBegin' for module 'VMMR0.r0'
SUPR0FpuBegin is a new function provided by the VirtualBox 6.1.36 vboxdrv.ko kernel module. Did you reboot the Linux host after the VirtualBox update? If that doesn't help, check all vboxdrv.ko kernel modules you can find on your Linux host.
edufissure
Posts: 79
Joined: 8. Sep 2018, 19:27

Re: Discuss the VirtualBox 6.1.36 release here.

Post by edufissure »

fth0 wrote:
edufissure wrote:Unable to locate imported symbol 'SUPR0FpuBegin' for module 'VMMR0.r0'
SUPR0FpuBegin is a new function provided by the VirtualBox 6.1.36 vboxdrv.ko kernel module. Did you reboot the Linux host after the VirtualBox update? If that doesn't help, check all vboxdrv.ko kernel modules you can find on your Linux host.
I have rebooted the linux host.
I have also checked version of vbox is the same as extension pack.

Vbox: Versión 6.1.36 r152435 (Qt5.12.8)
Oracle_VM_VirtualBox_Extension_Pack-6.1.36a-152435.vbox-extpack

I have checked all my vms (I like 8 different) and all have the same issue. I cant boot any of them.

I think you are asking for something like:

Code: Select all

eduardo@MiPcLinux:~$ lsmod | grep vbox
vboxnetadp             28672  0
vboxnetflt             28672  0
vboxdrv               565248  2 vboxnetadp,vboxnetflt
fth0
Volunteer
Posts: 5668
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: Discuss the VirtualBox 6.1.36 release here.

Post by fth0 »

edufissure wrote:I have checked all my vms (I like 8 different) and all have the same issue. I cant boot any of them.
That's a logical consequence of the error. VirtualBox cannot run any VM while this error exists.
edufissure wrote:I think you are asking for something like:[...]
Good first step. :) The next step would be to check the version of vboxdrv.ko using modinfo vboxdrv. Additionally, use find /lib/modules -name "vboxdrv*" to check if there are multiple versions installed.
edufissure
Posts: 79
Joined: 8. Sep 2018, 19:27

Re: Discuss the VirtualBox 6.1.36 release here.

Post by edufissure »

This is result:

Code: Select all

eduardo@MiPcLinux:~$ modinfo vboxdrv
filename:       /lib/modules/5.15.0-25-generic/updates/dkms/vboxdrv.ko
version:        6.1.34_Ubuntu r150636 (0x00320000)
license:        GPL
description:    Oracle VM VirtualBox Support Driver
author:         Oracle Corporation
srcversion:     4F8CB5BAB694F0C7A59727B
depends:        
retpoline:      Y
name:           vboxdrv
vermagic:       5.15.0-25-generic SMP mod_unload modversions 
parm:           force_async_tsc:force the asynchronous TSC mode (int)
I also tried to compile modules using:

Code: Select all

sudo /sbin/vboxconfig

Code: Select all

eduardo@MiPcLinux:~$ find /lib/modules -name "vboxdrv*"
/lib/modules/5.15.0-25-generic/updates/dkms/vboxdrv.ko
/lib/modules/5.15.0-25-generic/misc/vboxdrv.ko
/lib/modules/5.15.0-41-lowlatency/updates/dkms/vboxdrv.ko
/lib/modules/5.15.0-41-generic/updates/dkms/vboxdrv.ko
I have two kernels just in case, im using usually 5.15.0.25-generic....but sometimes i use the lowlatency 5.15.0.41 when im using my Focusrite USB Soundcard and trying some djing...

I also notice again that with this same config vbox 6.1.34 was working ok....

Thanks for your help...
fth0
Volunteer
Posts: 5668
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: Discuss the VirtualBox 6.1.36 release here.

Post by fth0 »

The "6.1.34_Ubuntu" in the modinfo output shows that the Ubuntu-provided VirtualBox 6.1.34 kernel module is currently preferred.

The find output shows that the Oracle-provided VirtualBox 6.1.36 kernel module is only installed for the 5.15.0-25-generic kernel (note the "misc" in the module's path).

I'd suggest to uninstall all VirtualBox packages (your VMs will be kept), reboot the host and then re-install only the Oracle-provided VirtualBox package.
edufissure
Posts: 79
Joined: 8. Sep 2018, 19:27

Discuss the VirtualBox 6.1.36 release here.

Post by edufissure »

I tried to uninstall vbox and install again and the same error happens. I attach again the results:

Code: Select all

eduardo@MiPcLinux:~$  find /lib/modules -name "vboxdrv*"
/lib/modules/5.15.0-25-generic/updates/dkms/vboxdrv.ko
/lib/modules/5.15.0-25-generic/misc/vboxdrv.ko
/lib/modules/5.15.0-41-lowlatency/updates/dkms/vboxdrv.ko
/lib/modules/5.15.0-41-generic/updates/dkms/vboxdrv.ko
eduardo@MiPcLinux:~$ modinfo vboxdrv
filename:       /lib/modules/5.15.0-25-generic/updates/dkms/vboxdrv.ko
version:        6.1.34_Ubuntu r150636 (0x00320000)
license:        GPL
description:    Oracle VM VirtualBox Support Driver
author:         Oracle Corporation
srcversion:     4F8CB5BAB694F0C7A59727B
depends:        
retpoline:      Y
name:           vboxdrv
vermagic:       5.15.0-25-generic SMP mod_unload modversions 
parm:           force_async_tsc:force the asynchronous TSC mode (int)
eduardo@MiPcLinux:~$ 
Also as said i currently use 5.15.25-generic...any ideas ?

Perhpaps is some kind of error in the release, as in the vbox repo from ubuntu the name virtualbox-6.1_6.1.36-152435~Ubuntu~eoan_amd64 and when you download directly from the vbox download page: the name is virtualbox-6.1_6.1.36-152435~Ubuntu~focal_amd64.
Im using the

Code: Select all

repo http://download.virtualbox.org/virtualbox/debian focal contrib 
from vbox official repo.
Selection_790.png
Selection_790.png (82.65 KiB) Viewed 22520 times
And perhaps is some kind of problem here....

I attach the logs from one w10 vm whre you can read the error.
Attachments
Windows10-2022-07-21-1.zip
Logs of a vm
(20.1 KiB) Downloaded 28 times
fth0
Volunteer
Posts: 5668
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: Discuss the VirtualBox 6.1.36 release here.

Post by fth0 »

You've still installed two packages from the Ubuntu-provided VirtualBox: virtualbox-dkms and virtualbox-ext-pack! You can recognize those "wrong" packages in the Última versión column. Regarding the Ubuntu-provided packages, the "dfsg" part indicates which packages are meant for Ubuntu guests, the others are meant for Ubuntu hosts.

If you want to use the Oracle-provided VirtualBox, the only package to install as such is virtualbox-6.1. All the others are "wrong".
edufissure
Posts: 79
Joined: 8. Sep 2018, 19:27

Re: Discuss the VirtualBox 6.1.36 release here.

Post by edufissure »

Thanks now it seems to work again...ive neveer uninstalled virtualbox-dkms before ;)

I think as said that perhaps is a problem with the packages in the official repo vs packages that you download directly from downloads page. The first time it happens to me....
PatLher
Posts: 1
Joined: 24. Jul 2022, 21:22

Re: Unable to locate imported symbol 'SUPR0FpuBegin' VERR_SYMBOL_NOT_FOUND

Post by PatLher »

Hello all
Just hit same problem and was able to at least correct it without any reboot and wanted to share in case it might be useful (and keeping a trace for me too).

So here it goes:
I have installed the Virtualbox 6.1.36 deb package downloaded from oracle Vbox download website on my main Pop_Os! (Ubuntu) deskop.
Then when I launch vbox manager, it was all good and as reported in previous posts, my VMs weren't starting displaying the SUPR0FpubBegin message!
Previously I did some other installations all manually and recalled I did install the dkms one at some time.

looking for all vboxdrv modules available

Code: Select all

# find /lib/modules -name "vboxdrv*"
/lib/modules/5.15.5-76051505-generic/misc/vboxdrv.ko
/lib/modules/5.15.5-76051505-generic/updates/dkms/vboxdrv.ko
/lib/modules/5.15.5-76051505-generic/updates/vboxdrv.ko
collecting info from the actual loaded module

Code: Select all

# lsmod | grep vbox
vboxnetadp             28672  0
vboxnetflt             28672  0
vboxdrv               520192  2 vboxnetadp,vboxnetflt

# modinfo vboxdrv
filename:       /lib/modules/5.15.5-76051505-generic/updates/vboxdrv.ko
version:        6.1.30 r148432 (0x00320000)
license:        GPL
description:    Oracle VM VirtualBox Support Driver
author:         Oracle Corporation
srcversion:     F9FA1A81FC138C0AB4CA5BE
depends:        
retpoline:      Y
name:           vboxdrv
vermagic:       5.15.5-76051505-generic SMP mod_unload modversions 
parm:           force_async_tsc:force the asynchronous TSC mode (int)
Finally found which one of the .ko file is the good one with

Code: Select all

# modinfo /lib/modules/5.15.5-76051505-generic/misc/vboxdrv.ko 
filename:       /lib/modules/5.15.5-76051505-generic/misc/vboxdrv.ko
version:        6.1.36 r152435 (0x00320000)
license:        GPL
description:    Oracle VM VirtualBox Support Driver
author:         Oracle Corporation
srcversion:     413A59053B8A91F73BFDA56
depends:        
retpoline:      Y
name:           vboxdrv
vermagic:       5.15.5-76051505-generic SMP mod_unload modversions 
parm:           force_async_tsc:force the asynchronous TSC mode (int)
Getting rid of the bad loaded module

Code: Select all

# rmmod vboxnetflt
# rmmod vboxnetadp
# lsmod | grep vbox
vboxdrv               520192  0
# rmmod vboxdrv
reload modules, first depending ones then vboxdrv

Code: Select all

# insmod /lib/modules/5.15.5-76051505-generic/misc/vboxdrv.ko

# lsmod | grep vbox
vboxdrv               520192  0

# modprobe vboxnetadp
# modprobe vboxnetflt

# lsmod | grep vbox
vboxnetflt             28672  0
vboxnetadp             28672  0
vboxdrv               520192  2 vboxnetadp,vboxnetflt
And voila, all good after to start any VMs on my side 8)

Now its time for me to clean this mess :lol:
so I will use the info to add it to my /etc/apt/sources.list according download infos provided by the Linux Vbox dld infos.
and thanks to all here, your posts were very valuable to me!
mcw0
Posts: 1
Joined: 26. Jul 2022, 02:48

Re: Unable to locate imported symbol 'SUPR0FpuBegin' VERR_SYMBOL_NOT_FOUND

Post by mcw0 »

PatLher wrote:Hello all
Just hit same problem and was able to at least correct it without any reboot and wanted to share in case it might be useful (and keeping a trace for me too).
I only signed up here for this reply to you, as I really wanna thank you for your solution to my problem. You and I had exactly same issue, many thanks for your post! :)
Last edited by mpack on 10. Aug 2022, 10:06, edited 2 times in total.
Reason: Trim unnecessary verbatim quote.
Wtfisoracle
Posts: 1
Joined: 28. Jul 2022, 11:42

Re: Unable to locate imported symbol 'SUPR0FpuBegin' VERR_SYMBOL_NOT_FOUND

Post by Wtfisoracle »

PatLher wrote:Hello all
Just hit same problem and was able to at least correct it without any reboot and wanted to share in case it might be useful (and keeping a trace for me too).
Hey, I did this method and it works fine but the problem is that everytime I shutdown or restart my pc I have to do the process again

Any Ideas?
Last edited by mpack on 10. Aug 2022, 10:08, edited 1 time in total.
Reason: Trim unnecessary verbatim quote.
jarfuch
Posts: 1
Joined: 3. Aug 2022, 00:48

Re: Unable to locate imported symbol 'SUPR0FpuBegin' VERR_SYMBOL_NOT_FOUND

Post by jarfuch »

I have the same problem, its function, but when restart, I must do all the process again
shukebeta
Posts: 1
Joined: 10. Aug 2022, 09:51

Re: Unable to locate imported symbol 'SUPR0FpuBegin' VERR_SYMBOL_NOT_FOUND

Post by shukebeta »

after did

Code: Select all

sudo rm the_bad_vbox_drv_file
You can reboot or shutdown your system, this problem will no longer happen again.
Wtfisoracle wrote:
PatLher wrote:Hello all
Just hit same problem and was able to at least correct it without any reboot and wanted to share in case it might be useful (and keeping a trace for me too).
Hey, I did this method and it works fine but the problem is that everytime I shutdown or restart my pc I have to do the process again
Last edited by mpack on 10. Aug 2022, 10:08, edited 1 time in total.
Reason: Trim unnecessary verbatim quote.
Post Reply