You are not logged in.
Pages: 1
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 ?
Thx in advance.
Dig more, to find the truth !
Offline
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.
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
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
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
Unfortunately did not find an answer had to advance and find an other solution unanswered topic x). Sorry
Dig more, to find the truth !
Offline
Pages: 1