LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-14-2007, 12:03 PM   #1
jumapeg
Member
 
Registered: Jul 2006
Location: Spain
Distribution: Slackware current
Posts: 32

Rep: Reputation: 15
Weird hard disk noise on shutdown


Hi!
LKML
Quote:
"a weird
hard disk noise emitted when shutting down, immediately after the main
power is cut from the pc/notebook. We believe that the noise is a
symptom of an emergency head parking, usually performed on the drives
when the the power is forced cut off (for example consequently a
severe system crash)."
I also suffer the same problem with my Slackware 12 installation and generic-smp kernel. (no problems with WinXP)
My laptop has an Hitachi 120GB SATA drive.

I usually hear that noise when the laptop completely freezes and I have to push the power button (why laptops doesn't have reset button?!) or remove the battery. I know that this is dangerous but I do this twice a year.

Well, this bug(#7674) has been fixed in 2.6.22 kernel versions.
Do you notice that noise in your laptops?
Which kernel are you using?
I'm going to compile and install the latest kernel tomorrow or later.

Thanks in advance.
P.D.:Sorry for my bad english

EDIT: Maybe this is not the best section for this thread...sorry , sometimes I forget that other sections exist xD

Last edited by jumapeg; 08-14-2007 at 01:54 PM.
 
Old 08-14-2007, 09:31 PM   #2
thekid
Member
 
Registered: Jun 2005
Location: The Golden State
Distribution: Ubuntu 8.04
Posts: 190

Rep: Reputation: 30
The only thing I can think of is that you aren't letting Slack completely shut down before turning the power off and thus the emergency park. Do you notice any unusual logging when you restart? Does Slack force you to check the drive for errors upon reboot?
 
Old 08-15-2007, 03:00 AM   #3
pego
LQ Newbie
 
Registered: Aug 2007
Posts: 9

Rep: Reputation: 0
Yes, strange ... I have same problem on my laptop Acer Aspire 5100 , Slackware 12 default kernel and normal shutdown procedure shutdown -h now, I hear that notorious noise click Slack doesn't me force to check HD for errors upon reboot ...
 
Old 08-15-2007, 05:09 AM   #4
jumapeg
Member
 
Registered: Jul 2006
Location: Spain
Distribution: Slackware current
Posts: 32

Original Poster
Rep: Reputation: 15
Thekid: I let laptop completely shutdown, the shutdown process is OK, disable pcmcia services, unmount media...then...CLACK.
So If I use Slackware I have to reboot and shutdown in windows.

And as pego said Slack doesn't check any partition for errors (ext3) upon reboot.

Look at this, from the launchpad.net thread:

Quoted from an Hitachi pdf
Quote:
Emergency unload is intended to be invoked in rare situations. Because
this operation is inherently uncontrolled, it is more mechanically
stressful than a normal unload. A single emergency unload operation is
more stressful than 100 normal unloads. Use of emergency unload
reduces the start/stop life of the drive at a rate at least 100 times
faster than that of normal unload and may damage the drive.
This is a critical kernel bug that has been solved in recent kernel versions. I haven't got time to update it now.
 
Old 08-15-2007, 09:38 AM   #5
thekid
Member
 
Registered: Jun 2005
Location: The Golden State
Distribution: Ubuntu 8.04
Posts: 190

Rep: Reputation: 30
Well, it seems you know what the solution is, upgrading the kernel. If this is a machine you use regularly, my suggestion would be to make the time for the upgrade before you end up having to buy a new HDD.
 
Old 08-15-2007, 03:16 PM   #6
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Hi,

Most modern hard disk subsystems provide protective head parking as a feature that adds another layer of protection to auto park by safely parking the heads even if other system components lose functionality. This does provide a means by the integrated drive controls to safely park the heads of the subsystem.

In the older drive subsystems(RLL, MFM type drives) we would have too issue a 'park' command which was a small program that would park the heads in a known safe area.

With modern HD we don't really have that issue any longer. With the 2.6 kernel unload problem, yes there are ways to prevent this from occurring. If you are using 'APS' or even some other protective scheme for the laptop then some noise can occur from the park.

You can check the .config of your kernel for the 'HDAPS' by 'cat /usr/src/linux/.config |grep -i aps' to see if there is a module or compiled in.

I personally don't want to introduce another level, since most subsystems already take care of the concern.
 
Old 08-16-2007, 05:53 PM   #7
pego
LQ Newbie
 
Registered: Aug 2007
Posts: 9

Rep: Reputation: 0
This is result from command "cat /usr/src/linux/.config |grep -i aps" on my system:

CONFIG_DM_SNAPSHOT=m
CONFIG_SENSORS_HDAPS=m

I suppose that first line is irrelevant ... sorry onebuck if I misunderstand you but does your post mean that there is no reason for panic? And thanks for your help.
 
Old 08-16-2007, 08:08 PM   #8
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Quote:
Originally Posted by pego View Post
This is result from command "cat /usr/src/linux/.config |grep -i aps" on my system:

CONFIG_DM_SNAPSHOT=m
CONFIG_SENSORS_HDAPS=m

I suppose that first line is irrelevant ... sorry onebuck if I misunderstand you but does your post mean that there is no reason for panic? And thanks for your help.
Hi,

I'm not sure which model of SATA drive you are using. If I had the drive model then more could be found out. Generally the SATA has a great control function. The head safety features are about the same.

If you just hear a set or click that is the autopark or some say unload. But if you hear repeated actions then that is when I would worry. You can tell when that occurs.

I'm sure the Hitachi drive that you are using does have this feature. If the the drive subsystems should fail then the feature will perform as designed.

I would not panic. If you look at the data then that should help. The load/unload cycle is specified at 600,000.

You can also look into the kernel options.
 
  


Reply



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
Lexmark x1185 scanner - weird noise... Jakman85 Linux - Hardware 9 10-12-2008 03:25 PM
hard drive weird noise during boot ...time for an update?! aldimeneira Linux - Hardware 6 03-16-2006 10:19 AM
No disk scan after hard shutdown Maestro485 Slackware 5 07-02-2005 12:28 PM
Hard disk will not boot anymore, weird behaviour ! alxp Linux - Hardware 3 12-07-2004 09:18 AM
weird noise in hard drive bob10a Linux - Hardware 4 11-20-2002 06:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:17 AM.

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
Open Source Consulting | Domain Registration