LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-11-2011, 02:02 AM   #1
snadge
LQ Newbie
 
Registered: Jan 2011
Posts: 17

Rep: Reputation: 0
excessive head parking!! heellp!


ive just installed ubuntu only to find its tearing my hard-drive to bits with this excessive parking issue...

can anyone tell me (a noob) how to stop it?

is there another version of linux that WONT do this?


EDIT: ive since disabled "spin down disks when possible" on the 'on battery' section (even though im running off 'mains' with a dying battery which it tells me of at every boot) and i havent heard it yet


thanks

Last edited by snadge; 01-11-2011 at 02:12 AM.
 
Old 01-11-2011, 02:58 PM   #2
barriehie
Member
 
Registered: Nov 2010
Distribution: Debian Lenny
Posts: 136
Blog Entries: 1

Rep: Reputation: 23
You can take the battery out and run it like a desktop. I don't run my laptop with the battery; I cycle it every 3 months.
 
Old 01-11-2011, 03:00 PM   #3
snadge
LQ Newbie
 
Registered: Jan 2011
Posts: 17

Original Poster
Rep: Reputation: 0
noises from hard-drive are back after rebooting

I have sounds, clicking, coming from hard-drive..after some research i think its related to the HDD power management and is a known issue with Linux that doesnt seem to be fixed.. from what ive read its the hard-drive going into power saving modes that arent compatible with Linux OS - this causes the heads to excessively 'park' (whatever that is) - it can however damage your hard drive over short period of time... im shocked that linux/ubuntu programmers have not dealt with this issue as it seems to affect many people...those with laptops notice it more due to the hard-drive being only inches away and can hear it..

can anyone help a NOOB fix this? - the fixes ive seen i dont know ho to apply

i previously changed the pwr mngmt settings to stop the "spin down disks when possible" option on battery (even though im on mains) which seemed to work last night, but today ive come back on and its doing it again, ive set the "spin down disks when possible" back to ON then OFF but it still doing it

PLEASE HELLLPP - Linux is destroying my hard-drive...

thanks

Last edited by snadge; 01-11-2011 at 03:02 PM.
 
Old 01-11-2011, 05:49 PM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Summer Midwest USA, Central Illinois, Winter Central Florida
Distribution: SlackwareŽ
Posts: 13,270
Blog Entries: 29

Rep: Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462
Hi,

Merged the two threads. Posting the same problem with different titles will only cause confusion.

I suggest that you look at 'How to Ask Questions the Smart Way' so in the future your queries provide information that will aid us in diagnosis of the problem/query.

What do you see in the logs? Check out 'dmesg' & '/var/log' for errors.

Last edited by onebuck; 01-18-2011 at 10:35 AM. Reason: correct typo
 
Old 01-15-2011, 09:11 PM   #5
snadge
LQ Newbie
 
Registered: Jan 2011
Posts: 17

Original Poster
Rep: Reputation: 0
setting it hdparm to 255 (OFF) or 254 (least amount of power management) does not work

when OFF it still does this...

i read one person saying 128 worked for him so trying that stopped the clicking being as loud but you could still hear the arm doing something then an almost silent whirr/clicking then the arm moving again and that noise stopping - this is extremely quite... quieter than the clicking when APM is on/off and even THAT is quieter than standard clicking when files are being accessed - the point is every 6 seconds or so when idle the drive is doing something no matter what i set it at - it does not do this in windows XP, Vista or 7

its a seagate momentus 120Gb 7200rpm i bought about 2-3 years ago
 
Old 01-15-2011, 11:34 PM   #6
nigelc
Member
 
Registered: Oct 2004
Location: Sydney, Australia
Distribution: Mageia 6
Posts: 366
Blog Entries: 4

Rep: Reputation: 63
Hi,
it could be getting errors. What does "dmesg" show?
 
Old 01-16-2011, 04:00 PM   #7
snadge
LQ Newbie
 
Registered: Jan 2011
Posts: 17

Original Poster
Rep: Reputation: 0
do i just type that in terminal?
 
Old 01-16-2011, 04:08 PM   #8
hughetorrance
Member
 
Registered: Aug 2009
Location: London North West
Distribution: x86_64 Slack 13.37 current : +others
Posts: 459

Rep: Reputation: 59
Yes as root
 
Old 01-17-2011, 11:23 AM   #9
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 9,561

Rep: Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997
/begin history lesson
"Parking" is an out of fashion idea as all drives now autopark. The idea was that before you switched off, you 'parked' the heads so they wouldn't clunk off your hd platter while over data if the thing was moved. We had little utilities like 'park.exe' which would reassure us "You can safely turn off the power now!" and engineers would freak if you turned off without parking the disk heads. Autoparking is done mechanically and pulls the heads to the centre as the disk spins down.
/end history lesson.

IMHO, you are breaking rule no. 1: "If it ain't broke, don't fix it!" Spindown loses you access time but is otherwise harmless. Fix something that's broken.
 
Old 01-17-2011, 05:44 PM   #10
onebuck
Moderator
 
Registered: Jan 2005
Location: Summer Midwest USA, Central Illinois, Winter Central Florida
Distribution: SlackwareŽ
Posts: 13,270
Blog Entries: 29

Rep: Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462
Hi,

Some users confuse servo operations as parking. Some HDD do thrash a bit depending on filesystem layout or even swapyness can cause some confusion for users that really do not fully understand what is going on overall with their system. Some do not realize that the mounting of the hdd inside of the case can transfer & magnify the sound. I like hdd shock mounting for a tower case, adds some $$ but worth it.

Now if the drive is indeed clicking then the head is going to limits, this can be a problem with some user misuse of hdparm or sdparm on the drive types.

Loads of people do not understand that the circuits on the drive control the head positioning via the driver from the kernel.

Integrated Drive Electronics
have taken a lot of the load away from the OS. Now SATA has provided even better control via serial interfaces. If you read the referenced links you will find loads of information to aid you to understand current hdd systems.

Too bad we can't rid the users terminology with older style control theory that continues to confuse.

MFM/MMFM drives were nice at the time but let's drop the association of terms for older technology to newer technologies. I can remember when IDE was introduced and all the confusion with comparisons.
 
Old 01-17-2011, 06:28 PM   #11
nigelc
Member
 
Registered: Oct 2004
Location: Sydney, Australia
Distribution: Mageia 6
Posts: 366
Blog Entries: 4

Rep: Reputation: 63
Hi,
I used to fix Micropolis and Seagate drives. The drives should go for ages before they have do a seek to re-calibrate themselves. They used to seek to dedicated tracks to retrieve the info.
Some drives that have embedded servo will do it more often than drives that have servo tracks.
If the sound is quite loud it could mean that the actuator is hitting the stops i.e it is trying to seek past end of the disk.

cheers
Nigel
 
Old 01-18-2011, 08:36 AM   #12
snadge
LQ Newbie
 
Registered: Jan 2011
Posts: 17

Original Poster
Rep: Reputation: 0
this only happens in LINUX.... so its not a HARD-DRIVE ISSUE...

SMART shows my drive to be fully op and in good working order..

as this does not happen in windows im correct in thinking its a problem with linux coding...

the drive is not broken, nor is it servo operations - i can leave it idle for hours and it will still click.click.click.click...whirr...pause for 6 seconds or so .... REPEAT very quietly - this is not servo ops or anything that SHOULD be happening, if you look about you will see that this is an issue with a lot of laptop hard-drives that run linux/ubuntu - ive tried all the fixes but all i can do is make it slightly quieter by changing hdparm to 128 ... 254 or 255(off) does not work...

now if hard-drive was PARKING ITS HEADS or AUTOPARK why does it repeat every 6 seconds or so? surely this is like parking your car then reversing it back out to park again...over and over? and cos it only happens in linux means only one thing... Linux power saving code in the kernel does not work properly on my drive.... ive had all versions of windows on this laptop and it does not suffer
 
Old 01-18-2011, 09:02 AM   #13
onebuck
Moderator
 
Registered: Jan 2005
Location: Summer Midwest USA, Central Illinois, Winter Central Florida
Distribution: SlackwareŽ
Posts: 13,270
Blog Entries: 29

Rep: Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462
Hi,

You looked at the 'dmesg' or other logs in 'var/log'? Possibly share it via posting within code tags # or quote the appropriate/relative information for the device.

What about some information from the drive? Post the output of 'hdparm -I /dev/your_device' (replace your_device with drive assignment). BTW, is this a SATA or IDE device? Ubuntu Version? Updated?

You are not helping us to help you. This is a one way communication path, until you provide us with some proper feedback this issue will continue. Saying it doesn't happen with M$ doesn't mean a thing to me.

So take a deep breath, look at the logs and device information then post the portions so we can help.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Script to save text to a file every 6 seconds (HDD issue - Parking/Unparking head) Hypertenzion Linux - Software 21 10-29-2010 09:30 AM
hdparm load cycle/head parking question jsteel Linux - Laptop and Netbook 1 05-30-2010 07:22 AM
Parking the hdd heads. stf92 Linux - Hardware 7 12-13-2009 11:16 AM
LXer: Perens pushes for open source domain parking LXer Syndicated Linux News 0 04-18-2006 05:03 PM
HEELLP ~~ Converting an integer minute into time, Rounding off a double ~~ HELLP Mistro116@yahoo.com Programming 5 10-04-2005 12:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration