divx118 / crouton-packages

Kernel-headers packages to use with crouton
56 stars 16 forks source link

kernel 3.10.18 modprobe vboxdrv failed #9

Closed joshrulez2 closed 9 years ago

joshrulez2 commented 9 years ago

@divx118 I installed the headers from your setup-headers.sh and installed virtualbox using their website's .deb file. I have also ran the script to enable VT_X

(precise)josh@localhost:~$ sudo /etc/init.d/vboxdrv setup Stopping VirtualBox kernel modules ...done. Removing old VirtualBox pci kernel module ...done. Removing old VirtualBox netadp kernel module ...done. Removing old VirtualBox netflt kernel module ...done. Removing old VirtualBox kernel module ...done. Recompiling VirtualBox kernel modules ...done. Starting VirtualBox kernel modules ...failed! (modprobe vboxdrv failed. Please use 'dmesg' to find out why)

ouput of rc.local :

umount bindmounts /lib/modules from enter-chroot

for m in cat /proc/mounts | /usr/bin/cut -d ' ' -f2 | grep /lib/modules| grep -v "^/$"; do umount "$m" done

disable module locking and try to load vboxdrv

if [ find /lib/modules/"\uname -r" -name vboxdrv.ko ]; then

modprobe vboxdrv
modprobe vboxpci
modprobe vboxnetadp
modprobe vboxnetflt

fi

exit 0

Trying to sudo /etc/rc.local returns:

FATAL: Error inserting vboxdrv (/lib/modules/3.10.18/misc/vboxdrv.ko): Operation not permitted