Same problem here
10.10.3 — iMac (12,2) which has an external Lacie TB drive connected that works as startup-disk.
So disconnecting the TB disk is no option…
I'm also connected with AFP to my server (MacMini with Mavericks)
The issue happens randomly — sometimes it wakes, sometimes it doesn't.
Connecting from another mac with screensharing doesn't work either (although the iMac can be mounted as a network share)
Energy preferences: Wake from network: enabled & Harddrive sleep disabled.
I'll try disconnecting my server (Console gives me errors on connecting to the MacMini server)
other Console messages that appear right after "wake":
2/06/15 10:58:30,000 kernel[0]: Wake reason: EHC2
2/06/15 10:58:30,000 kernel[0]: Previous sleep cause: 5
2/06/15 10:58:30,000 kernel[0]: The USB device HubDevice (Port 1 of Hub at 0xfa000000) may have caused a wake by issuing a remote wakeup (2)
2/06/15 10:58:30,000 kernel[0]: 29488.270943: setDISASSOC from ATH_INTERFACE_CLASS disconnectVap
2/06/15 10:58:30,000 kernel[0]: 29488.270955: switchVap from 1 to 1
2/06/15 10:58:30,006 discoveryd[71]: Basic DNSResolver UDNSServer:: PowerState is DarkWake
2/06/15 10:58:30,000 kernel[0]: The USB device Keyboard Hub (Port 2 of Hub at 0xfa100000) may have caused a wake by issuing a remote wakeup (3)
2/06/15 10:58:30,000 kernel[0]: The USB device Apple Keyboard (Port 2 of Hub at 0xfa120000) may have caused a wake by issuing a remote wakeup (3)
2/06/15 10:58:30,000 kernel[0]: full wake promotion (reason 1) 108 ms
2/06/15 10:58:30,108 watchdogd[227]: [watchdog_daemon] @( pm_callback) - ref=0x0 msg_type=0xe0000320 msg=0x0
2/06/15 10:58:30,000 kernel[0]: TBT W (1): 5 [x]
2/06/15 10:58:30,308 discoveryd[71]: Basic Bonjour,Warn Warning: IPv4 listener multicast send failed en0, 50
2/06/15 10:58:30,308 discoveryd[71]: Basic Bonjour,Warn Warning: IPv6 listener multicast send failed en0, 50
2/06/15 10:58:30,308 discoveryd[71]: Basic Bonjour,Warn Warning: IPv4 listener multicast send failed en0, 50
2/06/15 10:58:30,308 discoveryd[71]: Basic Bonjour,Warn Warning: IPv6 listener multicast send failed en0, 50
2/06/15 10:58:30,000 kernel[0]: IOThunderboltSwitch(0x0)::listenerCallback - Thunderbolt HPD packet for route = 0x0 port = 1 unplug = 0
2/06/15 10:58:30,630 discoveryd[71]: Basic Bonjour,Warn Warning: IPv4 listener multicast send failed en0, 50
2/06/15 10:58:30,630 discoveryd[71]: Basic Bonjour,Warn Warning: IPv6 listener multicast send failed en0, 50
2/06/15 10:58:30,000 kernel[0]: AppleThunderboltGenericHAL::earlyWake - complete - took 870 milliseconds
2/06/15 10:58:30,000 kernel[0]: [ PCI configuration begin ]
2/06/15 10:58:30,000 kernel[0]: [ PCI configuration end, bridges 14, devices 18 ]
2/06/15 10:58:30,905 com.apple.xpc.launchd[1]: assertion failed: 14D136: launchd + 163781 [7F885D63-B284-3471-B6E3-172489232C37]: 0xe
2/06/15 10:58:30,908 com.apple.xpc.launchd[1]: assertion failed: 14D136: launchd + 163781 [7F885D63-B284-3471-B6E3-172489232C37]: 0xe
2/06/15 10:58:30,921 com.apple.xpc.launchd[1]: (com.apple.bsd.dirhelper[1561]) Endpoint has been activated through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): com.apple.bsd.dirhelper
2/06/15 10:58:33,000 kernel[0]: Ethernet [AppleBCM5701Ethernet]: Link up on en0, 1-Gigabit, Full-duplex, Symmetric flow-control, Debug [796d,2301,0de1,0300,cde1,3c00]
2/06/15 10:58:33,880 configd[47]: LINKLOCAL en0: parent has no IP
2/06/15 10:58:33,885 networkd[171]: +[NETLedBelly stopFastFail] Clearing ledbelly failure cache
2/06/15 10:58:33,886 configd[47]: network changed: v4(en0-:192.168.1.10) DNS- Proxy-
2/06/15 10:58:33,886 discoveryd[71]: Basic WABServer NetResolverEvent no resolvers, resetting domains
2/06/15 10:58:34,176 discoveryd[71]: Basic Warn DD_Warn: Corrupt NSEC RDATA size
2/06/15 10:58:36,226 netbiosd[221]: network_reachability_changed : network is not reachable, netbiosd is shutting down
2/06/15 10:58:36,000 kernel[0]: ASP_TCP Disconnect: triggering reconnect by bumping reconnTrigger from curr value 0 on so 0xffffff803b42a000
2/06/15 10:58:37,000 kernel[0]: AFP_VFS afpfs_DoReconnect: doing reconnect on /Volumes/macMiniServer
2/06/15 10:58:37,000 kernel[0]: AFP_VFS afpfs_DoReconnect: posting to KEA EINPROGRESS for /Volumes/macMiniServer
2/06/15 10:58:37,000 kernel[0]: AFP_VFS afpfs_DoReconnect: Max reconnect time: 30 secs, Connect timeout: 15 secs for /Volumes/macMiniServer
2/06/15 10:58:37,000 kernel[0]: AFP_VFS afpfs_DoReconnect: connect to the server /Volumes/macMiniServer
2/06/15 10:58:37,000 kernel[0]: AFP_VFS afpfs_DoReconnect: connect on /Volumes/macMiniServer failed 51.
2/06/15 10:58:37,000 kernel[0]: AFP_VFS afpfs_DoReconnect: sleep for 1 seconds and then try again
2/06/15 10:58:37,053 KernelEventAgent[90]: tid 54485244 received event(s) VQ_NOTRESP (1)
2/06/15 10:58:37,053 KernelEventAgent[90]: tid 54485244 type 'afpfs', mounted on '/Volumes/macMiniServer', from '//benjamin@BoltMiniServer._afpovertcp._tcp.local/G5', not responding
2/06/15 10:58:37,053 KernelEventAgent[90]: tid 54485244 found 1 filesystem(s) with problem(s)
2/06/15 10:58:37,402 networkd[171]: +[NETLedBelly stopFastFail] Clearing ledbelly failure cache
2/06/15 10:58:37,405 configd[47]: network changed: v4(en0+:192.168.1.10) DNS+ Proxy+ SMB
2/06/15 10:58:37,466 systemstats[1564]: assertion failed: 14D136: systemstats + 203347 [D89D29E6-48FC-3DB4-8BA5-AA5141DD16E7]: 0x40
2/06/15 10:58:37,466 systemstats[1564]: invokeSpindump: failed with exit code 64 running `/usr/sbin/spindump (
"-system_stats",
"-microstackshots_starttime",
1432891774,
"-microstackshots_endtime",
1432936800,
"-system_stats_signature",
"com.apple.SystemStats.Daily"
)`
2/06/15 10:58:38,000 kernel[0]: AFP_VFS afpfs_DoReconnect: connect to the server /Volumes/macMiniServer
2/06/15 10:58:38,000 kernel[0]: AFP_VFS afpfs_DoReconnect: Logging in with uam 10 /Volumes/macMiniServer
2/06/15 10:58:38,000 kernel[0]: AFP_VFS afpfs_DoReconnect: Restoring session /Volumes/macMiniServer
2/06/15 10:58:38,062 KernelEventAgent[90]: tid 54485244 received event(s) VQ_NOTRESP (1)
2/06/15 10:58:38,000 kernel[0]: ASP_TCP ReplayPendingReqs: replaying slot 20 with reqID 51215 afpCmd 26 on so 0xffffff803b42a000
2/06/15 10:58:38,000 kernel[0]: ASP_TCP ReplayPendingReqs: replaying slot 21 with reqID 51216 afpCmd 69 on so 0xffffff803b42a000
2/06/15 10:58:38,000 kernel[0]: ASP_TCP ReplayPendingReqs: replaying slot 22 with reqID 51217 afpCmd 34 on so 0xffffff803b42a000
2/06/15 10:58:38,000 kernel[0]: ASP_TCP ReplayPendingReqs: replaying slot 23 with reqID 51218 afpCmd 34 on so 0xffffff803b42a000
2/06/15 10:58:38,000 kernel[0]: AFP_VFS afpfs_DoReconnect: get the reconnect token
2/06/15 10:58:38,062 KernelEventAgent[90]: tid 54485244 found 1 filesystem(s) with problem(s)
2/06/15 10:58:41,947 mds[54]: ERROR: _MDSChannelAFPRequest: AFPSendSpotLightRPC failed -1
2/06/15 10:58:41,947 mds[54]: (Message.Error:142) MDSChannel RPC failure (fetchAllAttributes:forOIDArray:context:)
2/06/15 10:58:41,947 mds[54]: (Store.Error:273) {channel:0x7f8644c2dcd0 localPath:'/Volumes/macMiniServer'} MDSChannel failed -- initiating recovery
2/06/15 10:58:52,021 mds[54]: (Server.Error:221) Failed to register path "/Volumes/macMiniServer" to store {storeID:0x6b000040 registered:YES private:NO age:8h07m09s uuid:C8F9F794-641C-4A9B-AC96-E3C5B837383B}
2/06/15 10:59:16,481 configd[47]: [0x7fc245025eb0] [m]DNS query timeout (query time = 35.070742), [46TE]
2/06/15 10:59:23,232 digest-service[1596]: label: default
2/06/15 10:59:23,232 digest-service[1596]: dbname: od:/Local/Default
2/06/15 10:59:23,232 digest-service[1596]: mkey_file: /var/db/krb5kdc/m-key
2/06/15 10:59:23,232 digest-service[1596]: acl_file: /var/db/krb5kdc/kadmind.acl
2/06/15 10:59:23,256 digest-service[1596]: digest-request: uid=0
2/06/15 10:59:23,276 digest-service[1596]: digest-request: netr probe 0
2/06/15 10:59:23,277 digest-service[1596]: digest-request: init request
2/06/15 10:59:23,281 digest-service[1596]: digest-request: init return domain: MYIMAC server: MYIMAC indomain was: 2/06/15 10:59:23,290 digest-service[1596]: digest-request: uid=0
2/06/15 10:59:23,290 digest-service[1596]: digest-request: init request
2/06/15 10:59:23,294 digest-service[1596]: digest-request: init return domain: MYIMAC server: MYIMAC indomain was: 2/06/15 10:59:26,718 com.apple.xpc.launchd[1]: (com.apple.screensharing[1598]) Endpoint has been activated through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): com.apple.screensharing.server
2/06/15 10:59:28,844 digest-service[1596]: digest-request: uid=0
2/06/15 10:59:28,844 digest-service[1596]: digest-request: init request
2/06/15 10:59:28,847 digest-service[1596]: digest-request: init return domain: MYIMAC server: MYIMAC indomain was: 2/06/15 10:59:28,859 digest-service[1596]: digest-request: uid=0
2/06/15 10:59:28,859 digest-service[1596]: digest-request: init request
2/06/15 10:59:28,863 digest-service[1596]: digest-request: init return domain: MYIMAC server: MYIMAC indomain was: 2/06/15 10:59:28,866 digest-service[1596]: digest-request: uid=0
2/06/15 10:59:28,868 digest-service[1596]: digest-request: od failed with 2 proto=ntlmv2
2/06/15 10:59:28,868 digest-service[1596]: digest-request: user=\GUEST
2/06/15 10:59:28,875 digest-service[1596]: digest-request: kdc failed with -1765328234 proto=unknown
2/06/15 10:59:28,875 digest-service[1596]: digest-request guest: ok user=MYIMAC\GUEST proto=ntlmv2 flags: NEG_KEYEX, ENC_128, NEG_VERSION, NEG_TARGET_INFO, NEG_NTLM2, NEG_NTLM, NEG_TARGET, NEG_UNICODE
2/06/15 10:59:51,565 configd[47]: [0x7fc24350e0d0] [m]DNS query timeout (query time = 35.072554), [46TE]