LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-02-2006, 12:06 PM   #1
TheDIngo
LQ Newbie
 
Registered: Feb 2006
Posts: 2

Rep: Reputation: 0
Question hdparm issues


It has come to my attention recently that my hard drive is never spinning down. I double checked my hdparm setup and all was well, so I started using hdparm to try and induce standby or sleep. While it would say it was sending the message, and a check of it's status would confirm it's state, the drive itself would never actually spin down and kmsg would have some random errors logged. To prove that it isn't a hardware issue or hdparm bug, I tested hdparm under both Knoppix and Mandrake and everything worked fine. I even compiled a few different version and all had the same results.

Sadly, I really need hdparm to work under my current system. It is an LFS build using the 2.6.7 kernal and the reiser file system. Sadly (and while much needed), compiling a new kernal is out of the question for my application. So I guess my question is, what might be causing this? Are there any dependancies for hdparm that might not be included in my build?
 
Old 02-02-2006, 12:13 PM   #2
Keruskerfuerst
Senior Member
 
Registered: Oct 2005
Location: Horgau, Germany
Distribution: Manjaro KDE, Win 10
Posts: 2,199

Rep: Reputation: 164Reputation: 164
1. Are you using "hdparm -S(value) /dev/xxx" to spin the drive down?
2. If you are using the above line, check if the kernel acesses swapspace on the disk. You can this out by using "top" on console.
 
Old 02-02-2006, 12:33 PM   #3
TheDIngo
LQ Newbie
 
Registered: Feb 2006
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Keruskerfuerst
1. Are you using "hdparm -S(value) /dev/xxx" to spin the drive down?
2. If you are using the above line, check if the kernel acesses swapspace on the disk. You can this out by using "top" on console.
Normally, yes I am using -S. However for testing have been using -y for standby, -Y for sleep, and -C to check the status of the drive. That, holding my ear up to it to listen, and doing an 'ls' to see how long it takes. But no, the system does not use swapspace.
 
  


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
hdparm Crumpet84 Linux - Newbie 1 04-16-2005 12:53 PM
how to use hdparm navarre9 Linux - Software 3 03-10-2004 09:19 AM
hdparm zebbedi Linux - Hardware 1 09-02-2003 01:37 PM
hdparm ash4stuff Linux - Hardware 4 08-14-2003 03:05 AM
hdparm -g NOT= hdparm -i ---LILO hangs @ L stevewalsh Linux - General 4 07-23-2001 09:37 PM

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

All times are GMT -5. The time now is 06:12 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
Open Source Consulting | Domain Registration