Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

MBA fails to wake (Platform Failure) after entering Low Power Sleep state

2011 MacBook Air 13” model number A1369



The issue: every time the battery drains empty and the device automatically shuts off, it will not properly power-on after being charged. The display backlight is active (and apple logo on the rear is illuminated) although the screen is blank. The machine doesn’t respond to any command or action. The machine will not respond to ping requests and does not appear to attempt to join the network according to the Airport logs. Closing the clamshell and re-openning does not appear to make any difference. The only action that yields any response is to hold the power button until it turns off and then turn it back on again. This has happened 100% of the time since the MacBook Air was purchased. This behavior does not happen with the 2009 MacBook pro also running OSX Lion.


pmset -g output:

Active Profiles:

Battery Power -1*

AC Power -1

Currently in use:

standbydelay 4200

standby 1

halfdim 1

panicrestart 15

hibernatefile /var/vm/sleepimage

disksleep 10

sleep 10

hibernatemode 3

ttyskeepawake 1

displaysleep 5

acwake 0

lidwake 1



pmset -g log output of problem situation:

* Domain: sleep

- Message: Sleep: Success - BATT 0 - Low Power Sleep

- Time: 8/13/11 10:32:55 PM EDT

- Signature: Success

- UUID: 79B0FD75-93BF-4F54-9206-F88EFDD9539A

- Result: Success

- Sleep count : 0


* Domain: sleep

- Message: Sleep: Platform Failure - AC 82

- Time: 8/13/11 11:58:45 PM EDT

- Signature: Platform Failure

- UUID: 399B3402-C3A6-451B-B5AC-60CF6CD5176F

- Result: Failure


Observations:

  • FileVault is enabled
  • This issue does not seem to occur when the device enters the ‘hibernation’ state after sleeping for an extended-period of time



Actions taken (with no resolution yet):

  • SMC reset (multiple times)
  • PRAM reset
  • Set main HD (“Macintosh HD”) as Startup Disk
  • Complete reinstall of OSX Lion


Any advice?

MacBook Air, Mac OS X (10.7), mid-2011 13" 1.7GHz i5 model

Posted on Aug 14, 2011 9:00 PM

Reply
46 replies

Sep 7, 2011 2:00 AM in response to billimek

Same here. Seems to be connected to FileFault full disk encryption in some way,

also i did not try without encryption.


Note that the pmset(1) utility has new options, some of which are a bit confusing for me:


- standby

- standbydelay

- destroyfvkeyonstandby


with "standby" set to 1 hibernation should start after sleeping "standbydelay" seconds.


how does standby relate to "hibernationmodes" ? I assume it makes only sense in combination with

hibernationmode set to 3.


"destroyfvkeyonstandby" should control handling of fv keys after wakup. I guess with this set to 1,

you will always have to enter a password after wake, even if "ask for password after sleep" is disabled

somewhere in the security preferences (and the credentials won't be anywhere in ram or on disk).


This is not a fix, but maybe there is a workaround playing with these values. Maybe setting both sleep (automatic sleep timer) and standbydelay to a low value would be an idea, as the power outage immediate hibernation would be unlikely to happen.


axel

Sep 7, 2011 6:26 AM in response to axelbauer

For those of you having this issue: Do you happen to run screen or multiple terminal sessions? The last time my battery drained and the macbook air went to sleep, it actually woke up correctly after being charged. The only difference that I know of was that I was not running screen with a lot of terminal sessions.


I'm pretty sure that all of the other times the problem occured, I was running screen and/or multiple terminal sessions.


I bring this up because there is another bug with OS X 10.7 in which a kernel panic occurs 100% of the time during a shutdown/restart and screen and/or multiple terminals are logged in. The kernel panic has something to do with ttys.

Sep 18, 2011 2:34 PM in response to billimek

Have the same issue with MBA 11" 2011 - 100% reporoducible. It matters not if you have apps open or not. To provoke the bug, simply leave your MBA sleeping until battery is drained. No more wake up after charging - hard reset required. The condition has not changed after the latest firmware patch (as of 19 Sept 11).

Nov 7, 2011 6:38 PM in response to billimek

Pardon the thread necromancy, but I have exactly the same problem, 100% reproducable.


I also generally have multiple terminal sessions open, but have tested with all applications closed. I tested again now just to be sure. (Wasn't sure if I tested with terminal closed. Term is like finder to me, it's always running.)


I rarely run screen, but always have multiple ssh sessions with different -D values into different networks open.


Have any of you been able to make any headway?

Nov 11, 2011 5:27 AM in response to billimek

I also have whole disk encryption turned on and experience the same issue (waking from sleep after draining the battery then plugging in yields a black backlit screen). This occurs every time, regardless of whether I have any terminal.app running or not.


I've lost work a couple times due to this, but I have sensitive data on my computer and really can't turn off whole disk encryption, so I really hope Apple fixes this soon.

Nov 11, 2011 12:55 PM in response to billimek

I re-affirm the findings of mike.lwrnc, axelbauer, billimek and my own, but I have bumped into a work-around. Before attempting to start the MBA, leave the charger active for 10-15 minutes. Subsequently you can boot with the power button, this works as expected. However, I still regard this bahaviour as a bug as there is no indication of the condition nor are there instructions as to managing this situation. Apple, FIX IT!

Nov 19, 2011 9:40 PM in response to billimek

I have the exact same issue 100% reproducible BUT I also know how to exercise the bug without needing to run down the battery. Simply do sudo pmset -a destroyfvkeyonstandby 1 hibernatemode 25 then remove the power cord, close the clamshell, plug the power cord back in so it charges for a second, then open the clamshell. You will be in the same blank screen state as if you had let the battery run out.


hibernatemode 25 basically just tells the computer to go into hibernate mode instead of sleep mode wheenver you close the laptop.


destroyfvkeyonstandby tells the computer to power down the ram as soon as it enter hibernate mode.


This problem is way worse than any of you suspect. In all probability the system was intentionally broken in order to provide a backdoor into FV2. Let me explain:


It's impossible to achieve a secure FV2 system without using the following settings:


sudo pmset -a destroyfvkeyonstandby 1 hibernatemode 25


because otherwise what will happen is your FV key will be stored in RAM during both sleep and hibernate states. That means if a bad guy steals your laptop while it's in sleep or hibernate state he's then free to take an unlimited amount of time to attack it. He will be able to retrieve the key from ram as DEMONSTRATED LIVE a few months ago at a security confrence. The tools to preform the attack to retreive the key along with a detailed writeup are availble here:


http://www.frameloss.org/2011/09/18/firewire-attacks-against-mac-os-lion-filevau lt-2-encryption/


So at the risk of repeating myself... the conclusion is it's impossible to have a secure FV2 MBA system because of this bug. I suspect it's a conspiracy because it's too convenient of a bug..


apple has the fV2 system insecure by default (key stored in ram by default) and then apple happens to have a bug that prevents you from flushing that key then hibernating which would be the secure way to do it. Too much of a coincidence.

Dec 31, 2011 7:09 AM in response to billimek

SOLVED???


I can't believe it. I think I have a solution!


Short version: try creating a new user.


Long version: This problem has been so annoying the last few weeks that I put some more time into it. It happens to me serveral times a day, I'm a consultant so I'll be working on customer systems and switching to my own laptop regularly. I had returned standbydelay at 4200 at some point, so one possible solution was raising that.

First, however, I wanted to see if some program like openvpn, f.lux, caffeine etc. that I have set up start at login was the culprit, thinking maybe something was preventing OSX from getting all the way fully asleep.


I created a new user to test with, as that user would have no startupitems. Hibernation worked immediately. After confirming that user was truly working after cold boots etc., I tried it with my normal user. Suddenly, it's working properly with my normal user as well. I had never previously seen FileVault's password input screen other than at boot. For any others who are not aware, apparently FileVault will re-request the password after hibernation. After that, you will need to re-enter your password for the OSX screen lock assuming you have it enabled. (Previously, I had just assumed those two would be integrated, I'm kind of glad to see they're not.)


My guess is that having enabled FileVault 2 a week after buying and installing the computer, some part of the user data was not properly written to instruct FileVault how to decrypt and enable reading the disk with DestroyFVKeyOnStandby set to 1.

Creating a new user seems to have reinitialized whatever information the bootstrap process was missing and made it possible to resume from hibernation.


Would be curious whether this helps any of the others in this thread.

MBA fails to wake (Platform Failure) after entering Low Power Sleep state

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.