Re: [Bug 59695] Re: default value in power.sh potentially kills laptop disks

2007-10-31 Thread Johnathon
*** This bug is a duplicate of bug 17216 *** https://bugs.launchpad.net/bugs/17216 > ( > attempting to post this comment using the website tells me: > > Not Found > > The requested URL /ubuntu/+source/acpi-support/+bug/59695/+addcomment > was not found on this server. > ) Thats due to the

Re: [Bug 59695] Re: default value in power.sh potentially kills laptop disks

2007-10-31 Thread Chris Moore
*** This bug is a duplicate of bug 17216 *** https://bugs.launchpad.net/bugs/17216 > Why has this been made a dup of a Fix Committed bug, when the problem is clearly still valid. It seems that there are some at Ubuntu who feel it is more important to make the bug statistics look good than it

Re: [Bug 59695] Re: default value in power.sh potentially kills laptop disks

2007-10-31 Thread Johnathon
*** This bug is a duplicate of bug 17216 *** https://bugs.launchpad.net/bugs/17216 - "Neil Wilson" <[EMAIL PROTECTED]> wrote: > *** This bug is a duplicate of bug 17216 *** > https://bugs.launchpad.net/bugs/17216 > > ** This bug has been marked a duplicate of bug 17216 >Hard driv

Re: [Bug 59695] Re: default value in power.sh potentially kills laptop disks

2007-10-30 Thread Brian Visel
But note also that with how often Ubuntu touches the disk, it will quite simply never park the heads, even if it is inactive. Actually, the aggressive APM isn't really the issue (although it will, obviously, affect the live to some extent), it's more that Ubuntu touches the HD on a regular basis,

Re: [Bug 59695] Re: default value in power.sh potentially kills laptop disks

2007-10-29 Thread Bart Samwel
I didn't see atime mentioned on the wiki page. Logging in fails for me right now (takes forever), so perhaps somebody else could add this info: If you're looking for something that definitely does cause disk activity every 30 seconds, it's atime updates. When enabled (which they are by default

Re: [Bug 59695] Re: default value in power.sh potentially kills laptop disks

2007-10-29 Thread Brian Visel
I'm 99% sure that the problem lies not (so much) in the aggressive APM, but in the combination of the aggressive APM and some spurious constant disk activity. If the disk activity weren't there, it wouldn't be so much of an issue, and if the APM weren't so aggressive, it wouldn't be so much of an

Re: [Bug 59695] Re: default value in power.sh potentially kills laptop disks

2007-10-28 Thread Bart Samwel
Blue wrote: >> Now, regarding the "insane" -S4 setting for laptop mode: this setting is >> intended for battery mode only, > >But it gets activated for desktop where battery status cannot be > determined,too. And this is bad. ACK, definitely. > Also, I don't find smart to try to >

Re: [Bug 59695] Re: default value in power.sh potentially kills laptop disks

2007-10-28 Thread Blue
On Sun, 2007-10-28 at 13:26 +, Bart Samwel wrote: > @Blue: > > Regarding this: "Even more, on the same manufacturer's site I found a > document where they say that respinning up a harddisk takes a lot of > power (the current peaks at about 1A) which means that if it's > needed/done too frequen

Re: [Bug 59695] Re: default value in power.sh potentially kills laptop disks

2007-10-28 Thread Pedro Martínez Juliá
You should backup all your data! It's not sure to crash but you should know that number is over the maximum taken from Hitachi specification about Load/Unload. It says that 300k cycles are bonded but they tested over 1000k loads (not cycles). Regards, Pedro -- Pedro Martínez Juliá \ [EMA

Re: [Bug 59695] Re: default value in power.sh potentially kills laptop disks

2007-10-27 Thread Pedro Martínez Juliá
Hi, Please, can you post kernel versions and hdparm parameters used in init-scripts? Detailed information about hdparm calls during start-up and while changing power source in OpenSUSE and Fedora could be very interesting. Regards, Pedro -- Pedro Martínez Juliá \ [EMAIL PROTECTED] )|

Re: [Bug 59695] Re: default value in power.sh potentially kills laptop disks

2007-10-27 Thread Pedro Martínez Juliá
As you can see that hdparm executions are related to laptop_mode, not directly to start-up. If Ubuntu can't identify your AC status is another bug, not related to "power.sh". Regards, Pedro -- Pedro Martínez Juliá \ [EMAIL PROTECTED] )| WebLog: http://www.pedromj.com/blog /

Re: [Bug 59695] Re: default value in power.sh potentially kills laptop disks

2007-10-27 Thread Pedro Martínez Juliá
Init system calls hdparm script but my "hdparm.conf" had no-section. I've added one for adding "-B254". Using "rgrep -i *" in "/etc" can tell you a lot of things but if you want more, for example, change hdparm binary with a wrapper script that calls real hdparm and logs its execution (date >> /va

Re: [Bug 59695] Re: default value in power.sh potentially kills laptop disks

2007-10-27 Thread Pedro Martínez Juliá
Hi, In your case (24x7), you should use a value for "-B" that can increase the life of your hard drive having a reasonable temperature. My hard drives tells (through smartctl) 41ºC and 13/51 for actual and min/max temperatures. I'm using "hdparm -B254" since yesterday because it reached 400k loads

Re: [Bug 59695] Re: default value in power.sh potentially kills laptop disks

2007-10-27 Thread Pedro Martínez Juliá
749 times is not a lot of start/stop count but 600k is huge for parking. Regards, Pedro -- Pedro Martínez Juliá \ [EMAIL PROTECTED] )| WebLog: http://www.pedromj.com/blog / Página web: http://www.pedromj.com GoogleTalk: [EMAIL PROTECTED] Socio HispaLinux #311 Usuario Linux

Re: [Bug 59695] Re: default value in power.sh potentially kills laptop disks

2007-10-27 Thread Pedro Martínez Juliá
But it's said that a hard drive only supports around 600k Load cycles. I saw that Ubuntu puts "-B255" to disable APM but it stills do around 3-5 unloads/loads in a minute. With "-B254" it doesn't unload... Regards, Pedro -- Pedro Martínez Juliá \ [EMAIL PROTECTED] )| WebLog: http://

Re: [Bug 59695] Re: default value in power.sh potentially kills laptop disks

2007-10-27 Thread Martin Emrich
Hi! wolfchri schrieb: > @Martin Emrich: > > All my (laptop) systems run with the "noatime,nodiratime" parameter ion > /etc/fstab for all partitions. > > It makes no difference :-( It was not meant as a fix for the problem (I have noatime since a long time), but rather as an explaination for the

Re: [Bug 59695] Re: default value in power.sh potentially kills laptop disks

2007-10-27 Thread Pedro Martínez Juliá
Hi, Worse, a few (or most) laptops have the default behavior of park heads about 3 or 4 times in a minute. This is fixed in my laptop with "hdparm" but using "-B254" instead of "-B255". I added a line in "hdparm.conf" for my disk with "apm = 254". Also changed "power.sh" to set "-B254" instead of

Re: [Bug 59695] Re: default value in power.sh potentially kills laptop disks

2007-10-24 Thread Tim Hull
In that case, something should be done, as aggressive power management is enabled by default - and as the reports demonstrate, this is causing a significantly shorter disk life than on other OSes. On 10/24/07, Matthew Garrett <[EMAIL PROTECTED]> wrote: > > By default, we do nothing to set any disk

Re: [Bug 59695] Re: default value in power.sh potentially kills laptop disks

2007-10-24 Thread Brian Visel
I wonder if it's going into sleep, and then trying to write to the log that it has gone to sleep.. That would be a big 'duh'. On Wed, 2007-10-24 at 22:43 +, Kamil Páral wrote: > I have Dell Latitude C640 with Western Digital 40GB. The harddisk is 3 > days old (brand new) and I have 900 load c

Re: [Bug 59695] Re: default value in power.sh potentially kills laptop disks

2007-10-24 Thread Blue
OOps :) This one : https://bugs.launchpad.net/ubuntu/+source/acpi-support/+bug/59695/comments/28 -- default value in power.sh potentially kills laptop disks https://bugs.launchpad.net/bugs/59695 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact f

Re: [Bug 59695] Re: default value in power.sh potentially kills laptop disks

2007-10-11 Thread Bart Samwel
ramas wrote: > The command hdparm -b 255 turn off completely APM. > This could last HD life by saving load cycles. > On the other hand, the HD temperature could get very HOT (51°c on my > Inspiron), also decreasing drive life. > > I wonder if there is another better solution to this, for example

[Bug 59695] Re: [Bug 59695] Re: default value in power.sh potentially kills laptop disks

2006-09-10 Thread Gilles Schintgen
> I can confirm this behavior with my T43 Thanks for confirming. So now we'll have to determine sane default values. I did some very unscientific tests using the command smartctl -d ata -a /dev/sda | grep 193; hdparm -B 180 /dev/sda; sleep 600; \ smartctl -d ata -a /dev/sda | grep 193; hdparm -B 2