Problem with waking from sleep with 10.8.2

My Mac Pro (early 2009 2.66 GHz Quad-Core Intel Xeon) won't wake from deep sleep after installing OS X 10.8.2 . I have the default setting set for sleep. The only way to "wake" the machine is to hold the power button down to shut down and then restart. I've reset NVRAM (pram) and tried removing power cable. Nothing helps.

Mac Pro, OS X Mountain Lion (10.8.2)

Posted on Sep 21, 2012 1:53 PM

Reply
Question marked as Top-ranking reply

Posted on Oct 26, 2012 11:47 PM

Ok, I've got great news for some of you. I've got a macpro (early 2009). After upgrading to 10.8.2 and changing the energy saver preferences to use the wake on ethernet option, I've had the un-wakeable sleep problem and its driven me nuts the past week!


I suggest you all carefully look at your /var/log/system/system.log file, as well as the /var/log/DiagnosticMessages/{date}.asl file. (you can read those with syslog -f {filename}). That is how I traced down the source of my problem.


So here's my situation. My monitors would sleep at exactly the time interval specified in energy saver preferences, note that the status light next to the powerbutton would stay solid. Then computer would then sleep roughly the time I expected it to, but rarely at the exact time. Anyways, after going to sleep, I'd hear a click and the status light would go from solid to the heartbeat thing. After reviewing the system.log, I noticed that precisely 2 hours after sleeping, the computer would go into a maintenance mode. You'll see this in the system.log:


Oct 26 14:51:25 MacPro kernel[0]: Wake reason: RTC (Alarm)

Oct 26 14:51:25 MacPro kernel[0]: RTC: Maintenance 2012/10/26 21:51:24, sleep 2012/10/26 19:51:27

Oct 26 14:51:25 MacPro kernel[0]: No interval found for . Using 8000000

Oct 26 14:51:25 MacPro kernel[0]: Graphics suppressed 0 ms

Oct 26 14:51:25 MacPro kernel[0]: Previous Sleep Cause: 5

Oct 26 14:51:25 MacPro kernel[0]: Intel82574L::setLinkStatus - not active 1face000, 0

Oct 26 14:51:25 MacPro kernel[0]: Intel82574L::setLinkStatus - not active 1face001, 0

Oct 26 14:51:25 MacPro kernel[0]: Intel82574L::setLinkStatus - not active 1face000, 0

Oct 26 14:51:25 MacPro.local configd[17]: network changed: v4(en1-:192.168.1.239) DNS- Proxy- SMB

Oct 26 14:51:25 MacPro kernel[0]: Intel82574L::setLinkStatus - not active 1face001, 0

Oct 26 14:51:28 MacPro kernel[0]: Ethernet [Intel82574L]: Link up on en1, 1-Gigabit, Full-duplex, Symmetric flow-control, Debug [796d,af48,0de1,0200,c5e1,3800]

Oct 26 14:51:28 MacPro kernel[0]: Intel82574L::setLinkStatus - active 1face001, b

Oct 26 14:51:32 MacPro.local configd[17]: network changed: v4(en1+:192.168.1.239) DNS+ Proxy+ SMB

Oct 26 14:51:34 MacPro kernel[0]: Intel82574L::timeoutHandler - no link - reset the chipset once 1face000, 0

Oct 26 14:51:34 MacPro kernel[0]: Intel82574L::setLinkStatus - not active 1face000, 0

Oct 26 14:52:05 --- last message repeated 2 times ---

Oct 26 14:52:10 MacPro kernel[0]: NVDA::setPowerState(0xffffff801df17000, 0 -> 1) timed out after 45476 ms


Note the 4th line, where it says graphics suppressed, then the last line where it says NVDA:: .... timed out.... That was the clue I needed. It seems that this maintenance mode wakes up to turn on the network interfaces, but tries to suppress the graphics card from waking up... However, the graphics card just times out. Apparently it doesn't support this action very well. I carefully watched my system and precisely 2 hours after it goes to sleep, I hear the system click, and the status light would go from heartbeat to solid.... Thats when the system freezes and you can no longer revive it. Actually, to be clear, the system was still accessible by ssh, so more accurately I'd say that probably it was just the graphics card was frozen... Nothing but a reboot would fix it. Note that I even tried issuing a reboot via SSH (thinking that was slightly safer than just holding the powerbutton), and although it did shut down some services (like SSH) it wouldn't complete the reboot and I'd still have to hit the Power button....


So anyway, now that I was pretty sure it was graphics card related (and triggered by the maintenance mode apparently related to the wake-on-lan), I googled 10.8.2 and nvidia... and what do you know? Nvidia released new drivers specifically for 10.8.2 this month!


This is the driver I needed for my stock GeForce GT 120:

http://www.nvidia.com/object/macosx-304.00.05f02-driver.html


PLEASE read the notes, it says its that this particular driver is for MacPro's only and 10.8.2 only.


Possibly check for drivers for other nvidia cards if this isn't you!

http://www.nvidia.com/Download/index.aspx?lang=en-us


So I installed the driver, rebooted, and voila, all works fine. I let it sleep, it went into maintenance mode after sleeping for two hours, and this time the monitor came on for 30 seconds, then went back to sleep (again with the heartbeat). I could issue a wakeonlan signal and then ssh in, or I could wake the computer by pressing the power button briefly. From my perspective, all is working fine. I can wake it properly from the power button, and I can wake-on-lan it properly too.


And just for reference, I use this wake-on-lan perl script. It works great, even through a router and wifi.

http://gsd.**.uminho.pt/jpo/software/wakeonlan/

I didn't realize this at first, but when sending the wakeonlan through a router you don't specify the IP address of the computer you're trying to contact. Just use the default ip (255.255.255.255 or your local network broadcast ip, like 192.168.1.255). The problem with routers is that once you're computer sleeps the router forgets your computer, so you need to broadcast the message to ALL ips and wait for the right one to match the macaddress and wake up... So just run it like "wakeonlan <macaddress>" and it works perfect. It even wakes my macbookpros connected only by wifi.


Also note that I tried the "darkwake=0" thing as well. I'm not really sure if that made any difference, but it is still set that way on my machine. You may or may not need that, I'm just not sure.


And one last note, I called applecare thinking my macpro still had coverage, but it turns out it expired a few months ago. They had me explain the problem anyways and said this is a "known issue" and that they could fix it for $59 or whatever. I told them no and figured it out on my own, but, it kinda ****** me off considering this was NOT really a hardware problem. It was an issue introduced by OS X 10.8 and I just recently PAID for this O/S upgrade. Personally I think they should be supporting this since I bought the O/S. My hardware was fine, it was the stock graphic card drivers bundled in 10.8.2 that was the problem! I fully assume that a future upgrade (maybe 10.8.3 if you're lucky) will include the updated drivers... Until then they're happy to NOT publish this simple fix anywhere and charge you for it instead. VERY LAME APPLE!


Best of luck to the rest of you. If this doesn't solve your problem, check those log files I pointed out, try to pinpoint the time your machine freezes and look for related events in the log files!


Cheers,

Rob

267 replies

Oct 24, 2013 3:13 AM in response to Pharmacoapple

I had the problem about 1 year go but for some reason the refusal to awake turned into a random reboot.


Nothing suggested ever resolved that issue and I learned to live with it.


I installed Mavericks on release and the problem of failing to awake from sleep has returned.


I have to power off, wait a minute and then power on. This usually results in teh Mac strting up with black screen. I then listen for it going through the start routine. When I think it has finished, I then Power off, wait a minute and then power on. The Mac starts up complete with screen. I do, however have to report that there was a forced shutdown.


I am on a 27" IMac.

Sep 23, 2012 2:22 PM in response to SusanLake

I've seen the same problem twice so far since upgrading to 10.8.2 on my MacBook Pro late 2008. When trying to wake, just get black screen. Nothing works, except powering off.


I don't know if the computer was actually running or not, since that laptop had all sharing turned off. SInce it happened a second time, I've turned on remote login and screen sharing.


Just saw a twist on what others have been reporting. Went to wake it just now. It is showing the login screen, but is not responding to any user input, and the password field is not highlighted. This may be the same problem, just happening slightly later in the wake up process.


However, I'm able to verify that the machine is actually running, since I just did a remote login (oddly it's not showing up for file sharing on my network).


I'm looking thru the system logs now... but not seeing anything that stands out as an obvious error related to sleep/wake. Any suggestions for what to look for?

Sep 23, 2012 2:54 PM in response to SusanLake

Weirder yet... went to shut the machine down remotely via "/sbin/shutdown -h now" and it has so far not actually powered off (after 5 mins). It killed all the services, so I can no longer remotely log-in, but the computer is still powered up with the login screen displaying (although again, doesn't respond to any user input). I've never had that happen before...

Sep 25, 2012 2:34 AM in response to ErwinLiemburg

Similar problem here with a mid 2009 MacBook Pro, although the machine does wake eventually by itself if left alone. It used to wake pretty much instantaneously. Now takes maybe about 3 - 4 minutes and when it comes on it will usually have no internet connection (wifi will be connected though) for a further 3 - 4 minutes. Appreciate it's not quite the same variant of the problem other here are experiencing, but is still very frustrating.......

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Problem with waking from sleep with 10.8.2

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