Bug#448710: acpi-support: On notebooks the ACPI system causes the drive to retract every minute and thus decreases disk life by a high amount.

2007-10-31 Thread Bart Samwel

Marco Schuster wrote:

Package: acpi-support
Version: 0.103-1
Severity: critical
Justification: causes serious data loss

(See also https://launchpad.net/bug59695.html for corresponding Ubuntu bug!)

On a notebook with ACPI enabled, in battery mode the disk is retracted after
1 minute of idling. This leads to ~7000 retracts in only 100 hrs total
runtime - and a notebook disk can handle only up to 600.000 retracts; this
decreases the total life of a dsik to ~138 days, which is not even a half
year.


This is a dupicate, merging.

Cheers,
Bart



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#448710: acpi-support: On notebooks the ACPI system causes the drive to retract every minute and thus decreases disk life by a high amount.

2007-10-31 Thread Marco Schuster
Package: acpi-support
Version: 0.103-1
Severity: critical
Justification: causes serious data loss

(See also https://launchpad.net/bug59695.html for corresponding Ubuntu bug!)

On a notebook with ACPI enabled, in battery mode the disk is retracted after
1 minute of idling. This leads to ~7000 retracts in only 100 hrs total
runtime - and a notebook disk can handle only up to 600.000 retracts; this
decreases the total life of a dsik to ~138 days, which is not even a half
year.

As a workaround, add the following to /etc/hdparm.conf:
/dev/sda {
  apm = 255
}

and the following must be put into a file called 99-fix-disk.sh:
#!/bin/sh
hdparm -B 255 /dev/sda

This file has to be copied to:
/etc/acpi/suspend.d/
/etc/acpi/resume.d/
/etc/acpi/start.d/

which shuts off the idling behaviour and saves a huge lot of disk life.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.9-023stab043.3-smp (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages acpi-support depends on:
ii  acpid 1.0.4-7.1  Utilities for using ACPI power man
ii  dmidecode 2.9-1  Dump Desktop Management Interface 
ii  finger0.17-11user information lookup program
ii  hdparm7.7-1  tune hard disk parameters for high
ii  laptop-detect 0.12.1-0.1 attempt to detect a laptop
ii  libc6 2.6.1-1+b1 GNU C Library: Shared libraries
ii  lsb-base  3.1-24 Linux Standard Base 3.1 init scrip
ii  nvclock   0.8b2-1Allows you to overclock your nVidi
ii  powermgmt-base1.29   Common utils and configs for power
ii  radeontool1.5-5  utility to control ATI Radeon back
ii  toshset   1.72-6 Access much of the Toshiba laptop 
ii  vbetool   0.7-1.1run real-mode video BIOS code to a
ii  x11-xserver-utils 7.3+1  X server utilities

acpi-support recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]