Linux Kernel Module Refuses to Load

If the kernel module, vboxdrv, refuses to load you may see an Error inserting vboxdrv: Invalid argument message. As root, check the output of the dmesg command to find out why the load failed. Most probably the kernel disagrees with the version of gcc used to compile the module. Make sure that you use the same compiler that was used to build the kernel.