I confused because modprobe vboxdrv failed when running /sbin/vboxconfig.
so, I found mismatched vermagic of vboxdrv. but I can not know how to fix.
Can I get help?
Code: Select all
[root@scw-bf4e0c ~]# /sbin/vboxconfig
vboxdrv.sh: Stopping VirtualBox services.
vboxdrv.sh: Building VirtualBox kernel modules.
vboxdrv.sh: Starting VirtualBox services.
vboxdrv.sh: Building VirtualBox kernel modules.
vboxdrv.sh: failed: modprobe vboxdrv failed. Please use 'dmesg' to find out why.
This system is not currently set up to build kernel modules (system extensions).
Running the following commands should set the system up correctly:
yum install /lib/modules/devel-4.9.20-std-1/kernel
(The last command may fail if your system is not fully updated.)
yum install /lib/modules/devel
There were problems setting up VirtualBox. To re-start the set-up process, run
/sbin/vboxconfig
as root.
[root@scw-bf4e0c ~]# modprobe vboxdrv
modprobe: ERROR: could not insert 'vboxdrv': Exec format error
dmesg:
[ 1841.872090] vboxdrv: disagrees about version of symbol module_layout
[root@scw-bf4e0c ~]# modinfo vboxdrv
filename: /lib/modules/[u]4.9.20-std-1[/u]/misc/vboxdrv.ko
version: 5.1.26 r117224 (0x002a0000)
license: GPL
description: Oracle VM VirtualBox Support Driver
author: Oracle Corporation
rhelversion: 7.3
srcversion: BBC180DD3624ED0BFE568D9
depends:
vermagic: [u]3.10.0-514.26.2.el7.x86_64[/u] SMP mod_unload modversions
parm: force_async_tsc:force the asynchronous TSC mode (int)