zoukankan      html  css  js  c++  java
  • (Manjaro)VirtualBox异常修复:RTR3InitEx failed with rc=-1912 (rc=-1912)

    引言

    VirtualBox运行异常好几天,其中尝试一些操作都没有解决。

    版本说明

    系统版本:4.19.88-1-MANJARO
    Vbox镜像:kali-linux-2019.4-vbox-amd64.ova

    操作分析

    主要操作及分析如下:

    1. 直接在Octopi中安装:当时少安装或错误安装某些模块,比如 linux419-virtualbox-guest-modules ,特别还要注意版本号。
    2. 混合安装: 在没有解决问题,或没有确定完全卸载的情况下,又通过 pancman命令安装,更可能导致内核版本的不一致性。
    3. 手动安装:也是没有完全删除的情况下,手动安装包。

    备注

    错误

    内核版本错误

    导入VM镜像文件,运行时出错;如下图所示:
    vbox error

    The virtual machine 'Kali Rolling (2019.4) x64' has terminated unexpectedly during startup with exit code 1 (0x1).
    
    返回 代码: NS_ERROR_FAILURE (0x80004005)
    组件: MachineWrap
    界面: IMachine {85632c68-b5bb-4316-a900-5eb28d3413df}
    
    
    
    RTR3InitEx failed with rc=-1912 (rc=-1912)
    
    The VirtualBox kernel modules do not match this version of VirtualBox. The installation of VirtualBox was apparently not successful. Executing
    
    '/sbin/vboxconfig'
    
    may correct this. Make sure that you are not mixing builds of VirtualBox from different sources.
    
    where: supR3HardenedMainInitRuntime what: 4 VERR_VM_DRIVER_VERSION_MISMATCH (-1912) - The installed support driver doesn't match the version of the user. 
    
    

    无效设置

    内核版本错误修复后,导入版本运行时的错误;如下图所示:
    setting error

    不能为虚拟电脑 Kali Rolling (2019.4) x64 打开一个新任务.
    
    Implementation of the USB 2.0 controller not found!
    
    Because the USB 2.0 controller state is part of the saved VM state, the VM cannot be started. To fix this problem, either install the 'Oracle VM VirtualBox Extension Pack' or disable USB 2.0 support in the VM settings.
    
    Note! This error could also mean that an incompatible version of the 'Oracle VM VirtualBox Extension Pack' is installed (VERR_NOT_FOUND).
    
    返回 代码: NS_ERROR_FAILURE (0x80004005)
    组件: ConsoleWrap
    界面: IConsole {872da645-4a9b-1727-bee2-5585105b9eed}
    
    

    修复

    内核版本错误

    管理权限,命令行修复

    1. 查看vboxdrv内核信息
    # modinfo vboxdrv 
    2. 删除内核文件
    # rm /lib/modules/4.19.88-1-MANJARO/kernel/misc/vboxdrv.ko.xz 
    3. 验证删除;即无法找到内核信息
    # modinfo vboxdrv
    4. 重新配置
    # /sbin/vboxconfig
    5. 再次验证
    # modinfo vboxdrv
    

    参考示意图如下:
    bl terminal

    无效设置

    从错误码中基本可以判定是USB设置的问题;

    本文提供2中方式:

    1.设置USB控制选择1.1即可。

    另引用syunwei的方式

    I had this problem as well and found a simple way to fix this issue by right click on the vm image -> settings -> Ports -> USB -> Change from USB 2.0 to USB 1.1
    Virtual Box version: 5.2.16 r123759

    2.安装扩展包

    以VirtualBox的方式打开文件(需要root授权) :Oracle_VM_VirtualBox_Extension_Pack-6.1.0.vbox-extpack,并按照提示安装。

    参考

    1. VirtualBox - RTR3InitEx failed with rc=-1912 (rc=-1912): https://askubuntu.com/questions/900794/virtualbox-rtr3initex-failed-with-rc-1912-rc-1912
    2. Unexpected error about USB 2.0!: https://www.virtualbox.org/ticket/8182
    3. Kali Linux Default Passwords: https://www.kali.org/docs/introduction/kali-linux-default-passwords/
    4. 1.5. Installing Oracle VM VirtualBox and Extension Packs: https://www.virtualbox.org/manual/ch01.html#intro-installing
  • 相关阅读:
    Unity3D Asset文件导出3DMax 可编辑格式
    Android 内存管理
    常见面试之机器学习算法思想简单梳理
    最短的计算大数乘法的c程序
    MQTT---HiveMQ源代码具体解释(一)概览
    ZMQ源代码分析(一)-- 基础数据结构的实现
    JavaScript 性能分析新工具 OneProfile
    firefox关于about:config的常用配置
    postgres数据库中的数据转换
    postgres的强制类型转换与时间函数
  • 原文地址:https://www.cnblogs.com/oucbl/p/12079719.html
Copyright © 2011-2022 走看看