Skip to content
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

warning: host doesn't support requested feature #108

Open
Siscos06 opened this issue Nov 9, 2024 · 11 comments
Open

warning: host doesn't support requested feature #108

Siscos06 opened this issue Nov 9, 2024 · 11 comments

Comments

@Siscos06
Copy link

Siscos06 commented Nov 9, 2024

Operating system

Debian GNU/Linux 12 (bookworm)

Description

I'm trying to install macOS (any version) and when I get to the step where the Apple logo appears, it gets stucked there. I've tried changing the version and, since I'm quite a newbie, I've tried changing the privileges as it was explained in the FAQ.
I don't know how to proceed or what should I do and, for this reason, I would greatly appreciate any kind of help.

btw, I'm trying to intall it in Portainer in a OMV server.

Docker compose

services:
macos:
privileged: true
image: dockurr/macos
container_name: macos
environment:
VERSION: "ventura"
RAM_SIZE: "3G"
CPU_CORES: "2"
devices:
- /dev/kvm
cap_add:
- NET_ADMIN
ports:
- 8006:8006
- 5900:5900/tcp
- 5900:5900/udp
stop_grace_period: 2m

Docker log

3h3h3hBdsDxe: failed to load Boot0080 "Mac OS X" from PciRoot(0x0)/Pci(0xA,0x0)/VenMedia(BE74FCF7-0B7C-49F3-9147-01F4042E6842,27776AB23966434AACAAA104B2C47C29)/\A40729E7-EDFE-4969-914B-FD913615B5CE\com.apple.installer\boot.efi: Not Found

BdsDxe: failed to load Boot0001 "UEFI Misc Device" from PciRoot(0x0)/Pci(0xA,0x0): Not Found

BdsDxe: loading Boot0002 "UEFI Misc Device 2" from PciRoot(0x0)/Pci(0x5,0x0)

BdsDxe: starting Boot0002 "UEFI Misc Device 2" from PciRoot(0x0)/Pci(0x5,0x0)

#[EB|LOG:EXITBS:END] _

#[EB.BST.FBS|-]

#[EB|B:BOOT]

#[EB|LOG:HANDOFF TO XNU] _

======== End of efiboot serial output. ========

Screenshots (optional)

Screenshot 2024-11-09 203259
_macos_logs.txt

@kroese
Copy link
Contributor

kroese commented Nov 9, 2024

From the logs it seems your CPU, the Intel Pentium G3220, is missing a lot of CPU instructions that macOS needs.

So my best guess as to why it freezes is that you need a more recent CPU. You can try to set VERSION: "catalina" to use an even older version of macOS, but if that also doesnt work then there is not much we can do.

@Siscos06
Copy link
Author

Siscos06 commented Nov 9, 2024

Okay, thanks for your help.
I will try to do that or if it still doesn't work I will refresh my computer.

@foxhunt72
Copy link

i have the same issue with a 12th Gen Intel(R) Core(TM) i7-12800H

@gregkorossy
Copy link

Same problem with i9-14900HX on Windows 11.

@Gonzalo-Bruna
Copy link

Gonzalo-Bruna commented Nov 15, 2024

Same issue with AMD Ryzen 5 5600G on Windows 11

@uforia
Copy link

uforia commented Nov 15, 2024

Same issue with an AMD Ryzen 7 5700U on Gentoo Linux, Kernel 6.11.8, Docker 27.3.1.

After image verification, these are the errors:

macos  | ❯ Booting macOS 1920x1080 using QEMU v9.1.0...
macos  | qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.01H:ECX.pcid [bit 17]
macos  | qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.07H:EBX.erms [bit 9]
macos  | qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.07H:EBX.invpcid [bit 10]
BdsDxe: failed to load Boot0001 "UEFI Misc Device" from PciRoot(0x0)/Pci(0xA,0x0): Not Found
macos  | BdsDxe: loading Boot0002 "UEFI Misc Device 2" from PciRoot(0x0)/Pci(0x5,0x0)
macos  | BdsDxe: starting Boot0002 "UEFI Misc Device 2" from PciRoot(0x0)/Pci(0x5,0x0)
macos  | #[EB|LOG:EXITBS:END] _
macos  | #[EB.BST.FBS|-]
macos  | #[EB|B:BOOT]
macos  | #[EB|LOG:HANDOFF TO XNU] _
macos  | ======== End of efiboot serial output. ========

@madmax2012
Copy link

madmax2012 commented Nov 15, 2024

Same Issue,
Arch Linux, Kernel 6.11.7, Docker 27.3.1,
AMD 5900X

macos | qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.01H:ECX.pcid [bit 17]
macos | qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.01H:ECX.pcid [bit 17]

@kroese
Copy link
Contributor

kroese commented Nov 16, 2024

To be clear, failed to load Boot0001 is not an error. A perfectly working boot looks like this:

❯ Booting macOS using QEMU v9.1.1...
3h3h3hBdsDxe: failed to load Boot0080 "Mac OS X" from PciRoot(0x0)/Pci(0xA,0x0)/VenMedia(BE74FCF7-0B7C-49F3-9147-01F4042E6842,68949502815D1D40B0499297B2E9DE09)/\6DD0A636-8112-4971-9160-E1D3BB8A8428\com.apple.installer\boot.efi: Not Found
BdsDxe: failed to load Boot0001 "UEFI Misc Device" from PciRoot(0x0)/Pci(0xA,0x0): Not Found
BdsDxe: loading Boot0002 "UEFI Misc Device 2" from PciRoot(0x0)/Pci(0x5,0x0)
BdsDxe: starting Boot0002 "UEFI Misc Device 2" from PciRoot(0x0)/Pci(0x5,0x0)
#[EB|LOG:EXITBS:END] _
#[EB.BST.FBS|-]
#[EB|B:BOOT]
#[EB|LOG:HANDOFF TO XNU] _
======== End of efiboot serial output. ========

If it freezes at the Apple Logo and you see a lot of host doesn't support requested feature messages, it seems like your CPU is missing certain instructions that macOS needs.

@kroese kroese changed the title Failed to load Boot0001 warning: host doesn't support requested feature Nov 16, 2024
@uforia
Copy link

uforia commented Nov 16, 2024

It's not freezing at the Apple logo. It gives me an unexpected error (MacOS X text error) after the Apple logo w/ progress bar fills up.

@kroese
Copy link
Contributor

kroese commented Nov 16, 2024

@uforia Can you try if it works when you set:

environment:
  CPU_CORES: "1"

@uforia
Copy link

uforia commented Nov 17, 2024

That seems to be a viable workaround solve the booting and installation. After installation, I switched back to 4 cores and it seems to work now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants
@uforia @gregkorossy @kroese @madmax2012 @foxhunt72 @Gonzalo-Bruna @Siscos06 and others