You are not logged in.
Hi,
I have full brand new Arch installation (as of 7/14/2023) and VirtualBox cannot start, giving error:
Kernel driver not installed (rc=-1908)
The VirtualBox Linux kernel driver is either not loaded or not set up correctly. Please try setting it up again by executing
'/sbin/vboxconfig'
as root.
$ journalctl --grep=vbox
Jul 14 21:19:13 ArchLinuxDci kernel: traps: VBoxSVC[26440] trap int3 ip:7ff11dccf65f sp:7fff42a6e1b0 error:0 in VBoxXPCOMIPCC.so[7ff11dcca000+12000]
Jul 14 21:19:13 ArchLinuxDci systemd[1]: vboxweb.service: Deactivated successfully.
-- Boot f6492a7ed4f441cdbdab752d58aaed0a --
Jul 14 21:19:34 ArchLinuxDci systemd-modules-load[377]: Failed to find module 'vboxdrv'
Jul 14 21:19:34 ArchLinuxDci systemd-modules-load[377]: Failed to find module 'vboxnetadp'
Jul 14 21:19:34 ArchLinuxDci systemd-modules-load[377]: Failed to find module 'vboxnetflt'
Jul 14 21:19:35 ArchLinuxDci vboxwebsrv[716]: WARNING: The vboxdrv kernel module is not loaded. Either there is no module
Jul 14 21:19:35 ArchLinuxDci vboxwebsrv[716]: sudo /sbin/vboxconfig
Jul 14 21:19:35 ArchLinuxDci vboxwebsrv[712]: 00:00:00.002301 main Executable: /usr/lib/virtualbox/vboxwebsrv
Jul 14 21:20:08 ArchLinuxDci VirtualBoxVM[2343]: <html><b>Kernel driver not installed (rc=-1908)</b><br/><br/>The VirtualBox Linux kernel driver is either not loaded or not set up correctly. Please try setting it>
what: 3
VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT.
</html>
Jul 14 21:29:59 ArchLinuxDci plasmashell[1084]: org.kde.klipper: Invalid or non-local url for preview: QUrl("vboxreload")
Jul 14 21:43:47 ArchLinuxDci VirtualBoxVM[4715]: <html><b>Kernel driver not installed (rc=-1908)</b><br/><br/>The VirtualBox Linux kernel driver is either not loaded or not set up correctly. Please try setting it>
what: 3
VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT.
</html>
Jul 14 21:43:50 ArchLinuxDci plasmashell[4945]: WARNING: The vboxdrv kernel module is not loaded. Either there is no module
Jul 14 21:43:50 ArchLinuxDci plasmashell[4945]: sudo /sbin/vboxconfig
Jul 14 21:44:06 ArchLinuxDci kernel: traps: VBoxSVC[739] trap int3 ip:7fb7386d465f sp:7fffb6637ea0 error:0 in VBoxXPCOMIPCC.so[7fb7386cf000+12000]
Jul 14 21:44:06 ArchLinuxDci systemd[1]: vboxweb.service: Deactivated successfully.
Jul 14 21:44:07 ArchLinuxDci kernel: traps: nspr-6[1672] trap int3 ip:7f080dcb465f sp:7f0808d7ba90 error:0 in VBoxXPCOMIPCC.so[7f080dcaf000+12000]
-- Boot 2a8b4fb8ef5d472cbdab47bc4b928682 --
Jul 14 21:44:27 ArchLinuxDci systemd-modules-load[383]: Failed to find module 'vboxdrv'
Jul 14 21:44:27 ArchLinuxDci systemd-modules-load[383]: Failed to find module 'vboxnetadp'
Jul 14 21:44:27 ArchLinuxDci systemd-modules-load[383]: Failed to find module 'vboxnetflt'
Jul 14 21:44:28 ArchLinuxDci vboxwebsrv[718]: WARNING: The vboxdrv kernel module is not loaded. Either there is no module
Jul 14 21:44:28 ArchLinuxDci vboxwebsrv[718]: sudo /sbin/vboxconfig
Jul 14 21:44:28 ArchLinuxDci vboxwebsrv[714]: 00:00:00.002300 main Executable: /usr/lib/virtualbox/vboxwebsrv
$ sudo pacman -S virtualbox-host-modules-arch
[sudo] password for dev:
warning: virtualbox-host-modules-arch-7.0.8-23 is up to date -- reinstalling
$ sudo pacman -Syu
[sudo] password for dev:
:: Synchronizing package databases...
core is up to date
extra is up to date
:: Starting full system upgrade...
there is nothing to do
$ uname -r
6.1.38-1-lts
$ sudo /sbin/vboxconfig
[sudo] password for dev:
sudo: /sbin/vboxconfig: command not found
Rebooted after installation still problem, looks like kernel modules are not loaded, please advise.
Host: archlinux
Virtual host image: Mint Linux
Offline
virtualbox-host-modules-arch is not built for the -lts kernel. See the virtualbox wiki page.
Online
That helped, booted kernel without -lts, so no issue with original error, but now when start virtual machine just got black screen on boot, looks like Mint in VM is running but just black screen. Image is for sure valid, same image is used to run on Win11 on same laptop (dual boot), what could be an issue ?
Thanks
Last edited by iaksa (2023-07-15 04:16:12)
Offline
Are you on a recent Intel processor? I believe the virtualbox modules still haven't been updated for indirect branch tracking (ibt). If so, again, see the virtualbox wiki page.
Online
Not Intel, it is AMD RYZEN 7 5000 series
Offline