-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
My VM crash and reboot when apple logo appears #24
Comments
Check your core count is a power of two and your OSK is correct |
I checked and everything is correct |
Share your VM config |
agent: 1 |
Can you grab the whole args line? It was cut off |
ah sorry: |
What model is your host's CPU? |
i'm on amd ryzen 7 5800h |
Hmm config looks good so far. I'm not sure that I've seen a test of the NUMA config for AMD, so you can try setting numa: 0 sockets: 0 and dropping the RAM allocation as needed to stick to one node. (It works on Intel but I haven't tested it with AMD) At the macOS boot menu hit cmd/win + V once before selecting the boot option to enable Verbose mode, there may be a useful error printed during boot. |
numa=0 socket=0 mermory=0, it doesn't crash |
Whoops I meant sockets 1, if it launched with 0 that's amazing, lol. I don't have AMD here for testing so I'm not sure why it doesn't like NUMA being enabled, sorry. |
verbose mode don't work |
It crashes again after changing what? Verbose mode definitely works, make sure you're just pressing the keys once and not holding them down. |
for verbose mode, press windows + v ? |
At the OpenCore screen before you press enter to select the boot option. |
i don't have opencore screen |
Yes you do, because you said you "pressed macos base system" in your first post, that menu is OpenCore |
ok thanks, i'll look again tomorrow |
2022-02-03.10-14-52.mp4Verbose mode don't work |
Is there a place to find the machine logs? |
You pressed ctrl+v instead of win+v. |
I just thought, wouldn't it come that I don't have IOMMU to activate? |
Activate what? No, IOMMU is not required for anything except good graphics performance. |
ok is good, i'm just a noob 2022-02-03.11-58-06.mp4 |
So wait, did it boot successfully with numa: 0 before? If so just use that. |
no it was a false hope, it crashed afterwards, there it is in numa 0 |
Okay, grab this serial-debug version of my OpenCore and set the VM to use that instead: https://github.com/thenickdude/KVM-Opencore/releases/download/v16/OpenCore-v16-serial-debug.iso.gz On the "Hardware" tab of the VM, add a new serial port with number "0". Start the VM and then while it is sitting at the OpenCore screen, run "qm terminal <VM_ID_HERE>" on your Proxmox commandline to monitor the serial port output. Then press enter in OpenCore to boot. The log gets heavily scrambled by macOS but there could still be something useful in there. |
Oh it's actually crashing due to a deadline timer running out in the kernel, is your host heavily loaded? I've seen this on a system where host load=100. Another option is that the guest's clock is running at the wrong speed so the timeout happens too quickly. You can adjust the kernel timeouts to fix this. Follow the instructions labelled "If you prefer, you can edit config.plist from the comfort of your Proxmox host instead" to edit your config.plist: https://www.nicksherlock.com/2021/10/installing-macos-12-monterey-on-proxmox-7/ In your config.plist find the bit that says "keepsyms=1" (this is the macOS kernel arguments) and add this next to it: "tlbto_us=0 vti=9" |
Also on Proxmox run this and let me know the output:
This is to check if your system has a usable TSC time source available. Without one I think you're in trouble. |
I have nothing output |
If Proxmox has been online for a long time dmesg misses the early boot messages, try this instead:
|
/var/log/kern.log:Feb 2 17:33:32 proxmox kernel: [ 0.000000] tsc: Fast TSC calibration using PIT |
Yeah that's causing the problem, please see issue #15 for possible solutions. |
Hi I hope you're doing well. I have a problem, I followed your tutorial to the letter for proxmox. My machine launches fine, but when I press mac os base system, the apple logo appears, then my machine reboots and so on. I'm on amd. Can you help me please
The text was updated successfully, but these errors were encountered: