3 Replies Latest reply: Jun 13, 2014 1:42 AM by Alias_alas
Dennis Madsen Level 1 Level 1 (0 points)

Two days ago I did a clean install of Mac OS X Lion. Tonight I let my iMac in sleep before going to bed. During the night it wakes up automatically:

 

Aug  8 01:51:54 Dennis-Madsens-iMac kernel[0] <Debug>: Wake reason: RTC (Alarm)

Aug  8 03:40:05 Dennis-Madsens-iMac kernel[0] <Debug>: Wake reason: RTC (Alarm)

Aug  8 05:28:16 Dennis-Madsens-iMac kernel[0] <Debug>: Wake reason: RTC (Alarm)

Aug  8 07:16:27 Dennis-Madsens-iMac kernel[0] <Debug>: Wake reason: RTC (Alarm)

Aug  8 07:40:00 Dennis-Madsens-iMac kernel[0] <Debug>: Wake reason: GIGE (Network)

 

As you see, most of them are RTC events. I have "Wake for network access" in Energy Saver turned on, as I think, this is a usefull service. The Console have these messages for the third RTC event (please tell me if you need all the messages from the period):

 

08/08/11 05.28.16,001 SyncServer: [0x10bb16cc0] |SyncServer|Warning| Refreshing watchdog because of a calendar time change alert.

08/08/11 05.28.16,007 com.apple.usbmuxd: DeviceRequestAsync failed: 0xe0004057

08/08/11 05.28.16,000 kernel: Wake reason: RTC (Alarm)

08/08/11 05.28.16,000 kernel: RTC: maintenance alarm 2011/8/8 03:28:15, sleep 2011/8/8 01:40:32

08/08/11 05.28.16,000 kernel: /drv/ MacModule.cpp:261   powerStateWillChangeTo: flags=82 stateNumber=3

08/08/11 05.28.16,000 kernel: /drv/ MacModule.cpp:262   powerStateWillChangeTo: found flag=kIOPMPowerOn (2)

08/08/11 05.28.16,000 kernel: /drv/ MacModule.cpp:267   powerStateWillChangeTo: found flag=kIOPMRestartCapability (80)

08/08/11 05.28.16,000 kernel: /drv/ MacModule.cpp:261   powerStateDidChangeTo: flags=82 stateNumber=3

08/08/11 05.28.16,000 kernel: /drv/ MacModule.cpp:262   powerStateDidChangeTo: found flag=kIOPMPowerOn (2)

08/08/11 05.28.16,000 kernel: /drv/ MacModule.cpp:267   powerStateDidChangeTo: found flag=kIOPMRestartCapability (80)

08/08/11 05.28.16,000 kernel: Previous Sleep Cause: 5


What can the reason for this?

 

Next we have the GIGE (Network) event. What can be the reason for this?

 

Here is the Console log for this time period:

08/08/11 07.40.00,001 SyncServer: [0x10bb16cc0] |SyncServer|Warning| Refreshing watchdog because of a calendar time change alert.

08/08/11 07.40.00,018 com.apple.usbmuxd: DeviceRequestAsync failed: 0xe0004057

08/08/11 07.40.00,018 com.apple.usbmuxd: HandleUSBMuxDictionary client 0x101e00810-iTunes/com.apple.iTunes using library usbmuxd-211 built on May 16 2011 at 00:10:01, running usbmuxd-211 built on May 16 2011 at 00:14:56

08/08/11 07.40.00,018 com.apple.usbmuxd: WriteAsyncInternal USB write error on 0x1-b2aca61c617225abd3a1ff4b8a0e917871bcc5b5@0xfd140000: 0xe0004057

08/08/11 07.40.00,018 com.apple.usbmuxd: MuxInterfaceSend send failed on 0x1-b2aca61c617225abd3a1ff4b8a0e917871bcc5b5@0xfd140000: 0xe0004057

08/08/11 07.40.00,018 com.apple.usbmuxd: HandleUSBMuxConnect Client 0x101e00810-iTunes/com.apple.iTunes MuxTCPInitiateConnect failed

08/08/11 07.40.00,019 iTunes: _connect_to_port (thread 0x10d9c6000): Could not connect to USB mux port 32498 for device 1: Unknown error: -1

08/08/11 07.40.00,019 iTunes: _MobileDeviceConnect_locked (thread 0x10d9c6000): Could not connect to lockdown port on device b2aca61c617225abd3a1ff4b8a0e917871bcc5b5.

08/08/11 07.40.00,000 kernel: Wake reason: GIGE (Network)

08/08/11 07.40.00,000 kernel: /drv/ MacModule.cpp:261   powerStateWillChangeTo: flags=82 stateNumber=3

08/08/11 07.40.00,000 kernel: /drv/ MacModule.cpp:262   powerStateWillChangeTo: found flag=kIOPMPowerOn (2)

08/08/11 07.40.00,000 kernel: /drv/ MacModule.cpp:267   powerStateWillChangeTo: found flag=kIOPMRestartCapability (80)

08/08/11 07.40.00,000 kernel: /drv/ MacModule.cpp:261   powerStateDidChangeTo: flags=82 stateNumber=3

08/08/11 07.40.00,000 kernel: /drv/ MacModule.cpp:262   powerStateDidChangeTo: found flag=kIOPMPowerOn (2)

08/08/11 07.40.00,000 kernel: /drv/ MacModule.cpp:267   powerStateDidChangeTo: found flag=kIOPMRestartCapability (80)

08/08/11 07.40.00,000 kernel: Previous Sleep Cause: 5

08/08/11 07.40.00,000 kernel: Ethernet [AppleBCM5701Ethernet]: Wake reason GIGE - bonjour - service connect

08/08/11 07.40.00,388 KernelEventAgent: tid 00000000 received event(s) VQ_NOTRESP (1)

08/08/11 07.40.00,388 KernelEventAgent: tid 00000000 type 'afpfs', mounted on '/Volumes/Dennis Madsen's Time Capsul', from 'afp_0XfQ4S131Qi200m5k50Pyetl-1.2e000003', not responding

08/08/11 07.40.00,389 KernelEventAgent: tid 00000000 found 1 filesystem(s) with problem(s)

08/08/11 07.40.00,000 kernel: ASP_TCP Disconnect: triggering reconnect by bumping reconnTrigger from curr value 8 on so 0xffffff80205ff8e0

08/08/11 07.40.00,000 kernel: AppleUSBEthernetHost::powerStateChangeOccurred: intf is not enabled, ignoring ...  st: 4

08/08/11 07.40.00,000 kernel: AFP_VFS afpfs_DoReconnect started /Volumes/Dennis Madsen's Time Capsul prevTrigger 8 currTrigger 9

08/08/11 07.40.00,000 kernel: AFP_VFS afpfs_DoReconnect:  doing reconnect on /Volumes/Dennis Madsen's Time Capsul

08/08/11 07.40.00,000 kernel: AFP_VFS afpfs_DoReconnect:  posting to KEA EINPROGRESS for /Volumes/Dennis Madsen's Time Capsul

08/08/11 07.40.00,000 kernel: AFP_VFS afpfs_DoReconnect:  Max reconnect time: 30 secs, Connect timeout: 15 secs for /Volumes/Dennis Madsen's Time Capsul

08/08/11 07.40.00,000 kernel: AFP_VFS afpfs_DoReconnect:  connect to the server /Volumes/Dennis Madsen's Time Capsul

08/08/11 07.40.00,000 kernel: AFP_VFS afpfs_DoReconnect:  connect on /Volumes/Dennis Madsen's Time Capsul failed 65.

08/08/11 07.40.00,000 kernel: AFP_VFS afpfs_DoReconnect:  sleep for 1 seconds and then try again

08/08/11 07.40.00,000 kernel: EIR is supported.

08/08/11 07.40.00,000 kernel: SSP is supported.

08/08/11 07.40.00,000 kernel: AppleBCM5701::selectMedium - autoselect, any duplex, EEE allowed, flow control allowed

08/08/11 07.40.00,000 kernel: Ethernet [AppleBCM5701Ethernet]: Link down on en0

08/08/11 07.40.00,700 configd: network configuration changed.

08/08/11 07.40.01,000 kernel: IOThunderboltSwitch::i2cWriteDWord - status = 0x00000000

08/08/11 07.40.01,000 kernel: IOThunderboltSwitch::i2cWriteDWord - status = 0x00000000

08/08/11 07.40.01,000 kernel: IOThunderboltSwitch::i2cWriteDWord - status = 0xe00002ed

08/08/11 07.40.01,000 kernel: IOThunderboltSwitch::i2cWriteDWord - status = 0xe00002ed

08/08/11 07.40.01,000 kernel: [SendHCIRequestFormatted] ### ERROR: [0x0804] (Exit Sniff Mode) -- Send request failed (err = 0x000C (kBluetoothHCIErrorCommandDisallowed))

08/08/11 07.40.01,000 kernel: ### ERROR: Exit sniff failed (probably already unsniffed) (err=c)

08/08/11 07.40.02,170 ntpd: bind(27) AF_INET6 fe80::cc08:e0ff:fea2:3c92%11#123 flags 0x11 failed: Can't assign requested address

08/08/11 07.40.02,170 ntpd: unable to create socket on en3 (59) for fe80::cc08:e0ff:fea2:3c92#123

08/08/11 07.40.02,000 kernel: AFP_VFS afpfs_DoReconnect:  connect to the server /Volumes/Dennis Madsen's Time Capsul

08/08/11 07.40.02,000 kernel: Ethernet [AppleBCM5701Ethernet]: Link up on en0, 100-Megabit, Full-duplex, Symmetric flow-control, Debug [796d,2300,0de1,0300,45e1,0000]

08/08/11 07.40.04,170 ntpd: bind(26) AF_INET6 fe80::ca2a:14ff:fe29:2ec7%4#123 flags 0x11 failed: Can't assign requested address

08/08/11 07.40.04,170 ntpd: unable to create socket on en0 (61) for fe80::ca2a:14ff:fe29:2ec7#123

08/08/11 07.40.04,394 UserEventAgent: ServermgrdRegistration cannot load config data

08/08/11 07.40.04,394 UserEventAgent: ServermgrdRegistration oldConfig is nil during net changed notification

08/08/11 07.40.05,000 kernel: utun_ctl_connect: creating interface utun0

08/08/11 07.40.05,333 awacsd: RouteDiscovery: sendmsg error: Can't assign requested address

08/08/11 07.40.07,000 kernel: Graphics suppressed 7348 ms

08/08/11 07.40.07,353 configd: network configuration changed.

08/08/11 07.40.07,364 mDNSResponder: setsockopt - IP_ADD_MEMBERSHIP error -1 errno 49 (Can't assign requested address) group 224.0.0.251 on 192.168.0.20

08/08/11 07.40.07,531 configd: network configuration changed.

08/08/11 07.40.08,534 configd: network configuration changed.

08/08/11 07.40.08,540 mDNSResponder: mDNS_RegisterInterface: Frequent transitions for interface en3 (172.20.10.2)

08/08/11 07.40.11,000 kernel: utun_ctl_connect: creating interface utun0

08/08/11 07.40.11,000 kernel: utun0: attached with 0 suspended link-layer multicast membership(s)

08/08/11 07.40.12,423 awacsd: RouteDiscovery: sendmsg error: Can't assign requested address

08/08/11 07.40.16,741 KernelEventAgent: tid 00000000 received event(s) VQ_NOTRESP (1)

08/08/11 07.40.17,000 kernel: AFP_VFS afpfs_DoReconnect:  connect on /Volumes/Dennis Madsen's Time Capsul failed 60.

08/08/11 07.40.17,000 kernel: AFP_VFS afpfs_DoReconnect:  connect to the server /Volumes/Dennis Madsen's Time Capsul

08/08/11 07.40.17,000 kernel: AFP_VFS afpfs_DoReconnect:  Logging in with uam 10 /Volumes/Dennis Madsen's Time Capsul

08/08/11 07.40.17,000 kernel: AFP_VFS afpfs_DoReconnect:  Restoring session /Volumes/Dennis Madsen's Time Capsul

08/08/11 07.40.17,000 kernel: AFP_VFS afpfs_DoReconnect:  get the reconnect token

08/08/11 07.40.19,785 UserEventAgent: ServermgrdRegistration cannot load config data

08/08/11 07.40.19,785 UserEventAgent: ServermgrdRegistration oldConfig is nil during net changed notification


iMac, Mac OS X (10.6.7), 27", 3.4 GHz i7
  • 1. Re: Wake reason: RTC (Alarm) And GIGE (Network)
    Daniel Mameso Level 1 Level 1 (0 points)

    Hi,

     

    Same here with a fresh MACmini with already installed lion system.

     

    It wakes up automaticly.

     

    But the Konsole says RPC - not Network here.

     

    The File "com.apple.AutoWake.plist" in /Library/Preferences/SystemConfiguration dows not exist.

     

    No Wake Up Times defined in "System Configuration/Energy / Time..."

     

    Konsole says:

     

    02.11.11 19:51:41,824 configd: setting hostname to "Georgs-Mac-mini.local"

    02.11.11 21:39:35,000 kernel: Wake reason: RTC (Alarm)

    02.11.11 21:39:35,000 kernel: RTC: maintenance alarm 2011/11/2 20:39:35, sleep 2011/11/2 18:51:42

    02.11.11 21:39:35,000 kernel: Previous Sleep Cause: 5

    02.11.11 21:39:35,000 kernel: USBF: 80950.254 AppleUSBEHCI[0xffffff8013b4c000]::DoControlTransfer sync request on workloop thread.  Use async!

    02.11.11 21:39:35,000 kernel: USBF: 80950.262 AppleUSBEHCI[0xffffff8013b4c000]::DoControlTransfer sync request on workloop thread.  Use async!

    02.11.11 21:39:35,000 kernel: wlEvent: en1 en1 Link DOWN

    02.11.11 21:39:35,000 kernel: AirPort: Link Down on en1. Reason 4 (Disassociated due to inactivity).

    02.11.11 21:39:37,000 kernel: EIR is supported.

    02.11.11 21:39:37,000 kernel: SSP is supported.

    02.11.11 21:39:37,000 kernel: AppleBCM5701::selectMedium - autoselect, any duplex, EEE allowed, flow control allowed

    02.11.11 21:39:37,000 kernel: Ethernet [AppleBCM5701Ethernet]: Link down on en0

    02.11.11 21:39:37,000 kernel: Graphics suppressed 2560 ms

    02.11.11 21:39:37,569 applepushserviced: <APSCourier: 0x7fb05a80b770>: Stream error occurred for <APSTCPStream: 0x7fb05a841d20>: The operation couldn’t be completed. Socket is not connected

    02.11.11 21:39:37,570 configd: network configuration changed.

    02.11.11 21:39:38,593 configd: setting hostname to "georgs-mac-mini.fritz.box"

    02.11.11 21:39:38,000 kernel: MacAuthEvent en1   Auth result for: 00:1e:52:7a:3c:73  MAC AUTH succeeded

    02.11.11 21:39:38,000 kernel: wlEvent: en1 en1 Link UP

     

     

     

    Whats wrong here ? Where can i look for the problem/alarm ?

     

    Its no TV software like eyetv installed.

     

    Please help !

  • 2. Re: Wake reason: RTC (Alarm) And GIGE (Network)
    BDD Level 1 Level 1 (0 points)

    I had the very same problem.

     

    The solution was very hard to find but very easy to implement.

     

    To permanently fix the

     

    Wake reason: RTC (Alarm)

     

    just go to System Preferences > Energy Saver > and uncheck the Wake for network access checkbox.

     

    Source of the fix with more explanation:

     

    http://www.nxhelp.com/2011/11/macos-10-7-wake-reason-rtc-alarm/

     

    Hope it will help.

  • 3. Re: Wake reason: RTC (Alarm) And GIGE (Network)
    Alias_alas Level 1 Level 1 (0 points)

    Thanks for the info.

     

    FYI, that link is dead.