安装 VirtualBox 4.3.6 时无法卸载 kext [英] Can't unload kext while installing VirtualBox 4.3.6
问题描述
下载了 VirtualBox 4.3.6,在尝试在 Mavericks (OSX 10.9.1) 中安装后,我收到一般错误安装失败".
Downloaded VirtualBox 4.3.6 and after attempting to install in Mavericks (OSX 10.9.1) I get a generic error "The installation failed".
查看日志并运行卸载工具后,我得出的结论是 VirtualBox 无法卸载特定的内核扩展:org.virtualbox.kext.VBoxUSB 和 org.virtualbox.kext.VBoxDrv.
Going through the logs and after running the uninstall tool I arrived at the conclusion that VirtualBox cannot unload there particular kernel extensions: org.virtualbox.kext.VBoxUSB, and org.virtualbox.kext.VBoxDrv.
确切的错误是:
(kernel) Can't unload kext org.virtualbox.kext.VBoxUSB; classes have instances:
(kernel) Kext org.virtualbox.kext.VBoxUSB class org_virtualbox_VBoxUSB has 1 instance.
Failed to unload org.virtualbox.kext.VBoxUSB - (libkern/kext) kext is in use or retained (cannot unload).
(kernel) Can't remove kext org.virtualbox.kext.VBoxDrv; services failed to terminate - 0xdc008018.
Failed to unload org.virtualbox.kext.VBoxDrv - (libkern/kext) kext is in use or retained (cannot unload).
手动尝试使用 sudo kextunload -b org.virtualbox.kext.VBoxUSB
卸载 kext 会产生准确的结果.
Manually attempting to unload the kexts with sudo kextunload -b org.virtualbox.kext.VBoxUSB
produces exact results.
有什么办法可以去掉这些吗?我运行了 VirtualBox 卸载程序,所以我肯定我不需要这些来做其他任何事情,但它们阻止我进行干净的 VirtualBox 安装.
Is there any way to remove these? I ran the VirtualBox uninstaller so I'm positive I don't need these for anything else yet they are preventing me from doing a clean VirtualBox install.
推荐答案
修复磁盘权限,重启,再次运行卸载脚本,下次安装成功.
Repaired disk permissions, rebooted, ran uninstall script again, and the next installation was successful.
这篇关于安装 VirtualBox 4.3.6 时无法卸载 kext的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!