System sleep wake ������ mac os ��� ���������

Случайные перезагрузки с ошибкой «Sleep Wake Failure» на Mavericks

Когда я оставляю Mavericks OS X MacBookPro незанятым на некоторое время, очень часто он вылетает и перезагружается сам по себе. После перезагрузки появится диалоговое окно «Сообщить о проблеме», в котором сообщается, что «Сбой во время сна испытал проблему». В отчете о проблеме не отображается авария — только powerstats из запущенных программ. Вот начало отчета:

Эта проблема описана на различных дискуссионных форумах, но я не смог ее найти. Просто googling для «неудачного пробуждения сна» (даже без кавычек) превратит тонны соответствующих и неотвеченных потоков; тот же запрос здесь не возвращает никакого релевантного результата. Эти потоки также включают полные журналы, описания аппаратных средств и т. Д .; Я исключил информацию, которая кажется несвязанной (например, это, похоже, происходит независимо от конкретного оборудования).

У меня есть обходное решение, и я опубликую его как самостоятельный ответ, но мне бы хотелось, чтобы что-то лучше — заявление, которое проводит Apple, сделает меня намного счастливее.

Другим важным сообщением об ошибке, которое я получил, является в консоли «Перезапуск для сбора журналов отладки сна» (который, как представляется, поступает из IOKit в ядре, см. этот исходный файл ). Для того же краха, что и выше, мы видим, что компьютер просыпается по тревоге через два часа без каких-либо журналов, мало делает за 5-6 минут (возможно, пытается проснуться), а затем через шесть минут выйдет и перезагрузится.

2 ответа

Проблема заключается в том, что автоматическое пробуждение из состояния ожидания выходит из строя, возможно, из-за проблем, связанных с драйвером *. Мое обходное решение — просто отключить автоматические пробуждения — и даже автоматический сон. Поскольку для меня проблема возникает только в том случае, если вы оставите мой компьютер включенным и простаивающим в течение длительного времени, я могу отключить автоматический спящий режим только при подключении адаптера питания без снижения автономности.

Однако это увеличит потребление энергии и уменьшит время простоя — так что вы можете

Чтобы применить этот обходной путь:

  • перейти к Системные настройки -> Энергосбережение -> Адаптер питания .
  • установите флажок «Предотвращение автоматического отключения компьютера при отключении дисплея»
  • снимите флажки «Просыпаться для доступа к сети» и «Включить Power Nap при подключении к адаптеру питания» (я также отключил Power Nap при работе от батареи, на вкладке Battery , но я «Не уверен, что это было необходимо».

* Поэтому некоторые пользователи только воспроизводят проблему, когда некоторые периферийные устройства подключены. Но для одного пользователя это может быть Bluetooth, для другого — какой-то жесткий диск USB и т. д. — нет никакой возможности распознать шаблон, который может означать, что проблема связана с тем, что какой-либо драйвер имеет явно типичную ошибку драйвера.

Обновление: мой ноутбук — Retina MBP Late 2013, и я не уверен, насколько это обобщается для другого ноутбука (см. комментарии).

Обратитесь к pmset -g для настройки hibernatemode. На моем mac mini это было на 3 , что не подходит для настольных компьютеров. Изменив его на 0, проблема исчезла. Прочтите отличную страницу руководства для дальнейших ссылок и инструкций.

Источник

Если компьютер Mac не переходит в режим сна или не выходит из режима сна

Если компьютер Mac не переходит в режим сна тогда, когда нужно, или выходит из режима сна в непредсказуемый момент, попробуйте изменить параметры режима сна. Если это не помогло, возможно, какой-то процесс выводит компьютер Mac из режима сна.

Проверьте настройки режима сна. Убедитесь, что параметры режима сна соответствуют желаемым. Чтобы просмотреть настройки режима сна, выберите меню Apple

> «Системные настройки», затем выполните одно из следующих действий.

Если Вы используете настольный компьютер Mac. Нажмите «Экономия энергии». Чтобы установить время до перехода компьютера в режим сна, перетяните бегунки «Режим сна компьютера» и «Режим сна дисплея».

Если Вы используете ноутбук Mac. Нажмите «Аккумулятор», затем нажмите «Аккумулятор» или «Сетевой адаптер». Чтобы установить время до перехода компьютера в режим сна, перетяните бегунок «Выключить дисплей после». Также можно снять флажок «Отключить автопереход компьютера в режим сна при выключенном дисплее» в панели «Сетевой адаптер».

Проверьте настройки сетевого доступа. Другие пользователи могут выводить компьютер Mac из режима сна удаленно для доступа к его общим ресурсам. Если Вы этого не хотите, выберите меню Apple

> «Системные настройки», затем выполните одно из следующих действий.

Если Вы используете настольный компьютер Mac. Нажмите «Экономия энергии», затем снимите флажок «Выводить из режима сна для доступа к сети».

Если Вы используете ноутбук Mac. Нажмите «Аккумулятор», нажмите «Сетевой адаптер», затем снимите флажок «Выводить из режима сна для доступа к сети».

Проверьте настройки Bluetooth. Устройства Bluetooth могут выводить компьютер Mac из режима сна. Чтобы Bluetooth-клавиатура или мышь не выводили Mac из режима сна, выберите пункт меню «Apple»

> «Системные настройки» и нажмите «Bluetooth».

Нажмите «Дополнения» и снимите флажок «Разрешить устройствам Bluetooth выводить этот компьютер из режима сна».

Проверьте настройки общего доступа. Пользователи, которые обращаются к общим ресурсам и службам на компьютере Mac, могут помешать ему находиться в режиме сна. Например, они могут пользоваться принтером, подключенным к Вашему компьютеру Mac, или общими файлами, хранящимися на компьютере. Чтобы проверить правильность настроек общего доступа, выберите пункт меню «Apple»

Читайте также:  0x80070002 getfileversioninfosize c windows system32 user exe

> «Системные настройки» и нажмите «Общий доступ».

Выключите все ненужные службы, сняв флажки «Вкл.» рядом с ними.

Проверьте активность системы. Выполнение процессов в фоновом режиме может предотвратить переход Mac в режим сна. С помощью приложения «Мониторинг системы» посмотрите, нет ли процессов, которые используют центральный процессор Mac. Откройте окно Finder, затем перейдите в «Программы» > «Утилиты» > «Мониторинг системы». Нажмите кнопку «ЦП» в верхней части.

Проверьте, не является ли причиной выхода из режима сна какой-либо процесс или действие. Проверьте следующее.

Случайное нажатие клавиатуры, мыши или трекпада. Компьютер Mac может выходить из режима сна при нажатии клавиш на клавиатуре или кнопки на мыши или трекпаде. Если Ваш компьютер Mac в Ваше отсутствие выходит из режима сна, возможно, какой-то предмет давит на трекпад, клавиши клавиатуры или кнопку мыши.

Приложения. Препятствовать переходу компьютера Mac в режим сна могут приложения, которые обращаются к диску. Например, приложение «Музыка» обращается к диску для чтения воспроизводимых песен, а DVD-плеер обращается к оптическому дисководу для воспроизведения фильмов.

Индексация Spotlight. Если приложение «Spotlight» индексирует Ваш жесткий диск, Ваш компьютер Mac не перейдет в режим сна. Откройте Spotlight , чтобы посмотреть, не выполняется ли индексация. Индексирование может занять несколько часов в зависимости от количества файлов на Вашем компьютере Mac.

Подключенный накопитель и другие устройства. Препятствовать переходу компьютера Mac в режим сна могут неисправные накопители и устройства USB или Thunderbolt. Отключите эти устройства и проверьте, перейдет ли Ваш компьютер Mac в режим сна. Если он перейдет в режим сна, начните снова подключать устройства по очереди до тех пор, пока Вы не найдете неисправное. За подробной информацией обращайтесь к производителю устройства.

Источник

Question: Q: Sleep Wake Failure — Restarts (Big Sur)

Hi my iMac (Retina 5K, 27-inch, 2017)- has been experiencing significant issues it seems since Big Sur install. Often (multiple times a day) forcibly restarts after being left and going into sleep mode.

I tried to to reinstall Big Sur in recovery mode, but did not change the problem. Should I clear the library cache or something else?

Here is the log information I get after restart:

Posted on Jan 4, 2021 1:52 PM

Helpful answers

I’ve had this problem for about three months. I see that the 11.2 update for Big Sur is out, but I still don’t see any bug fixes for this in the release notes.

Dear Apple: being able to use our computers without constant kernel panics is a minimum expectation. Do you intend to make that a reality again anytime soon?

I have disabled every feature I can find which relies on the SMC in any way. Yet still, I get kernel panics almost daily. Something has to give.

Feb 1, 2021 2:39 PM

There’s more to the conversation

Loading page content

Page content loaded

I have been experiencing the exact same thing. I have done an SMC Reset, PRAM Reset, Reinstalled Software from Recovery, booted into safe mode, and unplugged everything that I have connected to my computer, (1 Thunderbolt Display, 2 LaCie Hard Drives, 1 Pair of Bose Speakers), cleared all my cache folders, and I still can’t figure it out. I’ve been trying to find the kernel panic online, but this is the first post that has the exact same panic that I have. My computer is a little older, and some things are a little different in the System Uptime Section, but almost everything else is the same.

I’m taking it to an authorized service provider tomorrow, so hopefully I can find out more info, and I’m praying it isn’t the hard drive.

Jan 5, 2021 6:48 PM

Yeah, I haven’t really found a solution yet either. I tried most of the steps you noted too — reset SMC, PRAM, reinstalled Mac OS Big Sur in recovery, etc. Even the reinstall did not change the problem. I finally decided to factory reset as a last case scenario, and it still seemed a little odd after restart (I had to forcibly shut it down several times before getting it to actually boot). I did manage to get the OS running again and tweaked my energy settings to not wake — but that is just a bandaid solution. I need my computer this month, so can’t afford to take it to Apple yet. I am interested to hear what you hear from your situation. Will keep you posted here too.

Jan 5, 2021 7:32 PM

Of course! I just tried using a brand new user on the computer to see if it was something I did in the settings, and that didn’t work either. What I’ve been doing lately is making sure that my music keeps playing when I walk away from my computer, so even if the display turns off, the computer doesn’t actually go to sleep. It’s not an actual fix, but I can at least walk away from my computer for a little bit and not worry about it restarting.

Источник

7 Ways to Fix Mac Sleep-Wake Failure Problems

Download and try Outbyte MacAries right now to see what it can do for your Mac.

Developed for macOS

It’s safe to say that nearly every Mac user wants to update to the newer macOS versions. However, what they do not know is that even a stable macOS like High Sierra or Mojave has its disadvantages. That means if you are thinking about an upgrade, you have to prepare to troubleshoot some issues at some point.

One of the most common issues with High Sierra is the sleep-wake failure, which causes a MacBook not to wake up from sleep or just randomly restart itself.

After some Mac users updated to High Sierra or Mojave, they reported having this problem, where they find it difficult to wake their devices from sleep. Regardless of the model or type of Apple computer they’re using, they just cannot wake up their devices from sleep.

Читайте также:  Vag com для linux

Mac’s Sleep Mode

Apple introduced an interesting feature to Mac computers: sleep mode. It allows a Mac user to quickly reboot the computer in order to save energy and time.

Pro Tip: Scan your Mac for performance issues, junk files, harmful apps, and security threats
that can cause system issues or slow performance.

Sleep Mode is an energy-saving option that keeps all your work open but puts the machine into a low power state so it doesn’t waste electricity or take up unnecessary space on your desk.

The best part about this setting is that once you wake up from sleep, everything pops back exactly where you left off! Amazing, right?

Sleep Mode may not be ideal if you are working with sensitive data or are expecting an important email any minute now, but otherwise, it’s perfect for protecting against possible theft that happens if you leave your device open.

How to Set Up Sleep Mode on Macs

The sleep mode is not a mandatory feature. But it is quite handy for Mac computer owners who have to take breaks occasionally and forget to switch off their devices. So, how do you set this mode on your Mac computer? Simply do the following:

  1. Go to the Apple menu and click System Preferences.
  2. Navigate to Energy Saver and select any of the available options.

But how does this sleep function activate?

Go to System Preferences to Put Your Mac in Sleep Mode

The sleep mode is only an optional feature, but it is quite handy for Mac users who need to regularly take a break from using their devices yet forget to switch them off. It’s also a useful feature that can help you achieve your energy-saving goals.

To activate this feature, do the following:

  1. Open the Apple menu.
  2. Go to Settings > Energy Saver.
  3. Apply the settings you want. You can set the display to switch off after a certain span of time. You can also make the hard drive sleep if you want.
  4. Once you’re satisfied with the settings, hit Apply.

Waking Up Your Mac from a Long Sleep

So, you have just upgraded to High Sierra or Mojave and your computer has entered sleep mode. Now, you are faced with a sleep-wake failure issue. What should you do?

Don’t panic! There is a way to fix MacBook sleep-wake failures. Below, we’ve listed the most obvious and effective solutions to resolve your problem, and you can try all of them as needed.

Fix #1: Check Your Power and Screen Brightness.

Before you do anything, you need to check the most obvious possibilities. Is your screen brightness set to a minimum? Is your Mac computer powered on?

If you are using an external display, is it actually switched on? Is your Mac plugged into a power source?

If you are using a MacBook, is the battery drained? Did you press the Power button? Can your system detect the signal sent by your Power button?

Oftentimes, your Mac computer may not be in sleep mode. It is possible that its screen brightness might just be adjusted down lower. It is also likely that your MacBook is just turned off. Simply adjusting the brightness or switching on your Mac can resolve your sleep-wake failure nightmares.

If the issue is not resolved, then proceed to the next fix.

Fix #2: Switch Off Your Mac and Turn It Back On.

This step involves forcibly turning off and then turning on your Mac. Doing this will allow you to access your computer again and possibly fix your sleep-wake failure problem. To force-restart your Mac, follow these instructions:

  1. Hold down the Power button for a few seconds until your Mac shuts down.
  2. Wait for 10 to 15 seconds and switch on your Mac again.

Check if the issue persists.

Fix #3: Reset SMC and NVRAM.

The SMC is a central hub for the hardware of your Mac. If you reset it, you may be able to fix issues on your computer that are related to power management or display settings.

This process is not particularly difficult and only takes a few minutes – but if you’re uncomfortable with this article, please consult an Apple Genius before proceeding.

The NVRAM, on the other hand, is a hardware component on the motherboard of your computer that stores settings and configurations for certain parts of the system as well as other information.

This process can be used if you need to change any part of these settings or are experiencing issues with some aspect of the computer’s performance.

Performing an SMC and NVRAM reset is a common troubleshooting technique used to fix display and power issues. If your Mac repeatedly gets stuck on a blank screen every time you wake it up from sleep, you should try resetting the SMC and NVRAM.

Here’s how to perform an SMC and NVRAM reset and hopefully resolve your sleep-wake failure problem:

  1. Switch off your Mac OS X.
  2. Disconnect the power cord.
  3. Hold down the Shift, Control, Option, and Power buttons for 10 seconds.
  4. Release the keys together.
  5. Reconnect the power cord.
  6. Switch on your Mac OS X again.
  7. Reboot your Mac again, but this time, hold down the Option, Command, P and R keys for 20 seconds.

If the issue persists, try the next one.

Читайте также:  Как подключить system windows input

Fix #4: Reinstall MacOS.

If you’ve already adjusted your display’s brightness, checked your connection, and performed an NVRAM and SMC reset yet your Mac continuously wakes up to a black screen, you might need to reinstall your macOS.

As a MacOS user, you know it can be pretty difficult to figure out what’s causing the problem. If this happens and you haven’t backed up recently, one of the first things you should do is reinstall your operating system. This will help to solve any software issues on your machine and make sure everything is running smoothly again in no time!

Don’t worry, because you can always reinstall your macOS without having to format your computer completely. The general rule of thumb, however, is to have a backup first before resetting your OS. You’ll realize the importance of a backup once you experience data loss.

To reinstall MacOS, do the following:

  1. Go to System Preferences > Startup Disk.
  2. Select Reinstall OS X.
  3. Click Continue twice then Agree when prompted by the installer.
  4. Wait until installation completes.
  5. Restart computer.

Enjoy your newly updated operating system!

Fix #5: Disable System Hibernation.

Aside from the sleep mode, your Mac also has a hibernation mode, which is also optional. The is a helpful, preventive feature that allows you to keep data in the event when there is no power. However, even without this, you can still proceed with your daily tasks.

If you don’t need to hibernate your Mac and you frequently failure with waking up your computer from sleep, try disabling the hibernate mode. To do this, run these commands in your OS X Terminal:

  • sudo pmset standby 0
  • sudo pmset autopoweroff 0

These commands will disable the settings of the hardware that are responsible for activating the hibernate mode. If you ever decide to activate this setting again, simply run the commands in your OS X Terminal, but this time, change the value 0 to 1.

If this solution works, then great. Otherwise, try the next one.

Fix #6: Reset Your Mac’s FileVault.

It is possible that a glitch is stopping your system from retrieving all necessary contents and files on your hard drive, which are required to wake up your Mac from sleep. As a result, conflict arises between your full-disk encryption protocols like FileVault and your system experiences a failure in waking up.

To resolve this issue, try disabling your full-disk encryption protocols. Next, decrypt your hard drive using third-party tools. After that, re-enable your full-disk encryption protocols. See if this solves your problem.

If you are experiencing issues with your Mac not sleeping or waking up, it might be time to reset its FileVault. This can fix the issue without having to perform a full shutdown of your computer and then reboot from scratch.

If resetting your Mac’s FileVault did not resolve the problem, try the last solution.

Fix #7: Get Rid of System Junk.

System junk files are often the culprit why your Mac device is running slower than you would like. System junk, including cache files, broken downloads, diagnostic reports, and unwanted file logs may have built up in your system over time.

If not removed, they can take up valuable space in your drive and worse, interfere with your system activities, which may lead to system failure.

The good news is that there are plenty of ways to get rid of these files in order to speed up your system.

To get rid of system junk, you need to download and install a third-party tool like Mac repair app. Use it to run a quick scan on your system, empty your trash bin, and delete any unwanted files from all common locations.

Summary

The next time you find Apple device faced with the sleep-wake failure problem, don’t panic just yet. If you are running High Sierra or other latest MacOS versions, you have seven solutions to try.

First, you may need to check your Apple device’s power and screen brightness. It could be the case of your Mac just sleeping.

You can also switch it off then turn it on so you can give your Mac a fresh start. There could be many processes running in the background that your computer can no longer deal with them.

You may also perform an SMC and NVRAM reset. This is a popular troubleshooting method to resolve issues with power and display.

If none of the solutions worked so far, you may try to reinstall your MacOS. Relax, you can always perform this solution without having to lose your important files.

Another solution you can try is to disable system hibernation. If it does not work, try resetting your Mac’s FileVault. It is possible that a glitch is keeping your system from recovering the files and contents on your hard drive. As a result, it cannot wake your Mac computer from sleep.

Finally, just get rid of junk files. These unwanted files could be consuming a significant chunk of your space; hence the sleep-wake failure problem.

What’s Next?

Are you still having the sleep-wake failure problem? The best thing you should do is to contact Apple’s support team or bring your Mac to the nearest Apple Store for service.

Though it rarely happens, it is possible that a hardware problem is keeping your Apple device from waking up from sleep. Just make sure you contact authorized support or a legit repair center for the best results.

Let us know what solutions solved your Mac sleep-wake failure problems. Comment them below!

Источник

Оцените статью