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

Windows won’t boot or install on 2.2.0 #2721

Closed
osy opened this issue Aug 9, 2021 · 20 comments
Closed

Windows won’t boot or install on 2.2.0 #2721

osy opened this issue Aug 9, 2021 · 20 comments
Labels
bug Something isn't working qemu QEMU related
Milestone

Comments

@osy
Copy link
Contributor

osy commented Aug 9, 2021

My existing Windows 10 x86_64 VM doesn't work anymore with this version, even though I have not changed anything and had already set the system to remain the 6.0 one in the last version. The problem is as follows:
the first boot worked fine, then it crashed after started up completely and restarted. Then it failed to get past Windows boot so went into Preparing Automatic Repair. That also fails because the hard drive is viostor, the driver for which is missing in repair mode.

Maybe, did something with the hard disks change?

When trying to reinstall from ISO it keeps crashing before the Windows loading spinner appears.
debug.log

Update: when I change back to 2.1.2 it boots fine again. Log from 2.1.2:
debug-2.1.2.log

Originally posted by @conath in #2716 (comment)

@osy
Copy link
Contributor Author

osy commented Aug 9, 2021

@conath does the problem occur without using shared networking?

@conath
Copy link
Contributor

conath commented Aug 9, 2021

Yes, it does. I turned that on afterwards when trying to boot the install ISO.

Without changing the config at all in the UI, the guest crashes in 2.2.0 and switching back to 2.1.2 fixes it again. Host is M1.

@osy
Copy link
Contributor Author

osy commented Aug 9, 2021

I wonder if it’s an issue with qemu 6.1.0

@conath
Copy link
Contributor

conath commented Aug 9, 2021

Could be. Note that I specify to use the system from 6.0 in the config - does that not make a difference?

@ktprograms
Copy link
Contributor

Just for extra info, I created new VM using the QEMU 6.0 ARM Virtual Machine (virt-6.0) and Ubuntu 20.04 Server ISO, and it installs just fine.

@coreycusick
Copy link

I have a similar issue. My already made VMs will say automatic repair. All my Windows VMs will crash with a blue screen saying page fault in non paged area when installing. Happens with XP, 7, and 10. And trying to boot from the hdd installer, it will sometimes work but usually crashes with that blue screen.

@ds8k
Copy link

ds8k commented Aug 16, 2021

I have a similar issue. My already made VMs will say automatic repair. All my Windows VMs will crash with a blue screen saying page fault in non paged area when installing. Happens with XP, 7, and 10. And trying to boot from the hdd installer, it will sometimes work but usually crashes with that blue screen.

I've got the same problem running 2.2.0 on iOS. Windows 7 blue screens during install. I was able to get XP installed but trying to install spice guest tools would crash the app.

Reverting to 2.1.2 fixes all of this.

@conath conath added bug Something isn't working qemu QEMU related labels Aug 19, 2021
@conath conath changed the title Windows won’t boot on 2.2.0 Windows won’t boot or install on 2.2.0 Aug 19, 2021
@conath
Copy link
Contributor

conath commented Aug 20, 2021

I've tried booting Windows 10 21H1 x86_64 today and it shows BSOD PAGE_FAULT_IN_NONPAGED_AREA when booting from the ISO.

@conath
Copy link
Contributor

conath commented Aug 31, 2021

Same behavior in 2.2.2 beta!

@osy
Copy link
Contributor Author

osy commented Sep 2, 2021

@conath Is this only an issue with virtio-blk or does ide not work as well? Any reason to go with virtio-blk over the other devices?

@osy
Copy link
Contributor Author

osy commented Sep 2, 2021

Two other things to try:

  1. Build latest EDK2 (with the patches) and see if that changes anything.
  2. Try it with vanilla QEMU (brew install qemu) and see if the same issue occurs. If so, then it's definitely a QEMU bug and should be reported to them.

@conath
Copy link
Contributor

conath commented Sep 4, 2021

@conath Is this only an issue with virtio-blk or does ide not work as well? Any reason to go with virtio-blk over the other devices?

Same with ide. I was under the impression that virtio is faster than ide.

@osy
Copy link
Contributor Author

osy commented Sep 5, 2021

So I tested on vanilla QEMU 6.1.0 and experience the same issue.

@osy
Copy link
Contributor Author

osy commented Sep 5, 2021

@conath Testing with QEMU it seems like q35 is broken on 6.1.0.

@conath
Copy link
Contributor

conath commented Sep 5, 2021

That matches up with my testing of UTM 2.2.X where the only ones that worked were non-q35 systems.

@osy
Copy link
Contributor Author

osy commented Sep 5, 2021

@osy osy closed this as completed in 634ddaa Sep 6, 2021
@osy
Copy link
Contributor Author

osy commented Sep 6, 2021

@conath Please test the latest commit.

@conath
Copy link
Contributor

conath commented Sep 6, 2021

Working fine as of 634ddaa.

@mcayland
Copy link

mcayland commented Nov 9, 2021

The upstream fix for QEMU 6.1.0 has been merged and is available here: https://gitlab.com/qemu-project/qemu/-/commit/b04dc92e013d55c9ac8082caefff45dcfb1310e7. Please try this instead of reverting the affected patches as per https://gitlab.com/qemu-project/qemu/-/issues/599.

@osy osy reopened this Nov 9, 2021
@osy osy modified the milestones: v2.2, v3.0 Nov 9, 2021
@osy
Copy link
Contributor Author

osy commented Jan 8, 2022

QEMU 6.1.0 has been integrated with UTM 3.0.0

@osy osy closed this as completed Jan 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working qemu QEMU related
Projects
None yet
Development

No branches or pull requests

6 participants