PDA

View Full Version : ML also crashing at wake on my mac




LoB75
Dec 10, 2012, 11:03 AM
Hi,

Since upgrading to 10.8.2, my PowerBook crashes almost all the time at wake from sleep. It is systematic if my wifi settings change in the mean time and seem to be correlated to a 'maintenance wake', however my Powerbook is not a Retina-display one and I understood it was not powernapping (http://www.macworld.com/article/1167970/up_close_with_mountain_lion_power_nap.html).

Here is the typical system.log excerpt:
Dec 10 15:55:52 myMac kernel[0]: Wake reason: EC.SleepTimer (SleepTimer)
Dec 10 15:55:52 myMac kernel[0]: AirPort_Brcm43xx::powerChange: System Wake - Full Wake/ Dark Wake / Maintenance wake
Dec 10 15:55:52 myMac kernel[0]: Previous Sleep Cause: 5
Dec 10 15:55:52 myMac kernel[0]: TBT W (1): 0 [x]
Dec 10 15:55:54 myMac kernel[0]: Graphics suppressed 2092 ms
Dec 10 15:55:54 myMac.local digest-service[7105]: label: default
Dec 10 15:55:54 myMac.local digest-service[7105]: dbname: od:/Local/Default
Dec 10 15:55:54 myMac.local digest-service[7105]: mkey_file: /var/db/krb5kdc/m-key
Dec 10 15:55:54 myMac.local digest-service[7105]: acl_file: /var/db/krb5kdc/kadmind.acl
Dec 10 15:55:54 myMac.local digest-service[7105]: digest-request: uid=0
Dec 10 15:55:54 myMac.local digest-service[7105]: digest-request: init request
Dec 10 15:55:54 myMac.local digest-service[7105]: digest-request: init return domain: LIMA server: myMac
Dec 10 15:55:54 myMac.local WindowServer[93]: reenable_update_for_connection: UI updates were finally reenabled by application "Calendrier" after 3.80 seconds (server forcibly re-enabled them after 1.00 seconds)
Dec 10 15:55:54 myMac.local com.apple.time[13]: Next maintenance wake [Backup Interval]: <date: 0x7fb7d4b36710> Mon Dec 10 15:40:16 2012 CET (approx)
Dec 10 15:55:54 myMac.local com.apple.time[13]: Requesting maintenance wake [Backup Interval]: <date: 0x7fb7d4b36710> Mon Dec 10 15:40:16 2012 CET (approx)
Dec 10 15:55:54 myMac kernel[0]: hibernate image path: /var/vm/sleepimage
Dec 10 15:55:54 myMac kernel[0]: AirPort_Brcm43xx::powerChange: System Sleep
Dec 10 15:55:54 myMac.local mdworker[7098]: Unable to talk to lsboxd
Dec 10 15:55:54 myMac.local mdworker[7097]: Unable to talk to lsboxd
Dec 10 15:55:54 myMac.local mdworker[7099]: Unable to talk to lsboxd
Dec 10 15:55:54 myMac kernel[0]: Sandbox: sandboxd(7109) deny mach-lookup com.apple.coresymbolicationd
Dec 10 15:55:54 myMac.local sandboxd[7109] ([7098]): mdworker(7098) deny mach-lookup com.apple.ls.boxd
Dec 10 15:55:54 myMac.local sandboxd[7109] ([7097]): mdworker(7097) deny mach-lookup com.apple.ls.boxd
Dec 10 15:55:54 myMac.local sandboxd[7109] ([7099]): mdworker(7099) deny mach-lookup com.apple.ls.boxd
Dec 10 15:55:56 myMac kernel[0]: (default pager): [KERNEL]: ps_allocate_cluster - send HI_WAT_ALERT
Dec 10 15:55:56 myMac kernel[0]: macx_swapon SUCCESS
Dec 10 15:55:57 myMac kernel[0]: (default pager): [KERNEL]: ps_select_segment - send HI_WAT_ALERT
Dec 10 15:55:57 myMac kernel[0]: macx_swapon SUCCESS
Dec 10 15:55:58 myMac kernel[0]: (default pager): [KERNEL]: ps_select_segment - send HI_WAT_ALERT
Dec 10 15:55:58 myMac kernel[0]: macx_swapon SUCCESS
Dec 10 15:55:59 myMac.local blued[39]: kBTXPCUpdateUserPreferences gConsoleUserUID = 504
Dec 10 15:55:59 myMac kernel[0]: (default pager): [KERNEL]: ps_select_segment - send HI_WAT_ALERT
Dec 10 15:55:59 myMac kernel[0]: macx_swapon SUCCESS
Dec 10 15:56:02 myMac kernel[0]: (default pager): [KERNEL]: ps_select_segment - send HI_WAT_ALERT
Dec 10 15:56:02 myMac kernel[0]: macx_swapon SUCCESS
Dec 10 15:56:07 myMac kernel[0]: (default pager): [KERNEL]: ps_select_segment - send HI_WAT_ALERT
Dec 10 15:56:07 myMac kernel[0]: macx_swapon SUCCESS
Dec 10 15:57:09 myMac kernel[0]: (default pager): [KERNEL]: ps_select_segment - send HI_WAT_ALERT
Dec 10 15:57:09 myMac kernel[0]: macx_swapon SUCCESS
Dec 10 15:57:14 myMac kernel[0]: hibernate_alloc_pages act 719536, inact 645904, anon 413141, throt 0, spec 249089, wire 296889, wireinit 214661
Dec 10 15:57:14 myMac kernel[0]: hibernate_setup(0) took 80127 ms
Dec 10 15:57:14 myMac kernel[0]: sizeof(IOHibernateImageHeader) == 512
Dec 10 17:30:18 localhost bootlog[0]: BOOT_TIME 1355157018 0


If I understand well, the Mac wakes from sleep to proceed with maintenance after a certain sleeping time, then do a variety of tasks and finally reaches a corrupted state. When I reopen the lid, the login screen shows up and the Mac instantly crashes.

Other users have reported such crashes but does not it look like PowerNap is running when it should not be on my mid-2012 macBook Pro?

LB



LoB75
Dec 16, 2012, 01:04 AM
After many attempts to solve the issue, the culprit seems to be the firmware of the 3rd party SSD I had put in my Macbook Pro, a Crucial M4.

I had still the 009 version of the firmware which I knew had a bad bug and needed to update. Recent versions of the firmware also had some significant issues.

The final decision to update came from reading MacBidouille's forum (http://forum.macbidouille.com/index.php?showtopic=365546&st=90), particularly on the fact that the previous 010G firmware attempted to bring "Improved resume-time from low power modes, and improved reliability of warm reboot", however with a very nasty bug... that is supposed to be solved with the more reliable 040H version.

Upgrading to the last version of the Crucial M4 firmware (040H) seems to have solved all my "crash at wake" issues... and may be of interest to the many that have reported such issues.

LB