utmapp / utmapp/UTM

console=hvc0 casuses linux vm boot freeze with apple virtualization framework

Open
#5,143 0 comments 2 reactions 0 assignees View on GitHub
apple virtualization
Dominant language
Swift
Stars
35.5k
Forks
1.8k
Avg merge
5d 5h
Merged PRs (30d)
7

Description

**Describe the issue**
Ubuntu vm with apple virtualization is freezed upon booting if console=hvc0 kernel parameter is set.

**Configuration**
* UTM Version: 4.16, 4.2.2
* macOS Version: Ventura 13.2.1
* Mac Chip (Intel, M1, ...): Apple M1 Pro

Steps to reproduce:
* Create a ubuntu vm with apple virtulization option.
* Add pseudo tty device.
* Change the line in /etc/grub/default as GRUB_CMDLINE_LINUX="console=tty0 console=hvc0" && update-grub
* Power off the vm
* Power on the vm. Now boot is freezed right after grub (show grub menu and change default timeout to 5 secs to observe)
* Connect ttysx (ie with screen /dev/ttysx)
* Boot is resumed.

Rebooting the vm does not reproduce the issue. Vm does not freeze to boot. However powering off and powering ON with UTM triggers the issue.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.