LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 02-14-2007, 07:29 PM   #1
auxsvr
Member
 
Registered: Dec 2006
Distribution: openSUSE 10.3
Posts: 260

Rep: Reputation: 30
HDD spins down then up then down again when halting the system


My hardware configuration is: P4 2.4GHz, asus P4PE M/B with a promise tx2 SATA controller, one SATA (WD, 120GB) and one PATA (WD, 80GB) disk on the promise controller, 1GB RAM. There was an old kernel version on which this wouldn't occur (about 2.6.4?); all newer kernels have this problem on my system. From google and my limited kernel knowledge this may be related to the power management subsystem.

Thanks in advance.
 
Old 02-14-2007, 09:24 PM   #2
St.Jimmy
Member
 
Registered: Jun 2006
Location: Boaz,Alabama
Distribution: Ubuntu 10.10 / Windows 7 Pro 64-Bit / Snow Leopard 10.6.4 64-Bit
Posts: 152

Rep: Reputation: 30
and this is a problem why?, exactly? it's most likely syncing the write buffer to the disk
 
Old 02-15-2007, 06:09 AM   #3
auxsvr
Member
 
Registered: Dec 2006
Distribution: openSUSE 10.3
Posts: 260

Original Poster
Rep: Reputation: 30
I've never seen another PC have this behaviour, which causes unnecessary wear and tear to the HDD. By the way, windows xp shuts down the normal way (all disks spin down normally), which was also linux' behaviour until some years ago.
 
Old 02-15-2007, 04:28 PM   #4
St.Jimmy
Member
 
Registered: Jun 2006
Location: Boaz,Alabama
Distribution: Ubuntu 10.10 / Windows 7 Pro 64-Bit / Snow Leopard 10.6.4 64-Bit
Posts: 152

Rep: Reputation: 30
Quote:
Originally Posted by auxsvr
I've never seen another PC have this behaviour, which causes unnecessary wear and tear to the HDD. By the way, windows xp shuts down the normal way (all disks spin down normally), which was also linux' behaviour until some years ago.
Not really, this came up in a maximumpc one time, simply put, write access appens all the time in windows, but Linux saves to a buffer, when the system dies, or the buffer is full, it writes.
 
Old 02-16-2007, 05:11 AM   #5
auxsvr
Member
 
Registered: Dec 2006
Distribution: openSUSE 10.3
Posts: 260

Original Poster
Rep: Reputation: 30
Could you please explain why write access as you put it causes the disk to spin down then spin up then spin down again? Is this a hardware deficiency? If so, using windows can cause data loss? Is this hardware deficiency only demonstrated on my PC, as others I have tested don't show this behaviour? Do you happen to have a link to the relevant LKML thread? Thanks in advance.
 
Old 02-16-2007, 09:59 PM   #6
St.Jimmy
Member
 
Registered: Jun 2006
Location: Boaz,Alabama
Distribution: Ubuntu 10.10 / Windows 7 Pro 64-Bit / Snow Leopard 10.6.4 64-Bit
Posts: 152

Rep: Reputation: 30
Even if it is a defect, it makes things better; windows xp constantly writes to the disk, but linux writes to memory then to the disk, causing it to spin-up-and-down.
notez: if any weired noise (ie: clicking) occurs, or the disk is near 5 years old, start making weekly backups and budget for a new HDD.
 
  


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
HDD Spins down for no reason - solution? kkathman Linux - Hardware 1 10-04-2006 01:22 PM
Help please... System Halting!?! MadLogic Linux - Software 2 07-21-2005 07:16 AM
System Halting while shutdown LiloAma Linux - Hardware 5 12-23-2004 01:49 PM
Computer doesn't turn off when halting system sfbence Linux - Hardware 4 05-23-2004 07:06 PM
halting the system jogurt666 Debian 2 02-16-2004 04:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 03:01 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration