You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

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

Sleep/wake crash OSX Mavericks, Macbook Air 2013

Hi there,


Since the upgrade to Mavericks my 2013 Macbook Air had a few sleep wake crashes. The problem occurs when my air turns to sleep, and I try to wake it with the keyboard within a very short time.(1-3 seconds I think) Happened a few times when I was typing and accidently pressed the on/off button while typing(which is a really stupid feature in the new OSX if you ask me) and a few times when I tried to safe my laptop from going to sleep because it was idle for to long, and just got there to late. What happens is that the Macbook just gives a black screen, but is still on. I cant let it sleep by closing the lid, and the only way to get it running again is by restarting.(holding down the on/off button)


Couldnt find anything similar to this. So i'm hoping if this is a common problem with Mavericks and is on the list to be fixed with the new patch.


I hope you guys have some info.

MacBook Air, OS X Mavericks (10.9)

Posted on Nov 11, 2013 5:37 AM

Reply
353 replies

Apr 19, 2014 1:48 AM in response to Shaun7777

Hi Shaun7777,


how did you removed the airparrots kexts? A kext is a kernel extension and i read the howto in https://developer.apple.com/library/mac/documentation/Darwin/Reference/Manpages/ man8/kextunload.8.html#//apple_ref/doc/man/8/kextunload but i dont know how to use it.

I used your hint "kextstat | grep -v apple" and found 2 kext that i would remove: se.coolbook.driver2 and com.ncp-e.vpn.driver.ncplbmac


Do you know foo.tun and foo.tap kext?


Thanks, Markus

Apr 19, 2014 2:03 AM in response to bonneville77

bonneville77 wrote:


how did you removed the airparrots kexts?

As he said he went to the developers web site and followed the instructions there for removing all of airparrots, not just the kext files. That's always the best way to un-install any software, assuming the developer will provide you with an un-installer or at least instructions. You could simply delete those two .kext files and reboot, but chances are there is additional software installed and perhaps still active and looking for those files.

Do you know foo.tun and foo.tap kext?

http://en.wikipedia.org/wiki/TUN/TAP Commonly used by VPN services.

Apr 21, 2014 12:48 PM in response to MadMacs0

You could simply delete those two .kext files and reboot, but chances are there is additional software installed and perhaps still active and looking for those files.

Do you know foo.tun and foo.tap kext?

http://en.wikipedia.org/wiki/TUN/TAP Commonly used by VPN services.


I think i've got it! No crashes and no sleep wake failures since fixing:

Look for non-apple kernel extensions:

kextstat | grep -v apple


To delete a kext:

cd /system/library/extensions

sudo mv kextname.kext ~/.


foo.tun and foo.tap are from an Install of "Tunnelblick", a third party VPN Client. I think this the reason, why it crashes..

To remove:

sudo kextunload -b foo.tun

sudo kextunload -b foo.tab


Greetings from Germany..

Markus

Apr 22, 2014 4:40 AM in response to bonneville77

foo.tun and foo.tap are from an Install of "Tunnelblick", a third party VPN Client. I think this the reason, why it crashes.


You may still have crashes after you restart your computer or log out and then back in again.


Although "sudo kextunload" may have removed the kexts from the computer's memory, they will be reloaded the next time you launch a very old version of Tunnelblick (which may automatically launch when you log in). If they are from a program other than Tunnelblick (other VPN software also installed foo.tun and foo.tap), they may be set up to load when you restart your computer.


Versions of Tunnelblick more than about four years old loaded the two kexts when the program launched, and unloaded them when it quit, so such an old version of Tunnelblick would have to have been running at the time of the crash. Newer versions of Tunnelblick load and unload kexts only as needed, and name them "net.tunnelblick.tun" and "net.tunnelblick.tap". Newer versions also load different versions of the kexts depending on which version of OS X you are running.


If you have an old version of Tunnelblick installed on your computer, you should either

  • Update to the latest version from the Downloads page; just install a new version by double-clicking, there is no need to uninstall the old one first, or
  • Completely uninstall it using these instructions.

Apr 25, 2014 1:13 AM in response to MadMacs0

I just called Apple Support and received a very competent guideline which seems to have solved the problem on my end:

  • Close all programs
  • Shutdown your computer
  • Unplug your iMac from power
  • Keeping it unplugged press the power button at least 5 seconds
  • Plug your iMac to power
  • Press the power button
  • As soon as you release the power button press the keys alt+cmd+p+r until you hear the chime the second time


This includes an SMC reset (see here: http://support.apple.com/kb/HT3964?viewlocale=en_US) and an NVRAM reset (http://support.apple.com/kb/HT1379?viewlocale=en_US)


My display sleep issue seems to be solved by that.

Apr 29, 2014 9:42 AM in response to Kenny Wiess

I've got a 2010 iMac and started having this problem only after I installed Mavericks. At first the computer would not wake from sleep once or twice a week, but over the last few months it has devolved into twice a day.


Anyway, I reset the PRAM and NVRAM this past Saturday, and I'm happy to report that so far it appears to have done the job: no wake up problems for 3 days now. Here's the directions for resetting PRAM and NVRAM:


http://support.apple.com/kb/ht1379


I also did the SMC reset (which is a different process depending on whether you have a desktop or laptop).


http://support.apple.com/kb/HT3964

May 5, 2014 8:43 AM in response to Floops

My MacBook Pro Mid-2010 just started experienceing this issue this weekend. Never experienced this issue before this weekend. I reset the PRAM and NVRAM, formatted the HardDrive & re-installed OSX but the problem still persists. I am switching back to a Windows 7 machines for now because my Mac is just unseable like this. Hopefully someone (HELP APPLE) fixes this soon.


-andy

May 7, 2014 6:49 AM in response to Kenny Wiess

Hello All,


I have the same problem with OSX 10.9.2 using MacBook Pro 13" 2.3 Ghz Intel Core i5 Early 2011.

I have a Crucial M4 SSD2 with 128 GB drive. I upgraded the firmware to the latest revision: 070H thinking the problem was related to my SSD. I am still having the same problem when my laptop sleeps. I get a blackscreen with mouse cursor and it basically hangs.

Sleep/wake crash OSX Mavericks, Macbook Air 2013

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