![]() Previous Shutdown Cause 5 and 3 are holdovers from the PowerPC days- because they're initiated by the user, the OS is still responsible for reporting them.Ĭode 5 is a clean, user initiated software shutdown, e.g. So we pretty much had to figure out the obscure ones on our own. Some of the hardware shutdown codes are unique to specific models of computer depending on their configuration because they refer to a specific sensor or device that exists only in that model– when I worked for Apple we were told that Intel was responsible for assigning the codes and wasn't particularly free with the information sharing on that count, even with Apple Engineering. Unless you happen to connect your MagSafe adapter immediately after the computer goes to sleep, this code is pretty well guaranteed to be followed a 0 Shutdown Cause in the system.log. A 0 Sleep Cause results when a MacBook/Pro/Air puts itself into SafeSleep using the last bit of reserve battery power before full system shutdown in order to preserve the contents of RAM in the /var/vm/sleepimageįile. The 0 shutdown code resides in a liminal space between the hardware and the user it signifies a sudden loss of power which can either be caused by a hardware failure or user action (if you want to demonstrate this for yourself, try popping the battery out of an old MacBook or MacBook Pro while it's on and unplugged, or pulling the power cord out of an iMac while it's running, then rebooting the computer and checking Console.app. ![]() A -128 shutdown code indicates a hardware-related shutdown of unknown cause. A positive code indicates a software or HID initiated shutdown, while a negative code (in the range of -1 to -127) indicates hardware-related Intel SMC-initiated shutdown. Starting with the advent of Intel boards, all shutdowns are tagged with an 8-bit code, if the normal software shutdown flags are not recorded. So the kbase articles on System Error codes date back to the days of PowerPC processors, which apparently needed a lot more bits to report all of the potential hardware errors that could cause a shutdown.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |