My iMac is driving me nuts

Man of Honour
Joined
20 Sep 2006
Posts
36,832
It's only a month or so old, but ever since I got it, it never wakes up from sleep. On top of this, it now doesn't want to shut down without crashing. Any ideas where to start? It passes all diagnostics and there's no weird software installed.
 
If you've got a way of backing up the data, or not anything worth keeping on it I'd recommend a clean install of the OS
 
It's only a month or so old, but ever since I got it, it never wakes up from sleep. On top of this, it now doesn't want to shut down without crashing. Any ideas where to start? It passes all diagnostics and there's no weird software installed.

Anything in the system logs around shutdown or sleep time? I reckon it'll be something like wifi personally.

Another thing to try would be doing an NVRAM reset, see if that helps.
 
If you've got a way of backing up the data, or not anything worth keeping on it I'd recommend a clean install of the OS

Yeah everything is backed up on my NAS.

Anything in the system logs around shutdown or sleep time? I reckon it'll be something like wifi personally.

Another thing to try would be doing an NVRAM reset, see if that helps.

I haven't had a look through the logs to be honest. I've done the SMC reset, but not NVRAM. I'll have a go at that.
 
Put it to sleep last night, wouldn't wake this morning (bit like me!).

dmesg:

Code:
Longterm timer threshold: 1000 ms
PMAP: PCID enabled
PMAP: Supervisor Mode Execute Protection enabled
Darwin Kernel Version 14.3.0: Mon Mar 23 11:59:05 PDT 2015; root:xnu-2782.20.48~5/RELEASE_X86_64
vm_page_bootstrap: 6019696 free pages and 238992 wired pages
kext submap [0xffffff7f80a00000 - 0xffffff8000000000], kernel text [0xffffff8000200000 - 0xffffff8000a00000]
zone leak detection enabled
"vm_compressor_mode" is 4
multiq scheduler config: deep-drain 0, urgent first 1, depth limit 4, band limit 127, sanity check 0
standard timeslicing quantum is 10000 us
standard background quantum is 2500 us
mig_table_max_displ = 13
TSC Deadline Timer supported and enabled
AppleACPICPU: ProcessorId=1 LocalApicId=0 Enabled
AppleACPICPU: ProcessorId=2 LocalApicId=2 Enabled
AppleACPICPU: ProcessorId=3 LocalApicId=4 Enabled
AppleACPICPU: ProcessorId=4 LocalApicId=6 Enabled
AppleACPICPU: ProcessorId=5 LocalApicId=1 Enabled
AppleACPICPU: ProcessorId=6 LocalApicId=3 Enabled
AppleACPICPU: ProcessorId=7 LocalApicId=5 Enabled
AppleACPICPU: ProcessorId=8 LocalApicId=7 Enabled
calling mpo_policy_init for TMSafetyNet
Security policy loaded: Safety net for Time Machine (TMSafetyNet)
calling mpo_policy_init for AMFI
Security policy loaded: Apple Mobile File Integrity (AMFI)
calling mpo_policy_init for Sandbox
Security policy loaded: Seatbelt sandbox policy (Sandbox)
calling mpo_policy_init for Quarantine
Security policy loaded: Quarantine policy (Quarantine)
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California. All rights reserved.

MAC Framework successfully initialized
using 16384 buffer headers and 10240 cluster IO buffer headers
AppleKeyStore starting (BUILT: Mar 23 2015 11:37:46)
IOAPIC: Version 0x20 Vectors 64:87
ACPI: sleep states S3 S4 S5
pci (build 11:38:56 Mar 23 2015), flags 0xe3000, pfm64 (39 cpu) 0x7f80000000, 0x80000000
[ PCI configuration begin ]
Sleep failure code 0x00000000 0x1f006900
console relocated to 0x7f80300000
[ PCI configuration end, bridges 12, devices 15 ]
SATA WARNING: IDENTIFY DEVICE checksum not implemented.
AppleThunderboltNHIType2::setupPowerSavings - notification based runtime power management
mcache: 8 CPU(s), 64 bytes CPU cache line size
mbinit: done [128 MB total pool size, (85/42) split]
rooting via boot-uuid from /chosen: 7D203C54-0AE9-3B6C-8B27-2DA38C62F9D0
Waiting on <dict ID="0"><key>IOProviderClass</key><string ID="1">IOResources</string><key>IOResourceMatch</key><string ID="2">boot-uuid-media</string></dict>
com.apple.AppleFSCompressionTypeZlib kmod start
com.apple.AppleFSCompressionTypeDataless kmod start
com.apple.AppleFSCompressionTypeZlib load succeeded
com.apple.AppleFSCompressionTypeDataless load succeeded
CoreStorage: fsck_cs has finished for group "FE32EED6-3BB3-4B6B-AA4C-D08C69EFC03B" with status 0x00
Got boot device = IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/RP01@1C/IOPP/SSD0@0/AppleAHCI/PRT0@0/IOAHCIDevice@0/AppleAHCIDiskDriver/IOAHCIBlockStorageDevice/IOBlockStorageDriver/APPLE SSD SM1024F Media/IOGUIDPartitionScheme/Customer@2/CoreStoragePhysical/Macintosh HD/Macintosh HD
BSD root: disk1, major 1, minor 4
jnl: b(1, 4): replay_journal: from: 20461568 to: 23591424 (joffset 0x1b218000)
ARPT: 0.938682: srom rev:11
ARPT: 0.939025: ChangeVCO => vco:960, xtalF:40, frac: 98, ndivMode: 3, ndivint: 24
ARPT: 0.939031: Data written into the PLL_CNTRL_ADDR2: 00000c31
ARPT: 0.939049: Data written into the PLL_CNTRL_ADDR3 (Fractional): 0000100e
ARPT: 0.947612: BRCM tunables:
ARPT: 0.947616:   pullmode[1] txringsize[  256] txsendqsize[1024] reapmin[   32] reapcount[  128]
ARPT: 0.948178: wl0: Broadcom BCM43a0, vendorID[0x14e4] BAR0[0xb0600004]
7.15.166.24 (r541488)
jnl: b(1, 4): journal replay done.
hfs: mounted Macintosh HD on device root_device
XCPM: registered
VM Swap Subsystem is ON
hfs: Removed 59 orphaned / unlinked files and 30 directories 
IO80211Controller::dataLinkLayerAttachComplete():  adding AppleEFINVRAM notification
IO80211Interface::efiNVRAMPublished():  
bpfAttach len 64 dlt 12
IOGraphics flags 0x43
IOBluetoothUSBDFU::probe
IOBluetoothUSBDFU::probe ProductID - 0x828D FirmwareVersion - 0x0103
**** [IOBluetoothHostControllerUSBTransport][start] -- completed -- result = TRUE -- 0x5000 ****
**** [BroadcomBluetoothHostControllerUSBTransport][start] -- Completed (matched on Device) -- 0x5000 ****
[IOBluetoothHCIController][staticBluetoothTransportShowsUp] -- Received Bluetooth Controller register service notification -- 0x5000 
[IOBluetoothHCIController][start] -- completed
hmm.. mismatch sizes: 3100 vs 20
PPGTT is enabled
Previous shutdown cause: 3
DSMOS has arrived
IOPPF - IODeviceTree:/efi/platform/StartupPowerEvents: 0x0
AirPort: Link Down on en1. Reason 8 (Disassociated because station leaving).
en1: channel changed to 1
en1::IO80211Interface::postMessage bssid changed
bpfAttach len 94 dlt 163
bpfAttach len 30 dlt 105
bpfAttach len 52 dlt 127
bpfAttach len 38 dlt 192
IOPPF: XCPM mode
X86PlatformShim::sendPStates - Success!
X86PlatformShim::sendPStates - Success!
X86PlatformShim::sendPStates - Success!
X86PlatformShim::sendPStates - Success!
X86PlatformShim::sendPStates - Success!
X86PlatformShim::sendPStates - Success!
X86PlatformShim::sendPStates - Success!
X86PlatformShim::sendPStates - Success!
[IOBluetoothHCIController::setConfigState] calling registerService
**** [IOBluetoothHCIController][ProcessBluetoothTransportShowsUpActionWL] -- Connected to the transport successfully -- 0x8500 -- 0x9000 -- 0x5000 ****

ARPT: 3.042268: createVirtIf(): ifRole = 1
AirPort_Brcm4360_P2PInterface::init name <p2p0> role 1
AirPort_Brcm4360_P2PInterface::init <p2p> role 1
setVIRTUAL_IF_CREATE: AWDL interface role (4)
ARPT: 3.042684: createVirtIf(): ifRole = 1
ARPT: 3.042689: Create AWDL virtif(AWDL): unit = 2, ifRole = 4
AirPort_Brcm4360_P2PInterface::init name <awdl0> role 4
AirPort_Brcm4360_P2PInterface::attachToBpf name <awdl0> role 4 successful attach to bpf type 147
AirPort_Brcm4360_P2PInterface::init <awdl> role 4
IO80211AWDLPeerManager::updateLocalRequests Deletion of all services requested (discoveryd crash)
awdl0: promiscuous mode enable succeeded
awdl0: promiscuous mode disable succeeded
awdl0: promiscuous mode enable succeeded
** GPU Hardware VM is enabled (multispace: enabled, page table updates with DMA: enabled)
en2: promiscuous mode enable succeeded
en3: promiscuous mode enable succeeded

IOBluetoothDevice::setProperties() -- calling hciController->CallCreateDeviceReporter() -- this = 0x9400 


 IOBluetoothHCIController::CallCreateDeviceReporter -- calling enqueueAction() -- device = 0x9400 


 IOBluetoothHCIController::CreateDeviceReporterAction -- device = = 0x9400 


 IOBluetoothHCIController::CreateDeviceReporterAction -- calling CreateDeviceReporter() device = = 0x9400 


 IOBluetoothHCIController::CreateDeviceReporter -- device = = 0x9400 

[BNBMouseDevice::init][85.3] init is complete
Ethernet [AppleBCM5701Ethernet]: Link up on en0, 1-Gigabit, Full-duplex, No flow-control, EEE enabled, Debug [796d,0301,0de1,0300,c1e1,7800]
         0 [Level 5] [com.apple.message.domain com.apple.commssw.ethernet.broadcom.link] [com.apple.message.signature 1-Gigabit] [com.apple.message.signature2 Full-duplex] [com.apple.message.signature3 No flow-control] [com.apple.message.signature4 EEE enabled]
         0 [Level 5] [com.apple.message.domain com.apple.commssw.ethernet.broadcom.load] [com.apple.message.signature 0x14E4] [com.apple.message.signature2 0x1686] [com.apple.message.signature3 {Asymmetric-Pause=0}{Pause=0}{100baseTX-full-duplex=1}{100baseTX-half-duplex=1}{10baseT-full-duplex=1}{10baseT-half-duplex=1}{1000baseT-full-duplex=1}{100baseTX-EEE=1}{1000baseT-EEE=1}] [com.apple.message.signature4 1]
[BNBMouseDevice::handleStart][85.3] returning 1
[AppleMultitouchHIDEventDriver::start] entered
[AppleMultitouchDevice::start] entered

IOBluetoothDevice::setProperties() -- calling hciController->CallCreateDeviceReporter() -- this = 0x1000 


 IOBluetoothHCIController::CallCreateDeviceReporter -- calling enqueueAction() -- device = 0x1000 


 IOBluetoothHCIController::CreateDeviceReporterAction -- device = = 0x1000 


 IOBluetoothHCIController::CreateDeviceReporterAction -- calling CreateDeviceReporter() device = = 0x1000 


 IOBluetoothHCIController::CreateDeviceReporter -- device = = 0x1000 


IOBluetoothDevice::setProperties() -- calling hciController->CallCreateDeviceReporter() -- this = 0x2400 


 IOBluetoothHCIController::CallCreateDeviceReporter -- calling enqueueAction() -- device = 0x2400 


 IOBluetoothHCIController::CreateDeviceReporterAction -- device = = 0x2400 


 IOBluetoothHCIController::CreateDeviceReporterAction -- calling CreateDeviceReporter() device = = 0x2400 


 IOBluetoothHCIController::CreateDeviceReporter -- device = = 0x2400 

[BNBTrackpadDevice::init][85.3] init is complete
[BNBTrackpadDevice::handleStart][85.3] returning 1
[AppleMultitouchHIDEventDriver::start] entered
[AppleMultitouchDevice::start] entered
AppleKeyStore:Sending lock change 0 for handle -501
IO80211AWDLPeerManager::setAwdlPeerTrafficRegistration Clearing AirPlay peer 00:00:00:00:00:00
IO80211AWDLPeerManager::setAwdlPeerTrafficRegistration Can't clear peer traffic registration, ret 82
pci pause: SDXC
Google Chrome (map: 0xffffff804b93ed20) triggered DYLD shared region unnest for map: 0xffffff804b93ed20, region 0x7fff8ce00000->0x7fff8d000000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
Google Chrome He (map: 0xffffff804ffcaa50) triggered DYLD shared region unnest for map: 0xffffff804ffcaa50, region 0x7fff8ce00000->0x7fff8d000000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
Google Chrome He (map: 0xffffff804ffca960) triggered DYLD shared region unnest for map: 0xffffff804ffca960, region 0x7fff8ce00000->0x7fff8d000000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
Google Chrome He (map: 0xffffff804ffca690) triggered DYLD shared region unnest for map: 0xffffff804ffca690, region 0x7fff8ce00000->0x7fff8d000000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
Google Chrome He (map: 0xffffff804ffca5a0) triggered DYLD shared region unnest for map: 0xffffff804ffca5a0, region 0x7fff8ce00000->0x7fff8d000000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
Google Chrome He (map: 0xffffff804ffca4b0) triggered DYLD shared region unnest for map: 0xffffff804ffca4b0, region 0x7fff8ce00000->0x7fff8d000000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
Google Chrome He (map: 0xffffff804ffca3c0) triggered DYLD shared region unnest for map: 0xffffff804ffca3c0, region 0x7fff8ce00000->0x7fff8d000000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
Google Chrome He (map: 0xffffff8049dd61e0) triggered DYLD shared region unnest for map: 0xffffff8049dd61e0, region 0x7fff8ce00000->0x7fff8d000000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
Google Chrome He (map: 0xffffff804de87b40) triggered DYLD shared region unnest for map: 0xffffff804de87b40, region 0x7fff8ce00000->0x7fff8d000000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
Google Chrome He (map: 0xffffff804ffcac30) triggered DYLD shared region unnest for map: 0xffffff804ffcac30, region 0x7fff8ce00000->0x7fff8d000000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
Google Chrome He (map: 0xffffff804ffca0f0) triggered DYLD shared region unnest for map: 0xffffff804ffca0f0, region 0x7fff8ce00000->0x7fff8d000000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
 
Not sure how I missed that this morning.

All I have plugged in is a Blu Ray drive which is turned off. But when it first started happening I had everything disconnected.
 
Not sure how I missed that this morning.

All I have plugged in is a Blu Ray drive which is turned off. But when it first started happening I had everything disconnected.

I prescribe coffee, and more of it. :D

Gotta be worth a try, but like you say it'll probably make little difference.

Got any apps that would keep the network connection open? I had a problem on a 2010 MB that would never sleep because of web pages in Firefox that were constant pinging back for updates. As a result OS X thought the connection was still valid to held off sleeping until it finished. Which, it never did. Of course as that's expected behaviour nothing was ever logged.
 
Just been on chat with Apple support, it wakes from safe mode so they've eliminated hardware. Now reinstalling again, but after formatting the drive. Will then restore from TM.
 
Could it be something you've restored from your Time Machine backup?

Correct me if I'm wrong but doesn't Time Machine backup your files and system state?
If you reloaded OS X and the sleep/wake issue resolved itself with a fresh install then restoring your mac from time machine may be restoring corrupted system files causing the sleep/wake failure. I would backup my important files without using time machine, reload OS X again then restore my important files/programs manually then see if you still get the sleep/wake problem.

If the problem resolves itself then you know it probably was a corrupted system file within the time machine backup.
 
I'm not sure, Apple suggested a full TM restore after reinstalling OSX, so that's what I did. I'm going to try a couple of things then get on web chat with them again.
 
Back
Top Bottom