I have a late 2012 27" iMac with a relatively fresh install of OS X Mountain Lion (10.8.2). I have been experiencing a pretty severe problem that I am convinced is software related, but I could use some assistance in finding the best way to track it down.
The problem is this: any time I leave the computer unattended for any length of time (ranging from minutes to hours), I come back to it and there is about an 80% chance that the system will have hung. I can move the mouse, but the cursor is the spinning beach ball and I can't click on anything, interact with anything, or type anything. The only way to get the computer out of this state, consistently, is to hold the power button and force a restart.
I've narrowed this problem down with some certainty to being related to my Seagate GoFlex Desk 3 TB external hard drive. Strangely, this drive required a driver to be installed from Seagate before it would show up connected via the attached Thunderbolt dock. There's a post here on Seagate's website that addresses some similar concerns with a similar drive. I did install that driver, which seemed to make the issue much worse, but I swear this issue may have been there before all this (I can't remember with certainty).
- If I disconnect the drive entirely, the problem goes away.
- If I boot the system into Safe Mode (with Shift held down), the problem also goes away.
Now, I've diligently gone through and removed everything I could find that was installed along with this driver. I opened up the installer and went to Show Files and removed everything it installed. I even searched my /Library
and /System
folders for anything with "Seagate" in the name, and killed all of it. But the problem still remains.
Booting into Safe Mode and having the problem go away tells me there is a software component here that is causing this mayhem. What I would like to ask for assistance with is how best to try and hunt down the driver, or kext, or application, or whatever it might be that is causing the system to hang like this.
I'm probably going to end up replacing this drive anyway, because this is just ridiculous, but in the meantime, it hosts a lot of important data and I'd really like to get my system working again with the drive by disabling whatever is so consistently causing it to hang.
Thanks so much for any help!
Best Answer
Here is a method to hunt the
kext
which may cause you a hang system.Boot in safe mode & make a capture of the minimal safe set of extenions loaded with:
Boot in normal mode & make a capture of the full set of extensions loaded with:
Compare them:
and from this difference, which is including the faulty kext, extract the culprit by checking its installation date:
The faulty extension will be the one installed at the time of the start of your kernel hang.
Beware: the
extension_folder_name…
is not the extension name as displayed bykexstat
.Here is an example:
is coming from:
Make a backup copy of the suspected extension:
and test this system with one missing kernel extension:
If it is OK. You got the right culprit.
If not. Just reverse step 4,
reboot
and repeat from step 4 to test the next potential extension.