Contribute
Register

Cannot boot when USB ports or ethernet is plugged in

Status
Not open for further replies.
Joined
Jan 14, 2023
Messages
10
Motherboard
Gigabyte Z590 Aorus Ultra
CPU
i9-10900K
Graphics
RX 6800 XT
Hi all,

This is really bothering me because I cannot understand what is going on.

When I try to boot into macos with any usb ports or my ethernet port populated, I get a string of errors on the bootup screen and the computer restarts.
On the other hand, if I unplug all USB ports and my ethernet cable, macos boots, although there are ample error-looking messages in the boot up screen. If I plug in my USB devices and ethernet cable AFTER the boot process is complete, everything works fine. In fact I'm writing this post from my hackintosh.
Other than that, the OS is fully functional.

My assumption was that this had to do with the USB mapping, so I tried following the guides
here dortania github io/OpenCore-Post-Install/usb/manual/manual html
and here github com/corpnewt/USBMap (replace spaces with .)
but couldn't complete either of them because some usb ports weren't recognized when they shoudlv'e been.

At this point I have no idea what to do. I cannot interpret opencore's logs but am attaching one with the hope that someone more experienced than I am can tell what the issue is.

Specs:
Z590 Aorus Ultra
10900k
6800xt
Samsung 970 pro nvme

Kexts:
Airportltlwm
intelbluetoothfirmware
lilu
nvmefix
usbinjectall - I tried to boot without this one but it seems to be absolutely necessary because it wouldn't boot at all
virtualsmc
whatevergreen
applealc
smcprocessor
smcsuperio
 

Attachments

  • opencore-2023-01-14-164719.txt
    256 KB · Views: 20
  • OC.zip
    25.2 MB · Views: 23
Hi all,

This is really bothering me because I cannot understand what is going on.

When I try to boot into macos with any usb ports or my ethernet port populated, I get a string of errors on the bootup screen and the computer restarts.
On the other hand, if I unplug all USB ports and my ethernet cable, macos boots, although there are ample error-looking messages in the boot up screen. If I plug in my USB devices and ethernet cable AFTER the boot process is complete, everything works fine. In fact I'm writing this post from my hackintosh.
Other than that, the OS is fully functional.

My assumption was that this had to do with the USB mapping, so I tried following the guides
here dortania github io/OpenCore-Post-Install/usb/manual/manual html
and here github com/corpnewt/USBMap (replace spaces with .)
but couldn't complete either of them because some usb ports weren't recognized when they shoudlv'e been.

At this point I have no idea what to do. I cannot interpret opencore's logs but am attaching one with the hope that someone more experienced than I am can tell what the issue is.

Specs:
Z590 Aorus Ultra
10900k
6800xt
Samsung 970 pro nvme

Kexts:
Airportltlwm
intelbluetoothfirmware
lilu
nvmefix
usbinjectall - I tried to boot without this one but it seems to be absolutely necessary because it wouldn't boot at all
virtualsmc
whatevergreen
applealc
smcprocessor
smcsuperio
Lilu.kext should be first in your list in your config.plist

and you need to setup your USB ports correctly:
 
What version of MacOS are you running? If MacOS 11.3 or later, IIRC in config.plist/Kernel/Quirks, "XhciPortLimit" Value must be set to NO. Also, your OpenCore version seems to be 0.8.6 (11/7/2022) but your ACPI files are dated 11/21/22. (May be okay, maybe not.)
 
Last edited:
What version of MacOS are you running? If MacOS 11.3 or later, IIRC in config.plist/Kernel/Quirks, "XhciPPortLimit" Value must be set to NO. Also, your OpenCore version seems to be 0.8.6 (11/7/2022) but your ACPI files are dated 11/21/22. (May be okay, maybe not.)
I'm on MacOS 12.6.1. As far as the opencore and acpi, when the installation was created, 0.8.6 was the latest version. I thought it would be too much of a hassle to change the opencore version when this version isn't working fully. And XhciPortLimit is enabled, I'll try turning it off, even though that would limit my usb port count if I'm not mistaken.
 
Lilu.kext should be first in your list in your config.plist

and you need to setup your USB ports correctly:
Thank you, I'll follow this guide and tell you how it goes. Also moved Lilu to the first place in config.plist
 
And XhciPortLimit is enabled, I'll try turning it off, even though that would limit my usb port count if I'm not mistaken.
Yes, I believe that without a USB port configuration kext in your Kexts folder, the Mac OS will default to 15 ports starting with HS01 and running up from there. Which is probably not what you want. You can check that with IOegistryExplorer; look in its "XHC" section and it should show you the ports actually available.
 
Yes, I believe that without a USB port configuration kext in your Kexts folder, the Mac OS will default to 15 ports starting with HS01 and running up from there. Which is probably not what you want. You can check that with IOegistryExplorer; look in its "XHC" section and it should show you the ports actually available.
According to the dortania guide, xhcportlimits set to ON disables the port limit. This would make sense since I have that setting on and I'm getting 19 different usb ports in IO registry explorer.
 
Lilu.kext should be first in your list in your config.plist

and you need to setup your USB ports correctly:
So I tried to follow this guide but cannot get Hackintool to work properly. It shows no "active" ports, despite my mouse and keyboard being plugged in (and fully functional)
 

Attachments

  • Screen Shot 2023-01-16 at 22.01.46.png
    Screen Shot 2023-01-16 at 22.01.46.png
    260.4 KB · Views: 18
So I tried to follow this guide but cannot get Hackintool to work properly. It shows no "active" ports, despite my mouse and keyboard being plugged in (and fully functional)
you need to use Catalina to use the guide
 
So I tried to follow this guide but cannot get Hackintool to work properly. It shows no "active" ports, despite my mouse and keyboard being plugged in (and fully functional)
Did you use the "broom" at bottom of the USB page in Hackintool and then follow that with the arrowed-circle? You are right, your truly active ports should have shown up in that display, assuming the "USBInjectAll.kext" is working properly. However, as Feartech has pointed out in other posts, later versions of Mac OS do not treat the Kernel/Add/Quirks/XhciPortLimit Value as expected. Also "USBInjectAll.kext" is "broken" in versions later than Catalina.

I am aware of a "rogue" way to create a USBPorts.kext at least for my Gigabyte motherboards "Mini-ITX 2" through "4" listed below, since I did test it. It did work on those Monterey, Mojave, and High Sierra computers, but cannot be used on many other motherboards, according to "UtterDisbelief," and his advice was confirmed by my failure to use it successfully on "Mini-ITX 1" below. It depends on knowing a fixed relationship between HSxx and SSxx "port locations" which does not exist on my GA-H87N-WIFI board, also a Gigabyte. If I could help, I would, but don't know if it would be worth the effort on your part.
 
Last edited:
Status
Not open for further replies.
Back
Top