(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


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM