LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 04-08-2011, 05:12 AM   #1
Enry211
LQ Newbie
 
Registered: Jan 2010
Distribution: Fedora Mate
Posts: 23

Rep: Reputation: 0
Standby "kills" my HardDisk (CentOS 5.5)


(i'm italian so be patient if my english isn't perfect, Thanks.)
When i try to put the pc in stand-by mode (suspend to RAM) it works but when it goes in standby mode i hear "stek" from the hard disk.
It's like if i press and hold the power button to remove the power supply.

How can i fix this problem?

P.S. When i boot appears a message: ATA1 SOFTRESET FAILED. It's related to this problem?
 
Old 04-08-2011, 12:58 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 11,566

Rep: Reputation: 1338Reputation: 1338Reputation: 1338Reputation: 1338Reputation: 1338Reputation: 1338Reputation: 1338Reputation: 1338Reputation: 1338Reputation: 1338
Hi. There are three possible modes. Here are the common names

1. Standby - screen off, but psu and cpu still use power. Used to fool pc owners into thinking they were saving power, when they were still using at least half power. You don't want to bother with this.

2. Suspend - suspend operations to ram. Everything goes quiet but you still use some battery. Consumes very little power, but will run the battery down in time.

3.Hibernate - writes everything to the swap partition, and kills the box. You use no power. If you boot on the same kernel, it can resume.

What type of pc have you? Post the output from
cat /sys/power/state
 
Old 04-08-2011, 01:10 PM   #3
Enry211
LQ Newbie
 
Registered: Jan 2010
Distribution: Fedora Mate
Posts: 23

Original Poster
Rep: Reputation: 0
Thank you for your reply, i mean the second definition:

2. Suspend - suspend operations to ram. Everything goes quiet but you still use some battery. Consumes very little power, but will run the battery down in time.

the command you request returns: "standby mem disk"

Suspend works fine, i only have the problem about the Hard Disk
 
Old 04-09-2011, 02:39 AM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 11,566

Rep: Reputation: 1338Reputation: 1338Reputation: 1338Reputation: 1338Reputation: 1338Reputation: 1338Reputation: 1338Reputation: 1338Reputation: 1338Reputation: 1338
Quote:
the command you request returns: "standby mem disk"
The above means you can go to standby, suspend, or hibernate

Just to make sure try these in turn

sync; echo -n mem > /sys/power/state After the restart, try
sync; echo -n disk > /sys/power/state

You can also look at the o/p of
grep PM /var/log/messages
 
Old 04-09-2011, 06:29 AM   #5
Enry211
LQ Newbie
 
Registered: Jan 2010
Distribution: Fedora Mate
Posts: 23

Original Poster
Rep: Reputation: 0
sync; echo -n disk > /sys/power/state at the end of all the messages returns "sda: stopping device" or something like that. Then it shutdown. Works fine.

sync; echo -n mem > /sys/power/state seems it doesn't stop SDA before shutting down. And with this command i hear the bad noise from the hard disk
 
Old 04-10-2011, 03:23 AM   #6
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 11,566

Rep: Reputation: 1338Reputation: 1338Reputation: 1338Reputation: 1338Reputation: 1338Reputation: 1338Reputation: 1338Reputation: 1338Reputation: 1338Reputation: 1338
It's probably a disk park. We don't think of those these days, but back in the day when 10mb was a huge disk you could never fill, every box used park the disk before power off because the heads wopuld rattle and destroy it if you didn't. They now have autoparking, i.e. heads go safe as the disk stops.

Use hibernate, and forget suspend. Too many problems. Just remember to let the sata disks stop before moving the box. My laptop has a hibernate script linked to the lid button, and to battery critical. I don't use suspend because of different issues (video) and I don't miss it.
 
Old 04-10-2011, 04:33 AM   #7
Enry211
LQ Newbie
 
Registered: Jan 2010
Distribution: Fedora Mate
Posts: 23

Original Poster
Rep: Reputation: 0
Sorry, I didn't understand perfectly what you mean. Are you saying that this problem can't be fixed and using suspend without fixing it could destroy my hard disk? Did I understand correctly?

I tried Freebsd (freesbie) and it seems to work fine. Maybe i'll change CentOS with Freebsd

I use suspend very often and if CentOS doesn't support it i rather prefer use Windows
 
Old 04-10-2011, 09:55 AM   #8
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 11,566

Rep: Reputation: 1338Reputation: 1338Reputation: 1338Reputation: 1338Reputation: 1338Reputation: 1338Reputation: 1338Reputation: 1338Reputation: 1338Reputation: 1338
Well I don't have Centos. Centos correctly configured does support it. Are you prepared to configure it?

Rather than go to that bother on my own laptop, I use hibernate. What OS you use is a personal choice, as is the software you pay for.
 
  


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
"Difference between centos and slackware" and "also how to install scratch on centos" vijayendra.uppalapati Slackware 4 07-12-2012 11:10 PM
"Difference between centos and slackware" and "also how to install scratch on centos" vijayendra.uppalapati Slackware 2 01-23-2011 03:14 AM
Can I wake up a server in "standby" or "memory" mode using wake-on-lan? songweijia Linux - Server 2 03-03-2010 06:51 PM
ACPI S3 (so-called "Standby" or "Sleep") in GNU/Linux posix_memalign Linux - Laptop and Netbook 1 01-17-2009 01:54 PM
Lost DHCP Lease when putting computer in "Standby" mode for a "long" time pnellesen Linux - Networking 1 01-06-2005 11:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

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