You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

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

Upgraded to WD2500BEVS Hard drive, makes clicking noise..

Hey,

I recently upgrade my hard drive in my macbook to a WD 250GB SATA drive.

the problem I'm having is that every few seconds of inactivity the hard drive sounds like it 'parks' it's head.

The SMART status of the drive is verified.

Apparently this is the solution :

http://wdc.custhelp.com/cgi-bin/wdc.cfg/php/enduser/stdadp.php?p_faqid=1414&p_created=1138984716&psi

But I'm obviosoly on a mac running osx with no floppy drive, so does anyone know how to apply that patch? Thanks.

Message was edited by: Ron21

Mac OS X (10.5)

Posted on Nov 8, 2007 8:21 AM

Reply
133 replies

Dec 14, 2007 9:31 AM in response to WGrose

I feel like the installation instructions are missing something? Or I'm useless. 😀

e.g. you have to run ./hdapm, not just "hdapm," when running it from terminal, and I don't have a usr/local/bin folder.

I can run the script from Terminal and it works until reboot, but for whatever reason I can not make it work automatically at boot.

Can someone please help? Pretty please. Thanks!

Dec 14, 2007 11:55 AM in response to WGrose

Well, you need to know how to use terminal before you can make this work.

eg. you need to create the usr/local/bin folder with

sudo mkdir /usr/local/bin/

and move the compiled binary with desired apm level (default 255) to that folder (maybe with "sudo" also). Then, if you want it to run every time you boot, you need to move the .plist file also to folder /Library/LaunchDaemons .

You can also put the compiled binary where ever you like, but in that case you need to modify the .plist to point to that location.

The autostarting .plist doesn't work, if the clicking drive isn't disk0 and you haven't modified that .plist to fit your needs.

I hope that I explained it so you could understand it. You can also view the readme file that comes with hdapm, but it seems that it is in Pages -format, which is kind of annoying, because it's not a free program. If you want to read it, you can do it (with poor resolution though) with Preview.

Dec 14, 2007 12:41 PM in response to Laiskumus

Sorry, it seems like that the read me that comes with the other download (not the source) is readable with Textedit.

Here is a quick install for the image, that doesn't contain the source:

1. Mount the image

2. Open and paste to Terminal (CAUTION: Use with your own responsibility! But I think it should work.):

sudo mkdir /usr/local/bin && sudo cp /Volumes/hdapm/hdapm /usr/local/bin/ && sudo cp /Volumes/hdapm/hdapm.plist /Library/LaunchDaemons/ && sudo /Volumes/hdapm/hdapm disk0 max;

You should know what you are doing before running that.

Message was edited by: Laiskumus

Dec 14, 2007 4:12 PM in response to Laiskumus

Thank you for that information. It seems that by checking the system.log, this is the issue:


Dec 14 11:11:43 localhost com.apple.launchctl.System[2]: launchctl: Dubious ownership on file (skipping): /Library/LaunchDaemons/hdapm.plist

---

Apparently my MBP is dubious of the file. Anyway to reduce the...uh... dube?

Dec 14, 2007 4:31 PM in response to WGrose

Laiskumus, you're a genius! Your script worked perfectly. I checked my system log this time and indeed, it worked!

-------

Dec 14 18:26:19 localhost hdapm[38]: disk0: Hitachi HTS722020K9SA00
Dec 14 18:26:19 localhost hdapm[38]: Setting APM level to 0xfe:
Dec 14 18:26:19 localhost hdapm[38]: Success

Any idea why the system was dubious before I ran your line?

Thanks again!

Dec 15, 2007 1:19 PM in response to Laiskumus

Yes I'm glad too, though I'm quite unhappy with Apple for letting this bug through. I have the same problem with external 200GB 7200rpm Hitachi 2.5 drive. Since the APM fix only affects internal drives, whenever I connect this external one, it clunks every few seconds when idle, so I don't leave it plugged in very long because of this. NO issues on my XP Bootcamp partition. When is Apple going to fix this I wonder?

Dec 15, 2007 7:52 PM in response to Ron21

unfortunately i've found the hdapm still doesn't fully solve the problem.

The APM value is only changed at startup. What I've found is that if I unplug the macbook and use the battery at some point OSX changes the APM value and the clicking returns.

For now I simply open up the terminal at set it back to MAX but it's kinda annoying.

Dec 16, 2007 3:28 AM in response to Ron21

I've got Declunk to work as intended. However, it did not solve the issue of the disturbing noise.
I even bought a new harddisk from Samsung after I thought my original one (Fujitsu 60GB) had an error. But the noise seems to be unrelated to the harddisk itself.

So all my hope was with hdapm. Lol. This is what I got:

./hdapm disk0 max
disk0: SAMSUNG HM160HI
Setting APM level to 0xfe: FAILED: APM not supported


A few posts above someone mentioned that 4 seconds might be the key. Declunk works with 5 seconds. I didn't have an interest in using someone else's code, installation routine & whatever. Nor was I interested in installing Xcode to re-compile it on my Intel Mac for a 4 seconds cycle.

So I've written a short one-liner using simple shell syntax, which I placed into /etc/rc.common just above the host configuration part at the end of the start script.

while `sleep 4`; do echo *clunk* > /tmp/declunk && rm -f /tmp/declunk; done &


This solved my issue with the declunking noise.

Upgraded to WD2500BEVS Hard drive, makes clicking noise..

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