[Bug 606706] Re: [maverick] HD spins down all the time on AC

2010-09-24 Thread Martin Pitt
Fixed in Debian packaging trunk. ** Changed in: pm-utils (Ubuntu Maverick) Status: In Progress = Fix Committed -- [maverick] HD spins down all the time on AC https://bugs.launchpad.net/bugs/606706 You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 606706] Re: [maverick] HD spins down all the time on AC

2010-09-24 Thread Martin Pitt
Uploaded, waiting for release team member to review. -- [maverick] HD spins down all the time on AC https://bugs.launchpad.net/bugs/606706 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list

[Bug 606706] Re: [maverick] HD spins down all the time on AC

2010-09-24 Thread Launchpad Bug Tracker
This bug was fixed in the package pm-utils - 1.4.1-3 --- pm-utils (1.4.1-3) experimental; urgency=low * debian/rules: Remove harddrive power hook, this causes excessive hard disk spindown on a lot of machines. The hdparm package already ships a less aggressive hook (with -B

[Bug 606706] Re: [maverick] HD spins down all the time on AC

2010-09-24 Thread Fred
I've been playing with the values of hdparm -B and hdparm -S for a while now, but I haven't been able to achieve an acceptable frequency of spindowns with any combination of settings. My WD2500BEVS and many other hdds out there don't behave as they should, so I'm glad that a safe choice has been

[Bug 606706] Re: [maverick] HD spins down all the time on AC

2010-09-23 Thread Martin Pitt
Could people please test setting DRIVE_POWER_MGMT_BAT to 127 by default? That's the first value which actually does permit spindown. Please change that with sudo gedit /usr/lib/pm-utils/power.d/harddrive (or your favourite editor) and set line 14 to

[Bug 606706] Re: [maverick] HD spins down all the time on AC

2010-09-23 Thread Daniel Swarbrick
Curiously, my hard disk appears to only support four values, indicating that it possibly ignores most bits of the value. Any value = 127 comes back as 1. dan...@thinkpad:~$ sudo hdparm -B 255 /dev/sda /dev/sda: setting Advanced Power Management level to disabled APM_level = off

[Bug 606706] Re: [maverick] HD spins down all the time on AC

2010-09-23 Thread Martin Pitt
I discussed that with Michael Biebl. We already have a hook in the hdparm package which sets it to 128, and if anything below causes too much trouble, let's just disable that particular hook completely. That brings us back to what we had in lucid, and is a safe choice at this point. --

[Bug 606706] Re: [maverick] HD spins down all the time on AC

2010-09-22 Thread Martin Pitt
** Changed in: pm-utils (Ubuntu Maverick) Status: Triaged = In Progress ** Changed in: pm-utils (Ubuntu Maverick) Milestone: None = ubuntu-10.10 -- [maverick] HD spins down all the time on AC https://bugs.launchpad.net/bugs/606706 You received this bug notification because you are a

[Bug 606706] Re: [maverick] HD spins down all the time on AC

2010-09-21 Thread Fred
I've fixed this bug for myself by modifying the value of the -B parameter of hdparm when running on battery power. I did this by editing /usr/lib/pm-utils/power.d/harddrive and changing line 14 from DRIVE_POWER_MGMT_BAT=${DRIVE_POWER_MGMT_BAT:-1} to

[Bug 606706] Re: [maverick] HD spins down all the time on AC

2010-09-19 Thread willyboy666
this bug is killing me, everything crashes now ,because the harddrive take 20-30 second to start spinning again, even sometime it try to start 2-3 times until it start spinning -- [maverick] HD spins down all the time on AC https://bugs.launchpad.net/bugs/606706 You received this bug

[Bug 606706] Re: [maverick] HD spins down all the time on AC

2010-09-17 Thread Chris Thomas
I am on a daily build of Maverick, 20100916, and it still has this issue. Every chance my computer gets to spin down the hard drive, it does. Every 10 seconds or so, I hear the hard drive spin up. I have a Sony VAIO VGN-NW270F. All this spinning up, puts a lot of extra wear and tear on a drive. I

[Bug 606706] Re: [maverick] HD spins down all the time on AC

2010-09-12 Thread willyboy666
on battery mode,my hard drive spins down while i am working on the laptop (everything freeze and i can hear the harddrive going calm) then i have to wait for 10 to 20 second until i hear my harddrive spins up again and the laptop work again(even the hd spining down option in power management is

[Bug 606706] Re: [maverick] HD spins down all the time on AC

2010-09-12 Thread Daniel Swarbrick
It definitely appears as though the Spin down hard disks when possible on the On Battery Power tab of the power management applet is not being respected. I have the option unchecked, and can observe the following: dan...@thinkpad:~$ sudo hdparm -B /dev/sda /dev/sda: APM_level = 254

[Bug 606706] Re: [maverick] HD spins down all the time on AC

2010-09-02 Thread Martin Pitt
** Also affects: pm-utils (Ubuntu Maverick) Importance: Medium Assignee: Martin Pitt (pitti) Status: Triaged ** Changed in: pm-utils (Ubuntu Maverick) Importance: Medium = High -- [maverick] HD spins down all the time on AC https://bugs.launchpad.net/bugs/606706 You received

[Bug 606706] Re: [maverick] HD spins down all the time on AC

2010-08-24 Thread MrMacman2u
Ok, as I sit here on my T42 Thinkpad running on battery and a fully up to date version of Maverick Alpha 3 and listen to my hard drive spin up and down so often it rarely actually FINISHES spinning DOWN before spooling back UP, I'm going to chime in and say the settings are way, way, WAY too

[Bug 606706] Re: [maverick] HD spins down all the time on AC

2010-08-14 Thread Søren Holm
Today I booted up my laptop. It is currently running without a battery. I notices the HD spin down and looked in the log. It had set the system as running without AC - which is false since the battery was out of the machine. When I plugged the battery in the system put itself in AC-mode. --

[Bug 606706] Re: [maverick] HD spins down all the time on AC

2010-08-07 Thread Daniel Hahler
I've marked bug 614876 as duplicate, where laptop mode gets detected on a desktop system. However, when it were a laptop system, it should not constantly spin disks down and up so much (by default). ** Changed in: pm-utils (Ubuntu) Importance: Undecided = Medium ** Changed in: pm-utils

[Bug 606706] Re: [maverick] HD spins down all the time on AC

2010-08-06 Thread Søren Holm
Two thing can be said. 1. In general the harddisk spins down to often in powersave-mode. 2. The log contains logging of the call to /usr/*/*/ /harddisk The call fails but that is because of some stuff that can not be set. Turning off powersave works in the case. The case a couple of day

[Bug 606706] Re: [maverick] HD spins down all the time on AC

2010-08-06 Thread Søren Holm
** Attachment added: udevadm monitor while turning off AC and turning it on again http://launchpadlibrarian.net/53151242/udev-monitor.acoff-acon.txt -- [maverick] HD spins down all the time on AC https://bugs.launchpad.net/bugs/606706 You received this bug notification because you are a

[Bug 606706] Re: [maverick] HD spins down all the time on AC

2010-08-05 Thread Christian Schürer-Waldheim
Soren, you could confirm this bug and provide some details about your hardware, so that the developers have more information to work on. -- [maverick] HD spins down all the time on AC https://bugs.launchpad.net/bugs/606706 You received this bug notification because you are a member of Ubuntu

[Bug 606706] Re: [maverick] HD spins down all the time on AC

2010-08-05 Thread Søren Holm
Yeah . but as of today, and yesterday, it has not been a problem. Two days ago the solution was to disable power-saving manually. BUT I powered on my system in a strange manner august 3rd. I placed the laptop in the docking-station and turned it on. But the power supply to the docking station

[Bug 606706] Re: [maverick] HD spins down all the time on AC

2010-08-03 Thread Søren Holm
As of today it is still a problem. -- [maverick] HD spins down all the time on AC https://bugs.launchpad.net/bugs/606706 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com

[Bug 606706] Re: [maverick] HD spins down all the time on AC

2010-07-19 Thread Martin Pitt
I'm going to devote this report to the part of running the battery mode scripts on AC power. ** Changed in: pm-utils (Ubuntu) Status: New = Incomplete ** Changed in: pm-utils (Ubuntu) Assignee: (unassigned) = Martin Pitt (pitti) -- [maverick] HD spins down all the time on AC

[Bug 606706] Re: [maverick] HD spins down all the time on AC

2010-07-19 Thread Christian Schürer-Waldheim
upower was not installed on my system (kubuntu), but it does not report that the system is on battery. The output of sh -ex /usr/bin/on_ac_power is: + set -e + OFF_LINE_P=no + [ -d /sys/class/power_supply/ ] + test -d /sys/class/power_supply/AC + test -r /sys/class/power_supply/AC/type + cat

[Bug 606706] Re: [maverick] HD spins down all the time on AC

2010-07-19 Thread Martin Pitt
Hm, I'm confused now. In comment 2 you said So even the laptop is connected to mains power again, the hooks are run as being on battery only., and in comment 8 it's correct now. What changed in between? So is this actually an issue, or is the remaining problem that it shuts down fast also when the

[Bug 606706] Re: [maverick] HD spins down all the time on AC

2010-07-19 Thread Christian Schürer-Waldheim
Yes, I noticed the different output too and could reproduce the behaviour. If I unplug the power cord after a fresh boot, wait until all pm-utils scripts are run and plug the cord in again, then I get the output as in comment 2 (scripts are run as being on battery). But if I quickly unplug and

[Bug 606706] Re: [maverick] HD spins down all the time on AC

2010-07-19 Thread Christian Schürer-Waldheim
Correction regarding the desktop computer: initial value of Device- initiated interface power management is enabled and disabled when the harddrive-hook is run manually. I've downgraded pm-utils to the version in lucid (1.3.0-1ubuntu1) on both computers and everything is as it used to be before