[opensuse] 13.1 suspend - hard drive wakes in different state - how/what to check.
All, I generally don't bother with suspend, just setting the screen-saver to blank and letting dpms power the display off, leaving the rest idling. That way I can ssh back into the box if I need something. However, I was testing suspend (pm-utils from the logout menu option), and ran into a strange quirk. After waking from suspend, the hard drives seems to be left in a low-power mode. I can hear it spin-up every few seconds and then it will idle down again. Pre-suspend, the disk is in the normal always-on mode (with hdparm -B = 96). I don't know what config would make it wake in a different mode, but I can hear the drive spin up regularly after waking. Is there somewhere in /etc/pm... or /etc/sysconfig where wake drive power state is configured. -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 10/27/2015 6:51 PM, David C. Rankin wrote:
All,
I generally don't bother with suspend, just setting the screen-saver to blank and letting dpms power the display off, leaving the rest idling. That way I can ssh back into the box if I need something. However, I was testing suspend (pm-utils from the logout menu option), and ran into a strange quirk.
After waking from suspend, the hard drives seems to be left in a low-power mode. I can hear it spin-up every few seconds and then it will idle down again. Pre-suspend, the disk is in the normal always-on mode (with hdparm -B = 96). I don't know what config would make it wake in a different mode, but I can hear the drive spin up regularly after waking.
Is there somewhere in /etc/pm... or /etc/sysconfig where wake drive power state is configured.
David: I'm on 13.2, so this might not match your situation..... I had some hibernation problems a while back. Googleing around I found that my problem with resume from hibernation was solved by removing the package pm-utils which systemd will use if it is there but apparently it is not needed any more. I simply deleted the package and used the kde (gecko button) leave / hibernate instead of the /usr/sbin/pm-hibernate command. It hibernated. Upon power on, it resumed. So far all working. So I've added pm-utils to my banish list. -- _____________________________________ ---This space for rent--- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
28.10.2015 04:51, David C. Rankin пишет:
All,
I generally don't bother with suspend, just setting the screen-saver to blank and letting dpms power the display off, leaving the rest idling. That way I can ssh back into the box if I need something. However, I was testing suspend (pm-utils from the logout menu option), and ran into a strange quirk.
After waking from suspend, the hard drives seems to be left in a low-power mode. I can hear it spin-up every few seconds and then it will idle down again. Pre-suspend, the disk is in the normal always-on mode (with hdparm -B = 96). I don't know what config would make it wake in a different mode, but I can hear the drive spin up regularly after waking.
Is there somewhere in /etc/pm... or /etc/sysconfig where wake drive power state is configured.
Not that I'm aware of. On my previous notebook I used udev rule to set power mode on boot and pm-utils and later systemd-sleep script to set it again on resume. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2015-10-28 02:51, David C. Rankin wrote:
Is there somewhere in /etc/pm... or /etc/sysconfig where wake drive power state is configured.
Are you using laptop mode tools? (maybe not the exact name). If you are, it has a lot of customization possibilities. If not, I would create a script under /etc/pm/sleep.d/ to handle it your way. Have a grep on "/etc/sysconfig" for occurrences of hdparm, perhaps. -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
On Tue, Oct 27, 2015 at 9:51 PM, David C. Rankin <drankinatty@suddenlinkmail.com> wrote:
All,
I generally don't bother with suspend, just setting the screen-saver to blank and letting dpms power the display off, leaving the rest idling. That way I can ssh back into the box if I need something. However, I was testing suspend (pm-utils from the logout menu option), and ran into a strange quirk.
After waking from suspend, the hard drives seems to be left in a low-power mode. I can hear it spin-up every few seconds and then it will idle down again. Pre-suspend, the disk is in the normal always-on mode (with hdparm -B = 96). I don't know what config would make it wake in a different mode, but I can hear the drive spin up regularly after waking.
Is there somewhere in /etc/pm... or /etc/sysconfig where wake drive power state is configured.
David, The WD Green drives were notorious for aggressive powerdown a few years ago. The 100,000 head park warranty could be eaten up in Linux in a matter of weeks as I recall. Checkout the package storage-fixup which was used to force the always-on mode. https://build.opensuse.org/package/show?project=openSUSE%3A13.2&package=storage-fixup I'm not sure if it helps after suspend or not. Or if it still works in a systemd world. Also, it doesn't look like it has had an update in a few years, so even if it does still work with the infrastructure you may have to add your drive model number, etc. to the config file that is used to identify problem drives. If it doesn't still work, it might be worth a bugzilla. As I recall storage-fixup came from the LKML ATA devel team. Greg -- Greg Freemyer www.IntelligentAvatar.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (5)
-
Andrei Borzenkov
-
Carlos E. R.
-
David C. Rankin
-
Greg Freemyer
-
John Andersen