You are not logged in.

#1 2019-10-06 12:47:47

KredikShaw
Member
Registered: 2019-10-06
Posts: 16

[SOLVED]Virtual box kernel module error

Hello to everyone.

I installed virtualbox and at opening i get this message:

Edit: I probably should say also that i installed virtualbox dkms with pacman and then installed the oracle extension from yay.

WARNING: The vboxdrv kernel module is not loaded. Either
         available for the current kernel (5.3.4-arch1-1-
         load. Please recompile the kernel module and ins

           sudo /sbin/vboxconfig

         You will not be able to start VMs until this pro

I tried modprobe vboxdrv and the result is:

modprobe: FATAL: Module vboxdrv not found in directory /lib/modules/5.3.4-arch1-1-ARCH

and also tried depmode vboxdrv, resulting in:

depmod: ERROR: Bad version passed vboxdrv


I dont know if this is related, but today on boot i got the message : Failed to start load kernel modules

Thanks for reading!

Last edited by KredikShaw (2019-10-06 13:41:08)

Offline

#2 2019-10-06 13:22:45

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

Re: [SOLVED]Virtual box kernel module error

You need to install the headers for the kernel you intend DKMS to compile modules for.

Offline

#3 2019-10-06 13:31:23

KredikShaw
Member
Registered: 2019-10-06
Posts: 16

Re: [SOLVED]Virtual box kernel module error

Thanks for replying, i'm trying to install them but i didn't found any resource on the wiki on how to do it. I tried to install them through pacman with sudo pacman -S linux-headers-$(uname -r) but they aren't there. I found the file on internet but i don't know if installing it from there will break something.

Do i need to delete the old headers somehow and install new ones or do i install them just like that?

Sorry for bothering

EDIT: Nevermind, i just gone for it and everything is working like a charm now, Thanks so much!!

Last edited by KredikShaw (2019-10-06 13:40:47)

Offline

#4 2019-10-08 09:00:31

leorikz
Member
Registered: 2019-10-08
Posts: 1

Re: [SOLVED]Virtual box kernel module error

KredikShaw wrote:

EDIT: Nevermind, i just gone for it and everything is working like a charm now, Thanks so much!!

hello,
seems I got the same question/situation
what is solution?
ty

well, not sure what helped me with that issue
but last thing was an update 5.3.4 > 5.3.5 // reload and dkms autoinstall
something like that)
sorry wasnt log my 'actions'

Last edited by leorikz (2019-10-08 15:22:24)

Offline

Board footer

Powered by FluxBB