-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UTM 4.3.3 Linux guest hangs on MacOS with "Error: port is not opened" #5505
Comments
I am seeing this too, with a Windows 11 ARM guest and no serial devices on the VM. It happens while attempting to download a Windows Update (before the install begins). I have a vague idea that it might have to do with the fact that the keyboard and mouse have been idle for a few minutes. I wondered if maybe it had something to do with the screen saver. It's not exactly that, because it doesn't always hang when the screen saver activates, but just maybe there is some connection? |
Can you try https://github.com/utmapp/UTM/suites/14668665657/artifacts/832453260 it should have more verbose logging which may help pin point the issue. |
OK, running it now under maximum load but error isn't predictable, it happens randomly, so let's see |
I got it to hang with the debug build: debug.log The hang occurs first. When I attempt to halt the VM is when the "Error: port is not opened" dialog pops up. I think it actually popped up two identical dialogs on top of each other, because I had to dismiss it twice. After that, the VM is off (gray window with the play button) but the window can't be closed. The red close button is grayed out, and the minimize and maximize buttons don't do anything. It only goes away when you quit UTM. Snippet from the log:
|
This build has even more logging from the QEMU side since I am still not able to figure out what's causing the issue: https://github.com/utmapp/UTM/suites/14676612107/artifacts/833073067 |
debug.log |
Curious if disabling audio (vm settings -> right click sound device -> delete) will change anything? |
ok, i'll try |
I reproduced using https://github.com/utmapp/UTM/suites/14676612107/artifacts/833073067 : debug.log. I'll try deleting the sound device now. |
It still hung with the sound device removed. |
same here: |
Can either of you share the VM with me? You can email osy at turing dot llc. |
that's kind of problematic for me since i need to clean it deeply from working projects in there and all its artifacts. |
One more test: uninstall spice-vdagent and see if that makes a difference |
I don't have it on MacOS host:
as well it's not installed in Linux guest:
|
Okay, that makes sense, nvm |
My test case starts with the Windows 11 VHDX from build 25346, dated 20230506 (which I happen to have on my disk already, instead of downloading the latest). I followed the install procedure at https://gist.github.com/wrmack/29d580a0bd665bace21609d5ef675ba1 , skipping the LabConfig registry key but still doing the WindowsSelfHost ones, and skipping step 6. The hang always occurs when doing Windows Update for the first time, during the download of the new build, but always at a different percent. That's also the first time in the process when I leave it unattended for several minutes. In every test, I've gone away at that point, and when I come back and unlock the screen saver, it's hung. I have it on AC power so I don't think the machine would be sleeping during that time, but I'm not completely familiar with how Mac power management works. When I have some time in the next few days, I can try to reproduce starting from a fresh install, and I'll screen record it. I can also submit the entire VM if it would help, but I'm on a 20 Mbps link so it would take a while to upload. I might also test whether the hang still occurs if I keep using the VM and moving the mouse, instead of walking away. |
Okay, one more build with even MORE verbose logging. https://github.com/utmapp/UTM/suites/14679241836/artifacts/833192468 |
@neldredge-unco @gglluukk How much RAM is your computer configured with? How much free storage? |
|
I'm wondering about your host Mac |
RAM: 8 GB |
Duplicate of #5489 |
Confirmed this is the same issue. Follow #5489 for progress. |
https://github.com/utmapp/UTM/suites/14685729939/artifacts/833666921 fixes the problem for me too. Thanks! By the way, my Mac has 16 GB memory and 100+ GB storage free, and the VM is assigned 11 GB memory and 64 GB storage. |
Describe the issue
UTM 4.3.3 Linux guest hangs on MacOS with "Error: port is not opened"
Configuration
It is related to closed issue: #5472
After upgrading to UTM 4.3.3 UTM itself doesn't crush, however virtual guest hangs on with the following error (see first picture). No external devices were attached.
UTM 4.3.0 runs without any errors.
The only 'non-standart' configuration is the following (second picture):
The text was updated successfully, but these errors were encountered: