Je re-poste ici un message que déjà posté sur le forum d’ubuntu. Le problème est le même sous debian.
Bonjour,
Sur mon nouveau portable sous ubuntu 9.10 :~$ date && sudo smartctl -a $(mount | sed -n '/\/ /s/[0-9].*//p') | grep 'Cycle\|Power'
Sun Mar 28 21:36:05 CEST 2010
9 Power_On_Hours 0x0032 100 100 000 Old_age Always - 101
12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 206
192 Power-Off_Retract_Count 0x0022 252 252 000 Old_age Always - 0
225 Load_Cycle_Count 0x0032 092 092 000 Old_age Always - 87763
Quelques secondes plus tard : ~$ date && sudo smartctl -a $(mount | sed -n '/\/ /s/[0-9].*//p') | grep 'Cycle\|Power'
Sun Mar 28 21:36:33 CEST 2010
9 Power_On_Hours 0x0032 100 100 000 Old_age Always - 101
12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 206
192 Power-Off_Retract_Count 0x0022 252 252 000 Old_age Always - 0
225 Load_Cycle_Count 0x0032 092 092 000 Old_age Always - 87767
J’ai bien sûr consulté la page suivante : doc.ubuntu-fr.org/laptop_mode#co … u_probleme
Avec les deux méthodes (laptop-mode et hdparm), il n’y a aucune différence au niveau de la fréquence des parcages des têtes de lecture. hdparm -B 254 /dev/sda ne change rien (mon disque est bien localisé en sda) et le laptop-mode bien qu’il soit activé sur batterie (la commande cat /proc/sys/vm/laptop_mode me retourne la valeur 2) n’est pas pris en compte (je spécifie "pas de parcage avant 60 s d’inactivité et j’ai 10 parcage dans les 30 secondes qui suivent).
Comment régler le problème ?
P-S : hdparm -B 254 semble pris en compte mais les parcages continuent : [code]~$ sudo hdparm -I /dev/sda
[sudo] password for pierre:
/dev/sda:
ATA device, with non-removable media
Model Number: SAMSUNG HM250HI
Serial Number: S1RUJ90SB29945
Firmware Revision: 2AC101C4
Transport: Serial, ATA8-AST, SATA 1.0a, SATA II Extensions, SATA Rev 2.5, SATA Rev 2.6
Standards:
Used: unknown (minor revision code 0x0028)
Supported: 8 7 6 5
Likely used: 8
Configuration:
Logical max current
cylinders 16383 16383
heads 16 16
sectors/track 63 63
–
CHS current addressable sectors: 16514064
LBA user addressable sectors: 268435455
LBA48 user addressable sectors: 488397168
Logical Sector size: 512 bytes
Physical Sector size: 512 bytes
device size with M = 10241024: 238475 MBytes
device size with M = 10001000: 250059 MBytes (250 GB)
cache/buffer size = 8192 KBytes
Form Factor: 2.5 inch
Capabilities:
LBA, IORDY(can be disabled)
Queue depth: 32
Standby timer values: spec’d by Standard, no device specific minimum
R/W multiple sector transfer: Max = 16 Current = ?
Advanced power management level: 254
Recommended acoustic management value: 254, current value: 0
DMA: mdma0 mdma1 *mdma2 udma0 udma1 udma2 udma3 udma4 udma5 udma6
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=120ns IORDY flow control=120ns
Commands/features:
Enabled Supported:
* SMART feature set
Security Mode feature set
* Power Management feature set
* Write cache
* Look-ahead
* Host Protected Area feature set
* WRITE_BUFFER command
* READ_BUFFER command
* NOP cmd
* DOWNLOAD_MICROCODE
* Advanced Power Management feature set
Power-Up In Standby feature set
* SET_FEATURES required to spinup after power up
SET_MAX security extension
Automatic Acoustic Management feature set
* 48-bit Address feature set
* Device Configuration Overlay feature set
* Mandatory FLUSH_CACHE
* FLUSH_CACHE_EXT
* SMART error logging
* SMART self-test
* General Purpose Logging feature set
* 64-bit World wide name
* IDLE_IMMEDIATE with UNLOAD
* WRITE_UNCORRECTABLE_EXT command
* {READ,WRITE}_DMA_EXT_GPL commands
* Segmented DOWNLOAD_MICROCODE
* Gen1 signaling speed (1.5Gb/s)
* Gen2 signaling speed (3.0Gb/s)
* Native Command Queueing (NCQ)
* Host-initiated interface power management
* Phy event counters
* Idle-Unload when NCQ is active
* NCQ priority information
DMA Setup Auto-Activate optimization
Device-initiated interface power management
* Software settings preservation
* SMART Command Transport (SCT) feature set
* SCT Long Sector Access (AC1)
* SCT LBA Segment Access (AC2)
* SCT Error Recovery Control (AC3)
* SCT Features Control (AC4)
* SCT Data Tables (AC5)
Security:
Master password revision code = 65534
supported
not enabled
not locked
not frozen
not expired: security count
supported: enhanced erase
62min for SECURITY ERASE UNIT. 62min for ENHANCED SECURITY ERASE UNIT.
Logical Unit WWN Device Identifier: 50024e920161cb48
NAA : 5
IEEE OUI : 0024e9
Unique ID : 20161cb48
Checksum: correct
[/code]