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:
1
NAME="EndeavourOS"
PRETTY_NAME="EndeavourOS"
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 119G 70G 43G 62% /
QEMU emulator version 8.0.3
Copyright (c) 2003-2022 Fabrice Bellard and the QEMU Project developers
libvirtd (libvirt) 9.6.0
total used free shared buff/cache available
Mem: 31Gi 7,0Gi 1,4Gi 186Mi 23Gi 24Gi
Swap: 0B 0B 0B
12
12
crw-rw-rw- 1 root kvm 10, 232 10 aug 06:51 /dev/kvm
total 0
drwxrwxrwt 2 root root 60 10 aug 03:54 .
drwxrwxrwt 15 root root 400 10 aug 08:33 ..
srwxrwxrwx 1 root root 0 10 aug 03:54 X0
root 45761 0.0 0.2 2132888 92416 ? Ssl 06:55 0:01 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock
noose 50504 0.0 0.0 9864 2944 pts/2 S+ 08:47 0:00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn --exclude-dir=.idea --exclude-dir=.tox dockerd
kvm:x:992:libvirt-qemu,qemu,noose
docker:x:965:noose
libvirt:x:963:noose
libvirt-qemu:x:960:
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:
> 1
NAME="EndeavourOS"
PRETTY_NAME="EndeavourOS"
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 119G 70G 43G 62% /
QEMU emulator version 8.0.3
Copyright (c) 2003-2022 Fabrice Bellard and the QEMU Project developers
libvirtd (libvirt) 9.6.0
total used free shared buff/cache available
Mem: 31Gi 7,0Gi 1,4Gi 186Mi 23Gi 24Gi
Swap: 0B 0B 0B
12
12
crw-rw-rw- 1 root kvm 10, 232 10 aug 06:51 /dev/kvm
total 0
drwxrwxrwt 2 root root 60 10 aug 03:54 .
drwxrwxrwt 15 root root 400 10 aug 08:33 ..
srwxrwxrwx 1 root root 0 10 aug 03:54 X0
root 45761 0.0 0.2 2132888 92416 ? Ssl 06:55 0:01 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock
noose 50504 0.0 0.0 9864 2944 pts/2 S+ 08:47 0:00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn --exclude-dir=.idea --exclude-dir=.tox dockerd
kvm:x:992:libvirt-qemu,qemu,noose
docker:x:965:noose
libvirt:x:963:noose
libvirt-qemu:x:960:
@RichardFevrier commented on GitHub (Aug 14, 2023):
Same on Fedora 😕
Edit: since I am fortunately using the Silverblue version of Fedora I was able to rollback my OS down to 100days ago, and it is working back, so we probably should point the problem to the qemu team.
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 System is 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.. 😒
@RichardFevrier commented on GitHub (Aug 14, 2023):
Same on Fedora 😕
*Edit*: since I am fortunately using the `Silverblue` version of `Fedora` I was able to rollback my OS down to 100days ago, and it is working back, so we probably should point the problem to the `qemu` team.
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 System` is 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.. 😒
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
@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](https://archive.archlinux.org/packages/l/linux/)
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.)
@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?
@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?
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.
@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):
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.
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 commit eq to git reset --hard commit) is a huge plus for me.
@RichardFevrier 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.
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 commit` eq to `git 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.10 with the kernel parameter mitigations=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 the macOS 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=off didn't work) and disable it. (I know that AMD is not touched by GDS, but in our case macOS is only using Intel CPUs)
@RichardFevrier commented on GitHub (Aug 15, 2023):
So that everyone knows, I moved to the kernel version `6.4.10` with the kernel parameter `mitigations=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 the `macOS Base System`, so the mitigation is definetly involved.
If you look at the [6.4.9 changelog](https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.4.9) 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=off` didn't work) and disable it. (I know that AMD is not touched by GDS, but in our case macOS is only using Intel CPUs)
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.
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 commit eq to git reset --hard commit) is a huge plus for me.
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.
@bitnom 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.
>
> 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 commit` eq to `git reset --hard commit`) is a huge plus for me.
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):
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.
With Nix you 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.
@RichardFevrier 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.
With `Nix` you 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.
For people using Manjaro (and I guess Arch as well): installing Linux 6.5.0rc5-1 "fixes" this issue (package linux-65)
@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`)
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 downgrade package that comes with EndeavourOS and with this command:
sudo downgrade linux linux-headers
I 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.
@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 ``downgrade`` package that comes with EndeavourOS and with this command:
``sudo downgrade linux linux-headers``
I 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.
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.
@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.
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.
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.
@ToolmanP commented on GitHub (Sep 5, 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.
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.
This has been resolved in my arch distro after upgrading. Idk which packages were responsible for the fix but I'm on zen kernel.
@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.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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.