Oracle Virtualbox - related messages - showing up while my Fedora (KDE) PC boots. Why?

There isn’t much to say.

I’ve not photograph’d the messages nor I remember them well enough (they are 3 or 4 in around 1 second) and maybe it’s normal, but it’s the second boot since I’ve installed OracleVM on this “fresh” install, and it’s the second time it happened.

Google is useless at figuring out what this really means (maybe nobody really directly asked it), so I made this post to get a straight answer that will be useful for everyone forever.

Virtualbox needs kernel modules, if you change kernel they sometimes need to be recreated.

I have peace with that since i use:

# sudo dnf group install virtualization && sudo usermod -aG libvirt yourusername

If you want more detailed information in the Internet then I propose that you start to put more detailed information in it.

A good start would be:

journalctl --no-tail --no-hostname -S "today" |grep -i Virt

I also can’t run VB 7.2.6 this morning, installed with the RPM Fusion instructions. I was updated to the 6.19.6 kernel. Using Fedora 43 KDE. I get these errors.

Mar 13 09:07:39 VirtualBoxVM[19619]: VirtualBoxVM: Error -1908 in suplibOsInit!
Mar 13 09:07:39 VirtualBoxVM[19619]: VirtualBoxVM: Kernel driver not installed
Mar 13 09:07:39 VirtualBoxVM[19619]: VirtualBoxVM: Tip! Make sure the kernel module is loaded. It may also help to reinstall VirtualBox.
Mar 13 09:07:39 VirtualBoxVM[19624]: QSettings::value: Empty key passed
Mar 13 09:07:43 VirtualBoxVM[19624]: <html><b>Kernel driver not installed (rc=-1908)</b><br/><br/>The VirtualBox Linux kernel driver (vboxdrv) is probably not loaded.You may not have kernel driver installed for kernel that is runnig, if so you may do as root:  <font color=blue>dnf install akmod-VirtualBox kernel-devel-$(uname -r)</font>If you installed VirtualBox packages and don't want reboot the system, you may need load the kernel driver, doing as root:  <font color=blue>akmods; systemctl restart vboxdrv.service</font><br/><br/>If your system has EFI Secure Boot enabled you may also need to sign the kernel modules (vboxdrv, vboxnetflt, vboxnetadp) before you can load them. Please see your Linux system's documentation for more information.<br><br><!--EOM-->where: suplibOsInit
Mar 13 09:07:43 audit[19624]: ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=1 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 pid=19624 comm="VirtualBoxVM" exe="/usr/lib64/virtualbox/VirtualBoxVM" sig=6 res=1
Mar 13 09:07:43 systemd-coredump[19646]: Process 19624 (VirtualBoxVM) of user 1000 terminated abnormally with signal 6/ABRT, processing...
Mar 13 09:07:43 systemd-coredump[19649]: Process 19624 (VirtualBoxVM) of user 1000 dumped core.
                                         #6  0x00007f8aba35d5d8 TrustedError.cold (VirtualBoxVM.so + 0x65d8)
                                         #7  0x0000000000401fb9 n/a (/usr/lib64/virtualbox/VirtualBoxVM + 0x1fb9)
                                         #8  0x0000000000402036 n/a (/usr/lib64/virtualbox/VirtualBoxVM + 0x2036)
                                         #9  0x0000000000402553 n/a (/usr/lib64/virtualbox/VirtualBoxVM + 0x2553)
                                         #10 0x0000000000402a18 n/a (/usr/lib64/virtualbox/VirtualBoxVM + 0x2a18)
                                         #13 0x00000000004008f5 n/a (/usr/lib64/virtualbox/VirtualBoxVM + 0x8f5)
Mar 13 09:07:43 drkonqi-coredump-launcher[19660]: Unable to find file for pid 19624 expected at "kcrash-metadata/VirtualBoxVM.57838c4deae046eba50fa7c9bf1bafd1.19624.ini"
Mar 13 09:07:44 abrt-notification[19716]: Process 15088 (VirtualBoxVM) crashed in qt_assert(char const*, char const*, int)()
harry1@landlord:~$

If you installed the virtualbox via akmod-VirtualBox then after updating you have to give time to install before rebooting the system.

Have you done this? If you made everything right and still get the same errors, then the kernel-modules are not ready yet.

My proposal is still the same, If you want a working virtualization, please consider to check the alternative above.

I have no idea where I should be looking for.

The things I see during boot are something like .../folder/folder/program.

Here’s the output anyways.

~$ journalctl --no-tail --no-hostname -S "today" |grep -i Virt
Mar 13 14:33:45 kernel: Booting paravirtualized kernel on bare hardware
Mar 13 14:33:45 systemd[1]: Starting systemd-vconsole-setup.service - Virtual Console Setup...
Mar 13 14:33:45 systemd[1]: Finished systemd-vconsole-setup.service - Virtual Console Setup.
Mar 13 14:33:45 systemd-vconsole-setup[347]: Configuration of first virtual console failed, ignoring remaining ones.
Mar 13 14:33:45 systemd[1]: Stopped systemd-vconsole-setup.service - Virtual Console Setup.
Mar 13 14:33:45 systemd[1]: Stopping systemd-vconsole-setup.service - Virtual Console Setup...
Mar 13 14:33:45 systemd[1]: Starting systemd-vconsole-setup.service - Virtual Console Setup...
Mar 13 14:33:45 systemd-vconsole-setup[536]: Configuration of first virtual console failed, ignoring remaining ones.
Mar 13 14:33:45 systemd[1]: Finished systemd-vconsole-setup.service - Virtual Console Setup.
Mar 13 14:33:48 kernel: amdgpu: Virtual CRAT table created for CPU
Mar 13 14:33:51 kernel: amdgpu: Virtual CRAT table created for GPU
Mar 13 13:33:53 systemd[1]: Stopped systemd-vconsole-setup.service - Virtual Console Setup.
Mar 13 13:33:53 systemd[1]: Stopping systemd-vconsole-setup.service - Virtual Console Setup...
Mar 13 13:33:53 systemd[1]: Starting systemd-vconsole-setup.service - Virtual Console Setup...
Mar 13 13:33:53 systemd-vconsole-setup[870]: All allocated virtual consoles are busy, will not configure key mapping and font.
Mar 13 13:33:53 systemd[1]: Finished systemd-vconsole-setup.service - Virtual Console Setup.
Mar 13 13:33:53 kernel: kvm_amd: Nested Virtualization enabled
Mar 13 13:33:53 kernel: kvm_amd: LBR virtualization supported
Mar 13 13:33:53 kernel: kvm_amd: Virtual VMLOAD VMSAVE supported
Mar 13 13:33:53 kernel: kvm_amd: Virtual GIF supported
Mar 13 13:33:54 systemd[1]: vboxservice.service - VirtualBox guest services skipped, no trigger condition checks were met.
Mar 13 13:33:54 systemd[1]: vgauthd.service - VGAuth Service for open-vm-tools skipped, unmet condition check ConditionVirtualization=vmware
Mar 13 13:33:54 systemd[1]: vmtoolsd.service - Service for virtual machines hosted on VMware skipped, unmet condition check ConditionVirtualization=vmware
Mar 13 13:33:57 akmods[1076]: Building and installing VirtualBox-kmod [FAILED]
Mar 13 13:34:01 plasma-keyboard[1902]: qtvirtualkeyboard currently is not supported at client-side, use QT_IM_MODULES=qtvirtualkeyboard at compositor-side.
                                        Module libqtvkbthaiplugin.so from rpm qt6-qtvirtualkeyboard-6.10.2-1.fc43.x86_64
                                        Module libqtvkbtcimeplugin.so from rpm qt6-qtvirtualkeyboard-6.10.2-1.fc43.x86_64
                                        Module libqtvkbpinyinplugin.so from rpm qt6-qtvirtualkeyboard-6.10.2-1.fc43.x86_64
                                        Module libqtvkbopenwnnplugin.so from rpm qt6-qtvirtualkeyboard-6.10.2-1.fc43.x86_64
                                        Module libQt6HunspellInputMethod.so.6 from rpm qt6-qtvirtualkeyboard-6.10.2-1.fc43.x86_64
                                        Module libqtvkbhunspellplugin.so from rpm qt6-qtvirtualkeyboard-6.10.2-1.fc43.x86_64
                                        Module libqtvkbhangulplugin.so from rpm qt6-qtvirtualkeyboard-6.10.2-1.fc43.x86_64
                                        Module libqtvkbpluginsplugin.so from rpm qt6-qtvirtualkeyboard-6.10.2-1.fc43.x86_64
                                        Module libqtvkbbuiltinstylesplugin.so from rpm qt6-qtvirtualkeyboard-6.10.2-1.fc43.x86_64
                                        Module libqtvkbstylesplugin.so from rpm qt6-qtvirtualkeyboard-6.10.2-1.fc43.x86_64
                                        Module libQt6VirtualKeyboardSettings.so.6 from rpm qt6-qtvirtualkeyboard-6.10.2-1.fc43.x86_64
                                        Module libqtvkbsettingsplugin.so from rpm qt6-qtvirtualkeyboard-6.10.2-1.fc43.x86_64
                                        Module libqtvkbcomponentsplugin.so from rpm qt6-qtvirtualkeyboard-6.10.2-1.fc43.x86_64
                                        Module libqtvkblayoutsplugin.so from rpm qt6-qtvirtualkeyboard-6.10.2-1.fc43.x86_64
                                        Module libQt6VirtualKeyboardQml.so.6 from rpm qt6-qtvirtualkeyboard-6.10.2-1.fc43.x86_64
                                        Module libqtvkbplugin.so from rpm qt6-qtvirtualkeyboard-6.10.2-1.fc43.x86_64
                                        Module libqtvirtualkeyboardplugin.so from rpm qt6-qtvirtualkeyboard-6.10.2-1.fc43.x86_64
                                        Module libQt6VirtualKeyboard.so.6 from rpm qt6-qtvirtualkeyboard-6.10.2-1.fc43.x86_64
                                        #2  0x00007fcc6f570653 _ZN17QtVirtualKeyboard14HunspellWorker3runEv (libQt6HunspellInputMethod.so.6 + 0x8653)
Mar 13 13:34:02 plasma-keyboard[1964]: qtvirtualkeyboard currently is not supported at client-side, use QT_IM_MODULES=qtvirtualkeyboard at compositor-side.
Mar 13 13:34:03 akmods[1076]: Building rpms failed; see /var/cache/akmods/VirtualBox/7.2.6-1-for-6.19.6-200.fc43.x86_64.failed.log for details
                                        Module libqtvkbthaiplugin.so from rpm qt6-qtvirtualkeyboard-6.10.2-1.fc43.x86_64
                                        Module libqtvkbtcimeplugin.so from rpm qt6-qtvirtualkeyboard-6.10.2-1.fc43.x86_64
                                        Module libqtvkbpinyinplugin.so from rpm qt6-qtvirtualkeyboard-6.10.2-1.fc43.x86_64
                                        Module libqtvkbopenwnnplugin.so from rpm qt6-qtvirtualkeyboard-6.10.2-1.fc43.x86_64
                                        Module libQt6HunspellInputMethod.so.6 from rpm qt6-qtvirtualkeyboard-6.10.2-1.fc43.x86_64
                                        Module libqtvkbhunspellplugin.so from rpm qt6-qtvirtualkeyboard-6.10.2-1.fc43.x86_64
                                        Module libqtvkbhangulplugin.so from rpm qt6-qtvirtualkeyboard-6.10.2-1.fc43.x86_64
                                        Module libqtvkbpluginsplugin.so from rpm qt6-qtvirtualkeyboard-6.10.2-1.fc43.x86_64
                                        Module libqtvkbbuiltinstylesplugin.so from rpm qt6-qtvirtualkeyboard-6.10.2-1.fc43.x86_64
                                        Module libqtvkbstylesplugin.so from rpm qt6-qtvirtualkeyboard-6.10.2-1.fc43.x86_64
                                        Module libQt6VirtualKeyboardSettings.so.6 from rpm qt6-qtvirtualkeyboard-6.10.2-1.fc43.x86_64
                                        Module libqtvkbsettingsplugin.so from rpm qt6-qtvirtualkeyboard-6.10.2-1.fc43.x86_64
                                        Module libqtvkbcomponentsplugin.so from rpm qt6-qtvirtualkeyboard-6.10.2-1.fc43.x86_64
                                        Module libqtvkblayoutsplugin.so from rpm qt6-qtvirtualkeyboard-6.10.2-1.fc43.x86_64
                                        Module libQt6VirtualKeyboardQml.so.6 from rpm qt6-qtvirtualkeyboard-6.10.2-1.fc43.x86_64
                                        Module libqtvkbplugin.so from rpm qt6-qtvirtualkeyboard-6.10.2-1.fc43.x86_64
                                        Module libqtvirtualkeyboardplugin.so from rpm qt6-qtvirtualkeyboard-6.10.2-1.fc43.x86_64
                                        Module libQt6VirtualKeyboard.so.6 from rpm qt6-qtvirtualkeyboard-6.10.2-1.fc43.x86_64
                                        #2  0x00007f8578b90653 _ZN17QtVirtualKeyboard14HunspellWorker3runEv (libQt6HunspellInputMethod.so.6 + 0x8653)
Mar 13 13:34:03 plasma-keyboard[2128]: qtvirtualkeyboard currently is not supported at client-side, use QT_IM_MODULES=qtvirtualkeyboard at compositor-side.
                                        Module libqtvkbthaiplugin.so from rpm qt6-qtvirtualkeyboard-6.10.2-1.fc43.x86_64
                                        Module libqtvkbtcimeplugin.so from rpm qt6-qtvirtualkeyboard-6.10.2-1.fc43.x86_64
                                        Module libqtvkbpinyinplugin.so from rpm qt6-qtvirtualkeyboard-6.10.2-1.fc43.x86_64
                                        Module libqtvkbopenwnnplugin.so from rpm qt6-qtvirtualkeyboard-6.10.2-1.fc43.x86_64
                                        Module libQt6HunspellInputMethod.so.6 from rpm qt6-qtvirtualkeyboard-6.10.2-1.fc43.x86_64
                                        Module libqtvkbhunspellplugin.so from rpm qt6-qtvirtualkeyboard-6.10.2-1.fc43.x86_64
                                        Module libqtvkbhangulplugin.so from rpm qt6-qtvirtualkeyboard-6.10.2-1.fc43.x86_64
                                        Module libqtvkbpluginsplugin.so from rpm qt6-qtvirtualkeyboard-6.10.2-1.fc43.x86_64
                                        Module libqtvkbbuiltinstylesplugin.so from rpm qt6-qtvirtualkeyboard-6.10.2-1.fc43.x86_64
                                        Module libqtvkbstylesplugin.so from rpm qt6-qtvirtualkeyboard-6.10.2-1.fc43.x86_64
                                        Module libQt6VirtualKeyboardSettings.so.6 from rpm qt6-qtvirtualkeyboard-6.10.2-1.fc43.x86_64
                                        Module libqtvkbsettingsplugin.so from rpm qt6-qtvirtualkeyboard-6.10.2-1.fc43.x86_64
                                        Module libqtvkbcomponentsplugin.so from rpm qt6-qtvirtualkeyboard-6.10.2-1.fc43.x86_64
                                        Module libqtvkblayoutsplugin.so from rpm qt6-qtvirtualkeyboard-6.10.2-1.fc43.x86_64
                                        Module libQt6VirtualKeyboardQml.so.6 from rpm qt6-qtvirtualkeyboard-6.10.2-1.fc43.x86_64
                                        Module libqtvkbplugin.so from rpm qt6-qtvirtualkeyboard-6.10.2-1.fc43.x86_64
                                        Module libqtvirtualkeyboardplugin.so from rpm qt6-qtvirtualkeyboard-6.10.2-1.fc43.x86_64
                                        Module libQt6VirtualKeyboard.so.6 from rpm qt6-qtvirtualkeyboard-6.10.2-1.fc43.x86_64
                                        #2  0x00007f0159344653 _ZN17QtVirtualKeyboard14HunspellWorker3runEv (libQt6HunspellInputMethod.so.6 + 0x8653)
Mar 13 13:34:05 sddm-helper-start-wayland[2220]: "qt.qpa.wayland: qtvirtualkeyboard currently is not supported at client-side, use QT_IM_MODULES=qtvirtualkeyboard at compositor-side.\n"
Mar 13 13:34:22 systemd[2565]: Starting gvfs-daemon.service - Virtual filesystem service...
Mar 13 13:34:22 systemd[2565]: Started gvfs-daemon.service - Virtual filesystem service.
Mar 13 13:34:23 plasma-keyboard[2969]: qtvirtualkeyboard currently is not supported at client-side, use QT_IM_MODULES=qtvirtualkeyboard at compositor-side.
Mar 13 13:34:23 kwin_wayland_wrapper[3051]: > Warning:          Virtual modifier Hyper multiply defined
Mar 13 13:34:23 kwin_wayland_wrapper[3051]: > Warning:          Virtual modifier ScrollLock multiply defined
Mar 13 13:34:59 systemd[2565]: Starting gvfs-metadata.service - Virtual filesystem metadata service...
Mar 13 13:34:59 systemd[2565]: Started gvfs-metadata.service - Virtual filesystem metadata service.
Mar 13 14:58:13 systemd[2565]: Started app-virtualbox@28534046c80e48359a4a6b7721be983b.service - Oracle VirtualBox - Virtualization Software.
Mar 13 14:58:13 VirtualBox[18653]: WARNING: The vboxdrv kernel module is not loaded. Either there is no module
Mar 13 14:58:13 VirtualBox[18653]:          available for the current kernel (6.19.6-200.fc43.x86_64) or it failed to
Mar 13 14:58:13 VirtualBox[18653]:          load. Please try load the kernel module by executing as root
Mar 13 14:58:13 VirtualBox[18653]:            dnf install akmod-VirtualBox kernel-devel-6.19.6-200.fc43.x86_64
Mar 13 14:58:13 VirtualBox[18653]:            akmods --kernels 6.19.6-200.fc43.x86_64 && systemctl restart vboxdrv.service
Mar 13 14:58:13 VirtualBox[18653]:          You will not be able to start VMs until this problem is fixed.
Mar 13 14:58:14 VirtualBox[18649]: Qt WARNING: QObject::disconnect: wildcard call disconnects from destroyed signal of UIInvisibleWindow::unnamed
Mar 13 14:58:22 systemd[2565]: app-virtualbox@28534046c80e48359a4a6b7721be983b.service: Consumed 928ms CPU time, 159.1M memory peak.

I didn’t say I can’t run it.

In fact I’ll maybe have some time to run in after this message (I am busy).

We’ll see if we have the same problem…

I installed mine from Discover.

I never rush to reboot. Generally it’s hours not minutes.

If your list for errors get to long then just use a more specific search string …
Read the Error message carefully and try to do what it says … then give feedback.

dnf install akmod-VirtualBox kernel-devel-6.19.6-200.fc43.x86_64 
akmods --kernels 6.19.6-200.fc43.x86_64 && systemctl restart vboxdrv.service

Hummmmmmmmmmmmm..,…,…,…,…

You sent a response as I was sending this.

Thanks, but “the messages didn’t get too long”, that’s everything that came up.

I am not in a hurry to solve this problem tho, even if I’ll have to go do other things in 1 hour.

Just a comment about my experience I made here:

I was also looking for help with Virtualbox when I started here. By side to explaining me similar things as I do now, I got invited to use the Native Virtualization as Fedora uses (see link above) , to test it my selves.

I never watched back, I am free of missing kernel-modules and also the add-ons for Virtualbox which always where needed, they do not bother me anymore.

I am also not in a hurry :smiley: But I will stop now to repeat saying the same.

I have no idea what N.V. is.
Could I get a link?

Are you reading error messages and other comments :slight_smile: ?

I do read them, but since I don’t have hyperthymesia and I am doing other things too I don’t remember small things read 2 hours ago.


Gonna try it out now.

1 Like
Complete!
usermod: user 'yourusername' does not exist

Ahah! Funny.

Do I need to run the command again and this time put in my PC’s Account’s username, or do I have to delete something, or am I golden?

That’s not a solution to the VB problem. It’s an alternative, no???

If in the end it doesn’t explain, nor solve, why I see things flash during boot, then it won’t be a solution.

I have to go and maybe won’t be back for a day.

Looks like there is a problem with the build. You can check this on your machine to ensure it’s the same problem @isaac0clarke by viewing /var/cache/akmods/VirtualBox/ and looking for at the build log for the kernel version you’re using - it’ll have the word failed in the filename if there’s an issue.

ERROR: modpost: module vboxdrv uses symbol cr4_update_irqsoff from namespace module:kvm,kvm-amd,kvm-intel, but does not import it.
ERROR: modpost: module vboxdrv uses symbol cr4_read_shadow from namespace module:kvm,kvm-amd,kvm-intel, but does not import it.
ERROR: modpost: module vboxdrv uses symbol __flush_tlb_all from namespace module:kvm,kvm-amd,kvm-intel, but does not import it.
make[3]: *** [/usr/src/kernels/6.19.6-200.fc43.x86_64/scripts/Makefile.modpost:147: Module.symvers] Error 1
make[2]: *** [/usr/src/kernels/6.19.6-200.fc43.x86_64/Makefile:2044: modpost] Error 2
make[1]: *** [/usr/src/kernels/6.19.6-200.fc43.x86_64/Makefile:248: __sub-make] Error 2
make[1]: Leaving directory '/tmp/akmodsbuild.2fal4YQ2/BUILD/VirtualBox-kmod-7.2.6-build/VirtualBox-kmod-7.2.6/_kmod_build_6.19.6-200.fc43.x86_64/vboxdrv'
make: *** [Makefile:248: __sub-make] Error 2
make: Leaving directory '/usr/src/kernels/6.19.6-200.fc43.x86_64'
error: Bad exit status from /var/tmp/rpm-tmp.OOFqmP (%build)

Just for information.

7.2.6-1-for-6.19.7-200.fc43.x86_64.failed.log

Yep.
That’s also the message that comes when booting:
"something something akmod failed to build "…

This is by trying to follow what the popup says.

Updating and loading repositories:
Repositories loaded.
Failed to resolve the transaction:
Package "akmod-VirtualBox-7.2.6-1.fc43.x86_64" is already installed.
No match for argument: kernel-devel-
You can try to add to command line:
  --skip-unavailable to skip unavailable packages

So if this is on the Devs and I can do nothing [1] I consider this issue closed.

If anything I’m interested in what @ilikelinux was talking about, but also, and mainly, because now I am very tired and ill, I’ll not actively try to understand for a day or two.

.

Thanks to everyone for your help.


  1. (that a normal user won’t ever do by oneself, like patching the Kernel or installing 8 different versions of the same program hoping one works, leaving the spaghetti mess to linger and take space and be a potential source of future problems) ↩︎