Ga door naar hoofdinhoud

Repair guides and support for 24" Intel iMacs by Apple.

723 Vragen Bekijk alle

iMac 24" late 2008 on El Capitan - Random Sleep Problem

Hi, I have been tracing the random sleep problem of my iMac. All the usual bulls*t solutions … reset PRAM et al did not do a thing. Even cleared up my HD, wiped, re installed everything, permissions repair, you name it.

One suspicion is a defect temp sensor when I replaced the HD ages ago. But the prob did not appear until much later. (Temp monitoring App in place)

Other suspicion … old Battery inside?

So far I ran into this: Shutdown cause should be stated in Protocol system.log

https://apple.stackexchange.com/question...

So I found 2 lines of sleep cause

dsChkErr = 5, /*check trap error*/

and

needClearScrapErr = -100 /* == noScrapErr*/

This is where Im stuck, running into programming lingo I cant understand. Anyone know how to fix this?

Nov 7 07:27:31 linas-imac GoogleSoftwareUpdateAgent[5140]: 2018-11-07 07:27:31.604 GoogleSoftwareUpdateAgent[5140/0x10e027000] [lvl=2] -[KSAgentApp(PrivateMethods) setUpLoggerOutputForVerboseMode:] Agent default/global settings: <KSAgentSettings:0x7ff0cac32ad0 bundleID=com.google.Keystone.Agent lastCheck=2018-11-06 16:24:06 +0000 lastServerCheck=2018-11-06 16:23:53 +0000 lastCheckStart=2018-11-06 16:23:45 +0000 checkInterval=18000.000000 uiDisplayInterval=604800.000000 sleepInterval=1800.000000 jitterInterval=900 maxRunInterval=0.000000 isConsoleUser=1 ticketStorePath=/Users/lina/Library/Google/GoogleSoftwareUpdate/TicketStore/Keystone.ticketstore runMode=3 daemonUpdateEngineBrokerServiceName=com.google.Keystone.Daemon.UpdateEngine daemonAdministrationServiceName=com.google.Keystone.Daemon.Administration alwaysPromptForUpdates=0 lastUIDisplayed=(null) alwaysShowStatusItem=0 updateCheckTag=(null) printResults=NO userInitiated=NO>

Nov 7 07:27:47 linas-imac AirPlayUIAgent[5149]: 2018-11-07 07:27:47.961935 AM [AirPlayUIAgent] BecomingInactive: NSWorkspaceWillSleepNotification

Nov 7 07:27:50 linas-imac WindowServer[180]: CGError post_notification(const CGSNotificationType, void *const, const size_t, const bool, const CGSRealTimeDelta, const int, const CGSConnectionID *const, const pid_t): Timed out 1.000 second wait for reply from "Star Stable Online" for synchronous notification type 102 (kCGSDisplayWillSleep) (CID 0x13b4f, PID 5096)

Nov 7 07:27:50 linas-imac WindowServer[180]: CGError post_notification(const CGSNotificationType, void *const, const size_t, const bool, const CGSRealTimeDelta, const int, const CGSConnectionID *const, const pid_t): Timed out 1.000 second wait for reply from "loginwindow" for synchronous notification type 102 (kCGSDisplayWillSleep) (CID 0x6707, PID 94)

Nov 7 07:27:55 linas-imac kernel[0]: 094634.008974 AppleUSB20HubPort@fa220000: AppleUSBHostPort::setPowerStateGated: kPowerStateOn -> kPowerStateSleep

Nov 7 07:27:55 linas-imac kernel[0]: 094634.907190 AppleUSB20HubPort@fa210000: AppleUSBHostPort::setPowerStateGated: kPowerStateOn -> kPowerStateSleep

Nov 7 07:27:55 linas-imac kernel[0]: Previous sleep cause: -100

Nov 7 07:27:55 linas-imac kernel[0]: 094635.234153 AppleUSB20HubPort@fa220000: AppleUSBHostPort::setPowerStateGated: kPowerStateSleep -> kPowerStateOn

Nov 7 07:27:55 linas-imac kernel[0]: 094635.234253 AppleUSB20HubPort@fa210000: AppleUSBHostPort::setPowerStateGated: kPowerStateSleep -> kPowerStateOn

Nov 7 07:27:55 linas-imac WindowServer[180]: handle_will_sleep_auth_and_shield_windows: Reordering authw 0x7fc43c021800(2004) (lock state: 3)

Nov 7 07:27:55 linas-imac WindowServer[180]: handle_will_sleep_auth_and_shield_windows: err 0x0

Nov 7 07:28:04 linas-imac GoogleSoftwareUpdateAgent[5140]: 2018-11-07 07:28:04.381 GoogleSoftwareUpdateAgent[5140/0x7000003a6000] [lvl=2] -[KSAgentApp(PrivateMethods) setUpLoggerOutputForVerboseMode:] Agent default/global settings: <KSAgentSettings:0x7ff0cac32ad0 bundleID=com.google.Keystone.Agent lastCheck=2018-11-06 16:24:06 +0000 lastServerCheck=2018-11-07 06:27:42 +0000 lastCheckStart=2018-11-07 06:27:31 +0000 checkInterval=18000.000000 uiDisplayInterval=604800.000000 sleepInterval=1800.000000 jitterInterval=900 maxRunInterval=0.000000 isConsoleUser=1 ticketStorePath=/Users/lina/Library/Google/GoogleSoftwareUpdate/TicketStore/Keystone.ticketstore runMode=3 daemonUpdateEngineBrokerServiceName=com.google.Keystone.Daemon.UpdateEngine daemonAdministrationServiceName=com.google.Keystone.Daemon.Administration alwaysPromptForUpdates=0 lastUIDisplayed=(null) alwaysShowStatusItem=0 updateCheckTag=(null) printResults=NO userInitiated=NO>

Nov 7 08:28:30 linas-imac GoogleSoftwareUpdateAgent[5409]: 2018-11-07 08:28:30.449 GoogleSoftwareUpdateAgent[5409/0x105d41000] [lvl=2] -[KSAgentApp(PrivateMethods) setUpLoggerOutputForVerboseMode:] Agent default/global settings: <KSAgentSettings:0x7fb5f8d54d30 bundleID=com.google.Keystone.Agent lastCheck=2018-11-07 06:28:04 +0000 lastServerCheck=2018-11-07 06:27:42 +0000 lastCheckStart=2018-11-07 06:27:31 +0000 checkInterval=18000.000000 uiDisplayInterval=604800.000000 sleepInterval=1800.000000 jitterInterval=900 maxRunInterval=0.000000 isConsoleUser=1 ticketStorePath=/Users/lina/Library/Google/GoogleSoftwareUpdate/TicketStore/Keystone.ticketstore runMode=3 daemonUpdateEngineBrokerServiceName=com.google.Keystone.Daemon.UpdateEngine daemonAdministrationServiceName=com.google.Keystone.Daemon.Administration alwaysPromptForUpdates=0 lastUIDisplayed=(null) alwaysShowStatusItem=0 updateCheckTag=(null) printResults=NO userInitiated=NO>

Nov 7 09:28:55 linas-imac GoogleSoftwareUpdateAgent[5544]: 2018-11-07 09:28:55.618 GoogleSoftwareUpdateAgent[5544/0x109f6b000] [lvl=2] -[KSAgentApp(PrivateMethods) setUpLoggerOutputForVerboseMode:] Agent default/global settings: <KSAgentSettings:0x7fd280d590c0 bundleID=com.google.Keystone.Agent lastCheck=2018-11-07 06:28:04 +0000 lastServerCheck=2018-11-07 06:27:42 +0000 lastCheckStart=2018-11-07 06:27:31 +0000 checkInterval=18000.000000 uiDisplayInterval=604800.000000 sleepInterval=1800.000000 jitterInterval=900 maxRunInterval=0.000000 isConsoleUser=1 ticketStorePath=/Users/lina/Library/Google/GoogleSoftwareUpdate/TicketStore/Keystone.ticketstore runMode=3 daemonUpdateEngineBrokerServiceName=com.google.Keystone.Daemon.UpdateEngine daemonAdministrationServiceName=com.google.Keystone.Daemon.Administration alwaysPromptForUpdates=0 lastUIDisplayed=(null) alwaysShowStatusItem=0 updateCheckTag=(null) printResults=NO userInitiated=NO>

Nov 7 10:29:19 linas-imac GoogleSoftwareUpdateAgent[5688]: 2018-11-07 10:29:19.696 GoogleSoftwareUpdateAgent[5688/0x112439000] [lvl=2] -[KSAgentApp(PrivateMethods) setUpLoggerOutputForVerboseMode:] Agent default/global settings: <KSAgentSettings:0x7ffdb04478d0 bundleID=com.google.Keystone.Agent lastCheck=2018-11-07 06:28:04 +0000 lastServerCheck=2018-11-07 06:27:42 +0000 lastCheckStart=2018-11-07 06:27:31 +0000 checkInterval=18000.000000 uiDisplayInterval=604800.000000 sleepInterval=1800.000000 jitterInterval=900 maxRunInterval=0.000000 isConsoleUser=1 ticketStorePath=/Users/lina/Library/Google/GoogleSoftwareUpdate/TicketStore/Keystone.ticketstore runMode=3 daemonUpdateEngineBrokerServiceName=com.google.Keystone.Daemon.UpdateEngine daemonAdministrationServiceName=com.google.Keystone.Daemon.Administration alwaysPromptForUpdates=0 lastUIDisplayed=(null) alwaysShowStatusItem=0 updateCheckTag=(null) printResults=NO userInitiated=NO>

Nov 7 10:44:32 linas-imac AirPlayUIAgent[5223]: 2018-11-07 10:44:32.902970 AM [AirPlayUIAgent] BecomingInactive: NSWorkspaceWillSleepNotification

Nov 7 10:44:34 linas-imac WindowServer[180]: no sleep images for WillPowerOffWithImages

Nov 7 13:19:39 linas-imac kernel[0]: 106451.135655 AppleUSB20HubPort@fa220000: AppleUSBHostPort::setPowerStateGated: kPowerStateOn -> kPowerStateSleep

Nov 7 13:19:39 linas-imac kernel[0]: 106452.059838 AppleUSB20HubPort@fa210000: AppleUSBHostPort::setPowerStateGated: kPowerStateOn -> kPowerStateSleep

Nov 7 13:19:39 linas-imac kernel[0]: Previous sleep cause: -100

Nov 7 13:19:39 linas-imac kernel[0]: 106452.374780 AppleUSB20HubPort@fa220000: AppleUSBHostPort::setPowerStateGated: kPowerStateSleep -> kPowerStateOn

Nov 7 13:19:39 linas-imac kernel[0]: 106452.374853 AppleUSB20HubPort@fa210000: AppleUSBHostPort::setPowerStateGated: kPowerStateSleep -> kPowerStateOn

Nov 7 13:19:40 linas-imac WindowServer[180]: handle_will_sleep_auth_and_shield_windows: Reordering authw 0x7fc43c10c800(2004) (lock state: 3)

Nov 7 13:19:40 linas-imac WindowServer[180]: handle_will_sleep_auth_and_shield_windows: err 0x0

Nov 7 14:04:28 linas-imac GoogleSoftwareUpdateAgent[5864]: 2018-11-07 14:04:28.651 GoogleSoftwareUpdateAgent[5864/0x113be9000] [lvl=2] -[KSAgentApp(PrivateMethods) setUpLoggerOutputForVerboseMode:] Agent default/global settings: <KSAgentSettings:0x7fb731d2da00 bundleID=com.google.Keystone.Agent lastCheck=2018-11-07 06:28:04 +0000 lastServerCheck=2018-11-07 06:27:42 +0000 lastCheckStart=2018-11-07 06:27:31 +0000 checkInterval=18000.000000 uiDisplayInterval=604800.000000 sleepInterval=1800.000000 jitterInterval=900 maxRunInterval=0.000000 isConsoleUser=1 ticketStorePath=/Users/lina/Library/Google/GoogleSoftwareUpdate/TicketStore/Keystone.ticketstore runMode=3 daemonUpdateEngineBrokerServiceName=com.google.Keystone.Daemon.UpdateEngine daemonAdministrationServiceName=com.google.Keystone.Daemon.Administration alwaysPromptForUpdates=0 lastUIDisplayed=(null) alwaysShowStatusItem=0 updateCheckTag=(null) printResults=NO userInitiated=NO>

Nov 7 14:04:59 linas-imac GoogleSoftwareUpdateAgent[5864]: 2018-11-07 14:04:59.322 GoogleSoftwareUpdateAgent[5864/0x7000003a6000] [lvl=2] -[KSAgentApp(PrivateMethods) setUpLoggerOutputForVerboseMode:] Agent default/global settings: <KSAgentSettings:0x7fb731d2da00 bundleID=com.google.Keystone.Agent lastCheck=2018-11-07 06:28:04 +0000 lastServerCheck=2018-11-07 13:04:35 +0000 lastCheckStart=2018-11-07 13:04:28 +0000 checkInterval=18000.000000 uiDisplayInterval=604800.000000 sleepInterval=1800.000000 jitterInterval=900 maxRunInterval=0.000000 isConsoleUser=1 ticketStorePath=/Users/lina/Library/Google/GoogleSoftwareUpdate/TicketStore/Keystone.ticketstore runMode=3 daemonUpdateEngineBrokerServiceName=com.google.Keystone.Daemon.UpdateEngine daemonAdministrationServiceName=com.google.Keystone.Daemon.Administration alwaysPromptForUpdates=0 lastUIDisplayed=(null) alwaysShowStatusItem=0 updateCheckTag=(null) printResults=NO userInitiated=NO>

Nov 7 14:17:08 linas-imac AirPlayUIAgent[5223]: 2018-11-07 02:17:08.615668 PM [AirPlayUIAgent] BecomingInactive: NSWorkspaceWillSleepNotification

Nov 7 18:36:31 linas-imac kernel[0]: 109908.761918 AppleUSB20HubPort@fa220000: AppleUSBHostPort::setPowerStateGated: kPowerStateOn -> kPowerStateSleep

Nov 7 18:36:31 linas-imac kernel[0]: 109909.686079 AppleUSB20HubPort@fa210000: AppleUSBHostPort::setPowerStateGated: kPowerStateOn -> kPowerStateSleep

Nov 7 18:36:31 linas-imac kernel[0]: Previous sleep cause: -100

Nov 7 18:36:31 linas-imac kernel[0]: 109910.005297 AppleUSB20HubPort@fa220000: AppleUSBHostPort::setPowerStateGated: kPowerStateSleep -> kPowerStateOn

Nov 7 18:36:31 linas-imac kernel[0]: 109910.005385 AppleUSB20HubPort@fa210000: AppleUSBHostPort::setPowerStateGated: kPowerStateSleep -> kPowerStateOn

Nov 7 18:36:32 linas-imac WindowServer[180]: handle_will_sleep_auth_and_shield_windows: Reordering authw 0x7fc43c920c00(2004) (lock state: 3)

Nov 7 18:36:32 linas-imac WindowServer[180]: handle_will_sleep_auth_and_shield_windows: err 0x0

Nov 7 19:16:09 linas-imac AirPlayUIAgent[5223]: 2018-11-07 07:16:09.737730 PM [AirPlayUIAgent] BecomingInactive: NSWorkspaceWillSleepNotification

Nov 7 19:16:11 linas-imac WindowServer[180]: CGError post_notification(const CGSNotificationType, void *const, const size_t, const bool, const CGSRealTimeDelta, const int, const CGSConnectionID *const, const pid_t): Timed out 1.000 second wait for reply from "(PID 5945)" for synchronous notification type 102 (kCGSDisplayWillSleep) (CID 0x17e93, PID 5945)

Nov 7 19:16:11 linas-imac WindowServer[180]: CGError post_notification(const CGSNotificationType, void *const, const size_t, const bool, const CGSRealTimeDelta, const int, const CGSConnectionID *const, const pid_t): Timed out 1.000 second wait for reply from "(PID 5944)" for synchronous notification type 102 (kCGSDisplayWillSleep) (CID 0x1513b, PID 5944)

Nov 7 19:16:11 linas-imac WindowServer[180]: CGError post_notification(const CGSNotificationType, void *const, const size_t, const bool, const CGSRealTimeDelta, const int, const CGSConnectionID *const, const pid_t): Timed out 1.000 second wait for reply from "(PID 5943)" for synchronous notification type 102 (kCGSDisplayWillSleep) (CID 0x1da6b, PID 5943)

Nov 7 19:16:19 linas-imac kernel[0]: 112294.947862 AppleUSB20HubPort@fa220000: AppleUSBHostPort::setPowerStateGated: kPowerStateOn -> kPowerStateSleep

Nov 7 19:16:19 linas-imac kernel[0]: 112295.871389 AppleUSB20HubPort@fa210000: AppleUSBHostPort::setPowerStateGated: kPowerStateOn -> kPowerStateSleep

Nov 7 19:16:19 linas-imac kernel[0]: Previous sleep cause: -100

Nov 7 19:16:19 linas-imac kernel[0]: 112296.190591 AppleUSB20HubPort@fa220000: AppleUSBHostPort::setPowerStateGated: kPowerStateSleep -> kPowerStateOn

Nov 7 19:16:19 linas-imac kernel[0]: 112296.190667 AppleUSB20HubPort@fa210000: AppleUSBHostPort::setPowerStateGated: kPowerStateSleep -> kPowerStateOn

Nov 7 19:16:19 linas-imac WindowServer[180]: handle_will_sleep_auth_and_shield_windows: Reordering authw 0x7fc43c050c00(2004) (lock state: 3)

Nov 7 19:16:19 linas-imac WindowServer[180]: handle_will_sleep_auth_and_shield_windows: err 0x0

Nov 7 19:17:17 linas-imac AirPlayUIAgent[5223]: 2018-11-07 07:17:17.883974 PM [AirPlayUIAgent] BecomingInactive: NSWorkspaceWillSleepNotification

Nov 7 19:17:20 linas-imac WindowServer[180]: CGError post_notification(const CGSNotificationType, void *const, const size_t, const bool, const CGSRealTimeDelta, const int, const CGSConnectionID *const, const pid_t): Timed out 1.000 second wait for reply from "(PID 5947)" for synchronous notification type 102 (kCGSDisplayWillSleep) (CID 0x16c63, PID 5947)

Nov 7 19:17:26 linas-imac kernel[0]: 112360.954132 AppleUSB20HubPort@fa220000: AppleUSBHostPort::setPowerStateGated: kPowerStateOn -> kPowerStateSleep

Nov 7 19:17:26 linas-imac kernel[0]: 112361.888635 AppleUSB20HubPort@fa210000: AppleUSBHostPort::setPowerStateGated: kPowerStateOn -> kPowerStateSleep

Nov 7 19:17:26 linas-imac kernel[0]: Previous sleep cause: -100

Beantwoord! Bekijk het antwoord Dit probleem heb ik ook

Is dit een goede vraag?

Score 0
5 opmerkingen

One is a kernel panic caused by Karabiner, an App installed long after the sleep problem occurred. So Im de installing it.

[AirPlayUIAgent] BecomingInactive: NSWorkspaceWillSleepNotification

door

Next step: USB 3 might be the culprit. How do I disable USB3 in the BIOS? Anyone got a Terminal code?

door

Assertion status system-wide:

BackgroundTask 0

ApplePushServiceTask 0

UserIsActive 0

PreventUserIdleDisplaySleep 0

PreventSystemSleep 0

ExternalMedia 0

InternalPreventDisplaySleep 1

PreventUserIdleSystemSleep 1

NetworkClientActive 0

door

pmset -g

Last login: Fri Nov 9 10:22:39 on ttys000

linas-imac:~ lina$ pmset -g

Active Profiles:

AC Power -1*

Currently in use:

hibernatemode 0

halfdim 1

womp 0

networkoversleep 0

sleep 0 (sleep prevented by AddressBookSourceSync)

Sleep On Power Button 1

ttyskeepawake 1

hibernatefile /var/vm/sleepimage

autorestart 0

disksleep 0

displaysleep 0

linas-imac:~ lina$

door

So I had a look in system log and console told me the last lines before sleep-crashing 3 times within 5 minutes.

SecOSStatusWith error:[-50] Error Domain=NSOSStatusErrorDomain Code=-50 "query missing class name"

Hereby disabled icloud which I never use. Lets see if that helps.

door

Voeg een opmerking toe

1 Antwoord

Gekozen oplossing

Start it up in safe mode by holding down the Shift key on start up and see if the issue persists.

Was dit antwoord nuttig?

Score 2
Voeg een opmerking toe

Voeg je antwoord toe

Lina zal eeuwig dankbaar zijn.
Weergavestatistieken:

Afgelopen 24 uren: 0

Afgelopen 7 dagen: 1

Afgelopen 30 dagen: 1

Altijd: 101