VirtualBox拒绝启动VM:“设备助手结构版本已更改”


17

VirtualBox突然开始拒绝启动现有的VM,并且此消息显示在日志中:

00:00:03.946244 HDA: Reset
00:00:03.946359 AssertLogRel /mnt/tinderbox/extpacks-5.0/src/VBox/Devices/USB/DevEHCI.cpp(4955) int ehciR3Construct(PDMDEVINS*, int, CFGMNODE*): PDM_VERSION_ARE_COMPATIBLE((pDevIns)->pHlpR3->u32Version, PDM_DEVHLPR3_VERSION)
00:00:03.946378 DevHlp=0xffe700f1  mine=0xffe700e1
00:00:03.946407 PDM: Failed to construct 'usb-ehci'/0! VERR_PDM_DEVHLPR3_VERSION_MISMATCH (-2871) - The device helper structure version has changed.
00:00:03.946421 If you have upgraded VirtualBox recently, please make sure you have terminated all VMs and upgraded any extension packs. If this error persists, try re-installing VirtualBox.
00:00:04.037170 NAT: zone(nm:mbuf_cluster, used:0)
00:00:04.037303 NAT: zone(nm:mbuf_packet, used:0)
00:00:04.037317 NAT: zone(nm:mbuf, used:0)
00:00:04.037328 NAT: zone(nm:mbuf_jumbo_pagesize, used:0)
00:00:04.037422 NAT: zone(nm:mbuf_jumbo_9k, used:0)
00:00:04.037488 NAT: zone(nm:mbuf_jumbo_16k, used:0)
00:00:04.037530 NAT: zone(nm:mbuf_ext_refcnt, used:0)
00:00:04.039388 VMSetError: /build/virtualbox-JETMa8/virtualbox-5.0.14-dfsg/src/VBox/VMM/VMMR3/VM.cpp(365) int VMR3Create(uint32_t, PCVMM2USERMETHODS, PFNVMATERROR, void*, PFNCFGMCONSTRUCTOR, void*, VM**, UVM**); rc=VERR_PDM_DEVHLPR3_VERSION_MISMATCH
00:00:04.039394 VMSetError: The device helper structure version has changed.
00:00:04.039394 If you have upgraded VirtualBox recently, please make sure you have terminated all VMs and upgraded any extension packs. If this error persists, try re-installing VirtualBox.
00:00:04.039582 ERROR [COM]: aRC=NS_ERROR_FAILURE (0x80004005) aIID={872da645-4a9b-1727-bee2-5585105b9eed} aComponent={ConsoleWrap} aText={The device helper structure version has changed.
00:00:04.039587 If you have upgraded VirtualBox recently, please make sure you have terminated all VMs and upgraded any extension packs. If this error persists, try re-installing VirtualBox. (VERR_PDM_DEVHLPR3_VERSION_MISMATCH)}, preserve=false aResultDetail=0
00:00:04.116659 Console: Machine state changed to 'PoweredOff'
00:00:04.338867 Power up failed (vrc=VERR_PDM_DEVHLPR3_VERSION_MISMATCH, rc=NS_ERROR_FAILURE (0X80004005))
00:00:04.349471 GUI: UIMachineViewNormal::resendSizeHint: Restoring guest size-hint for screen 0 to 2789x1563
00:00:04.349542 ERROR [COM]: aRC=E_ACCESSDENIED (0x80070005) aIID={7303a66d-433b-25a4-f9a8-fcadf87e0c2a} aComponent={DisplayWrap} aText={The console is not powered up}, preserve=false aResultDetail=0

如何解决问题?


奇怪的是,我在启动一台机器而不是其他机器时遇到了这个问题。升级扩展包仍然可以,但是我忘了检查旧版本。也许Windows 10依赖于较新的扩展包的某些功能,但Linux不是吗?
trysis '17

Answers:


19

这是VirtualBox在运行时由Ubuntu升级后的典型行为。

解:

现在,它应该可以与以前运行的任何VM一起使用。

实际上,日志包含以下提示:If you have upgraded VirtualBox recently, please make sure you have terminated all VMs and upgraded any extension packs


2
您可能不需要重新启动Ubuntu。安装扩展程序后,启动您的vm并继续运行。
KhoPhi

3
如果您需要运行此程序并且没有互联网,则可以从中删除扩展包FIle->Preferences->Extensions并将USB控制器设置为1.0,这应该可以引导(不带扩展名)。
rrosa

@rrosa:有趣!您可以将其发布为新答案吗?谢谢!
Nicolas Raoul

11

如果您需要运行此程序并且没有互联网,则可以删除扩展包:

FIle->Preferences->Extensions

并在要启动的计算机上将USB控制器设置为1.1。选择它,然后:

Machine->Settings->USB->Set it to 1.1 (or disable it)

那应该允许您启动。您将没有可用的扩展程序,但可能会逐步接通,直到获得互联网为止。当您上网时,请关注Nicolas Raoul'的回答


将VM从Ubuntu复制到Windows主机后,可以引导我启动。两台主机都安装了最新的扩展包。
user18099

0

从Ubuntu 15.10升级到Ubuntu 16.04后,它对我有用:

  • 卸载VirtualBox sudo apt-get remove virtualbox
  • 卸载VirtualBox DKMS sudo apt-get remove virtualbox-dkms
  • https://www.virtualbox.org/wiki/Linux_Downloads
    上下载Virtualbox的最新版本(如果使用64位,则适用于Ubuntu 16.04的AMD64;否则,请选择i386)。
  • 安装下载的软件包 sudo dpkg -i virtualbox-5.0_...

现在,您可以运行VirtualBox(在启动器中找到或运行virtualbox),所有虚拟机将再次运行!

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.