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

Mac Pro has insomnia (waking from sleep on its own)

My Mac Pro has recently started to wake from sleep on its own. This usually happens in the middle of the night, after I've gone to bed. I wake up in the morning and the computer is on.


Not sure how/why this is happening. Any ideas?

Mac Pro 2.8 (Early '08), Mac OS X (10.5.2), 10 GB RAM, 74GB 10k Raptor, 2x 750GB RAID, 23" ACD

Posted on Jul 4, 2012 8:19 AM

Reply
Question marked as Best reply

Posted on Jul 4, 2012 8:41 AM

Launch the Terminal application in any of the following ways:


Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)


In the Finder, select Go Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.


If you’re running Mac OS X 10.7 or later, open LaunchPad. Click Utilities, then Terminal in the page that opens.


Drag or copy — do not type — the following line into the Terminal window, then press return:


syslog -k Sender kernel -k Message Req Wake


Post any lines of output that appear below what you entered — the text, please, not a screenshot.


Important: The name of your computer will appear in the output. If that information is private (for example, if the computer name contains your own name), edit it out by search-and-replace in a text editor before posting.

16 replies
Question marked as Best reply

Jul 4, 2012 8:41 AM in response to s_w_i_t_t_e_r_s

Launch the Terminal application in any of the following ways:


Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)


In the Finder, select Go Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.


If you’re running Mac OS X 10.7 or later, open LaunchPad. Click Utilities, then Terminal in the page that opens.


Drag or copy — do not type — the following line into the Terminal window, then press return:


syslog -k Sender kernel -k Message Req Wake


Post any lines of output that appear below what you entered — the text, please, not a screenshot.


Important: The name of your computer will appear in the output. If that information is private (for example, if the computer name contains your own name), edit it out by search-and-replace in a text editor before posting.

Jul 4, 2012 8:44 AM in response to Linc Davis

Thanks. Here's what came back:


Jun 28 00:49:41-Mac-Pro-3 kernel[0] <Debug>: Wake reason: RTC (Alarm)

--- last message repeated 2 times ---

Jun 28 06:14:06-Mac-Pro-3 kernel[0] <Debug>: Wake reason: EHCI

--- last message repeated 1 time ---

Jun 28 23:25:01-Mac-Pro-3 kernel[0] <Debug>: Wake reason: RTC (Alarm)

--- last message repeated 5 times ---

Jul 1 06:46:52-Mac-Pro-3 kernel[0] <Debug>: Wake reason: EHCI

Jul 1 23:02:03-Mac-Pro-3 kernel[0] <Debug>: Wake reason: RTC (Alarm)

Jul 2 00:50:31-Mac-Pro-4 kernel[0] <Debug>: Wake reason: RTC (Alarm)

--- last message repeated 2 times ---

Jul 2 06:01:00-Mac-Pro-4 kernel[0] <Debug>: Wake reason: EHCI

Jul 2 23:02:19-Mac-Pro-4 kernel[0] <Debug>: Wake reason: RTC (Alarm)

--- last message repeated 3 times ---

Jul 3 07:02:22-Mac-Pro-4 kernel[0] <Debug>: Wake reason: LAN1 (Network)

Jul 3 23:16:01-Mac-Pro-4 kernel[0] <Debug>: Wake reason: RTC (Alarm)

--- last message repeated 2 times ---

Jul 4 02:59:41-Mac-Pro-4 kernel[0] <Debug>: Wake reason: LAN1 (Network)

Jul 24, 2012 6:00 AM in response to s_w_i_t_t_e_r_s

Linc,


Your solution worked.


However, now I'm having a different problem.


I decided to schedule a regular, nightly back-up to an internal drive in my Mac Pro. I created a schedule in Energy Saver to wake the computer at 12am each night, and then put it back to sleep at 1am after the backup is complete.


It worked fine the first night; but since then, when I wake up in the morning the computer is on (it wasn't put back to sleep).


I ran the command you suggested in your original reply, and this is what came back:


Jul 21 00:00:02 Chriss-Mac-Pro-4 kernel[0] <Debug>: Wake reason: RTC (Alarm)

Jul 21 05:13:15 Chriss-Mac-Pro-4 kernel[0] <Debug>: Wake reason: EHCI

Jul 22 00:00:02 Chriss-Mac-Pro-4 kernel[0] <Debug>: Wake reason: RTC (Alarm)

Jul 22 05:43:47 Chriss-Mac-Pro-4 kernel[0] <Debug>: Wake reason: EHCI

Jul 23 00:00:02 Chriss-Mac-Pro-4 kernel[0] <Debug>: Wake reason: RTC (Alarm)


Do you know what EHCI is, and why it's waking my computer?

Jul 25, 2012 5:59 AM in response to Linc Davis

Okay, I disconnected all USB devices before going to bed. The computer was still awake when I woke up. Here's the log:


Jul 19 06:04:05 Chriss-Mac-Pro-4 kernel[0] <Debug>: Wake reason: EHCI

--- last message repeated 1 time ---

Jul 21 00:00:02 Chriss-Mac-Pro-4 kernel[0] <Debug>: Wake reason: RTC (Alarm)

Jul 21 05:13:15 Chriss-Mac-Pro-4 kernel[0] <Debug>: Wake reason: EHCI

Jul 22 00:00:02 Chriss-Mac-Pro-4 kernel[0] <Debug>: Wake reason: RTC (Alarm)

Jul 22 05:43:47 Chriss-Mac-Pro-4 kernel[0] <Debug>: Wake reason: EHCI

Jul 23 00:00:02 Chriss-Mac-Pro-4 kernel[0] <Debug>: Wake reason: RTC (Alarm)

--- last message repeated 2 times ---


It looks like on the 24th and the 25th there are no entries for why it woke up. Or does "last message repeated 2 times" mean that on the 24th and 25th the wake reason was the RTC (Alarm)?

Jul 25, 2012 10:53 AM in response to s_w_i_t_t_e_r_s

Test after each of the following steps that you haven’t already tried:


Step 1


▹ System Preferences ▹ Print & Scan ▹ Open Print Queue...

Check all printers for unfinished jobs. Deal with any you find.


Step 2


▹ System Preferences ▹ Energy Saver ▹ Power Adapter ▹ Wake for network access: uncheck. You may need to unlock the preference pane by clicking the lock icon in the lower left corner and entering your administrator password.


Step 3


▹ System Preferences ▹ Energy Saver ▹ Schedule… ▹ Start up or wake: uncheck


Step 4


Disconnect all wired peripherals except keyboard, mouse or trackball, and monitor, if applicable.


Step 5


Launch the Activity Monitor application in any of the following ways:


☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)


☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.


☞ If you’re running OS X 10.7 or later, open LaunchPad. Click Utilities, then Activity Monitor in the page that opens.


Select All Processes from the menu in the toolbar of the Activity Monitor window, if not already selected. Enter “powerd” (without the quotes) in the "Filter" text field. Select the powerd process and click the Quit Process button in the toobar (stop-sign icon.) In the sheet that opens, click Force Quit. You’ll be prompted for your administrator password. The process will be relaunched immediately.


Step 6


Boot in safe mode and log in. The instructions provided by Apple are as follows:


  1. Be sure your Mac is shut down.
  2. Press the power button.
  3. Immediately after you hear the startup tone, hold the Shift key. The Shift key should be held as soon as possible after the startup tone, but not before the tone.
  4. Release the Shift key when you see the gray Apple icon and the progress indicator (looks like a spinning gear).


The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.


Note: If FileVault is enabled under OS X 10.7 or later, or if a firmware password is set, you can’t boot in safe mode.


Safe mode is much slower to boot and run than normal. Don’t launch any applications at first. If sleep still doesn’t work properly, back up all data and reinstall the OS. After that, if you still have the issue, make a “Genius” appointment at an Apple Store to have the machine tested.


If sleep now works as expected, go on to the next step.


Step 7


Still in safe mode, launch the usual set of applications that are running when you have the problem, including your login items, one at a time, testing after each one. Some applications may not work; skip them. You might be able to identify the cause of the problem this way.


Step 8


If sleep is still working after you’ve launched all the usual applications, reboot as usual (not in safe mode) and test again. If sleep still works, you’re done, at least for the moment.


If you still have the sleep issue after booting out of safe mode, post again.

Dec 28, 2012 10:54 AM in response to s_w_i_t_t_e_r_s

Linc,


I realize this post was from last summer, but I'm now reading it and finding this helpful. I've run through all kinds of tests, and it turns out my computer has this same issues with EHCI. I don't know what to do, and your last suggestion to do a safe mode login did not do the trick (I put my Mac Pro to sleep and within 10 seconds it wakes up, and I also hear it cycling through--as if "waking up" even when I am working on the computer). So I am going to try to reinstall the software.


But I wanted to ask you, because you seem to know a lot, do you think I will need to reinstall all of my software (Word, SPSS, quicken) after I reinstall the system software. That would be such a hassle I might call in tech support before trying it (I have applecare for my MBAir but not my Mac Pro, so would need to pay, which I'm okay with but hoped to avoid).


So if you could tell me if I'll have to reinstall all of my personal software as well that would help. By the way, here is the output I get in my Terminal suggesting the EHCI is my problem:


Last login: Fri Dec 28 08:10:57 on console

MacPro-Lion:~ michaelkarcher$ pmset -g log

Power Management ASL logs.

-> All messages with "com.apple.message.domain" key set to "com.apple.powermanagement".)

Time stamp Domain Message Duration Delay

========== ====== ======= ======== =====

UUID: 32FF8......445

11/28/12 7:21:08 AM CST wake Wake due to EHCI: Using AC 421 secs

Sleep/Wakes since boot:0 Dark Wake Count in this sleep cycle:0

Time stamp Domain Message Duration Delay

========== ====== ======= ======== =====

UUID: 43814A........BCD77

11/28/12 7:28:09 AM CST sleep Software Sleep: Using AC 3719 secs

11/28/12 7:28:09 AM CST slowresponse PMConnection: Response from mDNSResponder is slow (powercaps:0x0) 573 ms

11/28/12 8:30:08 AM CST wake Wake due to EHCI: Using AC 528 secs

Sleep/Wakes since boot:3 Dark Wake Count in this sleep cycle:0


...

up until today:


12/28/12 9:22:31 AM CST slowresponse PMConnection: Response from AirPort configd plug-in is slow (powercaps:0x1f) 124 ms

12/28/12 9:22:31 AM CST slowresponse PMConnection: Response from IPConfiguration is slow (powercaps:0x1f) 125 ms

Sleep/Wakes since boot:3 Dark Wake Count in this sleep cycle:2

Time stamp Domain Message Duration Delay

========== ====== ======= ======== =====

UUID: 6446A487-29B6-4ECE-BE6D-F4FDAD4B825A

12/28/12 9:33:04 AM CST sleep Software Sleep: Using AC 35 secs

12/28/12 9:33:04 AM CST slowresponse Kernel: Response from powerd is slow 25003 ms

12/28/12 9:33:05 AM CST slowresponse PMConnection: Response from mDNSResponder is slow (powercaps:0x0) 681 ms

12/28/12 9:33:15 AM CST slowresponse PMConnection: Response from SystemUIServer is slow (powercaps:0x0) 11182 ms

12/28/12 9:33:39 AM CST Dark Wake DarkWake due to EHCI: Using AC 45 secs

12/28/12 9:34:24 AM CST sleep Software Sleep: Using AC 63 secs

12/28/12 9:34:24 AM CST slowresponse Kernel: Response from powerd is slow 11182 ms

12/28/12 9:34:25 AM CST slowresponse PMConnection: Response from mDNSResponder is slow (powercaps:0x0) 654 ms

12/28/12 9:34:36 AM CST slowresponse PMConnection: Response from SystemUIServer is slow (powercaps:0x0) 11476 ms

12/28/12 9:34:49 AM CST timedout PMConnection: Response from AirPort configd plug-in timed out (powercaps:0x0) 25012 ms

12/28/12 9:35:27 AM CST Dark Wake DarkWake due to EHCI: Using AC 46 secs

12/28/12 9:36:13 AM CST sleep Software Sleep: Using AC 43 secs

12/28/12 9:36:13 AM CST slowresponse Kernel: Response from powerd is slow 25003 ms

12/28/12 9:36:13 AM CST slowresponse PMConnection: Response from mDNSResponder is slow (powercaps:0x0) 673 ms

12/28/12 9:36:24 AM CST slowresponse PMConnection: Response from SystemUIServer is slow (powercaps:0x0) 11212 ms

12/28/12 9:36:38 AM CST timedout PMConnection: Response from AirPort configd plug-in timed out (powercaps:0x0) 25013 ms

12/28/12 9:36:56 AM CST Dark Wake DarkWake due to EHCI: Using AC 45 secs

12/28/12 9:37:41 AM CST sleep Software Sleep: Using AC 43 secs

12/28/12 9:37:41 AM CST slowresponse Kernel: Response from powerd is slow 25004 ms

12/28/12 9:37:41 AM CST slowresponse PMConnection: Response from mDNSResponder is slow (powercaps:0x0) 695 ms

12/28/12 9:37:53 AM CST slowresponse PMConnection: Response from SystemUIServer is slow (powercaps:0x0) 12002 ms

12/28/12 9:38:06 AM CST timedout PMConnection: Response from AirPort configd plug-in timed out (powercaps:0x0) 25012 ms

12/28/12 9:38:24 AM CST Dark Wake DarkWake due to EHCI: Using AC 45 secs

12/28/12 9:39:09 AM CST sleep Software Sleep: Using AC 52 secs

12/28/12 9:39:09 AM CST slowresponse Kernel: Response from powerd is slow 25005 ms

12/28/12 9:39:09 AM CST slowresponse PMConnection: Response from mDNSResponder is slow (powercaps:0x0) 702 ms

12/28/12 9:39:21 AM CST slowresponse PMConnection: Response from SystemUIServer is slow (powercaps:0x0) 11842 ms

12/28/12 9:39:34 AM CST timedout PMConnection: Response from AirPort configd plug-in timed out (powercaps:0x0) 25013 ms

12/28/12 9:40:01 AM CST Dark Wake DarkWake due to EHCI: Using AC 45 secs

12/28/12 9:40:46 AM CST sleep Software Sleep: Using AC 44 secs

12/28/12 9:40:46 AM CST slowresponse Kernel: Response from powerd is slow 25004 ms

12/28/12 9:40:46 AM CST slowresponse PMConnection: Response from mDNSResponder is slow (powercaps:0x0) 657 ms

12/28/12 9:40:58 AM CST slowresponse PMConnection: Response from SystemUIServer is slow (powercaps:0x0) 11776 ms

12/28/12 9:41:11 AM CST timedout PMConnection: Response from AirPort configd plug-in timed out (powercaps:0x0) 25013 ms

12/28/12 9:41:30 AM CST Dark Wake DarkWake due to EHCI: Using AC 45 secs

12/28/12 9:42:15 AM CST sleep Software Sleep: Using AC 63 secs

12/28/12 9:42:15 AM CST slowresponse Kernel: Response from powerd is slow 25004 ms

12/28/12 9:42:15 AM CST slowresponse PMConnection: Response from mDNSResponder is slow (powercaps:0x0) 661 ms

12/28/12 9:42:27 AM CST slowresponse PMConnection: Response from SystemUIServer is slow (powercaps:0x0) 11740 ms

12/28/12 9:42:40 AM CST timedout PMConnection: Response from AirPort configd plug-in timed out (powercaps:0x0) 25012 ms

12/28/12 9:43:18 AM CST Dark Wake DarkWake due to EHCI: Using AC 45 secs

12/28/12 9:44:03 AM CST sleep Software Sleep: Using AC 45 secs

12/28/12 9:44:03 AM CST slowresponse Kernel: Response from powerd is slow 25004 ms

12/28/12 9:44:04 AM CST slowresponse PMConnection: Response from mDNSResponder is slow (powercaps:0x0) 912 ms

12/28/12 9:44:15 AM CST slowresponse PMConnection: Response from SystemUIServer is slow (powercaps:0x0) 11677 ms

12/28/12 9:44:28 AM CST timedout PMConnection: Response from AirPort configd plug-in timed out (powercaps:0x0) 25013 ms

12/28/12 9:44:48 AM CST Dark Wake DarkWake due to EHCI: Using AC 45 secs

12/28/12 9:45:33 AM CST sleep Software Sleep: Using AC 60 secs

12/28/12 9:45:33 AM CST slowresponse Kernel: Response from powerd is slow 25004 ms

12/28/12 9:45:34 AM CST slowresponse PMConnection: Response from mDNSResponder is slow (powercaps:0x0) 876 ms

12/28/12 9:45:45 AM CST slowresponse PMConnection: Response from SystemUIServer is slow (powercaps:0x0) 11760 ms

12/28/12 9:45:58 AM CST timedout PMConnection: Response from AirPort configd plug-in timed out (powercaps:0x0) 25013 ms

12/28/12 9:46:33 AM CST Dark Wake DarkWake due to EHCI: Using AC 45 secs

12/28/12 9:47:18 AM CST sleep Software Sleep: Using AC 63 secs

12/28/12 9:47:18 AM CST slowresponse Kernel: Response from powerd is slow 25004 ms

12/28/12 9:47:18 AM CST slowresponse PMConnection: Response from mDNSResponder is slow (powercaps:0x0) 710 ms

12/28/12 9:47:30 AM CST slowresponse PMConnection: Response from SystemUIServer is slow (powercaps:0x0) 11854 ms

12/28/12 9:47:43 AM CST timedout PMConnection: Response from AirPort configd plug-in timed out (powercaps:0x0) 25013 ms

12/28/12 9:48:21 AM CST Dark Wake DarkWake due to EHCI: Using AC 45 secs

12/28/12 9:49:06 AM CST sleep Software Sleep: Using AC 64 secs

12/28/12 9:49:06 AM CST slowresponse Kernel: Response from powerd is slow 25006 ms

12/28/12 9:49:07 AM CST slowresponse PMConnection: Response from mDNSResponder is slow (powercaps:0x0) 757 ms

12/28/12 9:49:18 AM CST slowresponse PMConnection: Response from SystemUIServer is slow (powercaps:0x0) 11681 ms

12/28/12 9:49:31 AM CST timedout PMConnection: Response from AirPort configd plug-in timed out (powercaps:0x0) 25012 ms

12/28/12 9:50:10 AM CST Dark Wake DarkWake due to EHCI: Using AC 45 secs

12/28/12 9:50:55 AM CST sleep Software Sleep: Using AC 44 secs

12/28/12 9:50:55 AM CST slowresponse Kernel: Response from powerd is slow 25003 ms

12/28/12 9:50:56 AM CST slowresponse PMConnection: Response from mDNSResponder is slow (powercaps:0x0) 766 ms

12/28/12 9:51:07 AM CST slowresponse PMConnection: Response from SystemUIServer is slow (powercaps:0x0) 11668 ms

12/28/12 9:51:20 AM CST timedout PMConnection: Response from AirPort configd plug-in timed out (powercaps:0x0) 25012 ms

12/28/12 9:51:39 AM CST Dark Wake DarkWake due to EHCI: Using AC 45 secs

12/28/12 9:52:24 AM CST sleep Software Sleep: Using AC 44 secs

12/28/12 9:52:24 AM CST slowresponse Kernel: Response from powerd is slow 25003 ms

12/28/12 9:52:24 AM CST slowresponse PMConnection: Response from mDNSResponder is slow

12/28/12 9:52:36 AM CST slowresponse PMConnection: Response from SystemUIServer is slow (powercaps:0x0) 11849 ms

12/28/12 9:52:49 AM CST timedout PMConnection: Response from AirPort configd plug-in timed out (powercaps:0x0) 25013 ms

12/28/12 9:53:08 AM CST Dark Wake DarkWake due to EHCI: Using AC 45 secs

12/28/12 9:53:53 AM CST sleep Software Sleep: Using AC 64 secs

12/28/12 9:53:53 AM CST slowresponse Kernel: Response from powerd is slow 25004 ms

12/28/12 9:53:54 AM CST slowresponse PMConnection: Response from mDNSResponder is slow (powercaps:0x0) 729 ms

12/28/12 9:54:05 AM CST slowresponse PMConnection: Response from SystemUIServer is slow (powercaps:0x0) 11679 ms

12/28/12 9:54:18 AM CST timedout PMConnection: Response from AirPort configd plug-in timed out (powercaps:0x0) 25012 ms

12/28/12 9:54:57 AM CST Dark Wake DarkWake due to EHCI: Using AC 45 secs

12/28/12 9:55:42 AM CST sleep Software Sleep: Using AC 25 secs

12/28/12 9:55:42 AM CST slowresponse Kernel: Response from powerd is slow 25003 ms

12/28/12 9:55:43 AM CST slowresponse PMConnection: Response from mDNSResponder is slow (powercaps:0x0) 687 ms

12/28/12 9:55:54 AM CST slowresponse PMConnection: Response from SystemUIServer is slow (powercaps:0x0) 11626 ms

12/28/12 9:56:07 AM CST wake Wake due to EHCI: Using AC

12/28/12 9:56:07 AM CST timedout PMConnection: Response from AirPort configd plug-in timed out (powercaps:0x0) 25012 ms

12/28/12 9:56:07 AM CST slowresponse PMConnection: Response from AirPort configd plug-in is slow (powercaps:0x1f) 110 ms

12/28/12 9:56:07 AM CST slowresponse PMConnection: Response from IPConfiguration is slow (powercaps:0x1f) 112 ms

Total Sleep/Wakes since boot:18

MacPro-Lion:~ michaelkarcher$ syslog |grep -i "Wake reason"

Dec 23 07:34:43 MacPro-Lion kernel[0] <Debug>: Wake reason: EHCI

Dec 23 07:36:17 MacPro-Lion kernel[0] <Debug>: Wake reason: EHCI

Dec 23 08:00:16 MacPro-Lion kernel[0] <Debug>: Wake reason: EHCI

Dec 23 08:01:20 MacPro-Lion kernel[0] <Debug>: Wake reason: EHCI

Dec 23 08:03:08 MacPro-Lion kernel[0] <Debug>: Wake reason: EHCI

Dec 23 08:04:11 MacPro-Lion kernel[0] <Debug>: Wake reason: EHCI

Dec 23 08:05:09 MacPro-Lion kernel[0] <Debug>: Wake reason: EHCI

Dec 23 08:06:07 MacPro-Lion kernel[0] <Debug>: Wake reason: EHCI

Dec 23 08:07:25 MacPro-Lion kernel[0] <Debug>: Wake reason: EHCI

Dec 23 08:08:43 MacPro-Lion kernel[0] <Debug>: Wake reason: EHCI

Dec 24 16:08:54 MacPro-Lion kernel[0] <Debug>: Wake reason: EHCI

Dec 24 16:10:09 MacPro-Lion kernel[0] <Debug>: Wake reason: EHCI

Dec 26 20:46:35 MacPro-Lion kernel[0] <Debug>: Wake reason: EHCI

Dec 26 20:49:04 MacPro-Lion kernel[0] <Debug>: Wake reason: EHCI

Dec 26 20:55:09 MacPro-Lion kernel[0] <Debug>: Wake reason: EHCI

Dec 26 20:56:11 MacPro-Lion kernel[0] <Debug>: Wake reason: EHCI

Dec 26 21:00:58 MacPro-Lion kernel[0] <Debug>: Wake reason: EHCI

Dec 26 21:02:57 MacPro-Lion kernel[0] <Debug>: Wake reason: EHCI

Dec 26 21:20:56 MacPro-Lion kernel[0] <Debug>: Wake reason: EHCI

Dec 26 21:23:34 MacPro-Lion kernel[0] <Debug>: Wake reason: EHCI

Dec 26 21:32:45 MacPro-Lion kernel[0] <Debug>: Wake reason: EHCI

Dec 26.....


Does this tell you anything, and if you can solve this issue, can I send you payment via Paypal in some way?

Mac Pro has insomnia (waking from sleep on its own)

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