Skip to content
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

Problems closing / suspending / resuming "ArchLinux" ARM64 Linux VM (from the UTM Gallery) #5660

Closed
rxhfcy opened this issue Sep 5, 2023 · 11 comments
Milestone

Comments

@rxhfcy
Copy link

rxhfcy commented Sep 5, 2023

BEFORE SUBMITTING YOUR ISSUE, PLEASE LOOK AT THE PINNED ISSUES AND USE THE SEARCH FUNCTION TO MAKE SURE IT IS NOT ALREADY REPORTED. ALWAYS COMMENT ON AN EXISTING ISSUE INSTEAD OF MAKING A NEW ONE.
(edit: I originally mentioned #5624 here because the steps to reproduce were originally very similar)

Describe the issue (edited)
Problems closing / suspending / resuming Arch Linux ARM64 Linux VM (from the UTM Gallery)

Steps to reproduce: (edited)

  1. Use UTM 4.4.1 (Beta)
  2. Press "+", "Download prebuilt from UTM Gallery..." -> click "ArchLinux ARM" -> "Open in UTM" from the web page
  3. Open the new "ArchLinux" VM
  4. Wait for the login prompt, don't login
  5. Close the VM window abruptly from the red close button (upper left corner of the VM window)

(doesn't ask for confirmation, why?)

  1. Open the VM again (doesn't work)

What happens: VM doesn't start. Also: closing the VM didn't ask for confirmation earlier, and also note that the VM state is "Suspended"
Expected: ask for confirmation (or suspend and restore successfully)

PS. Once, the VM opened correctly but after I killed it, UTM.app crashed, crash log here:
crash_log.txt

Configuration

  • UTM Version: 4.4.1 (89)
  • macOS Version: 14.0 Beta (23A5337a)
  • Mac Chip (Intel, M1, ...): M1 (MacBook Air M1, 16 GB RAM)
@osy
Copy link
Contributor

osy commented Sep 5, 2023

Hmm, I was able to get it to boot after that change. Did you get the same error message?

@osy osy added this to the v4.4 milestone Sep 5, 2023
@rxhfcy
Copy link
Author

rxhfcy commented Sep 5, 2023

No, I think it just crashed UTM when I killed the VM. I think this works better now, but at least once or twice a VM just froze, and then there was the crash I mentioned.

@osy
Copy link
Contributor

osy commented Sep 5, 2023

I don't think this is related to #5624 then unless I'm missing something?

Any chance you can provide a screen capture?

@rxhfcy
Copy link
Author

rxhfcy commented Sep 5, 2023

I only mentioned #5624 because I thought it was funny that I could just basically copypaste the steps to reproduce. By "screen capture" do you mean a video? I think reproducing this feels kind of random, or maybe it mostly happens shortly after making a new VM, but I'll try to remember to keep an eye on this.

edit: I think this has something to do with abruptly closing the window from the close button without shutting the VM down properly first

@osy
Copy link
Contributor

osy commented Sep 5, 2023

"Kind of random" but you mentioned specifically ARM64 Linux. Does this mean you ONLY see it for ARM64 Linux VMs?

@rxhfcy
Copy link
Author

rxhfcy commented Sep 5, 2023

Yes, I think I've only ever seen this happen for ARM64 Linux VMs.

Here's a rather long (over 1 minute) and boring video of me trying to start an Arch Linux ARM64 VM 3 times
(right after I downloaded the .utm file from the gallery).

  • In the video: at first it works (the first time ever opening that VM)
  • Then I killed the VM (edit: why doesn't it ask for confirmation?) and immediately tried to open it again (twice)
  • Didn't work at all after that, even after restarting UTM twice (not seen in the video)

It only started working again after I downgraded to UTM 4.3.5, opened the VM there (twice, didn't work the first time) and then reopened in 4.4.1

recording.mov

@rxhfcy
Copy link
Author

rxhfcy commented Sep 5, 2023

I edited the steps to reproduce (in the first comment) (edit: edited them again)

Can someone else try following the steps and then report back?

@rxhfcy
Copy link
Author

rxhfcy commented Sep 5, 2023

It only started working again after I downgraded to UTM 4.3.5, opened the VM there (twice, didn't work the first time) and then reopened in 4.4.1

Tried opening the same VM again, doesn't work anymore, and UTM crashed after I closed the VM window: crash_log_2.txt

@rxhfcy rxhfcy changed the title ARM64 Linux VM's don't work correctly in 4.4.1 beta Problems closing / suspending / resuming "ArchLinux" ARM64 Linux VM (from the UTM Gallery) Sep 6, 2023
@rxhfcy
Copy link
Author

rxhfcy commented Sep 6, 2023

I changed the issue title to hopefully better describe what I'm doing / seeing.

Also edited the steps to reproduce (in the first comment / description). This has probably something to do with the fact that just closing the VM window (without properly shutting down first) doesn't ask for confirmation and (unsuccesfully?) suspends the VM

Can you try the updated steps to reproduce?

@osy
Copy link
Contributor

osy commented Oct 3, 2023

@rxhfcy okay so in you recording, nothing is actually broken. What happened is that ArchLinux booted and is at the login prompt waiting for you to type in a username. When you suspended (by closing) and resumed, the prompt text is not shown but you should be able to type in the user name.

@osy
Copy link
Contributor

osy commented Oct 3, 2023

The second issue which you saw as a crash will be fixed soon.

@osy osy closed this as completed in 26e56a1 Oct 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants