|
|||||||
|
|
|
![]() |
|
|
Strumenti |
|
|
#1 |
|
Senior Member
Iscritto dal: Oct 1999
Città: Milano
Messaggi: 531
|
Linux, Dell, hard disk continuo polling!?
salve a tutti....ho come l'impressione che ogni tot secondi (pochissimi) la testina dell'hard disk continui a riposizionarsi...qualcuno conosce questo problema?
ho un Dell inspiron 6400 + Debian con kernel 2.6.25-4... grazie anticipate
__________________
Vintage signature: Abit nf7-s, Xp 2500+@2300mhz, 256 mb 418mhz cas2, geforce fx5700,S-ATA 160 Maxtor,Lg gsa 4120b...prima..ma ora..DELL INSPIRON 6400, ATI X1300... |
|
|
|
|
|
#2 |
|
Senior Member
Iscritto dal: Feb 2006
Città: Parma
Messaggi: 3010
|
Prova ad alzare l'APM del disco con questo comando (adatta il device al tuo disco, se non hai hdparm naturalmente installalo):
sudo hdparm -B 254 /dev/hda Se questo risolve ed il sistema è già aggiornato occorre capire dove manca questa impostazione: in Debian i file che si occupano di questa cosa sono: /etc/acpi/ac.d/90-hdparm.sh /etc/acpi/battery.d/90-hdparm.sh /etc/acpi/resume.d/90-hdparm.sh /etc/acpi/start.d/90-hdparm.sh tutti uguali e tutti contenuti nel pacchetto acpi-support Questa è la versione Sid che, nel mio caso, funziona egregiamente: Codice:
#! /bin/sh
#
# This script adjusts hard drive APM settings using hdparm. The hardware
# defaults (usually hdparm -B 128) cause excessive head load/unload cycles
# on many modern hard drives. We therefore set hdparm -B 254 while on AC
# power. On battery we set hdparm -B 128, because the head parking is
# very useful for shock protection.
#
DO_HDPARM=y
if [ -e /usr/sbin/laptop_mode ] ; then
LMT_CONTROL_HD_POWERMGMT=$(. /etc/laptop-mode/laptop-mode.conf && echo "$CONTROL_HD_POWERMGMT")
if [ "$LMT_CONTROL_HD_POWERMGMT" != 0 ] ; then
# Laptop mode controls hdparm -B settings, we don't.
DO_HDPARM=n
fi
fi
if [ $DO_HDPARM = y ] ; then
AC_POWER=$( /usr/bin/on_ac_power; echo $? )
for dev in /dev/sd? /dev/hd? ; do
if [ -b $dev ] ; then
# Check for APM support; discard errors since not all drives
# support HDIO_GET_IDENTITY (-i).
if hdparm -i $dev 2> /dev/null | grep -q 'AdvancedPM=yes' ; then
if [ $AC_POWER -eq 1 ] ; then
hdparm -B 128 $dev
else
hdparm -B 254 $dev
fi
fi
fi
done
fi
Ultima modifica di Gimli[2BV!2B] : 07-06-2008 alle 00:04. |
|
|
|
|
|
#4 |
|
Senior Member
Iscritto dal: Oct 1999
Città: Milano
Messaggi: 531
|
è un Hitachi Travelstar 5K160 series
cmq non so per quale motivo ma ricompilando il kernel non l'ha fatto più!!:/ grazie gentilissimi come sempre
__________________
Vintage signature: Abit nf7-s, Xp 2500+@2300mhz, 256 mb 418mhz cas2, geforce fx5700,S-ATA 160 Maxtor,Lg gsa 4120b...prima..ma ora..DELL INSPIRON 6400, ATI X1300... |
|
|
|
|
| Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 08:53.



















