[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2013-04-02 Thread Saddy
For me, this isn't fixed for Ubuntu 12.04.2 LTS. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/952556 Title: [Precise] [Hardware-killer] HD restarts every few seconds To manage notifications about

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-09-19 Thread jasmineaura
hdparm is contradicting itself in /usr/lib/pm-utils/power.d/95hdparm-apm (Using LMDE+UP5, kernel 3.2+45, hdparm 9.39-1+b1) $ head /usr/lib/pm-utils/power.d/95hdparm-apm #! /bin/sh # # This script adjusts hard drive APM settings using hdparm. The hardware # defaults (usually hdparm -B 127) cause

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-09-16 Thread Thierry Volpiatto
I wonder why you are not using by default laptop-mode in ubuntu instead of trying to hook hdparm rules here and there. I have switched to laptop-mode, set all values for hdparm -B to 254 and problem is gone. I have uncommented also in /etc/apm/event.d/20hdparm: APMD_DRIVES= Don't know if it is

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-05-18 Thread Dagnachew L.
Dear any interested, I just found out that the hdparm -B and -S parameters were being overridden by the laptop_mode-tools. Whenever I put my laptop on battery after using it on AC, its hdparm values set at boot time are overridden by the settings inside the following file (if you have

Re: [Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-05-18 Thread Steve Langasek
On Fri, May 18, 2012 at 10:34:41AM -, Dagnachew L. wrote: I just found out that the hdparm -B and -S parameters were being overridden by the laptop_mode-tools. Oops. I knew this was a possibility - sorry for failing to mention it. laptop-mode-tools is not part of the standard stack, in

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-05-16 Thread Torsten Römer
I can confirm that Start_Stop_Count doesn't increment any more, which is nice, but Load_Cycle_Count still increments by about 1-10 per minute. I set apm_battery = 254 in /etc/hdparm.conf now, which stops Load_Cycle_Count from incrementing, so that is fine. But isn't this the wrong solution? I

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-05-16 Thread Swâmi Petaramesh
The average laptop HD life can typically stand : ~ 40,000 - 60,000 disk spin-up ~ 600,000 - 800,000 heads load-unload cycles So it's quite normal (and desirable) that you load-unload heads much more frequently than you spin the disk. Furthermore loading heads is a matter of a fraction of a

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-05-16 Thread Torsten Römer
Sounds reasonable, and without wanting to turn this bug report into a discussion thread: Are there some interesting values for apm_battery between 128 and 254 to try out, to sort of find a good trade-off between lots of load cycles vs. heads never being parked? I googled without much success, it

Re: [Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-05-16 Thread Steve Langasek
On Wed, May 16, 2012 at 03:04:07PM -, Torsten Römer wrote: Sounds reasonable, and without wanting to turn this bug report into a discussion thread: Are there some interesting values for apm_battery between 128 and 254 to try out, to sort of find a good trade-off between lots of load cycles

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-05-15 Thread PicMon
For me everything works fine after the last update. Thank you -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/952556 Title: [Precise] [Hardware-killer] HD restarts every few seconds To manage

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-05-15 Thread Neil Price
I might be missing something, apologies if i am, but I notice that for Precise a decision was made to define a value for -S, in /lib/hdparm /hdparm-functions, when on battery to -S36. From Dagnachewl's comment (70) it would seem that it's the defining of or value of -S that's still causing issues

Re: [Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-05-15 Thread Steve Langasek
On Tue, May 15, 2012 at 08:20:42AM -, Neil Price wrote: I might be missing something, apologies if i am, but I notice that for Precise a decision was made to define a value for -S, in /lib/hdparm /hdparm-functions, when on battery to -S36. From Dagnachewl's comment (70) it would seem that

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-05-15 Thread Dagnachew L.
Thanks Steve. The problem, as you said, might be coming from a combination of causes. I have tried all the numbers that are mentioned here and elsewhere but in vain. The only magic number that has worked so far while switching to battery mode, as I said earlier is: hdparm -B 128 -S 242 /dev/sda

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-05-14 Thread Dagnachew L.
sudo hdparm -B 128 -S 242 /dev/sda this seems to make my HD happy. no spinning, no nagging, excellent battery life (+5 hours) , ... But, i have to run the above at every boot.I tried putting that in /etc/rc.locale but no success. I can live with this at least for now, with the hope that

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-05-14 Thread Gabriel Velo
I can confirm this bug with my Lenovo G560. Running latest Precise. The continuous hd restarts is annoying !!! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/952556 Title: [Precise]

Re: [Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-05-12 Thread Steve Langasek
On Sat, May 12, 2012 at 05:22:13AM -, Dagnachew L. wrote: Thank you for the final release. In fact, I installed it earlier (just before it was removed for validation) and apt-get tells me that I have the latest release. If so, my problem,sadly, is not fixed by this release. I don't know

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-05-12 Thread Dagnachew L.
Steve, My problem is, whatever number I set for apm_battery in /etc/hdparm.conf, it gets reset to: Advanced power management level: 1 at reboot. It shows: Advanced power management level: 255 when on AC power. This is what I have in the conf file: /dev/sda { apm = 255 apm_battery

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-05-11 Thread Dagnachew L.
Thank you for the final release. In fact, I installed it earlier (just before it was removed for validation) and apt-get tells me that I have the latest release. If so, my problem,sadly, is not fixed by this release. I don't know What to do next with this critical problem. I noticed in the

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-05-10 Thread Launchpad Bug Tracker
This bug was fixed in the package hdparm - 9.37-0ubuntu3.1 --- hdparm (9.37-0ubuntu3.1) precise-proposed; urgency=low * debian/hdparm-functions, debian/95hdparm-apm: set our spindown policy back to -B128 instead of -B127. Too many drives misbehave too badly with this

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-05-08 Thread Steve Langasek
this will be automatically marked 'fix released' when published to precise-updates, and should not be so marked until then. ** Changed in: hdparm (Ubuntu Precise) Status: Fix Released = Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-05-08 Thread Dagnachew L.
Sorry Steve. I was just checking and clicked on it inadvertently. But, I was surprised that I (a no dev member) could modify it. I am still hoping that the release will fix my persistent and annoying HD issue. Best -- You received this bug notification because you are a member of Ubuntu Bugs,

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-05-07 Thread Dagnachew L.
** Changed in: hdparm (Ubuntu Precise) Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/952556 Title: [Precise] [Hardware-killer] HD restarts every few

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-05-06 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/precise-proposed/hdparm -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/952556 Title: [Precise] [Hardware-killer] HD restarts every few seconds To manage notifications

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-05-05 Thread Clint Byrum
Danachew, yes, we have a 7 day minimum waiting period to shake out any unintentional regressions. The fix should progress to -updates on or around May 9. It may be delayed a bit, as most (all?) of the SRU team members will be attending the Ubuntu Development Summit next week. -- You received

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-05-05 Thread Dagnachew L.
OK, thanks Clint, Enjoy the summit. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/952556 Title: [Precise] [Hardware-killer] HD restarts every few seconds To manage notifications about this bug go

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-05-04 Thread Dagnachew L.
tags:added: verification-done removed: verification-needed Does that mean that we have to wait till it is released after verification? Good luck! and thank you for being on top of this. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-05-02 Thread Martin Pitt
Hello Swâmi, or anyone else affected, Accepted hdparm into precise-proposed. The package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-05-02 Thread Andreas Koch
@ Dagnachew, Swami, Steve: I've noticed that in Dagnachew's output the power management has changed to 1 while his acoustic management setting is 128 after changing etc/hdparm.conf. My disk is still spinning down after adding apm_battery=128. Can it be that some disks interpret a power

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-05-02 Thread Dagnachew L.
Hi Martin, Thank you. I just installed it after adding ubuntu-proposed to my 'software sources' and running: sudo apt-get update sudo aptitude install hdparm/precise-proposed I accepted to install hdparm v9.37ubuntu3.1 sudo reboot dd@dd01:~$ sudo hdparm -I /dev/sda | grep power management

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-05-02 Thread Dagnachew L.
If that helps, the spinning seems less aggressive while on iGPU mode: I have currently AMD Catalyst 12.4 installed on my machine dd@dd01:~$ sudo aticonfig --px-list-active-gpu PowerXpress: Integrated GPU is active (Power-Saving mode) The spin becomes more frequent when on the dedicated

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-05-02 Thread hmarton
** Changed in: hdparm (Ubuntu Precise) Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/952556 Title: [Precise] [Hardware-killer] HD restarts every few

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-05-02 Thread Steve Langasek
** Changed in: hdparm (Ubuntu Precise) Status: Fix Released = Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/952556 Title: [Precise] [Hardware-killer] HD restarts every few

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-05-02 Thread Julian Olivien
Hi! I just reverted my hdparm.conf to default and updated hdparm from precise-proposed. Results: no more spin-up sounds while on battery in ~45 minutes of testing. I had various spin-ups every minute before, so the patch works for me (APM level is correctly set to 128 by default). (See my

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-05-02 Thread Steve Langasek
** Tags removed: verification-needed ** Tags added: verification-done -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/952556 Title: [Precise] [Hardware-killer] HD restarts every few seconds To

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-05-01 Thread Steve Langasek
** Also affects: hdparm (Ubuntu Precise) Importance: Undecided Status: New ** Also affects: hdparm (Ubuntu Quantal) Importance: High Assignee: Steve Langasek (vorlon) Status: Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-05-01 Thread Launchpad Bug Tracker
This bug was fixed in the package hdparm - 9.37-0ubuntu4 --- hdparm (9.37-0ubuntu4) quantal; urgency=low * debian/hdparm-functions, debian/95hdparm-apm: set our spindown policy back to -B128 instead of -B127. Too many drives misbehave too badly with this setting, possibly

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-05-01 Thread Steve Langasek
** Changed in: hdparm (Ubuntu Precise) Status: New = In Progress ** Changed in: hdparm (Ubuntu Precise) Importance: Undecided = High ** Changed in: hdparm (Ubuntu Precise) Assignee: (unassigned) = Steve Langasek (vorlon) ** Changed in: hdparm (Ubuntu Precise) Milestone: None

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-05-01 Thread Steve Langasek
** Description changed: + [Impact] + This issue has the potential to cause additional mechanical wear and tear on rotational hard drives by causing them to spin up and down more frequently than in previous Ubuntu releases. While the intent of a development change in the precise cycle was to

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-05-01 Thread Steve Langasek
Swâmi, in the case of your Toshiba laptop, can you confirm whether running 'hdparm -B 127' actually sets the level to 127? I'm wondering whether the drives where people are still seeing problems have an issue similar to what Ville describes in comment #42, where the APM setting is actually being

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-05-01 Thread Steve Langasek
** Changed in: hdparm (Ubuntu Quantal) Status: In Progress = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/952556 Title: [Precise] [Hardware-killer] HD restarts every few

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-05-01 Thread Swâmi Petaramesh
@Steve : (#50) root@tethys:/etc# hdparm -I /dev/sda | grep power management level Advanced power management level: 128 root@tethys:/etc# hdparm -B 127 /dev/sda /dev/sda: setting Advanced Power Management level to 0x7f (127) APM_level = 127 root@tethys:/etc# hdparm -I /dev/sda

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-05-01 Thread Swâmi Petaramesh
root@tethys:/etc# hdparm -I /dev/sda | more /dev/sda: ATA device, with non-removable media Model Number: SAMSUNG HN-M101MBB Serial Number: S2RQJ9BB704375 Firmware Revision: 2AR10001 -- You received this bug notification because

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-05-01 Thread Swâmi Petaramesh
(Additionally I first reported this issue running the same HD in a Dell XPS M1330 ; I then replaced my computer but just dropped my existing Samsung HD in my new Toshiba machine. Although the Toshiba BIOS behaves completely differently from the Dell one [read : not as well] and especially on power

Re: [Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-05-01 Thread Steve Langasek
On Tue, May 01, 2012 at 06:42:09AM -, Swâmi Petaramesh wrote: root@tethys:/etc# hdparm -B 127 /dev/sda /dev/sda: setting Advanced Power Management level to 0x7f (127) APM_level= 127 root@tethys:/etc# hdparm -I /dev/sda | grep power management level Advanced power

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-05-01 Thread Dagnachew L.
after setting apm_battery=128 in my /etc/hdparm.conf as well as in /lib/hdparm/hdparm-functions: if hdparm_is_on_battery; then hdparm_set_option -B128 Here is what I get with sudo hdparm -I /dev/sda Advanced power management level: 1 Complete log:

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-04-30 Thread Arthur
Confirming bug for Samsung NB30 netbook (HD Samsung HM250HI), Precise 12.04 latest, hdparm 9.37-0ubuntu3 does NOT fixes the bug! apm_battery=255 fixed it for me, but there are still a lot of users who can first think their HD is broken and needs to be replaced, as I thought at first.

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-04-30 Thread Swâmi Petaramesh
The bug has been know and reported for a month and a half. It's critical. It's one of the few bugs that can - and will - kill hardware. The cause is known. The solution has been found, tested and confirmed. Yet a LTS has been released with this critical bug and the fix is still not released.

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-04-30 Thread Dagnachew L.
This issue is driving me crazy. I tried Setting apm_battery = 128 in /etc/hdparm.conf and it seemed to work for a while and starts the same issue again. I don't want to keep on trying options for fear of damaging my 1TB HD on my Samsung Chronos 7 laptop, that would be too much. On the extreme

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-04-30 Thread Dagnachew L.
The above two comments were written at the same time independently. This just shows the frustration that most are experiencing. Some may not even notice it up until their HD is dead, what a shame that would be. -- You received this bug notification because you are a member of Ubuntu Bugs, which

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-04-30 Thread Torsten Römer
Adding apm_battery = 128 to /etc/hdparm.conf solves the problem also on my old BenQ notebook - thanks for providing this solution! I can say that also I am sometimes very frustrated about these kind of bugs, that seem to come back ever so often after getting fixed. But there is this great

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-04-29 Thread Daniel Manrique
Maybe this depends more on the hard disk than the actual laptop/system? I unplugged the power, then while doing nothing listened for the disk's powerdown. It happened after about 15 seconds, which I think shouldn't happen given the default values (-B is at 127, -S at 36, which would mean 3

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-04-27 Thread Ville Jouppi
A related issue here, I have a Samsung HS122JC in my Dell D430, and after updating to XUbuntu 12.04, I noticed that the HD started surging on battery power. Basically it spins up a bit faster for a while and the drive LED on the laptop glows solid for a moment while everything hangs, then it frees

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-04-25 Thread Julian Olivien
Can confirm these very frequent (~10 seconds) spinups as well. Setting apm_battery = 128 in /etc/hdparm.conf as a workaround works very fine. This is a Samsung 300E laptop with a SAMSUNG HM641JI harddisk. Attaching the output of hdparm -I /dev/sda (with apm_battery=128 set) if that helps.

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-04-25 Thread Julian Olivien
Forgot to mention: using Lubuntu i386 Precise from tuesday. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/952556 Title: [Precise] [Hardware-killer] HD restarts every few seconds To manage

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-04-22 Thread dominik
I can confirm this bug with my Thinkpad X200s. Running latest Precise. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/952556 Title: [Precise] [Hardware-killer] HD restarts every few seconds To

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-04-20 Thread Swâmi Petaramesh
@Andreas : If you don't wan't your disk to ever spin down, it should be enough to add apm_battery = 128 in /etc/hdparm.conf It won't fix this bug, bug that will be a perfect workaround for you ;-) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-04-19 Thread Andreas Koch
I can confirm that hdparm (9.37-0ubuntu3) indeed didn't fix the issue on Toshiba Laptops; model here is a Satellite C660 with a Seagate Momentus XT 500 GB hybrid HD. The drive is powercycling approximately 3 times per minute on battery and, funnily enough, also when the AC is connected AND the

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-04-03 Thread Joseph Salisbury
** Tags removed: kernel-key -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/952556 Title: [Precise] [Hardware-killer] HD restarts every few seconds To manage notifications about this bug go to:

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-03-30 Thread Colin King
Just to add my 2 cents worth, I'm concerned that there are a class of green drives out there on the market where hdparm -B 255 is the only way to ensure they don't excessively impact the Load_Cycle_Count, for example: WD20EADS, WD20EARS, WD15EADS, WD15EARS, WD10EADS, WD10EARS, WD8000AARS,

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-03-30 Thread Colin King
I've filed a separate bug 969165 for the WD drives. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/952556 Title: [Precise] [Hardware-killer] HD restarts every few seconds To manage notifications

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-03-30 Thread Swâmi Petaramesh
About the issue with the Toshiba L735-101 (needing at least -B 128 otherwise the disk spins down every few seconds even with latest patches), this might be related to the fact that Linux has hard times - probably an issue with Toshiba BIOS - to find out whether the system is on AC or battery:

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-03-29 Thread Kate Stewart
** Changed in: hdparm (Ubuntu) Milestone: ubuntu-12.04-beta-2 = ubuntu-12.04 ** Tags added: rls-mgr-p-tracking -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/952556 Title: [Precise]

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-03-27 Thread Swâmi Petaramesh
** Changed in: hdparm (Ubuntu) Status: Fix Released = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/952556 Title: [Precise] [Hardware-killer] HD restarts every few seconds To

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-03-26 Thread Swâmi Petaramesh
Unfortunately the fix is not enough on Toshiba L735-101 (that's a new kind of system I've been testing it on) : The disk keeps on spinning down every few seconds unless apm_battery = 128 is specified in hdparm.conf. -- You received this bug notification because you are a member of Ubuntu Bugs,

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-03-24 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/hdparm -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/952556 Title: [Precise] [Hardware-killer] HD restarts every few seconds To manage notifications about this bug go

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-03-24 Thread Steve Langasek
** Changed in: hdparm (Ubuntu) Status: Confirmed = In Progress ** Changed in: hdparm (Ubuntu) Assignee: Canonical Foundations Team (canonical-foundations) = Steve Langasek (vorlon) ** This bug is no longer flagged as a security vulnerability -- You received this bug notification

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-03-24 Thread Launchpad Bug Tracker
This bug was fixed in the package hdparm - 9.37-0ubuntu3 --- hdparm (9.37-0ubuntu3) precise; urgency=low * debian/hdparm-functions: if we're going to set -B127 on battery, we should also set a sane (not too low) spindown time, to avoid wearing out disks. LP: #952556. --

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-03-24 Thread Colin King
Hi, Just wanted to throw some analysis into this bug report. It's take me ~30+ hours of running tests to gather this data, so apologies if this comes late in the day once the fix has been committed :-/ I've measured Spin Start/Stop counts on a HP Mini netbook measuring the start/stop count during

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-03-24 Thread Swâmi Petaramesh
Thanks for the great bug fix guys :-) 3 minutes seems to be a very good default choice as far as I'm concerned. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/952556 Title: [Precise]

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-03-21 Thread Swâmi Petaramesh
@Steve #27 : Of course the counter for disk spin-ups is 4 Start_Stop_Count and not 193 Load_Cycle_Count, which is the counter for heads load/park. I've edited (on my EeePC 1005PE) /etc/hdparm.conf and removed the explicit setting for apm_battery which I had previously put, but specified instead

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-03-20 Thread Swâmi Petaramesh
I first used my ears, that told me that the disk was spinning down then up etc... On one of my machines the disk is loud enough to be clearly noticeable. Then I used smartctl -A /dev/sda to check the (4) Start_Stop_Count raw value over time, that's the HD's number of starts/stops in its lifetime.

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-03-20 Thread Swâmi Petaramesh
@Colin : I just tried sudo pm-powersave off on my Asus EeePC 1005PE (after having applied latest updates and rebooted, kernel 3.2.0-19-generic). It doesn't bring any improvement. I'm still getting about 1 HD start/stop per minute, system doing absolutely nothing and not even connected to the

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-03-20 Thread Colin King
@Swâmi, I've tried to reproduce this on a few machines with no luck as yet. Just to eliminate any misbehaving application that may be doing writes (and possibly) causing this problem can you do the following: sudo apt-get install fatrace sudo apt-get install powertop-1.13 sudo power-usage-report

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-03-20 Thread Joseph Salisbury
** Tags added: kernel-key ** Tags added: kernel-da-key -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/952556 Title: [Precise] [Hardware-killer] HD restarts every few seconds To manage

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-03-20 Thread Swâmi Petaramesh
Hi Colin, I'll perform the checks you suggest, however I doubt the issue is caused by apps performing unwanted writes (I assume that the disk restarting every minute be related to cron activity or so...) as I feel that the issue is not with the disk restarting, but with the disk stopping much too

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-03-20 Thread Colin King
@Swâmi, I'm suspecting it may be that Precise is doing less disk activity now that we've worked on fixing a bunch of applications + daemons that were causing a load of (frequent) unnecessary writes. I wonder if the hdparm setting in /lib/hdparm/hdparm-functions when running battery is too

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-03-20 Thread Swâmi Petaramesh
Attached the requested power-usage-report output from my EeePC 1005PE, per Colin's request. I have left my machine alone for 4 minutes wihtout any active network connection and not touching anything, while generating this. System freshly booted, no running apps except for a logged in user and

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-03-20 Thread Swâmi Petaramesh
After I added apm_battery = 255 to hdparm.conf per Colin's request, and rebooted my system, logged in then left it alone for 10 minutes, the HD's start/stop count DOESN'T INCREASE ANYMORE. So this is effectively a quick dirty fix. hdparm -I confirms : « Advanced power management level: disabled

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-03-20 Thread Swâmi Petaramesh
Checking the values in /lib/hdparm/hdparm-functions on a Linux Mint 12 (dual-boot installed on my EeePC), Mint 12 being based on Ubuntu Oneiric. The default battery mode value for -B is 128 instead of 127 on Ubuntu Precise. So it seems that this shift from 128 to 127, allowing disk spindown

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-03-20 Thread Swâmi Petaramesh
Checking same value on a Bodhi Linux (based on Ubuntu 10.04), it was -B 128 also, and I use Bodhi on 2 of my laptops without disks issues either... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-03-20 Thread Colin King
@Swâmi, Thanks for following up with some useful data. I think a 2-3 minute setting for -S is sane. Since this isn't a kernel bug, I will re-assign it. ** Package changed: linux (Ubuntu) = hdparm (Ubuntu) ** Changed in: hdparm (Ubuntu) Milestone: None = ubuntu-12.04-beta-2 ** Changed in:

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-03-20 Thread Marc Deslauriers
** Changed in: hdparm (Ubuntu) Assignee: (unassigned) = Canonical Foundations Team (canonical-foundations) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/952556 Title: [Precise]

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-03-20 Thread Swâmi Petaramesh
Hi, On my Dell XPS M1330, it's enough to specify apm_battery = 128 in /etc/hdparm.conf to solve the issue. That's the old value... So I confirm that this parameter was the cause of the issue on 2 machines, and the fix fixes it on both. -- You received this bug notification because you are a

Re: [Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-03-20 Thread Steve Langasek
On Tue, Mar 20, 2012 at 06:15:57PM -, Swâmi Petaramesh wrote: On my Dell XPS M1330, it's enough to specify apm_battery = 128 in /etc/hdparm.conf to solve the issue. That's the old value... So I confirm that this parameter was the cause of the issue on 2 machines, and the fix fixes it on

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-03-20 Thread Swâmi Petaramesh
Hi Steve, I'll try and give it a shot (not tonight) ; however, in 15+ years of intensive daily Linux use, I am yet to see any Linux machine (in use) that can keep its disk spinned down for more than a minute, unless using the laptop-mode tools and appropriate FS and write-cache settings, which

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-03-19 Thread Joseph Salisbury
** Package changed: ubuntu-meta (Ubuntu) = linux (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/952556 Title: [Precise] [Hardware-killer] HD restarts every few seconds To manage

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-03-19 Thread Colin King
Hi there, thanks for verifying this with older kernels. I'd like you to run the following: sudo pm-powersave off and see if the problem still exists -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-03-19 Thread Colin King
Oops, my mistake, should be: sudo pm-powersave false -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/952556 Title: [Precise] [Hardware-killer] HD restarts every few seconds To manage notifications

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-03-19 Thread Colin King
I'd like to also know if you have got laptop-mode-tools installed or not. Can you let me know. Thanks! ** Changed in: linux (Ubuntu) Assignee: (unassigned) = Colin King (colin-king) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-03-19 Thread Swâmi Petaramesh
I won't be able to check this further until a couple of days, but I can for sure say the following : - Yes, it happens with Oneiric kernel on precise beta. - It happens on all 3 machines I tried it on, and I would be very surprised if I had installed laptop-mode-tools on all three of them

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-03-19 Thread Colin King
Swâmi, what tools are you using to check for HDD start and load cycles? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/952556 Title: [Precise] [Hardware-killer] HD restarts every few seconds To

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-03-18 Thread Swâmi Petaramesh
Bug still present on 3 machines with today's latest updates including new kernel : 3.2.0-19-generic -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/952556 Title: [Precise] [Hardware-killer] HD

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-03-17 Thread Swâmi Petaramesh
UP ! Moving this hardware killer around until somebody notices it, realizes the house is on fire and decides to do something about it... ** Package changed: powermgmt-base (Ubuntu) = ubuntu-meta (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-03-13 Thread Swâmi Petaramesh
Reassigning this bug to power management, as it triggers in Precise also when using the old Oneiric 3.0.0-16 kernel ** Package changed: linux (Ubuntu) = powermgmt-base (Ubuntu) ** Tags removed: kernel-da-key kernel-key kernel-request-3.2.0-18.29 -- You received this bug notification because

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-03-12 Thread Swâmi Petaramesh
Confirmed with latest kernel update this morning. ** Changed in: linux (Ubuntu) Status: Incomplete = Confirmed ** Tags added: bot-stop-nagging -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-03-12 Thread Swâmi Petaramesh
Confirming this on a 2nd machine : Asus EeePC 1005PE. With numbers. With the machine clean-booted on precise Beta 1, latest kernel update as of now, running on battery, user logged in, no network connection, wi-fi disabled, no apps running except for an open terminal window. Leaving the machine

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-03-12 Thread Joseph Salisbury
@Swami Does the bug go away if you boot back into the Oneiric kernel? Also, would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v3.3 kernel[1] (Not a kernel in the daily directory). Once you've tested

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-03-12 Thread Swâmi Petaramesh
Confirming again on a 3rd, different laptop (Acer Aspire 3104 WLMi) Leaving the system alone on battery (no special software started, machine fresh booted with an user session open), in about 10 minutes I get : - (4) Start_Stop_Count: = +9 - (193) Load_Cycle_Count: = +9 So it seems that every

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-03-12 Thread Swâmi Petaramesh
Per Joseph request I booted my Dell XPS M1330 (the machine on which I initially started this bugreport) back onto Oneiric's kernel : # uname -a Linux tethys 3.0.0-16-generic #29-Ubuntu SMP Tue Feb 14 12:49:42 UTC 2012 i686 i686 i386 GNU/Linux ...But with the rest of Precise of course. I report

[Bug 952556] Re: [Precise] [Hardware-killer] HD restarts every few seconds

2012-03-11 Thread Swâmi Petaramesh
** Visibility changed to: Public -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/952556 Title: [Precise] [Hardware-killer] HD restarts every few seconds To manage notifications about this bug go to:

  1   2   >