Windows 10 Fall Creator 更新和 Virtual Box/Homestead 导致 PC 冻结

Windows 10 Fall Creator 更新和 Virtual Box/Homestead 导致 PC 冻结

还有什么提示可以看看吗?我还在搜索,但还没有找到任何有用的东西。谢谢


我刚刚将 Win 10 更新至秋季创意者更新。我的 Virtualbox 环境停止工作,需要对 PC 进行冷启动。

我刚刚将 Virtualbox + 扩展包和 Homestead/Vagrant 更新到最新版本,尝试修复此问题,但结果还是一样。到目前为止,一切正常,已经有 2 年了。

我的网络设置是:

Adapter 1: NAT
Adapter 2: Bridged Adapter
           Killer Ethernet Controller
           PCnet-FAST III (Am79C973)
           Allow All
           Cable Connected -> yes

无论我从 Virtualbox 还是从 bash 窗口启动 homestead-7 盒,结果都是一样的。PC 冻结并需要冷启动。

我的 VBoxSVC.log 文件包含:

VirtualBox COM Server 5.2.0 r118431 win.amd64 (Oct 18 2017 06:24:56) release log
00:00:00.000000 main     Log opened 2017-11-21T06:44:33.784520500Z
00:00:00.000000 main     Build Type: release
00:00:00.000000 main     OS Product: Windows 10
00:00:00.000000 main     OS Release: 10.0.16299
00:00:00.000000 main     OS Service Pack: 
00:00:00.015627 main     DMI Product Name: Default string
00:00:00.015627 main     DMI Product Version: Default string
00:00:00.015627 main     Host RAM: 16221MB (15.8GB) total, 11734MB (11.4GB) available
00:00:00.015627 main     Executable: C:\Program Files\Oracle\VirtualBox\VBoxSVC.exe
00:00:00.015627 main     Process ID: 6164
00:00:00.015627 main     Package type: WINDOWS_64BITS_GENERIC
00:00:00.015627          VirtualBox: object creation starts
00:00:00.015627          Home directory: 'C:\Users\PAPA\.VirtualBox'
00:00:00.015627          Installed Drivers:
00:00:00.015627            C:\WINDOWS\system32\DRIVERS\VBoxNetLwf.sys (Version: 5.2.0.18431)
00:00:00.015627            C:\WINDOWS\system32\DRIVERS\VBoxUSBMon.sys (Version: 5.2.0.18431)
00:00:00.015627            C:\WINDOWS\system32\DRIVERS\VBoxDrv.sys (Version: 5.2.0.18431)
00:00:00.015627            C:\WINDOWS\System32\drivers\VBoxNetAdp6.sys (Version: 5.2.0.18431)
00:00:00.015627          Loading settings file "C:\Users\PAPA\.VirtualBox\VirtualBox.xml" with version "1.14-windows"
00:00:00.184485          netIfIsWireless: CreateFile on '\\.\{21AD0D25-56F5-4F8A-8CB4-C922101B864A}' failed with rcWin=2 (0x2) - ignoring
00:00:00.184485          HostDnsMonitor: old information
00:00:00.184485            no server entries
00:00:00.184485            no domain set
00:00:00.184485            no search string entries
00:00:00.184485          HostDnsMonitor: new information
00:00:00.184485            server 1: 10.0.0.1
00:00:00.184485            domain: NHOME
00:00:00.184485            no search string entries
00:00:00.184485          HostDnsMonitorProxy::notify
00:00:00.231360          VD: VDInit finished with VINF_SUCCESS
00:00:00.231360          Loading settings file "F:\!! - VB VMs\Ansible Wordpress\Ansible Wordpress.vbox" with version "1.15-windows"
00:00:00.231360          Loading settings file "F:\!! - VB VMs\Ansible Wordpress Backup\Ansible Wordpress Backup.vbox" with version "1.15-windows"
00:00:00.231360          Loading settings file "F:\!! - VB VMs\Ansible Wordpress Target Test - MAIN\Ansible Wordpress Target Test - MAIN.vbox" with version "1.15-windows"
00:00:00.246985          Loading settings file "F:\!! - VB VMs\Ansible Wordpress Target Test - MAIN Clone\Ansible Wordpress Target Test - MAIN Clone.vbox" with version "1.15-windows"
00:00:00.247220          Loading settings file "F:\!! - VB VMs\FreePBX\FreePBX.vbox" with version "1.15-windows"
00:00:00.247729          Loading settings file "F:\!! - VB VMs\homestead-7\homestead-7.vbox" with version "1.15-windows"
00:00:00.257721          VirtualBox: object created

当我关闭 Virtualbox 时,这会添加到日志中:

00:00:00.391990          netIfIsWireless: CreateFile on '\\.\{21AD0D25-56F5-4F8A-8CB4-C922101B864A}' failed with rcWin=2 (0x2) - ignoring
00:00:03.161576          Saving settings file "C:\Users\PAPA\.VirtualBox\VirtualBox.xml" with version "1.14-windows"
00:00:03.177207          Saving settings file "C:\Users\PAPA\.VirtualBox\VirtualBox.xml" with version "1.14-windows"
00:00:08.700473 main     VirtualBox: object deletion starts
00:00:08.700473 main     ERROR [COM]: aRC=VBOX_E_OBJECT_IN_USE (0x80bb000c) aIID={4afe423b-43e0-e9d0-82e8-ceb307940dda} aComponent={MediumWrap} aText={Medium 'F:\!! - VB VMs\Ansible Wordpress\Ansible Wordpress.vdi' cannot be closed because it is still attached to 1 virtual machines}, preserve=false aResultDetail=0
00:00:08.700473 main     ERROR [COM]: aRC=VBOX_E_OBJECT_IN_USE (0x80bb000c) aIID={4afe423b-43e0-e9d0-82e8-ceb307940dda} aComponent={MediumWrap} aText={Medium 'F:\!! - VB VMs\Ansible Wordpress Backup\Ansible Wordpress Backup.vdi' cannot be closed because it is still attached to 1 virtual machines}, preserve=false aResultDetail=0
00:00:08.700473 main     ERROR [COM]: aRC=VBOX_E_OBJECT_IN_USE (0x80bb000c) aIID={4afe423b-43e0-e9d0-82e8-ceb307940dda} aComponent={MediumWrap} aText={Medium 'F:\!! - VB VMs\Ansible Wordpress Target Test - MAIN\Ansible Wordpress Target Test Clone.vdi' cannot be closed because it is still attached to 1 virtual machines}, preserve=false aResultDetail=0
00:00:08.700473 main     ERROR [COM]: aRC=VBOX_E_OBJECT_IN_USE (0x80bb000c) aIID={4afe423b-43e0-e9d0-82e8-ceb307940dda} aComponent={MediumWrap} aText={Medium 'F:\!! - VB VMs\Ansible Wordpress Target Test - MAIN Clone\Ansible Wordpress Target Test - MAIN Clone-disk1.vdi' cannot be closed because it is still attached to 1 virtual machines}, preserve=false aResultDetail=0
00:00:08.700473 main     ERROR [COM]: aRC=VBOX_E_OBJECT_IN_USE (0x80bb000c) aIID={4afe423b-43e0-e9d0-82e8-ceb307940dda} aComponent={MediumWrap} aText={Medium 'F:\!! - VB VMs\FreePBX\FreePBX-disk1_1.vmdk' cannot be closed because it is still attached to 1 virtual machines}, preserve=false aResultDetail=0
00:00:08.700473 main     ERROR [COM]: aRC=VBOX_E_OBJECT_IN_USE (0x80bb000c) aIID={4afe423b-43e0-e9d0-82e8-ceb307940dda} aComponent={MediumWrap} aText={Medium 'F:\!! - VB VMs\homestead-7\box-disk1.vmdk' cannot be closed because it is still attached to 1 virtual machines}, preserve=false aResultDetail=0
00:00:08.700473 Watcher  ERROR [COM]: aRC=E_ACCESSDENIED (0x80070005) aIID={9570b9d5-f1a1-448a-10c5-e12f5285adad} aComponent={VirtualBoxWrap} aText={The object is not ready}, preserve=false aResultDetail=0
00:00:08.700473 main     VirtualBox: object deleted

我不明白VBOX_E_OBJECT_IN_USE错误是什么,因为上面显示的日志是通过简单地打开然后关闭 Virtualbox(无需启动盒子)生成的。

非常感谢任何想法/帮助。

答案1

好的,几天后头发掉得更多了,我发现:

冻结问题发生HYPER-V在 中Windows 10。我认为这是由于秋季创意者更新造成的。

打开开始菜单并输入:

windows features

然后取消勾选HYPER-V。这将需要重新启动。这可以防止 PC 冻结并需要冷启动。

就我而言,我已经更新了Virtualbox,,Vagrant所以我的下一个问题是:

ssh auth method private key timeout

在 VM 启动期间。为了解决这个问题,我做了:

vagrant destroy
vagrant up

您将需要重新运行迁移和种子来恢复数据。

相关内容