You are not logged in.

#1 2020-02-08 07:59:34

you
Member
Registered: 2020-02-08
Posts: 9

[SOLVED] Cannot load virtualbox module

Hello,

After running "pacman -S virtualbox," I attempt to start VB via the command "virtualbox" but I'm told that the vboxdrv kernal module is not loaded. I'm given the following command to recompile the kernel module: "sudo /sbin/vboxconfig"
Attempting to run this run this fails, saying "command not found." Additionally, trying to run "sudo modprobe vboxdrv" gives:

[you@arch ~]$ sudo modprobe vboxdrv
[sudo] password for you: 
modprobe: FATAL: Module vboxdrv not found in directory /lib/modules/5.4.15-arch1-1

Because this module isn't found, and the command is not found, I'm fairly certain something is missing but i do not know what.

My Kernel: 5.4.15-arch1-1

How can this Problem be solved?

Last edited by you (2020-02-09 08:04:01)

Offline

#2 2020-02-08 11:09:21

xerxes_
Member
Registered: 2018-04-29
Posts: 1,073

Re: [SOLVED] Cannot load virtualbox module

Offline

#3 2020-02-08 17:40:45

you
Member
Registered: 2020-02-08
Posts: 9

Re: [SOLVED] Cannot load virtualbox module

Thanks a lot but i have already read the article and there is no solution!

Last edited by you (2020-02-08 17:41:29)

Offline

#4 2020-02-08 17:48:31

twelveeighty
Member
Registered: 2011-09-04
Posts: 1,456

Re: [SOLVED] Cannot load virtualbox module

@you: go back to the beginning of that article. As you said yourself: we are "fairly certain something is missing". You didn't follow the instructions listed under "Install the core packages".

Offline

#5 2020-02-08 18:18:26

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED] Cannot load virtualbox module

You've given us no relevant information to go on...
Which kernel modules have you tried?

Please read...
https://bbs.archlinux.org/viewtopic.php?id=57855
http://www.catb.org/~esr/faqs/smart-questions.html

..and then try posting something useful.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#6 2020-02-08 21:26:39

you
Member
Registered: 2020-02-08
Posts: 9

Re: [SOLVED] Cannot load virtualbox module

Hello
I reread the wiki article, reinstalled these packages "virtualbox-host-modules-arch" "linux-headers", and tried "modprobe vboxdrv" again, but the error remains.

With dmesg i found this problem

[    0.667808] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.DGPV], AE_NOT_FOUND (20190816/psargs-330)
[    0.667812] ACPI Error: Aborting method \_SB.PCI0.RP05.PCRP._ON due to previous error (AE_NOT_FOUND) (20190816/psparse-529)

KERNEL: 5.4.15-arch1-1 (I had some problems with the new linux-5.5.2.arch1-1 kernel)

Last edited by you (2020-02-08 21:38:22)

Offline

#7 2020-02-08 21:46:13

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

Re: [SOLVED] Cannot load virtualbox module

pacman -Qi virtualbox-host-modules-arch

Online

#8 2020-02-09 00:30:22

twelveeighty
Member
Registered: 2011-09-04
Posts: 1,456

Re: [SOLVED] Cannot load virtualbox module

you wrote:

KERNEL: 5.4.15-arch1-1 (I had some problems with the new linux-5.5.2.arch1-1 kernel)

It helps if you give us *ALL* the information and exact steps (i.e. exact commands) you have performed, upfront. This is probably what went wrong. How *exactly* did you downgrade the kernel? My guess is that you didn't downgrade properly and your virtualbox-host-modules-arch isn't compatible with your kernel.

Offline

#9 2020-02-09 07:57:32

you
Member
Registered: 2020-02-08
Posts: 9

Re: [SOLVED] Cannot load virtualbox module

twelveeighty wrote:
you wrote:

KERNEL: 5.4.15-arch1-1 (I had some problems with the new linux-5.5.2.arch1-1 kernel)

It helps if you give us *ALL* the information and exact steps (i.e. exact commands) you have performed, upfront. This is probably what went wrong. How *exactly* did you downgrade the kernel? My guess is that you didn't downgrade properly and your virtualbox-host-modules-arch isn't compatible with your kernel.

Thats how I downgraded the kernel:

cd /var/cache/pacman/pkg
ls | grep linux
pacman -U linux-5.4.15.arch1-1-x86_64.pkg.tar.zst

Offline

#10 2020-02-09 08:00:55

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

Re: [SOLVED] Cannot load virtualbox module

seth wrote:

pacman -Qi virtualbox-host-modules-arch

And then think about the output.

Online

#11 2020-02-09 08:09:27

you
Member
Registered: 2020-02-08
Posts: 9

Re: [SOLVED] Cannot load virtualbox module

$ pacman -Qi virtualbox-host-modules-arch
Name            : virtualbox-host-modules-arch
Version         : 6.1.2-5
Description     : Virtualbox host kernel modules for Arch Kernel
Architecture    : x86_64
URL             : http://virtualbox.org
Licenses        : GPL
Groups          : None
Provides        : VIRTUALBOX-HOST-MODULES
Depends On      : linux
Optional Deps   : None
Required By     : virtualbox
Optional For    : None
Conflicts With  : virtualbox-modules  virtualbox-host-modules
                  virtualbox-host-dkms
Replaces        : virtualbox-modules  virtualbox-host-modules
Installed Size  : 150.03 KiB
Packager        : Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
Build Date      : Sun 26 Jan 2020 11:14:39 CET
Install Date    : Sun 09 Feb 2020 09:02:04 CET
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : None

Last edited by you (2020-02-09 08:10:47)

Offline

#12 2020-02-09 08:11:52

you
Member
Registered: 2020-02-08
Posts: 9

Re: [SOLVED] Cannot load virtualbox module

Thank you!
based on your hint I could find the Problem.I only reset the the linux kernel and did not to reset the linux-headers and linux-host-modules-arch. In this regard, I used the old kernel with new headers and new vbox modules, which led to this incompatibility.

Last edited by you (2020-02-09 08:12:20)

Offline

Board footer

Powered by FluxBB