utmapp / UTM

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

Error booting RHEL9 install iso #4286

Open bkoz opened 2 years ago

bkoz commented 2 years ago

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.

Describe the issue
When creating a new virtual machine using the RHEL9 installation iso, an error is reported and the virtual machine halts. See the attached screen shot for details.

Configuration

Crash log
If the app crashed, you need a crash log. To get your crash log, open Console.app, go to Crash Reports, and find the latest entry for either UTM, QEMU, QEMUHelper, or qemu-*. Right click and choose Reveal in Finder. Attach the report here.

Debug log
For all issues related to running a VM, including crashes, you should attach a debug log. (This is unavailable for macOS-on-macOS VMs. Attach an excerpt of your system log instead.) To get the Debug log: open UTM, and open the settings for the VM you wish to launch. Near the top of the QEMU page is Debug Log. Turn it on and save the VM. After you experience the issue, open the VM settings again and select Export Log... and attach it here.

utm-debug.log

rhel9

Upload VM
If your issue is related to a specific VM, please upload the config.plist from your VM's .utm directory. To get this, right-click the VM in UTM and choose "Show in Finder". Then right-click the selected file in Finder and choose "Show Package Contents". The config.plist file is now visible. Right-click it and choose "Compress". Attach the resulting config.plist.zip file here. You can upload the entire .utm if needed, but note this includes your VM's drive image and may contain personal data. Since Github has an attachment size limit, you may want to upload to another service such as Google Drive. Link it here.

rhel9 copy.utm.zip

bertschingert commented 2 years ago

Make sure you select a CPU for the VM that supports the x86-64-v2 instructions. This page shows which ones support them: https://www.qemu.org/docs/master/system/i386/cpu.html. The default CPU (qemu64) does not.

This page from Red Hat explains background on what x86-64-v2 is: https://developers.redhat.com/blog/2021/01/05/building-red-hat-enterprise-linux-9-for-the-x86-64-v2-microarchitecture-level

bkoz commented 2 years ago

Thanks, I have it running now.

Bob

On Wed, Aug 24, 2022 at 7:18 PM Thomas Bertschinger < @.***> wrote:

Make sure you select a CPU for the VM that supports the x86-64-v2 instructions. This page shows which ones support them: https://www.qemu.org/docs/master/system/i386/cpu.html. The default CPU (qemu64) does not.

This page from Red Hat explains background on what x86-64-v2 is: https://developers.redhat.com/blog/2021/01/05/building-red-hat-enterprise-linux-9-for-the-x86-64-v2-microarchitecture-level

— Reply to this email directly, view it on GitHub https://github.com/utmapp/UTM/issues/4286#issuecomment-1226624492, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGEF2AJLYGYZTXGXWMED7TV223VVANCNFSM56F3LC3Q . You are receiving this because you authored the thread.Message ID: @.***>

popxunga commented 2 years ago

Hi @bkoz ...

I've just installed RHEL 9 on a UTM emulated VM running on M1, and I'm able to boot it. However so far I could not find a way to get the virtual networking interface working; it always shows as disconnected. Would you mind to share your current UTM RHEL9 VM setup (CPU type and virtual networking) ? Thanks a lot in advance.

bkoz commented 2 years ago

Hi: I'm running an X86_64 macbookpro but I've attached the info you requested.

Screen Shot 2022-10-03 at 4 30 20 PM Screen Shot 2022-10-03 at 4 29 23 PM
popxunga commented 2 years ago

Thanks a lot @bkoz ... networking is working fine now :-D