Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Stalled or very slow shutdown if external drive is attached

Summary

As of a few days ago, my iMac consistently takes a long time to shutdown. In a few tries, the time range I've seen is from 3 minutes to more than 57 minutes (then I gave up and held the power button down). While stalled, the display is black with an active mouse pointer (moving the mouse moves the pointer).


This only occurs when my external drive is attached. Without it, the iMac shuts down quickly, not showing the black-screen-with-pointer at all.


Do you think there's something wrong with this external drive? I cannot reformat it without buying another big drive.


Thanks,

Wallace



Further details

This is happening immediately after a wipe of the internal drive (set the partition to Apple and then to GUID to really wipe it) by the Apple Store, to try to fix a startup problem wherein the iMac either

(1) showed a circle with slash on a gray screen (no boot disk) and automatically shut down again, or

(2) showed the flashing globe on black (network boot?) for a while before booting up normally. Total boot time till I could log in was 1m15s--very slow.

Curiously, case (1) happened only if this external drive was connected. The wipe has eliminated these symptoms.


And that problem came up days after getting the iMac back from the Apple Store after investigation of a weird one-time video problem. During boot, the display showed about four rolling horizontal bands (like Venetian blinds) going up the screen, replacing the whole regular screen with black within 15 seconds or so and then bringing the regular screen back again. This happened during startup and continued after log-in, until the iMac froze. The Apple Store said they hadn't heard of such a problem, and indeed I couldn't find anything like it on the web. They kept it for a few days for diagnostics and stress tests and found nothing wrong, and it has not recurred. Pretty worrisome, though, for the future reliability of this expensive machine. Here's a picture while the bands were rolling up, re-exposing the green rice-paddy desktop:

User uploaded file


When I run Disk Utility to verify or repair this external disk, I get the following alert about lacking an EFI system partition. I use this external disk only to store extra files that won't fit on the internal drive, so I don't think this is a problem.

User uploaded file


EtreCheck report:

Problem description:

After a 57-minute hang on restart, during shutdown, I manually powered down (held power button) and then turned on again.


EtreCheck version: 2.3 (135)

Report generated 8/2/15, 7:59 PM

Download EtreCheck from http://etresoft.com/etrecheck


Click the [Click for support] links for help with non-Apple products.

Click the [Click for details] links for more information about that line.


Hardware Information: (What does this mean?)

iMac (Retina 5K, 27-inch, Late 2014) (Technical Specifications)

iMac - model: iMac15,1

1 3.5 GHz Intel Core i5 CPU: 4-core

8 GB RAM Upgradeable

BANK 0/DIMM0

4 GB DDR3 1600 MHz ok

BANK 1/DIMM0

4 GB DDR3 1600 MHz ok

BANK 0/DIMM1

Empty

BANK 1/DIMM1

Empty

Bluetooth: Good - Handoff/Airdrop2 supported

Wireless: en1: 802.11 a/b/g/n/ac


Video Information: (What does this mean?)

AMD Radeon R9 M290X - VRAM: 2048 MB

iMac 5120 x 2880


System Software: (What does this mean?)

OS X 10.10.4 (14E46) - Time since boot: less than an hour


Disk Information: (What does this mean?)

APPLE SSD SM0256F disk0 : (251 GB) (Solid State - TRIM: Yes)

EFI (disk0s1) <not mounted> : 210 MB

Macintosh HD (disk0s2) / : 250.14 GB (121.13 GB free)

Recovery HD (disk0s3) <not mounted> [Recovery]: 650 MB


USB Information: (What does this mean?)

Seagate Backup+ Desk 4 TB

Whi4TB (disk1s1) /Volumes/Whi4TB : 4.00 TB (1.21 TB free)

Recovery HD (disk1s2) <not mounted> [Recovery]: 650 MB

Apple Inc. BRCM20702 Hub

Apple Inc. Bluetooth USB Host Controller

Apple Inc. FaceTime HD Camera (Built-in)


Thunderbolt Information: (What does this mean?)

Apple Inc. thunderbolt_bus


Gatekeeper: (What does this mean?)

Mac App Store and identified developers


Launch Agents: (What does this mean?)

[not loaded] com.adobe.AAM.Updater-1.0.plist [Click for support]

[loaded] com.adobe.AdobeCreativeCloud.plist [Click for support]


Launch Daemons: (What does this mean?)

[running] com.adobe.adobeupdatedaemon.plist [Click for support]


User Launch Agents: (What does this mean?)

[not loaded] com.adobe.AAM.Updater-1.0.plist [Click for support]


User Login Items: (What does this mean?)

iTunesHelper Application (/Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)


Internet Plug-ins: (What does this mean?)

Default Browser: Version: 600 - SDK 10.10

AdobeAAMDetect: Version: 3.0.0.0 - SDK 10.9 [Click for support]

QuickTime Plugin: Version: 7.7.3


Safari Extensions: (What does this mean?)

AdBlock


3rd Party Preference Panes: (What does this mean?)

None


Time Machine: (What does this mean?)

Time Machine not configured!


Top Processes by CPU: (What does this mean?)

3% fontd

2% WindowServer

0% taskgated

0% cloudpaird


Top Processes by Memory: (What does this mean?)

668 MB kernel_task

188 MB loginwindow

123 MB Dock

115 MB mds_stores

90 MB Finder


Virtual Memory Information: (What does this mean?)

5.20 GB Free RAM

2.80 GB Used RAM (1.12 GB Cached)

0 B Swap Used


Diagnostics Information: (What does this mean?)

Aug 2, 2015, 07:50:39 PM Self test - passed

Aug 2, 2015, 06:39:16 PM ~/Library/Logs/DiagnosticReports/Creative Cloud_2015-08-02-183916_[redacted].crash

Aug 2, 2015, 04:39:27 PM ~/Library/Logs/DiagnosticReports/Install_2015-08-02-163927_[redacted].crash

Aug 2, 2015, 03:09:06 PM ~/Library/Logs/DiagnosticReports/nsurlsessiond_2015-08-02-150906_[redacted].cra sh


I'm getting an error when I try to post this ("The message contains invalid characters"), so I will cut this off here and later will post the Console logs.

iMac (Retina 5K, 27-inch, Late 2014), OS X Yosemite (10.10.4)

Posted on Aug 2, 2015 9:30 PM

Reply
2 replies

Aug 2, 2015 10:15 PM in response to wallwhit

Continuation:


Here are excerpts from the console log from initiating shutdown, to waiting for almost an hour, to me holding the power button to force shutdown, to actual restart--all with that pesky external drive attached. I've highlighted lines with the name of the drive, Whi4TB. (I tried to post much more of the log but I kept getting "invalid character" errors from this forum.)


2015-08-02 18:53:22.188 loginwindow[90] Login Window point of no return

...

2015-08-02 18:53:22.383 com.apple.kextd[43] Warning: /Volumes/Whi4TB/System/Library/Extensions: No such file or directory

2015-08-02 18:53:22.384 com.apple.kextd[43] Warning: /Volumes/Whi4TB/System/Library/Extensions: No such file or directory

2015-08-02 18:53:22.384 com.apple.kextd[43] '/Volumes/Whi4TB' updating, delaying reboot.

2015-08-02 18:53:22.597 sharingd[1056] 18:53:22.596 : Starting Up...

2015-08-02 18:53:22.598 sharingd[1056] 18:53:22.598 : Device Capabilities (Handoff:YES, Instant Hotspot:YES, AirDrop:YES, Legacy AirDrop:YES, Remote Disc:YES)

2015-08-02 18:53:22.000 kernel[0] hfs: unmount initiated on Whi4TB on device disk1s1

2015-08-02 18:53:22.745 sharingd[1056] 18:53:22.745 : BTLE scanning started

2015-08-02 18:53:22.745 sharingd[1056] 18:53:22.745 : Scanning mode Contacts Only

2015-08-02 18:53:22.747 sharingd[1056] 18:53:22.746 : BTLE scanner Powered On

2015-08-02 18:53:23.218 com.apple.kextd[43] Warning: couldn't update /Volumes/Whi4TB->f_flags to 0x4809018: error 0xc016

2015-08-02 18:53:23.219 com.apple.kextcache[1060] /Volumes/Whi4TB: no /usr/standalone/bootcaches.plist; skipping

2015-08-02 18:53:23.219 com.apple.kextd[43] WARNING: '/Volumes/Whi4TB' is locked; abandoning helper process

2015-08-02 18:53:23.219 com.apple.kextcache[1061] /Volumes/Whi4TB locked; waiting for lock.

2015-08-02 18:53:23.219 com.apple.kextd[43] not watching A70FA97C-F397-3440-A874-F1596275A42D -> no volume lock to grant

2015-08-02 18:53:23.219 com.apple.kextcache[1060] Couldn't unlock volume for /Volumes/Whi4TB: (os/kern) failure (5).

2015-08-02 18:53:23.219 com.apple.kextcache[1061] Couldn't lock /Volumes/Whi4TB: No such file or directory

2015-08-02 18:53:23.219 com.apple.kextcache[1061] /Volumes/Whi4TB: no /usr/standalone/bootcaches.plist; skipping

2015-08-02 18:53:52.217 com.apple.usbmuxd[75] stopping.

2015-08-02 18:53:52.233 com.apple.usbmuxd[1067] usbmuxd-345.70 on Jan 26 2015 at 16:55:11, running 64 bit

...

2015-08-02 19:49:43.441 WindowServer[157] CGXDisplayDidWakeNotification [8121603009661]: posting kCGSDisplayDidWake

2015-08-02 19:49:43.441 WindowServer[157] handle_will_sleep_auth_and_shield_windows: Deferring.

2015-08-02 19:49:51.602 loginwindow[90] ERROR | -[SessionLogoutManager startLogout:logoutSubType:showConfirmationUI:countDownTime:useTALOption:logoutO ptions:] | Attempt to start a: Shutdown, AFTER a Restart was already past the point where logout can change types

2015-08-02 19:50:37.000 bootlog[0] BOOT_TIME 1438570237 0


For comparison, here's a log during restart when the external drive is not connected. It seems to shut down fine if either (1) the external drive was not connected during that boot or (2) it was ejected right before shutdown.


2015-08-02 20:00:56.202 fseventsd[44] implementation_removed_client: did not find client 0x7fc3caf014e0 for path = '/.docid'

2015-08-02 20:00:56.202 mdworker[371] (ImportBailout.Error:1325) Asked to exit for Diskarb

2015-08-02 20:00:56.202 mdworker[368] (ImportBailout.Error:1325) Asked to exit for Diskarb

2015-08-02 20:00:56.202 mdworker[370] (ImportBailout.Error:1325) Asked to exit for Diskarb

2015-08-02 20:00:56.203 mdworker[392] (ImportBailout.Error:1325) Asked to exit for Diskarb

2015-08-02 20:00:56.204 mdworker[393] (ImportBailout.Error:1325) Asked to exit for Diskarb

2015-08-02 20:00:56.204 mdworker[372] (ImportBailout.Error:1325) Asked to exit for Diskarb

2015-08-02 20:00:56.205 mdworker[369] (ImportBailout.Error:1325) Asked to exit for Diskarb

2015-08-02 20:01:00.940 WindowServer[150] CGXGetConnectionProperty: Invalid connection 54787

2015-08-02 20:01:00.940 WindowServer[150] CGXGetConnectionProperty: Invalid connection 54787

2015-08-02 20:01:00.940 WindowServer[150] CGXGetConnectionProperty: Invalid connection 54787

2015-08-02 20:01:00.940 WindowServer[150] CGXGetConnectionProperty: Invalid connection 54787

2015-08-02 20:01:00.940 WindowServer[150] CGXGetConnectionProperty: Invalid connection 54787

2015-08-02 20:01:00.940 WindowServer[150] CGXGetConnectionProperty: Invalid connection 54787

2015-08-02 20:01:00.946 loginwindow[90] Login Window point of no return

2015-08-02 20:01:00.950 CoreServicesUIAgent[325] unexpected message <OS_xpc_error: <error: 0x7fff725a8c60> { count = 1, contents =

"XPCErrorDescription" => <string: 0x7fff725a8f70> { length = 18, contents = "Connection invalid" }

}>

2015-08-02 20:01:00.950 com.apple.xpc.launchd[1] (com.apple.lateragent[381]) Service exited due to signal: Killed: 9

2015-08-02 20:01:00.950 com.apple.xpc.launchd[1] (com.apple.systemevents.34680[539]) Service exited due to signal: Killed: 9

2015-08-02 20:01:00.965 CoreServicesUIAgent[325] unexpected message <OS_xpc_error: <error: 0x7fff725a8c60> { count = 1, contents =

"XPCErrorDescription" => <string: 0x7fff725a8f70> { length = 18, contents = "Connection invalid" }

}>

2015-08-02 20:01:00.960 com.apple.xpc.launchd[1] (com.apple.AirPlayUIAgent[305]) Service exited due to signal: Killed: 9

2015-08-02 20:01:00.964 com.apple.xpc.launchd[1] (com.apple.unmountassistant.useragent[591]) Service exited due to signal: Killed: 9

2015-08-02 20:01:00.965 com.apple.xpc.launchd[1] (com.apple.internetaccounts[333]) Service exited due to signal: Killed: 9

2015-08-02 20:01:00.975 sharingd[275] 20:01:00.974 : SIGTERM received, shutting down.

2015-08-02 20:01:00.968 com.apple.xpc.launchd[1] (com.apple.iTunesHelper.51720[288]) Service exited with abnormal code: 1

2015-08-02 20:01:00.978 lsuseractivityd[343] [SFActivityAdvertiser] ERROR: lost XPC connection

2015-08-02 20:01:00.978 lsuseractivityd[343] [SFContinuityScanManager] ERROR: lost XPC connection

2015-08-02 20:01:00.969 com.apple.xpc.launchd[1] (com.apple.coreservices.uiagent[325]) Service exited due to signal: Killed: 9

2015-08-02 20:01:00.970 com.apple.xpc.launchd[1] (com.adobe.acc.AdobeDesktopService.61376.A059C8BF-6449-4C68-8A97-57E7E83413E6[3 46]) Service exited due to signal: Terminated: 15

2015-08-02 20:01:00.973 com.apple.xpc.launchd[1] (com.apple.cloudphotosd[291]) Service exited due to signal: Killed: 9

2015-08-02 20:01:01.076 sessionlogoutd[597] sessionlogoutd Launched

2015-08-02 20:01:01.093 sessionlogoutd[597] DEAD_PROCESS: 90 console

2015-08-02 20:01:01.143 shutdown[598] reboot by wallace:

2015-08-02 20:01:01.143 shutdown[598] SHUTDOWN_TIME: 1438570861 143274

2015-08-02 20:01:01.144 com.apple.xpc.launchd[1] (com.apple.xpc.launchd.domain.system) System reboot initiated by: shutdown.598<-sessionlogoutd.597<-launchd.1

2015-08-02 20:01:31.000 bootlog[0] BOOT_TIME 1438570891 0


Thanks,

Wallace

Aug 26, 2015 1:57 PM in response to wallwhit

I have this same behavior. I've tracked it down to the drive in my SD card slot on my Macbook. There is something odd with the drive (it can't be ejected via any means other than forcing it) though all the permissions check out, I can copy/delete anything to it without issue and the drive is not damaged. I've not found the solution yet but am first going to try wiping it fresh with disk utility.

Stalled or very slow shutdown if external drive is attached

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.