You are not logged in.

#1 2016-07-11 16:56:40

Lookis
Member
From: Behind u
Registered: 2016-07-11
Posts: 5

Virtualbox Modules error

Hi everybody.
I'm new to arch.

I recently installed grsecurity on my fresh archlinux install. After that I tried to use virtualbox but say me to rebuild the modules with

 sudo /sbin/rcvboxdrv setup 

Here is the output :

Unloading modules: 
Loading modules: modprobe: FATAL: Module vboxnetadp not found in directory /lib/modules/4.6.3.201607070721-1-grsec
modprobe: FATAL: Module vboxnetflt not found in directory /lib/modules/4.6.3.201607070721-1-grsec
modprobe: FATAL: Module vboxpci not found in directory /lib/modules/4.6.3.201607070721-1-grsec
modprobe: FATAL: Module vboxdrv not found in directory /lib/modules/4.6.3.201607070721-1-grsec

I tried to :
- uninstall reinstall virtualbox-host-dkms
- replace virtualbox-host-dkms with virtualbox-host-modules-arch
- install linux-headers or linux-grsec-headers
-

 sudo dkms autoinstall -k 4.6.3.201607070721-1-grsec 

with this output :

Building module:
cleaning build area...
make KERNELRELEASE=4.6.3.201607070721-1-grsec -C /usr/lib/modules/4.6.3.201607070721-1-grsec/build M=/var/lib/dkms/vboxhost/5.0.24_OSE/build...(bad exit status: 2)
Error! Bad return status for module build on kernel: 4.6.3.201607070721-1-grsec (x86_64)
Consult /var/lib/dkms/vboxhost/5.0.24_OSE/build/make.log for more information.

I checked /var/lib/dkms/vboxhost/5.0.24_OSE/build/make.log ( but don't understand very well) :

DKMS make.log for vboxhost-5.0.24_OSE for kernel 4.6.3.201607070721-1-grsec (x86_64)
Mon Jul 11 18:52:00 CEST 2016
make: Entering directory '/usr/lib/modules/4.6.3.201607070721-1-grsec/build'
  LD      /var/lib/dkms/vboxhost/5.0.24_OSE/build/built-in.o
  LD      /var/lib/dkms/vboxhost/5.0.24_OSE/build/vboxdrv/built-in.o
make[2]: *** No rule to make target '/var/lib/dkms/vboxhost/5.0.24_OSE/build/vboxdrv/linux/SUPDrv-linux.o', needed by '/var/lib/dkms/vboxhost/5.0.24_OSE/build/vboxdrv/vboxdrv.o'.  Stop.
make[1]: *** [scripts/Makefile.build:440: /var/lib/dkms/vboxhost/5.0.24_OSE/build/vboxdrv] Error 2
make: *** [Makefile:1437: _module_/var/lib/dkms/vboxhost/5.0.24_OSE/build] Error 2
make: Leaving directory '/usr/lib/modules/4.6.3.201607070721-1-grsec/build'

Could someone enlight me ? smile
Thx in advance.


Dig more, to find the truth !

Offline

#2 2016-07-12 04:38:22

swalladge
Member
From: Australia
Registered: 2013-10-22
Posts: 32
Website

Re: Virtualbox Modules error

Recent updates have made virtualbox really easy to get running on Arch. Have you read the wiki page on virtualbox?
You shouldn't have to do anything mode than install the required packages and reboot. smile

What I would suggest trying from now is:

- uninstall anything virtualbox related
- pacman -Syu
- reboot the system
- install virtualbox and either virtualbox-host-modules-arch or virtualbox-host-dkms (which will automatically build the dkms module)
- you may have to reboot again for the modules to load, or load them manually

edit: oops just realized you said you're running grsecurity... I'd say you'll have to disable some security features of grsecurity or use an alternative to virtualbox (or alternative to grsecurity) - sounds like others have experienced similar problems. See also compatibility issues on the wiki.

Last edited by swalladge (2016-07-12 04:47:03)

Offline

#3 2016-07-31 22:55:45

Lookis
Member
From: Behind u
Registered: 2016-07-11
Posts: 5

Re: Virtualbox Modules error

I already did this I'll try for other solutions maybe I'll find the solution... I'll retry soon .


Dig more, to find the truth !

Offline

#4 2017-02-15 15:48:32

archtom
Member
Registered: 2011-05-04
Posts: 58

Re: Virtualbox Modules error

hey, I´m experiencing the same problem building the virtualbox guest modules against the grsec kernel. did you find a solution? I even tried building my own kernel with no success for building the modules afterwards. Which kernel settings exactly would have to be done before compiling?

thanks

Offline

#5 2022-04-27 13:24:33

Lookis
Member
From: Behind u
Registered: 2016-07-11
Posts: 5

Re: Virtualbox Modules error

Unfortunately did not find an answer had to advance and find an other solution unanswered topic x). Sorry big_smile


Dig more, to find the truth !

Offline

Board footer

Powered by FluxBB