You are not logged in.

#1 2023-08-10 18:03:31

djtheredstoner
Member
Registered: 2023-08-10
Posts: 3

[SOLVED] macOS VM doesn't boot after update to linux-lts 6.1.44-1

I have a macOS 13.4.1 (Ventura) virtual machine I have setup using https://github.com/kholia/OSX-KVM and after updating linux-lts to 6.1.44-1 it no longer boots. It shows the "prohibitory" sign and the url https://support.apple.com/mac/startup. That apple page links to https://support.apple.com/en-us/HT210901 for the prohibitory sign and suggests a number of disk related fixes. However, none of those fixes worked for me (I got the same issue booting my recovery and installation mediums). This OpenCore guide suggests that this issue is related to USB or SATA issues. I wasn't sure how those issues could occur in a VM, so I tried a kernel downgrade and after that everything worked as expected.

The full boot script with qemu arguments is here.

Is anyone aware of known issues/changes in kernel 6.1.44 that could cause this? If this is a new issue, I should be able to bisect it (haven't debugged anything like this before, but happy to learn).

Last edited by djtheredstoner (2023-08-11 01:49:22)

Offline

#2 2023-08-11 01:12:12

djtheredstoner
Member
Registered: 2023-08-10
Posts: 3

Re: [SOLVED] macOS VM doesn't boot after update to linux-lts 6.1.44-1

I bisected this issue down to ac41e90d. This is the fix for Speculative Return Stack Overflow. Based on the kernel documentation, I found that I could set spec_rstack_overflow=off to disable the mitigation. Doing so fixed my VM. Given the requirements for this vulnerability to be exploited, I deemed it safe to disable the mitigation on my personal machine for now. However, I'm unsure where to proceed from here. Could this still be considered a kernel or qemu issue? Is this an issue with the macOS kernel? Any guidance would be appreciated.

Edit: updated to correct commit

Last edited by djtheredstoner (2023-08-11 01:14:27)

Offline

#3 2023-08-11 01:44:07

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,694

Re: [SOLVED] macOS VM doesn't boot after update to linux-lts 6.1.44-1

Fix up patches do mention issues with virtualization, and I think they've fixed them. See https://lore.kernel.org/lkml/2023080907 … ead.org/T/

Online

#4 2023-08-11 01:48:30

djtheredstoner
Member
Registered: 2023-08-10
Posts: 3

Re: [SOLVED] macOS VM doesn't boot after update to linux-lts 6.1.44-1

Thank you, I'll wait for those patches to make it into linux-lts (or maybe try them out sooner if I'm feeling adventurous) then remove the cmdline argument. Marking as solved.

Offline

#5 2023-08-11 22:12:32

loqs
Member
Registered: 2014-03-06
Posts: 18,859

Re: [SOLVED] macOS VM doesn't boot after update to linux-lts 6.1.44-1

Offline

Board footer

Powered by FluxBB