You are not logged in.

#1 2016-07-13 01:06:52

cosmicna
Member
Registered: 2016-07-13
Posts: 12

Virtual box modules not found.

I've been searching around for like 3-4 hours looking for someone with the same problem I'm having and i havent found one so now im making a thread.

The error im getting when i start virtual box is

Loading modules: modprobe: FATAL: Module vboxnetadp not found in directory /lib/modules/4.1.0-1-mainline
modprobe: FATAL: Module vboxnetflt not found in directory /lib/modules/4.1.0-1-mainline
modprobe: FATAL: Module vboxpci not found in directory /lib/modules/4.1.0-1-mainline
modprobe: FATAL: Module vboxdrv not found in directory /lib/modules/4.1.0-1-mainline

uname -r outputs

4.1.0-1-mainline

pacman -Q linux linux-headers outputs

linux 4.6.3-1
linux-headers 4.6.3-1

Thanks for the help. I'm trying to get genymotion working on arch.

Offline

#2 2016-07-13 01:07:40

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,461

Re: Virtual box modules not found.

You seem to be running a very old kernel. Fix that.

Offline

#3 2016-07-13 01:15:22

cosmicna
Member
Registered: 2016-07-13
Posts: 12

Re: Virtual box modules not found.

Scimmia wrote:

You seem to be running a very old kernel. Fix that.

I'm running arch on a custom one because im using an asus x205ta. So I can't without breaking the internet and like 5 other things. Is there any other way to fix this vbox issue?

Offline

#4 2016-07-13 01:16:41

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,461

Re: Virtual box modules not found.

Sure, build the modules for the kernel you're running.

Offline

#5 2016-07-13 01:25:03

cosmicna
Member
Registered: 2016-07-13
Posts: 12

Re: Virtual box modules not found.

Scimmia wrote:

Sure, build the modules for the kernel you're running.

Can you explain more in depth please?

Offline

#6 2016-07-13 01:38:07

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,461

Re: Virtual box modules not found.

Offline

#7 2016-07-13 01:45:58

cosmicna
Member
Registered: 2016-07-13
Posts: 12

Re: Virtual box modules not found.

Thats what i used to install all of this and i dont see where it says how to manually recompile them so they work with my system. All it says is that it does it automatically.

Offline

#8 2016-07-13 01:50:04

cosmicna
Member
Registered: 2016-07-13
Posts: 12

Re: Virtual box modules not found.

for linux kernel choose virtualbox-host-modules-arch
for other kernels choose virtualbox-host-dkms

would mine be linux or other because its modified?

Offline

#9 2016-07-13 02:20:24

headkase
Member
Registered: 2011-12-06
Posts: 1,975

Re: Virtual box modules not found.

You want DKMS and rebuild that against your custom kernel.  The "linux kernel" version is for stock kernels, i.e. not yours.

Edit: And the longer you keep using an old kernel the more likely things are going to break.  You should find a solution that keeps your kernel relatively new.  Because if not, someday it's going to bite you in the butt.

Last edited by headkase (2016-07-13 02:21:40)

Offline

#10 2016-07-13 02:35:02

cosmicna
Member
Registered: 2016-07-13
Posts: 12

Re: Virtual box modules not found.

headkase wrote:

You want DKMS and rebuild that against your custom kernel.  The "linux kernel" version is for stock kernels, i.e. not yours.

Edit: And the longer you keep using an old kernel the more likely things are going to break.  You should find a solution that keeps your kernel relatively new.  Because if not, someday it's going to bite you in the butt.

I changed to the right one and got this

==> No kernel 4.2.0-rc5-X205TA modules. You must install them to use DKMS!
==> No kernel 4.4.14-1-lts modules. You must install them to use DKMS!

Also i tried to rebuild and it says it doesnt exist.

Offline

#11 2016-07-13 02:51:36

headkase
Member
Registered: 2011-12-06
Posts: 1,975

Re: Virtual box modules not found.

This seems to be a "A then B" problem.  You must have kernel A so your trying to shove in solution B.  Why do you need kernel A?  Partial upgrades are not supported for a very good reason under Arch, things break, things behave oddly - and are hard to track down.  Seriously, if you can't keep your system up-to-date then, said without malice, Arch might not be the best choice.

Offline

#12 2016-07-13 02:54:53

cosmicna
Member
Registered: 2016-07-13
Posts: 12

Re: Virtual box modules not found.

headkase wrote:

This seems to be a "A then B" problem.  You must have kernel A so your trying to shove in solution B.  Why do you need kernel A?  Partial upgrades are not supported for a very good reason under Arch, things break, things behave oddly - and are hard to track down.  Seriously, if you can't keep your system up-to-date then, said without malice, Arch might not be the best choice.

if i could put windows back on this laptop i would but the way that i had to install arch im stuck with it so i dont really have a choice tbh.

Offline

#13 2016-07-13 18:40:07

cosmicna
Member
Registered: 2016-07-13
Posts: 12

Re: Virtual box modules not found.

Anyone got any ideas on how to fix this issue with the modules not being found?

Offline

Board footer

Powered by FluxBB