Jump to content

Reset when waking from sleep


jesusrop
 Share

8 posts in this topic

Recommended Posts

Hi!

 

My computer has some random problems waking from sleep. If the sleep time is short it's OK, but if i let it sleep for some hours it will reset A FEW SECONDS AFTER waking up correctly (I even have time to open a finder window or something simple like that). The computer does not shut down. It behaves like if the reset button in the case was pressed.

 

I have tried both mavericks and yosemite for this and both behave the same.

 

The install is as clean as possible, so only added kext for the LAN (RTL8111), do the ALC892 AppleHDA patching with Clover and installed the nVidia web drivers.

 

I use clover 3050 with the config below.

 

Could you give me some hints on debugging this? Below some info about the system:

 

syslog output arround the event (ntice the date change to locate):

Dec 15 21:56:25 iMac-de-Jesus kernel[0] <Debug>: Previous Sleep Cause: 5
Dec 15 21:56:25 iMac-de-Jesus kernel[0] <Debug>: The USB device USB Receiver (Port 8 of Hub at 0x14000000) may have caused a wake by issuing a remote wakeup (2)
Dec 15 21:56:25 iMac-de-Jesus kernel[0] <Debug>: full wake (reason 1) 26 ms
Dec 15 21:56:25 iMac-de-Jesus.local WindowServer[116] <Warning>: handle_will_sleep_auth_and_shield_windows: NULL shield_window (lock state: 1)
Dec 15 21:56:25 iMac-de-Jesus.local WindowServer[116] <Warning>: CGXDisplayDidWakeNotification [796904170088]: posting kCGSDisplayDidWake
Dec 15 21:56:25 iMac-de-Jesus.local sandboxd[429] ([336]) <Notice>: netbiosd(336) deny file-read-metadata /private/var/empty
Dec 15 21:56:28 iMac-de-Jesus kernel[0] <Debug>: Ethernet [RealtekRTL8111]: Link up on en0, 1-Gigabit, Full-duplex, flow-control
Dec 15 21:56:28 iMac-de-Jesus.local configd[18] <Notice>: LINKLOCAL en0: parent has no IP
Dec 15 21:56:28 iMac-de-Jesus.local configd[18] <Notice>: network changed: v4(en0-:192.168.1.3) DNS- Proxy-
Dec 15 21:56:28 iMac-de-Jesus.local netbiosd[336] <Notice>: network_reachability_changed : network is not reachable, netbiosd is shutting down
Dec 15 21:56:30 iMac-de-Jesus.local HWMonitor[412] <Warning>: ATA block storage device appeared 37635
Dec 15 21:56:30 iMac-de-Jesus.local HWMonitor[412] <Warning>: ATA block storage device appeared 37891
Dec 15 21:56:30 iMac-de-Jesus.local HWMonitor[412] <Warning>: ATA block storage device appeared 38147
Dec 15 21:56:30 iMac-de-Jesus.local HWMonitor[412] <Warning>: ATA block storage device appeared 38403
Dec 15 21:56:30 iMac-de-Jesus.local HWMonitor[412] <Warning>: ATA block storage device appeared 38659
Dec 15 21:56:30 iMac-de-Jesus.local HWMonitor[412] <Warning>: ATA block storage device appeared 38915
Dec 15 21:56:30 iMac-de-Jesus.local HWMonitor[412] <Warning>: reading SMART data for ST3500418AS
--- last message repeated 1 time ---
Dec 15 21:56:30 iMac-de-Jesus.local HWMonitor[412] <Warning>: reading SMART data for Samsung SSD 840 EVO 120GB
Dec 15 21:56:30 iMac-de-Jesus.local HWMonitor[412] <Warning>: reading SMART data for Samsung SSD 840 EVO 250GB
Dec 15 21:56:30 iMac-de-Jesus.local HWMonitor[412] <Warning>: reading SMART data for Samsung SSD 840 Series
Dec 15 21:56:32 iMac-de-Jesus.local configd[18] <Notice>: network changed: v4(en0+:192.168.1.3) DNS+ Proxy+ SMB
Dec 15 21:56:38 iMac-de-Jesus.local AirPlayUIAgent[302] <Notice>: 2014-12-15 09:56:38.202756 PM [AirPlayUIAgent] Changed PIN pairing: no
Dec 15 21:56:38 iMac-de-Jesus.local AirPlayUIAgent[302] <Notice>: 2014-12-15 09:56:38.212446 PM [AirPlayUIAgent] Changed PIN pairing: no
Dec 15 21:59:09 iMac-de-Jesus.local mds[85] <Error>: (Warning) Volume: vsd:0x7fe3040a8600 Open failed.  failureCount:6 {
	    DisabledRecycleCount = 6;
	}
Dec 15 22:02:25 iMac-de-Jesus.local secd[272] <Error>:  SecErrorGetOSStatus unknown error domain: com.apple.security.sos.error for error: The operation couldn’t be completed. (com.apple.security.sos.error error 2 - Public Key not available - failed to register before call)
Dec 15 22:02:25 iMac-de-Jesus.local secd[272] <Error>:  securityd_xpc_dictionary_handler EscrowSecurityAl[441] DeviceInCircle The operation couldn’t be completed. (com.apple.security.sos.error error 2 - Public Key not available - failed to register before call)
Dec 15 22:06:25 iMac-de-Jesus.local WindowServer[116] <Warning>: device_generate_desktop_screenshot: authw 0x0(0), shield 0x7fc1117534c0(2001)
Dec 15 22:06:25 iMac-de-Jesus.local WindowServer[116] <Warning>: device_generate_lock_screen_screenshot: authw 0x0(0), shield 0x7fc1117534c0(2001)
Dec 15 22:06:25 iMac-de-Jesus.local WindowServer[116] <Warning>: device_generate_desktop_screenshot: authw 0x0(0), shield 0x7fc1117534c0(2001)
Dec 15 22:06:25 iMac-de-Jesus.local mds[85] <Error>: (Normal) DiskStore: Starting health check...
--- last message repeated 1 time ---
Dec 15 22:06:25 iMac-de-Jesus.local periodic-wrapper[451] <Notice>: Running weekly periodic task.
Dec 15 22:06:25 iMac-de-Jesus.local periodic-wrapper[450] <Notice>: Running daily periodic task.
Dec 15 22:06:25 iMac-de-Jesus.local FileStatsAgent[448] <Error>: Failed to enumerate: (null), error: Error Domain=NSCocoaErrorDomain Code=260 "The file “Backup” couldn’t be opened because there is no such file." UserInfo=0x7fa728e10910 {NSURL=file:///Users/jesus/Library/Application%20Support/MobileSync/Backup/, NSFilePath=/Users/jesus/Library/Application Support/MobileSync/Backup, NSUnderlyingError=0x7fa728e108b0 "The operation couldn’t be completed. No such file or directory"}
Dec 15 22:06:26 iMac-de-Jesus kernel[0] <Debug>: Sound assertion in AppleHDAFunctionGroup at line 1057
--- last message repeated 9 times ---
Dec 15 22:06:42 iMac-de-Jesus kernel[0] <Debug>: Ethernet [RealtekRTL8111]: Link down on en0
Dec 16 11:01:24 localhost bootlog[0] <Notice>: BOOT_TIME 1418724084 0
Dec 16 11:01:25 localhost syslogd[18] <Notice>: Configuration Notice:
	ASL Module "com.apple.appstore" claims selected messages.
	Those messages may not appear in standard system log files or in the ASL database.
Dec 15 22:06:42 iMac-de-Jesus kernel[0] <Debug>: CommandStop: Timeout waiting for command ring to stop, 100ms
Dec 16 11:01:25 localhost syslogd[18] <Notice>: 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".
Dec 16 11:01:25 localhost syslogd[18] <Notice>: 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.
Dec 16 11:01:25 localhost syslogd[18] <Notice>: Configuration Notice:
	ASL Module "com.apple.bookstore" claims selected messages.
	Those messages may not appear in standard system log files or in the ASL database.
Dec 16 11:01:25 localhost syslogd[18] <Notice>: 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.
Dec 16 11:01:25 localhost syslogd[18] <Notice>: 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.
Dec 16 11:01:25 localhost syslogd[18] <Notice>: 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.
Dec 16 11:01:25 localhost syslogd[18] <Notice>: 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.
Dec 16 11:01:25 localhost syslogd[18] <Notice>: 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.
Dec 16 11:01:25 localhost syslogd[18] <Notice>: 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.
Dec 16 11:01:25 localhost syslogd[18] <Notice>: Configuration Notice:
	ASL Module "com.apple.securityd" claims selected messages.
	Those messages may not appear in standard system log files or in the ASL database.

Clover config.plist

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>ACPI</key>
    <dict>
        <key>DSDT</key>
        <dict>
            <key>Debug</key>
            <false/>
            <key>DropOEM_DSM</key>
            <false/>
            <key>Fixes</key>
            <dict>
                <key>AddPNLF_1000000</key>
                <true/>
                <key>DeleteUnused_400000</key>
                <true/>
                <key>FIX_RTC_20000</key>
                <true/>
                <key>FIX_S3D_2000000</key>
                <true/>
                <key>FiX_TMR_40000</key>
                <true/>
                <key>NewWay_80000000</key>
                <true/>
            </dict>
            <key>ReuseFFFF</key>
            <false/>
        </dict>
        <key>DropTables</key>
        <array>
            <dict>
                <key>Signature</key>
                <string>DMAR</string>
            </dict>
        </array>
        <key>SSDT</key>
        <dict>
            <key>DropOem</key>
            <true/>
            <key>Generate</key>
            <dict>
                <key>CStates</key>
                <true/>
                <key>PStates</key>
                <true/>
            </dict>
        </dict>
    </dict>
    <key>Boot</key>
    <dict>
        <key>Arguments</key>
        <string>nvda_drv=1 kext-dev-mode=1</string>
        <key>Legacy</key>
        <string>LegacyBiosDefault</string>
        <key>Log</key>
        <false/>
        <key>NeverHibernate</key>
        <true/>
        <key>Secure</key>
        <false/>
        <key>Timeout</key>
        <integer>5</integer>
        <key>XMPDetection</key>
        <string>Yes</string>
    </dict>
    <key>Devices</key>
    <dict>
        <key>Audio</key>
        <dict>
            <key>AFGLowPowerState</key>
            <true/>
            <key>Inject</key>
            <string>1</string>
            <key>ResetHDA</key>
            <true/>
        </dict>
        <key>USB</key>
        <dict>
            <key>AddClockID</key>
            <true/>
            <key>FixOwnership</key>
            <true/>
            <key>HighCurrent</key>
            <true/>
            <key>Inject</key>
            <true/>
        </dict>
    </dict>
    <key>GUI</key>
    <dict>
        <key>Custom</key>
        <dict>
            <key>Entries</key>
            <array>
                <dict>
                    <key>Disabled</key>
                    <false/>
                    <key>FullTitle</key>
                    <string>UEFI Internal</string>
                    <key>Hidden</key>
                    <string>Always</string>
                    <key>Ignore</key>
                    <false/>
                    <key>NoCaches</key>
                    <false/>
                    <key>Type</key>
                    <string>Other</string>
                </dict>
            </array>
        </dict>
        <key>Language</key>
        <string>es:0</string>
        <key>Mouse</key>
        <dict>
            <key>Enabled</key>
            <false/>
            <key>Mirror</key>
            <false/>
        </dict>
        <key>Scan</key>
        <dict>
            <key>Entries</key>
            <true/>
            <key>Legacy</key>
            <false/>
            <key>Tool</key>
            <true/>
        </dict>
        <key>ScreenResolution</key>
        <string>1920x1080</string>
        <key>Theme</key>
        <string>mac</string>
    </dict>
    <key>Graphics</key>
    <dict>
        <key>Inject</key>
        <dict>
            <key>ATI</key>
            <false/>
            <key>Intel</key>
            <false/>
            <key>NVidia</key>
            <true/>
        </dict>
    </dict>
    <key>KernelAndKextPatches</key>
    <dict>
        <key>AppleRTC</key>
        <true/>
        <key>KernelPm</key>
        <true/>
        <key>KextsToPatch</key>
        <array>
            <dict>
                <key>Comment</key>
                <string>t1-10.9-10.10-AppleHDA/Resources/xml>zml</string>
                <key>Find</key>
                <data>
                eG1sLnps
                </data>
                <key>Name</key>
                <string>AppleHDA</string>
                <key>Replace</key>
                <data>
                em1sLnps
                </data>
            </dict>
            <dict>
                <key>Comment</key>
                <string>Enable Trim on SSD</string>
                <key>Find</key>
                <data>
                QVBQTEUgU1NE
                </data>
                <key>Name</key>
                <string>IOAHCIBlockStorage</string>
                <key>Replace</key>
                <data>
                AAAAAAAAAAAA
                </data>
            </dict>
            <dict>
                <key>Comment</key>
                <string>t1-10.9-10.10-AppleHDA/Realtek ALC892</string>
                <key>Find</key>
                <data>
                ixnUEQ==
                </data>
                <key>Name</key>
                <string>AppleHDA</string>
                <key>Replace</key>
                <data>
                kgjsEA==
                </data>
            </dict>
            <dict>
                <key>Comment</key>
                <string>Enable USB3 after wake for Intel 8</string>
                <key>Find</key>
                <data>
                xoDIAAAAAQ==
                </data>
                <key>Name</key>
                <string>AppleUSBXHCI</string>
                <key>Replace</key>
                <data>
                xoDIAAAAAA==
                </data>
            </dict>
        </array>
    </dict>
    <key>SMBIOS</key>
    <dict>
        <key>BiosReleaseDate</key>
        <string>02/29/08</string>
        <key>BiosVendor</key>
        <string>Apple Inc.</string>
        <key>BiosVersion</key>
        <string>MP31.88Z.006C.B05.0802291410</string>
        <key>Board-ID</key>
        <string>Mac-F42C88C8</string>
        <key>BoardManufacturer</key>
        <string>Apple Inc.</string>
        <key>BoardType</key>
        <integer>11</integer>
        <key>ChassisAssetTag</key>
        <string>Pro-Enclosure</string>
        <key>ChassisManufacturer</key>
        <string>Apple Inc.</string>
        <key>ChassisType</key>
        <string>06</string>
        <key>Family</key>
        <string>Mac Pro</string>
        <key>Manufacturer</key>
        <string>Apple Inc.</string>
        <key>Mobile</key>
        <false/>
        <key>ProductName</key>
        <string>MacPro3,1</string>
        <key>SerialNumber</key>
        <string>-----------</string>
        <key>Trust</key>
        <false/>
        <key>Version</key>
        <string>1.0</string>
    </dict>
    <key>SystemParameters</key>
    <dict>
        <key>InjectKexts</key>
        <string>YES</string>
    </dict>
</dict>
</plist>
Link to comment
Share on other sites

I had very similar problem on Acer V5-572P-6417. I was blaming firmware uploader for BCM94352 HMB/AzureWave AW-CE123H I installed. The problem was really caused by GenericUSBXHCI.kext. After removing it I can hibernate and wake up from hibernation using hibernatemode=57. WiFi works without any problem and bluetooth wakes up couple seconds later and pairs with the mouse and my headphones. Currently I am on Clover 3050 I compiled myself. I used Toleda's quide to make CE123H work.

Link to comment
Share on other sites

So since the first post I removed the nVidia graphics and now I use the stock drivers with the freezefix app.

 

The computer still self-resets though, but this time I got a crash report :) (attached).

 

@jacekg: I'm not using the GenericXHCI.kext that caused your problems, but thanks for the help!

 

Any clue?

 

Thank you!

Crash report.rtf

Link to comment
Share on other sites

Hi jakecg,

 

that didn't help either :(

 

I have no problems with hibernation... the machine never hibernates. It wakes correctly from sleep and a few seconds later it resets like if someone preset the hard reset button in the case.

 

Any clue??

Link to comment
Share on other sites

  • 1 month later...
  • 2 weeks later...
  • 6 months later...
 Share

×
×
  • Create New...