Project

General

Profile

Actions

Bug #16263

open

2023.10 doesn't run under UTM/QEMU

Added by Eugenia L 12 days ago. Updated 11 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:

Description

I've been trying for hours to run OI 2023.10 under an M1 Mac, using the UTM front end for Qemu. It fails by requesting maintenance mode, and that the console login services "can not run". And that's only after I changed the CPU type, switched to scsi drivers, and changed default network card and audio card. If I was leaving things on the defaults, it would just reboot over and over. The above error messages were the best I could get out of this effort.

This is what UTM is running:
qemu-system-x86_64 -L /Applications/UTM.app/Contents/Resources/qemu -S -spice unix=on,addr=B13D7BAA-A42E-4928-A959-23488B64ACEB.spice,disable-ticketing=on,image-compression=off,playback-compression=off,streaming-video=off,gl=off -chardev spiceport,id=org.qemu.monitor.qmp,name=org.qemu.monitor.qmp.0 -mon chardev=org.qemu.monitor.qmp,mode=control -nodefaults -vga none -device rtl8139,mac=66:96:4E:EE:5F:D9,netdev=net0 -netdev vmnet-shared,id=net0 -device virtio-vga -cpu Cooperlake-v2 -smp cpus=6,sockets=1,cores=6,threads=1 -machine q35,vmport=off,hpet=off -accel tcg,thread=multi,tb-size=1024 -global PIIX4_PM.disable_s3=1 -global ICH9-LPC.disable_s3=1 -m 4096 -audiodev spice,id=audio0 -device AC97,audiodev=audio0 -usb -device usb-tablet,bus=usb-bus.0 -device usb-mouse,bus=usb-bus.0 -device usb-kbd,bus=usb-bus.0 -device ich9-usb-ehci1,id=usb-controller-0 -device ich9-usb-uhci1,masterbus=usb-controller-0.0,firstport=0,multifunction=on -device ich9-usb-uhci2,masterbus=usb-controller-0.0,firstport=2,multifunction=on -device ich9-usb-uhci3,masterbus=usb-controller-0.0,firstport=4,multifunction=on -chardev spicevmc,name=usbredir,id=usbredirchardev0 -device usb-redir,chardev=usbredirchardev0,id=usbredirdev0,bus=usb-controller-0.0 -chardev spicevmc,name=usbredir,id=usbredirchardev1 -device usb-redir,chardev=usbredirchardev1,id=usbredirdev1,bus=usb-controller-0.0 -chardev spicevmc,name=usbredir,id=usbredirchardev2 -device usb-redir,chardev=usbredirchardev2,id=usbredirdev2,bus=usb-controller-0.0 -device lsi53c895a,id=scsi0 -device scsi-cd,bus=scsi0.0,channel=0,scsi-id=0,drive=drive7EE54B19-3AB9-458D-AE0A-6B5F8A1EFC67,bootindex=0 -drive if=none,media=cdrom,id=drive7EE54B19-3AB9-458D-AE0A-6B5F8A1EFC67,file=/Users/eugenia/Downloads/OI-hipster-text-20231027.iso,readonly=on -device scsi-hd,bus=scsi0.0,channel=0,scsi-id=1,drive=drive65210CF1-3239-496C-B99C-8CEEF0761036,bootindex=1 -drive if=none,media=disk,id=drive65210CF1-3239-496C-B99C-8CEEF0761036,file=/Users/eugenia/Library/Containers/com.utmapp.UTM/Data/Documents/OpenIndiana.utm/Data/65210CF1-3239-496C-B99C-8CEEF0761036.qcow2,discard=unmap,detect-zeroes=unmap -device virtio-serial -device virtserialport,chardev=org.qemu.guest_agent,name=org.qemu.guest_agent.0 -chardev spiceport,id=org.qemu.guest_agent,name=org.qemu.guest_agent.0 -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -chardev spicevmc,id=vdagent,debug=0,name=vdagent -device virtserialport,chardev=charchannel1,id=channel1,name=org.spice-space.webdav.0 -chardev spiceport,name=org.spice-space.webdav.0,id=charchannel1 -name OpenIndiana -uuid B13D7BAA-A42E-4928-A959-23488B64ACEB -rtc base=localtime -device virtio-rng-pci -device virtio-balloon-pci

Actions #1

Updated by Toomas Soome 12 days ago

Eugenia L wrote:

I've been trying for hours to run OI 2023.10 under an M1 Mac, using the UTM front end for Qemu. It fails by requesting maintenance mode, and that the console login services "can not run". And that's only after I changed the CPU type, switched to scsi drivers, and changed default network card and audio card. If I was leaving things on the defaults, it would just reboot over and over. The above error messages were the best I could get out of this effort.

This is what UTM is running:
qemu-system-x86_64 -L /Applications/UTM.app/Contents/Resources/qemu -S -spice unix=on,addr=B13D7BAA-A42E-4928-A959-23488B64ACEB.spice,disable-ticketing=on,image-compression=off,playback-compression=off,streaming-video=off,gl=off -chardev spiceport,id=org.qemu.monitor.qmp,name=org.qemu.monitor.qmp.0 -mon chardev=org.qemu.monitor.qmp,mode=control -nodefaults -vga none -device rtl8139,mac=66:96:4E:EE:5F:D9,netdev=net0 -netdev vmnet-shared,id=net0 -device virtio-vga -cpu Cooperlake-v2 -smp cpus=6,sockets=1,cores=6,threads=1 -machine q35,vmport=off,hpet=off -accel tcg,thread=multi,tb-size=1024 -global PIIX4_PM.disable_s3=1 -global ICH9-LPC.disable_s3=1 -m 4096 -audiodev spice,id=audio0 -device AC97,audiodev=audio0 -usb -device usb-tablet,bus=usb-bus.0 -device usb-mouse,bus=usb-bus.0 -device usb-kbd,bus=usb-bus.0 -device ich9-usb-ehci1,id=usb-controller-0 -device ich9-usb-uhci1,masterbus=usb-controller-0.0,firstport=0,multifunction=on -device ich9-usb-uhci2,masterbus=usb-controller-0.0,firstport=2,multifunction=on -device ich9-usb-uhci3,masterbus=usb-controller-0.0,firstport=4,multifunction=on -chardev spicevmc,name=usbredir,id=usbredirchardev0 -device usb-redir,chardev=usbredirchardev0,id=usbredirdev0,bus=usb-controller-0.0 -chardev spicevmc,name=usbredir,id=usbredirchardev1 -device usb-redir,chardev=usbredirchardev1,id=usbredirdev1,bus=usb-controller-0.0 -chardev spicevmc,name=usbredir,id=usbredirchardev2 -device usb-redir,chardev=usbredirchardev2,id=usbredirdev2,bus=usb-controller-0.0 -device lsi53c895a,id=scsi0 -device scsi-cd,bus=scsi0.0,channel=0,scsi-id=0,drive=drive7EE54B19-3AB9-458D-AE0A-6B5F8A1EFC67,bootindex=0 -drive if=none,media=cdrom,id=drive7EE54B19-3AB9-458D-AE0A-6B5F8A1EFC67,file=/Users/eugenia/Downloads/OI-hipster-text-20231027.iso,readonly=on -device scsi-hd,bus=scsi0.0,channel=0,scsi-id=1,drive=drive65210CF1-3239-496C-B99C-8CEEF0761036,bootindex=1 -drive if=none,media=disk,id=drive65210CF1-3239-496C-B99C-8CEEF0761036,file=/Users/eugenia/Library/Containers/com.utmapp.UTM/Data/Documents/OpenIndiana.utm/Data/65210CF1-3239-496C-B99C-8CEEF0761036.qcow2,discard=unmap,detect-zeroes=unmap -device virtio-serial -device virtserialport,chardev=org.qemu.guest_agent,name=org.qemu.guest_agent.0 -chardev spiceport,id=org.qemu.guest_agent,name=org.qemu.guest_agent.0 -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -chardev spicevmc,id=vdagent,debug=0,name=vdagent -device virtserialport,chardev=charchannel1,id=channel1,name=org.spice-space.webdav.0 -chardev spiceport,name=org.spice-space.webdav.0,id=charchannel1 -name OpenIndiana -uuid B13D7BAA-A42E-4928-A959-23488B64ACEB -rtc base=localtime -device virtio-rng-pci -device virtio-balloon-pci

maintenance mode is requested when it is failing to mount install media. My vm is configured to use Q35 and VIRTIO disks, but I do not remember what I used for cd (probably IDE).

Actions #2

Updated by Eugenia L 11 days ago

I tried it, still no bueno. It just reboots (before hanging for 30 seconds when it probes for sdb0).

Actions #3

Updated by Eugenia L 11 days ago

I think I found the issue. When multi-core is enabled on the emulator, it fails, no matter if it's 6 cores or 2. I had to disable multicore (leave it at just 1 core), and then it booted fine (slow, but fine). Any chance that this is fixed for Qemu under a Mac M1/2?

Actions

Also available in: Atom PDF