mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2026-01-11 21:10:25 +01:00
Boot freezes on EndeavourOS #520
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @steelbath on GitHub (Aug 10, 2023).
Under EndeavourOS boot process gets stuck at "matching deferred by IOUSBHostHIDDevice" and the qemu display gets all garbled a minute after freezing. Tried with Ventura, Monterey and pre-installed images.
I already successfully tested and ran the docker-osx on Ubuntu and Arch, so the problem seems to be inside some EndeavourOS config, packages are the same between Arch and EndeavourOS.
I really only have space to run one OS and would like to use EndeavourOS and get this to work.
Please tell me if i can the get mac boot log out of the VM to share.
System information from template:
@andrenasturas commented on GitHub (Aug 11, 2023):
Got the same problem today on ArchLinux with the README's Ventura command : freeze and glitchy after
matching deferred by IOUSBHostHIDDevice.I tried to ssh in just in case, but it does not respond.
@RichardFevrier commented on GitHub (Aug 14, 2023):
Same on Fedora 😕
Edit: since I am fortunately using the
Silverblueversion ofFedoraI was able to rollback my OS down to 100days ago, and it is working back, so we probably should point the problem to theqemuteam.This week I will try to track down where it did start to appear.
Also @sickcodes please 🙏 add a HUGE disclaimer in the part of the install process.
By default the
macOS Base Systemis the default startup disk and needs to be changed.That broke my current VM the only day (today) I started the VM without watching the boot process.. 😒
@YiPrograms commented on GitHub (Aug 14, 2023):
It seems that it is a regression in Linux 6.4.9.
Boots successfully on Arch after downgrading to Linux 6.4.8 (I'm using linux-zen).
For Arch users, old linux packages can be found here
@RichardFevrier commented on GitHub (Aug 14, 2023):
Could it be related to Intel Downfall mitigation introduced in 6.4.9?
@YiPrograms commented on GitHub (Aug 14, 2023):
I'm not sure how the mitigation works and how it could affect KVM's behaviour.
I would try bisecting the commits introduced in 6.4.9 and find out which causes the issue (But it would take some time, mabye later this week.)
@RichardFevrier commented on GitHub (Aug 14, 2023):
Also you right about regression in Linux 6.4.9, I jumped back to a Fedora commit from 6 days ago, just before they migrated to 4.6.9 and it is still working.
This is outside of my skills scope, but could it be possible that macOS calls a part that was removed by the mitigation?
@TomExMachina commented on GitHub (Aug 15, 2023):
Just realized this has happened to me. This is a nightmare on Arch if you already deleted the pre-upgrade snapshot. Now seeking temporary virtualbox or vmware alternatives which I have used in the past.
@RichardFevrier commented on GitHub (Aug 15, 2023):
Honestly I really don't care about distributions but as a developer using an immutable one and having the possibility to use it like git repositories (
rpm-ostree deploy commiteq togit reset --hard commit) is a huge plus for me.@RichardFevrier commented on GitHub (Aug 15, 2023):
So that everyone knows, I moved to the kernel version
6.4.10with the kernel parametermitigations=off(⚠️⚠️⚠️ it was just for testing, I rolled back right after, you should not use that on your machine since it implies HUGE security risks ⚠️⚠️⚠️) and I was able to start themacOS Base System, so the mitigation is definetly involved.If you look at the 6.4.9 changelog you will see that they blocked some AVX + AVX512 instructions waiting for CPU manufacturers to fix the problem in the CPUs microcode.
So the only real solutions I would give is to be patient and wait for your motherboard manufacturer to release the next AGESA (1.2.0.B for AMD) and patch your BIOS with it (should be released during august) which should bypass the kernel mitigation.
Otherwise you could rollback to a previous kernel version, or find the exact blocking mitigation (tried
gather_data_sampling=offdidn't work) and disable it. (I know that AMD is not touched by GDS, but in our case macOS is only using Intel CPUs)@bitnom commented on GitHub (Aug 15, 2023):
I've been aware of this for years (Nix I think?) but it always seemed like it would introduce a lot of additional maintenance overhead, though I could be wrong. It was just an intuition.
@RichardFevrier commented on GitHub (Aug 15, 2023):
With
Nixyou need to handle a configuration file about your distro. (very powerful but need to dig in the doc first)With
Silverblue(and siblings) you need to do nothing, you just have the possibility to use some commands like the one I presented earlier.@mukaschultze commented on GitHub (Aug 18, 2023):
For people using Manjaro (and I guess Arch as well): installing Linux 6.5.0rc5-1 "fixes" this issue (package
linux-65)@lnormanha commented on GitHub (Aug 22, 2023):
I use EndeavourOS as well and got this problem after creating a VM, and figured it out after a day of troubleshooting that maybe a update messed up and here we are.
I used the
downgradepackage that comes with EndeavourOS and with this command:sudo downgrade linux linux-headersI selected 6.4.8 and worked fine after the reboot.
As always this has a risk of messing something, I did it because I really need to use the VM.
@luizribeiro commented on GitHub (Aug 25, 2023):
It’s likely that y’all are experiencing the side-effects of the AMD Inception mitigation, which is disabled by
spec_rstack_overflow=off. Those weren’t introduced on 6.4.9, but most likely patched by your distributions on that upgrade - hence why looking up the changelog didn’t give you the correct mitigation.@ToolmanP commented on GitHub (Sep 5, 2023):
Huge thanks for clues. I've also encountered this problem on a zen-3 ryzen cpu. Now just trying to get a BIOS upgrade to see if the mitigation is fixed.
@bitnom commented on GitHub (Oct 1, 2023):
This has been resolved in my arch distro after upgrading. Idk which packages were responsible for the fix but I'm on zen kernel.