睡眠唤醒问题
maoxikun opened this issue · 18 comments
请问睡眠唤醒之后过一会会自动关机是什么原因啊。
软硬件环境描述一下,另外是否设置了 hibernatemode 和 proximitywake ?
设置一下 试试吧
睡眠确实还是有问题
正常睡正常醒,不确定是不是睡眠导致的关机,我先设置下试试。
可以在控制台里找下关机事件
刚把日志清了,等复现再看看。
可以在控制台里找下关机事件
又出现这个问题了,last|grep -E "reboot|shutdown"看到的是reboot不是关机(事实上是断电关机了),关机事件咋看啊,只看到系统日志
Aug 11 18:31:08 iMac syslogd[132]: ASL Sender Statistics
Aug 11 18:32:56 localhost bootlog[0]: BOOT_TIME 1660213976 0
Aug 11 18:32:57 localhost syslogd[132]: Configuration Notice:
ASL Module "com.apple.cdscheduler" claims selected messages.
Those messages may not appear in standard system log files or in the ASL database.
Aug 11 18:32:57 localhost syslogd[132]: Configuration Notice:
ASL Module "com.apple.install" claims selected messages.
Those messages may not appear in standard system log files or in the ASL database.
Aug 11 18:32:57 localhost syslogd[132]: Configuration Notice:
ASL Module "com.apple.authd" sharing output destination "/var/log/asl" with ASL Module "com.apple.asl".
Output parameters from ASL Module "com.apple.asl" override any specified in ASL Module "com.apple.authd".
Aug 11 18:32:57 localhost syslogd[132]: Configuration Notice:
ASL Module "com.apple.authd" sharing output destination "/var/log/system.log" with ASL Module "com.apple.asl".
Output parameters from ASL Module "com.apple.asl" override any specified in ASL Module "com.apple.authd".
Aug 11 18:32:57 localhost syslogd[132]: Configuration Notice:
ASL Module "com.apple.authd" claims selected messages.
Those messages may not appear in standard system log files or in the ASL database.
Aug 11 18:32:57 localhost syslogd[132]: Configuration Notice:
ASL Module "com.apple.eventmonitor" claims selected messages.
Those messages may not appear in standard system log files or in the ASL database.
Aug 11 18:32:57 localhost syslogd[132]: Configuration Notice:
ASL Module "com.apple.mail" claims selected messages.
Those messages may not appear in standard system log files or in the ASL database.
Aug 11 18:32:57 localhost syslogd[132]: Configuration Notice:
ASL Module "com.apple.performance" claims selected messages.
Those messages may not appear in standard system log files or in the ASL database.
Aug 11 18:32:57 localhost syslogd[132]: Configuration Notice:
ASL Module "com.apple.iokit.power" claims selected messages.
Those messages may not appear in standard system log files or in the ASL database.
Aug 11 18:32:57 localhost syslogd[132]: Configuration Notice:
ASL Module "com.apple.contacts.ContactsAutocomplete" claims selected messages.
Those messages may not appear in standard system log files or in the ASL database.
Aug 11 18:32:57 localhost syslogd[132]: Configuration Notice:
ASL Module "com.apple.mkb" sharing output destination "/private/var/log/keybagd.log" with ASL Module "com.apple.mkb.internal".
Output parameters from ASL Module "com.apple.mkb.internal" override any specified in ASL Module "com.apple.mkb".
Aug 11 18:32:57 localhost syslogd[132]: Configuration Notice:
ASL Module "com.apple.mkb" claims selected messages.
Those messages may not appear in standard system log files or in the ASL database.
Aug 11 18:32:57 localhost syslogd[132]: Configuration Notice:
ASL Module "com.apple.MessageTracer" claims selected messages.
Those messages may not appear in standard system log files or in the ASL database.
Aug 11 18:32:57 localhost Installer Progress[129]: Progress UI App Starting
Aug 11 18:32:57 localhost syslogd[132]: ASL Sender Statistics
再看看 崩溃报告里有没有那个时间点的崩溃信息
再看看 崩溃报告里有没有那个时间点的崩溃信息
没崩溃信息
你取下 关机的那段时间的日志 看看
没看到那时间的日志,目前开启了booter下两个quirks:DevirtualiseMmio和ProtectUefiServices,暂时没有出现睡眠唤醒关机的情况了。
测试了一下,虽然我不改没有出现类似的问题,但是改了应该会好点,已投到线上。