utmapp / UTM

Virtual machines for iOS and macOS
https://getutm.app
Apache License 2.0
26.4k stars 1.32k forks source link

UTM SE crashing when using Legacy BIOS with i386 #5925

Open wtfcxt opened 9 months ago

wtfcxt commented 9 months ago

Describe the issue When creating an i386 (x86) virtual machine using Legacy BIOS mode, the app crashes immediately after trying to launch it. Trying to use Legacy BIOS with x86_64 works, and trying to run i386 using EFI works as well.

Configuration (required)

Crash log UTM SE-2023-11-28-121443.txt

Debug log debug.log

kirb commented 2 months ago

Can this be fixed / is there any intention to fix this? Or at least show a message explaining what needs to be changed?

I just hit this after importing a Windows 98 VM from Mac. While trying to figure out the exact problem, I created a new VM, turning on the Legacy Hardware switch, and this crashes too. Toggling things one by one I was able to make it boot by disabling UEFI, but obviously not useful for a BIOS-only OS. After finding this issue I was able to get it to boot as BIOS by switching to x86_64, but again, not super obvious a workaround.

osy commented 2 months ago

@kirb can you open a new issue with crash log and debug log attached? Whoever opened this one closed it and so it's not being actively tracked.

kirb commented 2 months ago

@osy Done - #6479. And thanks so much for dealing with Apple’s antics, this app is a big deal to have on the App Store even in its current state.

kvenden commented 1 month ago

Hi, running into the same issue. Trying to better understand a workaround or solution. I have UTM SE on my iPad Pro M1. It boots the Windows XP VM just fine. But when I try to start a Windows 98 SE or Windows 95 VM set as i386 (x86) hardware with UEFI Boot disabled in QEMU, it just crashes right after launch. If I toggle on UEFI, it will then not crash and drop me off at Shell command since I can't boot Win98 in UEFI mode. @kirb you mention toggling things one by one and disabling UEFI to work or switching to x86_64? Is there any way in current state of the app to make my Win98 SE or Win 95 VM's boot on UTM SE for iPad App Store version? These VM's boot fine in UTM for macOS.

Update: I switched to x86_x64 and then disabled UEFI in QEMU section and it then did boot into Win98! Can't seem to get the track pad to work as the mouse, but this is certainly progress!

wtfcxt commented 1 month ago

@kirb can you open a new issue with crash log and debug log attached? Whoever opened this one closed it and so it's not being actively tracked.

I am actually wondering as to why I closed this issue. I have opened it again - if there is now a conflict with the new issue feel free to close it again.

osy commented 1 month ago

Let's track it here.

StellaLovesTech commented 1 month ago

crashes whenever i even try to use ANYTHING thats not x86_64, ppc doesn't work for some reason(crashes just like i386)

jlj945 commented 2 weeks ago

I just discovered this problem on UTM SE on my iPhone. iOS 17.6.1 latest App Store UTM SE.

I do not remember this happening when I was using the side loaded version.

I am able to use other Arch’s. aarch64 seems to work just fine.