升级新内核,virtualbox出错
linuxmint吧
全部回复
仅看楼主
level 6
siyucn521 楼主
安装了最新的kernel4.4内核,virtualbox不能用了
错误信息如下
~ $ sudo /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel modules ...done.
Uninstalling old VirtualBox DKMS kernel modules ...done.
Trying to register the VirtualBox kernel modules using DKMSError! Bad return status for module build on kernel: 4.4.0-040400-generic (x86_64)
Consult /var/lib/dkms/vboxhost/5.0.2/build/make.log for more information.
...failed!
(Failed, trying without DKMS)
Recompiling VirtualBox kernel modules ...failed!
(Look at /var/log/vbox-install.log to find out what went wrong)
可能是最新内核支持不好,怎么破?
2016年01月12日 11点01分 1
level 6
siyucn521 楼主
make.log 内容如下:
DKMS make.log for vboxhost-5.0.2 for kernel 4.4.0-040400-generic (x86_64)
2016年 01月 12日 星期二 19:51:03 CST
make:进入目录'/usr/src/linux-headers-4.4.0-040400-generic'
Makefile:660: Cannot use CONFIG_CC_STACKPROTECTOR_STRONG: -fstack-protector-strong not supported by compiler
LD /var/lib/dkms/vboxhost/5.0.2/build/built-in.o
LD /var/lib/dkms/vboxhost/5.0.2/build/vboxdrv/built-in.o
CC [M] /var/lib/dkms/vboxhost/5.0.2/build/vboxdrv/linux/SUPDrv-linux.o
gcc: error: unrecognized command line option ‘-fstack-protector-strong’
make[2]: *** [/var/lib/dkms/vboxhost/5.0.2/build/vboxdrv/linux/SUPDrv-linux.o] 错误 1
make[1]: *** [/var/lib/dkms/vboxhost/5.0.2/build/vboxdrv] 错误 2
make: *** [_module_/var/lib/dkms/vboxhost/5.0.2/build] 错误 2
make:离开目录“/usr/src/linux-headers-4.4.0-040400-generic”
2016年01月12日 11点01分 2
level 11
这个问题简单得很,但我不告诉你
2016年01月12日 17点01分 3
莫非换回去
2016年01月13日 11点01分
1