You are not logged in.

#1 2020-04-01 04:26:07

prismavoid08
Member
Registered: 2020-03-27
Posts: 15

modprobe: FATAL: Module vboxdrv not found in directory /lib/modules/5.

Trying to run virtualbox on Arch for the first time, I encountered the error message

Kernel driver not installed (rc=-1908)

Looking this up I found a lot of ways to get it installed and tried following several. The issue was that all of them ended with entering the command "modprobe vboxdrv" which returned the error message

modprobe: FATAL: Module vboxdrv not found in directory /lib/modules/5.

I searched online for solutions but I was unable to find anything helpful.

Last edited by prismavoid08 (2020-04-01 04:27:10)

Offline

#2 2020-04-01 04:36:22

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: modprobe: FATAL: Module vboxdrv not found in directory /lib/modules/5.

Please paste the output of `pacman -Q linux && uname -r`


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2020-04-01 05:30:52

Arhat
Member
Registered: 2010-07-02
Posts: 49
Website

Re: modprobe: FATAL: Module vboxdrv not found in directory /lib/modules/5.

Same problem.

VirtualBox modules are under:

/lib/modules/5.5.13-arch2-1/extramodules/

When I do a modprobe for vboxnetflt vboxnetadp vboxdrv

the search path is /lib/modules/5.5.13-arch1-1

Output of

pacman -Q linux && uname -r
linux 5.5.13.arch1-1
5.5.13-arch1-1

All I probably need to do is move the modules from /lib/modules/5.5.13-arch2-1/extramodules/ to their right postition. Which would be where? Moving to  /lib/modules/5.5.13-arch1-1/extramodules has no effect.

Last edited by Arhat (2020-04-01 05:43:44)

Offline

#4 2020-04-01 06:41:23

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,680

Re: modprobe: FATAL: Module vboxdrv not found in directory /lib/modules/5.

Arhat wrote:

All I probably need to do is move the modules from /lib/modules/5.5.13-arch2-1/extramodules/ to their right postition. Which would be where? Moving to  /lib/modules/5.5.13-arch1-1/extramodules has no effect.

Have you rebooted since upgrading the kernel?

Offline

#5 2020-04-01 07:18:58

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

Re: modprobe: FATAL: Module vboxdrv not found in directory /lib/modules/5.

depmod -Avn | grep extra
# if that doesn't show anything
depmod -avn | grep extra # that's gonna take some seconds

If one of the commands picks up the modules, run "sudo depmod -A" or "sudo depmod -a" and see whether your modules are there.

Offline

#6 2020-04-01 07:56:48

Arhat
Member
Registered: 2010-07-02
Posts: 49
Website

Re: modprobe: FATAL: Module vboxdrv not found in directory /lib/modules/5.

skunktrader wrote:
Arhat wrote:

All I probably need to do is move the modules from /lib/modules/5.5.13-arch2-1/extramodules/ to their right postition. Which would be where? Moving to  /lib/modules/5.5.13-arch1-1/extramodules has no effect.

Have you rebooted since upgrading the kernel?

Yes. And after copying from

/lib/modules/5.5.13-arch2-1/extramodules/

to

/lib/modules/5.5.13-arch1-1/extramodules/

as well.

seth wrote:

If one of the commands picks up the modules, run "sudo depmod -A" or "sudo depmod -a" and see whether your modules are there.

depmod -Avn | grep extra

no output

depmod -avn | grep extra
...
/lib/modules/5.5.13-arch1-1/extramodules/vboxnetflt.ko.xz needs "VBoxHost_RTNetIPv4HdrChecksum": /lib/modules/5.5.13-arch1-1/extramodules/vboxdrv.ko.xz
/lib/modules/5.5.13-arch1-1/extramodules/vboxnetadp.ko.xz needs "VBoxHost_RTR0Init": /lib/modules/5.5.13-arch1-1/extramodules/vboxdrv.ko.xz
extramodules/vboxnetflt.ko.xz: extramodules/vboxdrv.ko.xz
extramodules/vboxnetadp.ko.xz: extramodules/vboxdrv.ko.xz
extramodules/vboxdrv.ko.xz:
...

After running:

sudo depmod -A
sudo depmod -a

I now get:

sudo modprobe vboxnetflt vboxnetadp vboxdrv
modprobe: ERROR: could not insert 'vboxnetflt': Exec format error

Offline

#7 2020-04-01 09:03:40

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,365

Re: modprobe: FATAL: Module vboxdrv not found in directory /lib/modules/5.

This is a pretty plain , at least in Arhat's  case of a partial update make sure your system is up to date, your linux kernel should be 5.5.13-arch2

Offline

#8 2020-04-01 09:07:36

Arhat
Member
Registered: 2010-07-02
Posts: 49
Website

Re: modprobe: FATAL: Module vboxdrv not found in directory /lib/modules/5.

V1del wrote:

This is a pretty plain , at least in Arhat's  case of a partial update make sure your system is up to date, your linux kernel should be 5.5.13-arch2

I don't do partial upgrades, never!


I can't pull in a newer kernel:

sudo pacman -Syu
[sudo] password for : 
:: Synchronising package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
 archlinuxfr is up to date
:: Starting full system upgrade...
 there is nothing to do
sudo pacman -Syy
:: Synchronising package databases...
 core                                                                                                              135.3 KiB   515 KiB/s 00:00 [#######################################################################################] 100%
 extra                                                                                                            1649.6 KiB   501 KiB/s 00:03 [#######################################################################################] 100%
 community                                                                                                           4.9 MiB   288 KiB/s 00:17 [#######################################################################################] 100%
 multilib                                                                                                          160.0 KiB   441 KiB/s 00:00 [#######################################################################################] 100%
 archlinuxfr      

           

sudo pacman -S linux
warning: linux-5.5.13.arch1-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) linux-5.5.13.arch1-1

Total Installed Size:  74.30 MiB
Net Upgrade Size:       0.00 MiB

:: Proceed with installation? [Y/n] N

/Edit: I'll try other mirrors. Will see if I can grab the new kernel then.

Last edited by Arhat (2020-04-01 09:16:06)

Offline

#9 2020-04-01 09:23:37

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,365

Re: modprobe: FATAL: Module vboxdrv not found in directory /lib/modules/5.

Definitely check your mirrors in that case. Close to your location, low delay time, 100% completion is what you're looking for.

Offline

#10 2020-04-01 09:44:17

Arhat
Member
Registered: 2010-07-02
Posts: 49
Website

Re: modprobe: FATAL: Module vboxdrv not found in directory /lib/modules/5.

V1del wrote:

Definitely check your mirrors in that case. Close to your location, low delay time, 100% completion is what you're looking for.

Choice is limited here in South Africa.

But I've added a few overseas mirrors.

And now have:

sudo pacman -Q linux && uname -r
linux 5.5.13.arch2-1
5.5.13-arch2-1

Thank you for pointing that out.

I'll make a mental note to check here first
Packages
next time before posting.

So my problem has been solved.

Thank you for the help and sorry about that.

Last edited by Arhat (2020-04-01 09:47:34)

Offline

#11 2020-04-01 17:35:24

adventurer
Member
Registered: 2014-05-04
Posts: 128

Re: modprobe: FATAL: Module vboxdrv not found in directory /lib/modules/5.

Arhat wrote:

Choice is limited here in South Africa.

But I've added a few overseas mirrors.

I suggest that you use Reflector.

Please mark this issue as solved.

Offline

#12 2020-04-01 17:41:39

Arhat
Member
Registered: 2010-07-02
Posts: 49
Website

Re: modprobe: FATAL: Module vboxdrv not found in directory /lib/modules/5.

adventurer wrote:

I suggest that you use Reflector.

Will try it out thanks.

adventurer wrote:

Please mark this issue as solved.

No. I didn't open the thread, merely hijacked it. The person starting it might have an entirely different problem.

Offline

Board footer

Powered by FluxBB