怪异的行为,在夜间,Mac每小时都会自己唤醒,这样做是-附加日志,知道为什么吗?


4

这种模式每小时重复一次?

12/12/2014 04:20:59.000 kernel[0]: Wake reason: RTC (Alarm)
12/12/2014 04:20:59.000 kernel[0]: RTC: SleepService 2014/12/12 04:20:59, sleep 2014/12/12 03:21:01
12/12/2014 04:20:59.000 kernel[0]: AppleCamIn::systemWakeCall - messageType = 0xE0000340
12/12/2014 04:20:59.000 kernel[0]: AppleCamIn::wakeEventHandlerThread
12/12/2014 04:20:59.000 kernel[0]: Previous Sleep Cause: 5
12/12/2014 04:20:59.000 kernel[0]: AppleHSSPIController::HandleMessage Device Wake by Host
12/12/2014 04:20:59.000 kernel[0]: AppleThunderboltNHI::prePCIWake - power up complete - took 180846 us
12/12/2014 04:20:59.000 kernel[0]: AppleThunderboltHAL::earlyWake - complete - took 1 milliseconds
12/12/2014 04:20:59.258 hidd[70]: MultitouchHID: device bootloaded
12/12/2014 04:20:59.000 kernel[0]: Thunderbolt Self-Reset Count = 0xedefbe00
12/12/2014 04:20:59.000 kernel[0]: IOThunderboltSwitch<0xffffff8028fed800>(0x0)::listenerCallback - Thunderbolt HPD packet for route = 0x0 port = 11 unplug = 0
12/12/2014 04:20:59.000 kernel[0]: TBT W (2): 0x0100 [x]
12/12/2014 04:20:59.000 kernel[0]: IOThunderboltSwitch<0xffffff8028fed800>(0x0)::listenerCallback - Thunderbolt HPD packet for route = 0x0 port = 12 unplug = 0
12/12/2014 04:20:59.000 kernel[0]: ARPT: 91334.258121: si_survive_perst_war: bar0win before 18003000, bar0win after 18001000
12/12/2014 04:20:59.000 kernel[0]: ARPT: 91334.261266: pcicore_pci_pmeclr PMECSR : 0x4008
12/12/2014 04:20:59.000 kernel[0]: ARPT: 91334.261275: pcicore_pmestatclr PMECSR : 0x4008
12/12/2014 04:20:59.000 kernel[0]: ARPT: 91334.261378: pcicore_pci_pmeclr PMECSR : 0x4008
12/12/2014 04:20:59.000 kernel[0]: en0: BSSID changed to 60:33:4b:e1:53:1c
12/12/2014 04:20:59.000 kernel[0]: ARPT: 91334.507572: AirPort_Brcm43xx::powerChange: System Wake - Full Wake/ Dark Wake / Maintenance wake
12/12/2014 04:20:59.000 kernel[0]: AppleCamIn::systemWakeCall - messageType = 0xE0000340
12/12/2014 04:20:59.000 kernel[0]: AppleCamIn::wakeEventHandlerThread
12/12/2014 04:20:59.662 airportd[84]: _doAutoJoin: Already associated to “Airport - TC1TB (5 GHz)”. Bailing on auto-join.
12/12/2014 04:21:01.049 ntpd[44]: ntpd: wake time set +0.310571 s
12/12/2014 04:21:01.070 com.apple.time[164]: Interval maximum value is 946100000 seconds (specified value: 9223372036854775807).
12/12/2014 04:21:01.076 com.apple.time[164]: Interval maximum value is 946100000 seconds (specified value: 9223372036854775807).
12/12/2014 04:21:04.000 kernel[0]: AppleCamIn::handleWakeEvent_gated
12/12/2014 04:21:04.000 kernel[0]: AppleCamIn::handleWakeEvent_gated
12/12/2014 04:21:46.223 ntpd[44]: ntpd: wake time set -0.148252 s
12/12/2014 04:21:46.241 com.apple.time[164]: Interval maximum value is 946100000 seconds (specified value: 9223372036854775807).
12/12/2014 04:21:46.247 com.apple.time[164]: Interval maximum value is 946100000 seconds (specified value: 9223372036854775807).
12/12/2014 04:21:46.000 kernel[0]: ARPT: 91381.078880: AirPort_Brcm43xx::powerChange: System Sleep 
12/12/2014 04:21:46.000 kernel[0]: ARPT: 91381.078889: wl0: powerChange: *** BONJOUR/MDNS OFFLOADS ARE NOT RUNNING.
12/12/2014 04:21:46.000 kernel[0]: AppleCamIn::systemWakeCall - messageType = 0xE0000340
12/12/2014 04:21:46.000 kernel[0]: ARPT: 91381.566519: scanparams:
12/12/2014 04:21:46.000 kernel[0]: ARPT: 91381.566524: flags 0
12/12/2014 04:21:46.000 kernel[0]: ARPT: 91381.566526: active_time 0, passive_time 0
12/12/2014 04:21:46.000 kernel[0]: ARPT: 91381.566528: scan_start_delay 0
12/12/2014 04:21:46.000 kernel[0]: ARPT: 91381.566530: scan_cycle_idle_rest_time 0, scan_cycle_idle_rest_time_multiplier 0
12/12/2014 04:21:46.000 kernel[0]: ARPT: 91381.566533: max_scan_cycles 0, max_rest_time 0
12/12/2014 04:21:46.000 kernel[0]: ARPT: 91381.566535: Scan Channels (0): None
12/12/2014 04:21:46.000 kernel[0]: ARPT: 91381.566537: SSID (0): None
12/12/2014 04:21:46.000 kernel[0]: ARPT: 91381.566539: SSID count = 0
12/12/2014 04:21:46.000 kernel[0]: ARPT: 91381.566541: wl0: leaveModulePoweredForOffloads: Wi-Fi will stay on.
12/12/2014 04:21:46.000 kernel[0]: AppleThunderboltNHI::prePCIWake - power up complete - took 1337 us
12/12/2014 04:21:46.000 kernel[0]: AppleThunderboltHAL::earlyWake - complete - took 0 milliseconds
12/12/2014 04:21:46.000 kernel[0]: Thunderbolt Self-Reset Count = 0xedefbe00
12/12/2014 04:21:47.000 kernel[0]: AppleCamIn::systemWakeCall - messageType = 0xE0000340
12/12/2014 04:21:47.000 kernel[0]: AppleThunderboltNHIType2::waitForOk2Go2Sx - retries = 2

Answers:


5

我认为这可能是您的Bonjour Sleep Proxy唤醒了您的Mac,看它是否还活着。拿其中两个,早上给我打电话:

http://support.apple.com/en-ca/HT201960

还要检查一下:

http://ispire.me/fix-yosemite-rtc-alarm-wakeup-issue/


哈哈谢谢。好的,我想可能是这样。不确定如何验证。一个朋友用湿手拿起我的笔记本电脑,我想可能是将Thunderbolt端口弄湿了,从而引起了这种现象!
伍德斯托克2014年

怀疑两者没有关系。通常,BSP需要安装一个支持Apple的路由器,才可以做到这一点。您使用什么路由器?这是某种AirPort吗?我应该在第一篇文章中问过这个问题
Maury Markowitz 2014年

是的,我使用时间胶囊!-这是否意味着这很正常?
伍德斯托克

是。而且它也总是让我感到震惊,尤其是在我的旧Mac Pro上,您可以在整个房子里听到。:-)基本上,如果您打开了任何类型的共享,则当您的计算机进入睡眠状态时,它会向TC发送一条消息,让TC假装成您的计算机。然后,当任何人想要与您的计算机通话时,TC会截取消息,说“请稍等”,唤醒您的计算机并放开手。为了保持其正常工作,TC会定期唤醒计算机以重新读取服务列表。这就是问题所在-除了开/关之外,您无法控制此过程。
Maury Markowitz 2014年

2

通常,Mac会醒来做一些家务,包括检查电子邮件。但是,这不是“完全唤醒”,因为屏幕不亮,未安装外部驱动器等。

我的iMac每小时执行一次此操作,但屏幕不亮。


1
你有像我这样的日志条目吗?
伍德斯托克2014年

2

莫里(Maury)可能是正确的,因为BSP正在休眠时正在唤醒Mac。

此日志行表明你似乎连接到苹果TimeCapsule机场WIFI网络:

12/12/2014 04:20:59.662 airportd[84]: _doAutoJoin: Already associated to “Airport - TC1TB (5 GHz)”. Bailing on auto-join.

此行表明您的Mac 可能由于网络上的Bonjour / MDNS而醒来:

12/12/2014 04:21:46.000 kernel[0]: ARPT: 91381.078889: wl0: powerChange: *** BONJOUR/MDNS OFFLOADS ARE NOT RUNNING.

此行表明您的Mac 在“ 系统偏好设置”的“ 节能器”面板中启用了Wake for Wi-Fi网络访问

 12/12/2014 04:21:46.000 kernel[0]: ARPT: 91381.566541: wl0: leaveModulePoweredForOffloads: Wi-Fi will stay on.

上面的行表示您的Mac处于睡眠状态时,它将启用Wi-Fi。

Maury提供的两个链接具有有效的信息和解决方案,但需要一些解释:

  • Apple支持文章介绍了“按需唤醒”Bonjour Sleep Proxy,但未明确说明如何禁用这些功能:

    • 通过取消选中“ 唤醒Wi-Fi网络访问”并在“ 节能器系统偏好设置”面板中插入电源适配器启用“启用Nap”来禁用这些功能
    • 如果您在睡眠状态下没有Mac提供以下服务,则可以禁用以下功能:
      • iTunes和iPhoto共享打印机共享返回我的Mac本地文件共享,屏幕共享,其他共享服务
    • 如果您正在使用这些功能,则可以使用TimeCapsule代替
  • 第二个链接提供了通过禁用发现的服务守护程序的多播来停用这些功能的说明,这似乎比在“ 节能器”面板中关闭这些设置要差一些。


0

我的样本大小不足以确保我能确定,但​​是...对于我来说,当Mac进入睡眠状态时,使Microsoft Excel保持打开状态似乎会导致这些奇怪的唤醒。我尝试了所有明显的选择。我正在查看系统日志,看到一些奇怪的MS条目。整夜退出Excel后,到目前为止还没有发现问题。

在更换硬件之前,我以前曾擦过磁盘作为最后的手段。好像一直以来都怪Excel!

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.