My Mac has decided to constantly freeze and re-start several times a day whilst I’m using it. This is going to be one of those weeks.
This happened to me while I was living a nomad digital life in Tulum. Finally solved on Mac how to fix Could not recover SATA HDD after 5 attempts terminating error.
No Apple stores around
And only one café with internet fast enough for downloading OSX systems. Shit! Subsequently you may find my post here: 7 top tech tips checklist for digital nomads before leaving to travel or backpack useful. If you’re planning to live a life from a backpack.
This error frustrated the hell out of me for 3 weeks. I couldn’t work, edit photos or move my (what I first initially thought). There’s no worse feeling for me than leaving home thinking I’m all prepared tech wise and Boom! My Mac buggers up. I came from London, obviously tech problems weren’t a problem if they occurred. Something which I realised I took for granted after leaving. Especially in pursuit of a tranquil life in less fortunate countries. Anyway, when this particular problem kicked in I researched and tried everything before stumbling upon the solution. Which solved it for good.
The problems it was causing with my Mac
- As soon as my Mac seemed to be getting taxed on the memory or processor front it restarted
- Whenever I used Photoshop and pushed the memory slightly it restarted
- It restarted all the time using Lightroom
- Using adobe premiere to scrub over a video it restarted
- Adobe premiere to render a video it restarted
- Any video calling software it restarted
The main thing I noticed was that it always seemed to restart when the Mac was put under strain with heavy loading programs. It’s a MacBook Air 13 inch early 2015. I assumed it was due to some program fault. Maybe a lack of an update for Adobe or OSX. Perhaps a rogue font causing problems that I’d download for a design. Or perhaps there was a loose lead to the Hard Drive. I figured one by one I’d tackle the problem ruling out each one as I experimented.
An example of the consistent error message
Anonymous UUID: D4FB79A1-84CB-1C25-0BDC-3DAB5E16BB77 Mon Jan 21 20:02:39 2019 *** Panic Report *** panic(cpu 0 caller 0xffffff7f9dcc8293): "ino 4297105692 no extent covering dstream alloced_size 16384 (fsize 16384) pos/len 24576:0\n"@/BuildRoot/Library/Caches/com.apple.xbs/Sources/apfs/apfs-748.77.8/nx/jobj.c:10686 Backtrace (CPU 0), Frame : Return Address 0xffffff80b897b740 : 0xffffff801c86c1c6 0xffffff80b897b790 : 0xffffff801c995274 0xffffff80b897b7d0 : 0xffffff801c987544 0xffffff80b897b840 : 0xffffff801c81e1e0 0xffffff80b897b860 : 0xffffff801c86bc3c 0xffffff80b897b990 : 0xffffff801c86b9fc 0xffffff80b897b9f0 : 0xffffff7f9dcc8293 0xffffff80b897bba0 : 0xffffff7f9dc7e476 0xffffff80b897bd60 : 0xffffff801cacc59a 0xffffff80b897bdd0 : 0xffffff801cabeb57 0xffffff80b897be40 : 0xffffff801cd4768a 0xffffff80b897bee0 : 0xffffff801cd474fa 0xffffff80b897bf40 : 0xffffff801ce03968 0xffffff80b897bfa0 : 0xffffff801c81e9c6 Kernel Extensions in backtrace: com.apple.filesystems.apfs(748.51)[F5310D5D-825A-3114-86DA-6E7D2A21133A]@0xffffff7f9dc5d000->0xffffff7f9dd41fff dependency: com.apple.kec.corecrypto(1.0)[B081B8C1-1DFF-342F-8DF2-C3AA925ECA3A]@0xffffff7f9d6ff000 dependency: com.apple.driver.AppleEffaceableStorage(1.0)[CA2AB641-FF39-316A-BA4F-5AF561C66AC7]@0xffffff7f9dba4000 dependency: com.apple.iokit.IOStorageFamily(2.1)[F27A8A2A-6662-3608-83BD-415037509E01]@0xffffff7f9d37c000 BSD process name corresponding to current thread: UserEventAgent Mac OS version: 17G65 Kernel version: Darwin Kernel Version 17.7.0: Thu Jun 21 22:53:14 PDT 2018; root:xnu-4570.71.2~1/RELEASE_X86_64 Kernel UUID: 1AE5ACFD-3B6F-3D74-AD52-31F1430DBC6F Kernel slide: 0x000000001c600000 Kernel text base: 0xffffff801c800000 __HIB text base: 0xffffff801c700000 System model name: MacBookAir7,2 (Mac-937CB26E2E02BB01) Root disk errors: "Could not recover SATA HDD after 5 attempts. Terminating." System uptime in nanoseconds: 634254777727 last loaded kext at 247411089492: com.apple.filesystems.msdosfs 1.10 (addr 0xffffff7fa219a000, size 69632) last unloaded kext at 408015217428: com.apple.filesystems.msdosfs 1.10 (addr 0xffffff7fa219a000, size 61440) loaded kexts: com.apple.driver.AudioAUUC 1.70 com.apple.driver.AppleHWSensor 1.9.5d0 com.apple.driver.AGPM 110.23.37 com.apple.driver.ApplePlatformEnabler 2.7.0d0 com.apple.driver.X86PlatformShim 1.0.0 com.apple.filesystems.autofs 3.0 com.apple.driver.AppleHDA 281.52 com.apple.driver.AppleUpstreamUserClient 3.6.5 com.apple.driver.AppleGraphicsDevicePolicy 3.20.13 com.apple.AGDCPluginDisplayMetrics 3.20.13 com.apple.driver.AppleHV 1 com.apple.iokit.IOUserEthernet 1.0.1 com.apple.iokit.IOBluetoothSerialManager 6.0.7f10 com.apple.driver.pmtelemetry 1 com.apple.driver.eficheck 1 com.apple.Dont_Steal_Mac_OS_X 7.0.0 com.apple.driver.AppleIntelBDWGraphics 10.3.6 com.apple.driver.AppleBacklight 170.12.6 com.apple.driver.AppleCameraInterface 6.01.2 com.apple.driver.AppleLPC 3.1 com.apple.driver.AppleMCCSControl 1.5.5 com.apple.driver.AppleIntelBDWGraphicsFramebuffer 10.3.6 com.apple.driver.AppleSMCLMU 211 com.apple.driver.AppleOSXWatchdog 1 com.apple.driver.AppleIntelSlowAdaptiveClocking 4.0.0 com.apple.driver.AppleThunderboltIP 3.1.1 com.apple.driver.AppleUSBCardReader 439.70.3 com.apple.driver.AppleTopCaseHIDEventDriver 133 com.apple.filesystems.hfs.kext 407.50.6 com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1 com.apple.BootCache 40 com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0 com.apple.AppleSystemPolicy 1.0 com.apple.filesystems.apfs 748.51.0 com.apple.driver.AppleAHCIPort 329.50.2 com.apple.driver.AirPort.BrcmNIC 1241.31.1a9 com.apple.driver.AppleSmartBatteryManager 161.0.0 com.apple.driver.AppleRTC 2.0 com.apple.driver.AppleACPIButtons 6.1 com.apple.driver.AppleHPET 1.8 com.apple.driver.AppleSMBIOS 2.1 com.apple.driver.AppleACPIEC 6.1 com.apple.driver.AppleAPIC 1.7 com.apple.nke.applicationfirewall 183 com.apple.security.TMSafetyNet 8 com.apple.security.quarantine 3 com.apple.kext.triggers 1.0 com.apple.driver.DspFuncLib 281.52 com.apple.kext.OSvKernDSPLib 526 com.apple.driver.AppleGraphicsControl 3.20.13 com.apple.iokit.IOAVBFamily 680.2 com.apple.plugin.IOgPTPPlugin 680.15 com.apple.iokit.IOEthernetAVBController 1.1.0 com.apple.driver.AppleSSE 1.0 com.apple.iokit.IOSerialFamily 11 com.apple.driver.AppleBacklightExpert 1.1.0 com.apple.iokit.IONDRVSupport 519.20 com.apple.driver.AppleHDAController 281.52 com.apple.iokit.IOHDAFamily 281.52 com.apple.iokit.IOAudioFamily 206.5 com.apple.vecLib.kext 1.2.0 com.apple.driver.AppleSMBusController 1.0.18d1 com.apple.iokit.IOAcceleratorFamily2 378.26 com.apple.iokit.IOSurface 211.15 com.apple.driver.X86PlatformPlugin 1.0.0 com.apple.driver.IOPlatformPluginFamily 6.0.0d8 com.apple.AppleGPUWrangler 3.20.13 com.apple.AppleGraphicsDeviceControl 3.20.13 com.apple.iokit.IOGraphicsFamily 519.20 com.apple.iokit.IOSlowAdaptiveClockingFamily 1.0.0 com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport 6.0.7f10 com.apple.iokit.IOBluetoothHostControllerUSBTransport 6.0.7f10 com.apple.iokit.IOBluetoothHostControllerTransport 6.0.7f10 com.apple.driver.usb.AppleUSBHub 1.2 com.apple.driver.usb.networking 5.0.0 com.apple.driver.AppleHSBluetoothDriver 133 com.apple.driver.IOBluetoothHIDDriver 6.0.7f10 com.apple.iokit.IOBluetoothFamily 6.0.7f10 com.apple.driver.AppleMultitouchDriver 1404.4 com.apple.driver.AppleInputDeviceSupport 1404.3 com.apple.driver.AppleHIDKeyboard 205 com.apple.driver.AppleHSSPIHIDDriver 53 com.apple.filesystems.hfs.encodings.kext 1 com.apple.iokit.IOAHCIBlockStorage 301.40.2 com.apple.iokit.IOAHCIFamily 288 com.apple.driver.AppleThunderboltDPInAdapter 5.5.5 com.apple.driver.AppleThunderboltDPAdapterFamily 5.5.5 com.apple.driver.AppleThunderboltPCIDownAdapter 2.1.3 com.apple.driver.AppleThunderboltNHI 4.7.2 com.apple.iokit.IOThunderboltFamily 6.7.8 com.apple.iokit.IO80211Family 1200.12.2 com.apple.driver.mDNSOffloadUserClient 1.0.1b8 com.apple.driver.corecapture 1.0.4 com.apple.driver.AppleHSSPISupport 53 com.apple.driver.AppleIntelLpssSpiController 3.0.60 com.apple.driver.AppleIntelLpssDmac 3.0.60 com.apple.driver.AppleIntelLpssGspi 3.0.60 com.apple.driver.usb.AppleUSBXHCIPCI 1.2 com.apple.driver.usb.AppleUSBXHCI 1.2 com.apple.driver.usb.AppleUSBHostPacketFilter 1.0 com.apple.iokit.IOUSBFamily 900.4.1 com.apple.driver.AppleUSBHostMergeProperties 1.2 com.apple.driver.AppleEFINVRAM 2.1 com.apple.driver.AppleEFIRuntime 2.1 com.apple.iokit.IOSMBusFamily 1.1 com.apple.iokit.IOHIDFamily 2.0.0 com.apple.security.sandbox 300.0 com.apple.kext.AppleMatch 1.0.0d1 com.apple.driver.DiskImages 480.60.1 com.apple.driver.AppleFDEKeyStore 28.30 com.apple.driver.AppleEffaceableStorage 1.0 com.apple.driver.AppleKeyStore 2 com.apple.driver.AppleUSBTDM 439.70.3 com.apple.driver.AppleMobileFileIntegrity 1.0.5 com.apple.iokit.IOUSBMassStorageDriver 140.70.2 com.apple.iokit.IOSCSIBlockCommandsDevice 404.30.2 com.apple.iokit.IOSCSIArchitectureModelFamily 404.30.2 com.apple.iokit.IOStorageFamily 2.1 com.apple.driver.AppleCredentialManager 1.0 com.apple.driver.KernelRelayHost 1 com.apple.iokit.IOUSBHostFamily 1.2 com.apple.driver.usb.AppleUSBCommon 1.0 com.apple.driver.AppleBusPowerController 1.0 com.apple.driver.AppleSEPManager 1.0.1 com.apple.driver.IOSlaveProcessor 1 com.apple.iokit.IOReportFamily 31 com.apple.iokit.IOTimeSyncFamily 680.15 com.apple.iokit.IONetworkingFamily 3.4 com.apple.driver.AppleACPIPlatform 6.1 com.apple.driver.AppleSMC 3.1.9 com.apple.iokit.IOPCIFamily 2.9 com.apple.iokit.IOACPIFamily 1.4 com.apple.kec.pthread 1 com.apple.kec.Libm 1 com.apple.kec.corecrypto 1.0 EOF Model: MacBookAir7,2, BootROM 184.108.40.206.0, 2 processors, Intel Core i5, 1.6 GHz, 4 GB, SMC 2.27f2 Graphics: Intel HD Graphics 6000, Intel HD Graphics 6000, Built-In Memory Module: BANK 0/DIMM0, 2 GB, DDR3, 1600 MHz, 0x80AD, 0x483943434E4E4E384A544D4C41522D4E544D Memory Module: BANK 1/DIMM0, 2 GB, DDR3, 1600 MHz, 0x80AD, 0x483943434E4E4E384A544D4C41522D4E544D AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x117), Broadcom BCM43xx 1.0 (220.127.116.11.1a9) Bluetooth: Version 6.0.7f10, 3 services, 18 devices, 1 incoming serial ports Network Service: Wi-Fi, AirPort, en0 Serial ATA Device: APPLE SSD SM0256G, 251 GB USB Device: USB 3.0 Bus USB Device: BRCM20702 Hub USB Device: Bluetooth USB Host Controller Thunderbolt Bus: MacBook Air, Apple Inc., 27.2
Everything I tried that failed
- I Used every free admin fixing tool, clean up tool and error reporting tool on the app store.
- Used a Stanley knife. Hacked away at the bolts and finally opened up my Mac to see if any leads were loose from the hard drive or the memory. All looked fine.
- Wiped Adobe CS6 and re installed it. Luckily I had brought a backup install disk on an external.
- Launched my Mac in all sorts of different recovery modes. I literally pressed and used every restart keyboard combination you can with a Mac. And I used them several times over and over in different scenarios.
- Used the repair disk utility tool multiple times in different recovery modes.
- Wiped my OXS mac and returned it default. Went to the internet café and downloaded Mac OS Sierra install and re installed a fresh version
- Wiped my mac and downgraded back to Mavericks
- Then wiped my mac and upgraded past Sierra
- And then wiped my Mac and went back to Sierra
- Download the manual updates and installed them each separately
- Spent hours researching every forum and reading every article of similar problems and solutions. None of the solutions worked for me
Nothing worked. I Began to loose the will to live and started planning how I’d travel to the closest Apple store in Playa Del Carmen 2 hours away. With no way to call them I figured it would need a week or two left with them. I had clients waiting for work that I was doing remotely. Shit! Again. But then a little light bulb came on in my head.
The solution that fixed it for good
I’d read a lot about processors over heating and Macs re-starting due to this over heating. An automatic safety feature built into the mac to prevent the processor from becoming damaged. I could never hear my fan going crazy, it sounded like it was barely working. If at all. So I assumed my processors must not be hot. I was certain the Problem lied within some rogue development coding in the software. All the hardware checks were coming up fine in the log reports.
I figured I’d grab a tool that could look at the temp of my processors just to be sure. I searched for a simple free one on the apple store, they’re hundreds to choose from. All do the same job. After downloading it, I opened it up and then opened up Adobe Lightroom and began to use it. Normally the mac would freeze after 2-3 mins of using the program. I watched the temp gages monitoring the processors as I used it. They began to shoot up to the 80’s C close to the 90’s C and then sure enough my mac froze and re-started.
The aha moment! As partridge would say.
That seems hot I thought and no fan was kicking in. A quick google explained that was BLOODY HOT for a processor. Indeed it would re start to prevent damage. So my fans were bust. Shit! Again. This would mean new hardware, which would be time and money consuming. Then I thought, I wonder if perhaps the sensors have bust. So I googled if it was possible to turn on the fans using an app. Sure enough it was. I found this little beauty of an app called Macs Fan Control. This little gem not only allowed me to turn the fans on but also allowed me to set them to come on automatically when the temp of the processors got to a certain level.
I tested it by turning the fans to almost full RPM and opened light room to use it. For the first time in as long as I could remember I heard the fans come on and start up. Ten mins in and no restart. No way! I thought. I then opened Adobe Premiere and set a video to render. This was a guarantee crash at around 4 mins render time. It didn’t crash. It rendered the damn movie! I couldn’t believe it.
After weeks of frustration
And god knows how many restarts, re-installs and wipes. I’d figured out the problem. The fans internal sensor wasn’t working any more. I set the automatic controls using Macs Fan Control app. I made the fans come on when the processors got to around 55 C and set the maximum RPM of the fans to just shy off top. And that’s it. My MAC has worked perfectly ever since with the fans now kicking in and cooling down the processors. Preventing them from re-starting.
Hopefully if you’ve got this problem and you’re ready to smash your Mac. You’ll stumble upon this post before you do. Let me know in the comments below if this solution helps you? Or if you want to know in more detail everything I tried?