LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-04-2005, 10:21 PM   #1
slinky2004
Member
 
Registered: Oct 2004
Posts: 309

Rep: Reputation: 30
hard drive problems


i have a standard ata drive(i'm not sure of the manufacturer) with an ich4m ide controller.

when i try to put it in standby with "hdparm -y /dev/hda" it goes into standby and immediately wakes up. I've tried killing syslogd and other processes that may be writing to the drive, but i dunno what programs are writing to the drive and which arent and i cant kill all of them. is this happening just because some process is writing to the drive or could it be something else?

when i try to put it to sleep with "hdparm -Y /dev/hda" everthing hangs: my shell stops responding, the whole system seems to just stop, i cant even reboot with ctrl alt del. if anybody can help me fix this, i'd appreciate it.
 
Old 11-05-2005, 09:43 PM   #2
freakyg
Member
 
Registered: Apr 2005
Distribution: LFS 5.0 and 6.1
Posts: 705

Rep: Reputation: 30
Re: hard drive problems

Quote:
Originally posted by slinky2004


when i try to put it to sleep with "hdparm -Y /dev/hda" everthing hangs: my shell stops responding, the whole system seems to just stop,
hmm, I wonder why..........man hdparm says this.............
Quote:
-Y Force an IDE drive to immediately enter the lowest power con-
sumption sleep mode, causing it to shut down completely. A hard
or soft reset is required before the drive can be accessed again

(the Linux IDE driver will automatically handle issuing a reset
if/when needed). The current power mode status can be checked
using the -C flag.
OH, I guess that explains it!
 
Old 11-06-2005, 02:21 PM   #3
slinky2004
Member
 
Registered: Oct 2004
Posts: 309

Original Poster
Rep: Reputation: 30
i read that too, but doesnt that just mean that my driver would issue a hard or soft reset to the drive the next time it needs to be accessed? so if i put it into deep sleep, then do something that needs to access the hard drive like ls or something, shouldnt it come out of sleep? what does that mean by hard or soft reset? shuting down the system or just reseting the drive? sometimes i can use "hdparm -w /dev/hda" and it will reset and work after it's been in sleep. i also have problems with my hard drive when resuming from acpi s3, probably because it puts the drive into a similar, if not the same, sleep state.

bump

Last edited by slinky2004; 11-06-2005 at 02:22 PM.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Reiser file system / Hard Disk/ Hard Drive Problems Oxyacetylene Linux - Software 4 10-10-2005 02:24 PM
Hard drive problems pajohn Linux - Hardware 1 09-06-2005 12:40 PM
Hard Drive Problems aznboi12321 Linux - Hardware 5 05-03-2005 08:27 AM
Hard drive problems mario8723 Linux - Newbie 9 03-12-2005 11:16 PM
Hard drive problems tommytomato Linux - General 1 05-31-2004 07:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:01 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