-
Notifications
You must be signed in to change notification settings - Fork 53
Race Conditions within BigSur Monterey Boot processes
Todd Bruss edited this page Jul 19, 2021
·
4 revisions
- Four race cars enter a 4 way stop all at the same exact time.
- To proceed each driver must let the person on the right go.
- If a car is to the to the driver's left, the driver cannot go.
- This creates race condition. No drivers can go. A complete traffic jam also known as a deadlock.
- To get around this issue, we need slow down at least one of the drivers, so all 4 cars do not enter the 4 way stop at the same time.
- Then a driver can go, and so can the next one.
- And all four drivers have now cleared of the four way stop.
- This might be an over simplification of a race condition as the macOS boot process from BigSur and beyond is pretty complex.
- You'd think these conditions would not exist with Sealed disks, KCs, snapshots, but they do especially with Unsupported Macs with both macOS Big Sur and Monterey.
On unsupported Intel Macs, both macOS Big Sur and Monterey have race conditions embedded within the boot process. This makes it very challenging to install and boot macOS on unsupported Mac hardware.
- Many people think macOS Big Sur 11.2.3 and lower does not have a race condition in its boot process. This is not true. It just happens much less frequently than 11.3 and higher.
- How can I tell if my mac is going through a race condition? If your mac has Firewire, you will see repeatly
firewire <ptr> is invalid.
When this happens, your best bet is to turn off your Mac and reboot. This firewire pointer error is usually displayed anytime a Mac Pro enters a race condition. If this happens very late in the boot process, it will still boot up, but it's rare. Always let it repeat a few times before rebooting. - On macOS 11.2.3 and lower, you will see en0 spit out two rows of Airport channel numbers. It will be a long string. When this happens, you guessed it, it's a race condition and it will not boot up. You'll start to see the firewire ptr error there after. Reboot your Mac.
- On macOS 11.3 and later, you will see things with Crypto and USB HID that completely halt the boot process from continuing. In verbose mode, you will see a freeze. In not verbose mode, the process bar will go to about 25% and the you will see a forbiden sign with the slash.
- If your mac can make it to DMOS, you are usually home free and your Mac will boot up. On Big Sur, if you can get to Single user mode, and exit, you are usually home free.
- I have considered removing Firewire extensions from Big Sur to see if that has any bearing. This is something most users can live without.
- On Monterey things happen even more randomly and more unpreditable than Big Sur 11.3 and later. Even the single user boot does not hold true as it crashes as well.