You are not logged in.

#1 2020-10-30 04:14:50

deprov447
Member
Registered: 2020-10-27
Posts: 4

VirtualBox: vboxdrv kernel module not loaded

I know this is a repeated question and has been asked many times. But I can't still resolve my problem.
I am very new to arch (and a newbie to linux itself tongue), So I have quite some sub-questions too. Please help

I recently installed virtualbox-host-modules-arch. but Every-time I start it the following pops-up :

WARNING: The vboxdrv kernel module is not loaded. Either there is no module
         available for the current kernel (5.4.72-1-lts) or it failed to
         load. Please recompile the kernel module and install it by

           sudo /sbin/vboxconfig

         You will not be able to start VMs until this problem is fixed.

- There ain't no file /sbin/vboxconfig (*What is stored here?)
- I tried loading vboxdrv module manually... Shows

modprobe: WARNING: Module vboxdrv not found in directory /lib/modules/5.4.72-1-lts

My pacman -Qi linux output is

Name            : linux
Version         : 5.9.1.arch1-1
Description     : The Linux kernel and modules
Architecture    : x86_64
URL             : https://git.archlinux.org/linux.git/log/?h=v5.9.1-arch1
Licenses        : GPL2
Groups          : None
Provides        : VIRTUALBOX-GUEST-MODULES  WIREGUARD-MODULE
Depends On      : coreutils  kmod  initramfs
Optional Deps   : crda: to set the correct wireless channels of your country
                  linux-firmware: firmware images needed for some devices [installed]
Required By     : virtualbox-host-modules-arch
Optional For    : base
Conflicts With  : None
Replaces        : virtualbox-guest-modules-arch  wireguard-arch
Installed Size  : 79.03 MiB
Packager        : Jan Alexander Steffens (heftig) <heftig@archlinux.org>
Build Date      : Sat Oct 17 19:00:37 2020
Install Date    : Wed Oct 21 14:27:00 2020
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : Signature

and uname -r output :

5.4.72-1-lts

As one may have noted I am using LTS kernel

But When I boot thru ARCH kernel (from GRUB)
The virtualbox runs correctly. (Is LTS kernel really worth loosing some updates? Is there really a big problem using ARCH kernel)

Here my outputs of above 2 commands are :

Name            : linux
Version         : 5.9.1.arch1-1
Description     : The Linux kernel and modules
Architecture    : x86_64
URL             : https://git.archlinux.org/linux.git/log/?h=v5.9.1-arch1
Licenses        : GPL2
Groups          : None
Provides        : VIRTUALBOX-GUEST-MODULES  WIREGUARD-MODULE
Depends On      : coreutils  kmod  initramfs
Optional Deps   : crda: to set the correct wireless channels of your country
                  linux-firmware: firmware images needed for some devices [installed]
Required By     : virtualbox-host-modules-arch
Optional For    : base
Conflicts With  : None
Replaces        : virtualbox-guest-modules-arch  wireguard-arch
Installed Size  : 79.03 MiB
Packager        : Jan Alexander Steffens (heftig) <heftig@archlinux.org>
Build Date      : Sat Oct 17 19:00:37 2020
Install Date    : Wed Oct 21 14:27:00 2020
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : Signature
5.9.1-arch1-1

I know I am missing some very basic config, but can't figure out what...
ps: I ran a pacman -Syyu recently.

Offline

#2 2020-10-30 04:17:58

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: VirtualBox: vboxdrv kernel module not loaded

If you're using the 'linux-lts' kernel, why are you giving information for the 'linux' kernel, and more importantly, installed a module for the 'linux' kernel?

Offline

#3 2020-10-30 09:21:44

deprov447
Member
Registered: 2020-10-27
Posts: 4

Re: VirtualBox: vboxdrv kernel module not loaded

Scimmia wrote:

If you're using the 'linux-lts' kernel, why are you giving information for the 'linux' kernel, and more importantly, installed a module for the 'linux' kernel?

I've both. (Visible from GRUB). virtualbox is working from 'linux' but not from 'lts' kernel release sad

Last edited by deprov447 (2020-10-30 09:22:08)

Offline

#4 2020-10-30 10:38:13

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,697

Re: VirtualBox: vboxdrv kernel module not loaded

Yes. Because you don't have modules for the lts kernel installed…
https://www.archlinux.org/packages/comm … host-dkms/

Offline

Board footer

Powered by FluxBB