mcz
Entusiasta Emergente

Non Connesso
Sesso: 
Messaggi: 1.406
Media messaggi
|
 |
« inserita: 31 Ottobre, 2007, 11:51:27 » |
|
Ho cambiato il titolo del post (inizialmente si riferiva a Gutsy visto che il bug era stato postato alla Canonical in più riprese, la prima volta all'inizio di settembre) poichè ora cominciano ad esserci notizie analoghe da altri sistemi operativi Linux (Gentoo, Fedora). La situazione sembra identica anche in Windows, dove però il valore di default è molto meno aggressivo di quello impostato nella maggior parte delle distribuzioni Linux. Il problema è serio e viene riportato abbondantemente in rete. Ecco un paio di links: A problem encountered by users running Ubuntu GutsyDefault HD power management settings will kill drive
|
|
|
|
« Ultima modifica: 01 Novembre, 2007, 23:14:54 da mcz »
|
Registrato
|
|
|
|
cRoW2k
Novello Novizio
Non Connesso
Sesso: 
Messaggi: 225
Media messaggi
|
 |
« Risposta #1 inserita: 31 Ottobre, 2007, 11:57:28 » |
|
Aggiungo https://launchpad.net/bug59695.html con l'attuale workaround (sia tramite hdparm che tramite il laptop-mode-tools)
|
|
|
|
|
Registrato
|
dArKeR thAn ThE bAt
|
|
|
lillolinux
Novello Novizio
Non Connesso
Sesso: 
Messaggi: 285
Media messaggi
|
 |
« Risposta #2 inserita: 31 Ottobre, 2007, 12:08:08 » |
|
e quale la soluzione ?
|
|
|
|
|
Registrato
|
|
|
|
jackyaway
Novello Novizio
Non Connesso
Sesso: 
Messaggi: 226
Media messaggi
|
 |
« Risposta #3 inserita: 31 Ottobre, 2007, 12:09:56 » |
|
quindi, basta mettere il valore 1 anzichè 0 a questa stringa CONTROL_HD_POWERMGMT=1 nel file /etc/laptop-mode/laptop-mode.conf giusto?
|
|
|
|
|
Registrato
|
|
|
|
More+
Coraggioso Chiacchierone
Non Connesso
Sesso: 
Messaggi: 426
Media messaggi
-Ach- ..piccione di m****!!
|
 |
« Risposta #4 inserita: 31 Ottobre, 2007, 12:42:06 » |
|
Sul mio laptop DELL 6400 di 6 mesi (uso ancora Feisty) ho riscontrato i seguenti valori : ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE 1 Raw_Read_Error_Rate 0x000b 100 100 062 Pre-fail Always - 0 2 Throughput_Performance 0x0004 107 107 000 Old_age Offline - 4487 3 Spin_Up_Time 0x0007 232 232 033 Pre-fail Always - 1 4 Start_Stop_Count 0x0012 100 100 000 Old_age Always - 289 5 Reallocated_Sector_Ct 0x0033 100 100 005 Pre-fail Always - 0 7 Seek_Error_Rate 0x000a 100 100 000 Old_age Always - 0 8 Seek_Time_Performance 0x0004 122 122 000 Old_age Offline - 39 9 Power_On_Hours 0x0012 098 098 000 Old_age Always - 1133 10 Spin_Retry_Count 0x0012 100 100 000 Old_age Always - 0 12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 287 191 G-Sense_Error_Rate 0x000a 100 100 000 Old_age Always - 0 192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 161 193 Load_Cycle_Count 0x0012 095 095 000 Old_age Always - 56982 194 Temperature_Celsius 0x0002 114 114 000 Old_age Always - 48 (Lifetime Min/Max 15/54) 196 Reallocated_Event_Count 0x0032 100 100 000 Old_age Always - 0 197 Current_Pending_Sector 0x0022 100 100 000 Old_age Always - 0 198 Offline_Uncorrectable 0x0008 100 100 000 Old_age Offline - 0 199 UDMA_CRC_Error_Count 0x000a 200 253 000 Old_age Always - 0 223 Load_Retry_Count 0x000a 100 100 000 Old_age Always - 0 225 Load_Cycle_Count 0x0012 095 095 000 Old_age Always - 56982
quindi, basta mettere il valore 1 anzichè 0 a questa stringa CONTROL_HD_POWERMGMT=1 nel file /etc/laptop-mode/laptop-mode.conf giusto? Boh, i più dicono di fare: Use hdparm; a command line tool to disable advanced power management (APM). This is achieved by running the following command :
$ sudo hdparm -B 255 /dev/sda
|
|
|
|
|
Registrato
|
|
|
|
jackyaway
Novello Novizio
Non Connesso
Sesso: 
Messaggi: 226
Media messaggi
|
 |
« Risposta #5 inserita: 31 Ottobre, 2007, 12:55:10 » |
|
a me smartctl -d ata -a /dev/sda restituisce questo: smartctl version 5.37 [i686-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen Home page is http://smartmontools.sourceforge.net/
=== START OF INFORMATION SECTION === Device Model: Hitachi HTS541616J9SA00 Serial Number: SB2401SJG3MB8B Firmware Version: SB4OC70P User Capacity: 160,041,885,696 bytes Device is: Not in smartctl database [for details use: -P showall] ATA Version is: 7 ATA Standard is: ATA/ATAPI-7 T13 1532D revision 1 Local Time is: Wed Oct 31 12:48:00 2007 CET SMART support is: Available - device has SMART capability. SMART support is: Enabled
=== START OF READ SMART DATA SECTION === SMART overall-health self-assessment test result: PASSED
General SMART Values: Offline data collection status: (0x00) Offline data collection activity was never started. Auto Offline Data Collection: Disabled. Self-test execution status: ( 0) The previous self-test routine completed without error or no self-test has ever been run. Total time to complete Offline data collection: ( 645) seconds. Offline data collection capabilities: (0x5b) SMART execute Offline immediate. Auto Offline data collection on/off support. Suspend Offline collection upon new command. Offline surface scan supported. Self-test supported. No Conveyance Self-test supported. Selective Self-test supported. SMART capabilities: (0x0003) Saves SMART data before entering power-saving mode. Supports SMART auto save timer. Error logging capability: (0x01) Error logging supported. General Purpose Logging supported. Short self-test routine recommended polling time: ( 2) minutes. Extended self-test routine recommended polling time: ( 83) minutes.
SMART Attributes Data Structure revision number: 16 Vendor Specific SMART Attributes with Thresholds: ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE 1 Raw_Read_Error_Rate 0x000b 100 100 062 Pre-fail Always - 0 2 Throughput_Performance 0x0005 100 100 040 Pre-fail Offline - 0 3 Spin_Up_Time 0x0007 243 243 033 Pre-fail Always - 1 4 Start_Stop_Count 0x0012 100 100 000 Old_age Always - 947 5 Reallocated_Sector_Ct 0x0033 100 100 005 Pre-fail Always - 0 7 Seek_Error_Rate 0x000b 100 100 067 Pre-fail Always - 0 8 Seek_Time_Performance 0x0005 100 100 040 Pre-fail Offline - 0 9 Power_On_Hours 0x0012 095 095 000 Old_age Always - 2596 10 Spin_Retry_Count 0x0013 100 100 060 Pre-fail Always - 0 [b]12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 938[/b] 191 G-Sense_Error_Rate 0x000a 100 100 000 Old_age Always - 0 192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 31 [b]193 Load_Cycle_Count 0x0012 098 098 000 Old_age Always - 28151[/b] 194 Temperature_Celsius 0x0002 157 157 000 Old_age Always - 35 (Lifetime Min/Max 16/46) 196 Reallocated_Event_Count 0x0032 100 100 000 Old_age Always - 0 197 Current_Pending_Sector 0x0022 100 100 000 Old_age Always - 0 198 Offline_Uncorrectable 0x0008 100 100 000 Old_age Offline - 0 199 UDMA_CRC_Error_Count 0x000a 200 253 000 Old_age Always - 0 223 Load_Retry_Count 0x000a 100 100 000 Old_age Always - 0
SMART Error Log Version: 1 No Errors Logged
SMART Self-test log structure revision number 1 No self-tests have been logged. [To run self-tests, use: smartctl -t]
SMART Selective self-test log data structure revision number 1 SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS 1 0 0 Not_testing 2 0 0 Not_testing 3 0 0 Not_testing 4 0 0 Not_testing 5 0 0 Not_testing Selective self-test flags (0x0): After scanning selected spans, do NOT read-scan remainder of disk. If Selective self-test is pending on power-up, resume after 0 minute delay.
ma non so come interpretare questi valori... 
|
|
|
|
|
Registrato
|
|
|
|
8solo5
Coraggioso Chiacchierone
Non Connesso
Messaggi: 715
Media messaggi
|
 |
« Risposta #6 inserita: 31 Ottobre, 2007, 13:19:38 » |
|
giulio@TOSHIBA-laptop:~$ sudo hdparm -B 255 /dev/sda
/dev/sda: setting Advanced Power Management level to disabled giulio@TOSHIBA-laptop:~$
che devo fare?
|
|
|
|
|
Registrato
|
|
|
|
cRoW2k
Novello Novizio
Non Connesso
Sesso: 
Messaggi: 225
Media messaggi
|
 |
« Risposta #7 inserita: 31 Ottobre, 2007, 14:18:22 » |
|
Passando 255 al disco a me a causato un problema. Ossia sentivo le testine del disco sbattere. E non piacendo affatto ho prontamente riavviato lasciando però il CONTROL_HD_POWERMGMT=1. Non mi pare sia cambiato granchè perchè il contatore continua ad aumentare anche dopo pochi minuti. Aspettiamo buone nuove da qualche altro tester.
|
|
|
|
|
Registrato
|
dArKeR thAn ThE bAt
|
|
|
More+
Coraggioso Chiacchierone
Non Connesso
Sesso: 
Messaggi: 426
Media messaggi
-Ach- ..piccione di m****!!
|
 |
« Risposta #8 inserita: 31 Ottobre, 2007, 14:46:31 » |
|
Prima di fare esperimenti strani sarebbe opportuno avere un'idea di cosa si stia facendo. Io per adesso non ho fatto ancora nulla, perchè devo capire se nel mio caso questa situazione sia un reale problema ..e quale sia la giusta soluzione. a me smartctl -d ata -a /dev/sda restituisce questo: ... ma non so come interpretare questi valori...  Anch'io, ma con un po' di volontà si può provare a capire. Ho cercato in Internet e, se ho capito bene, mediamente il ciclo vita di un HDD è di Load/Unload cycles 600,000 cycles (ognuno si cerchi le caratteristiche tecniche del proprio HDD), quindi il mio contatore è a 56982, considerando che lo uso 40 ore a settimana (solo per lavoro) è ha circa 22 settimane di vita => 880 ore, significa che Festy mi sta "comandando" 65 cicli/ora circa Essendo il contatore a 56982 mancherebbero ancora 543018 cicli al suo funerale(600000cicli), pertanto dovrei avere ancora 8354 ore => 1044 giorni lavorativi => 3,5 anni ...mi sembrano un po' pochini! More
|
|
|
|
« Ultima modifica: 31 Ottobre, 2007, 14:48:56 da More+ »
|
Registrato
|
|
|
|
More+
Coraggioso Chiacchierone
Non Connesso
Sesso: 
Messaggi: 426
Media messaggi
-Ach- ..piccione di m****!!
|
 |
« Risposta #9 inserita: 31 Ottobre, 2007, 14:48:11 » |
|
giulio@TOSHIBA-laptop:~$ sudo hdparm -B 255 /dev/sda
/dev/sda: setting Advanced Power Management level to disabled giulio@TOSHIBA-laptop:~$
che devo fare? niente, hai disabilitato l'Advanced Power Management dell'HDD. Verifica che tutto ti funzioni bene, e cerca in Internet gli eventuali effetti collaterali.
|
|
|
|
|
Registrato
|
|
|
|
8solo5
Coraggioso Chiacchierone
Non Connesso
Messaggi: 715
Media messaggi
|
 |
« Risposta #10 inserita: 31 Ottobre, 2007, 14:52:02 » |
|
ma l'ho disabilitato con quel comando?Come faccio a sapere se il mio hd sta bene o no?
|
|
|
|
|
Registrato
|
|
|
|
More+
Coraggioso Chiacchierone
Non Connesso
Sesso: 
Messaggi: 426
Media messaggi
-Ach- ..piccione di m****!!
|
 |
« Risposta #11 inserita: 31 Ottobre, 2007, 14:56:22 » |
|
ma l'ho disabilitato con quel comando?
Sì, leggi il manuale per maggiori info: man hdparm Come faccio a sapere se il mio hd sta bene o no?
Questa è difficile da rispondere, prova usare il comando smartctl (leggi prima il manuale) per tenere sott'occhio i valori del tuo HDD, ...e cerca in Internet gli eventuali effetti collaterali nel non usare Advanced Power Management level. More+
|
|
|
|
|
Registrato
|
|
|
|
volley_3
Entusiasta Emergente

Non Connesso
Messaggi: 1.150
Media messaggi
|
 |
« Risposta #12 inserita: 31 Ottobre, 2007, 14:59:59 » |
|
ma siamo sicuri? ke quella cosa bisogna cambiarla?
|
|
|
|
|
Registrato
|
Ubuntu 9.10
|
|
|
8solo5
Coraggioso Chiacchierone
Non Connesso
Messaggi: 715
Media messaggi
|
 |
« Risposta #13 inserita: 31 Ottobre, 2007, 15:00:36 » |
|
Come faccio a riabilitarlo??Aspetterò qualcosa di ufficiale per fare modifiche.. === START OF INFORMATION SECTION === Model Family: Hitachi Travelstar 5K100 series Device Model: HTS541010G9SA00 Serial Number: MP2ZM4X0J9D9AR Firmware Version: MBZOC60R User Capacity: 100,030,242,816 bytes Device is: In smartctl database [for details use: -P show] ATA Version is: 7 ATA Standard is: ATA/ATAPI-7 T13 1532D revision 1 Local Time is: Wed Oct 31 14:53:53 2007 CET SMART support is: Available - device has SMART capability. SMART support is: Enabled
=== START OF READ SMART DATA SECTION === SMART overall-health self-assessment test result: PASSED
General SMART Values: Offline data collection status: (0x00) Offline data collection activity was never started. Auto Offline Data Collection: Disabled. Self-test execution status: ( 0) The previous self-test routine completed without error or no self-test has ever been run. Total time to complete Offline data collection: ( 645) seconds. Offline data collection capabilities: (0x5b) SMART execute Offline immediate. Auto Offline data collection on/off support. Suspend Offline collection upon new command. Offline surface scan supported. Self-test supported. No Conveyance Self-test supported. Selective Self-test supported. SMART capabilities: (0x0003) Saves SMART data before entering power-saving mode. Supports SMART auto save timer. Error logging capability: (0x01) Error logging supported. General Purpose Logging supported. Short self-test routine recommended polling time: ( 2) minutes. Extended self-test routine recommended polling time: ( 66) minutes.
SMART Attributes Data Structure revision number: 16 Vendor Specific SMART Attributes with Thresholds: ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE 1 Raw_Read_Error_Rate 0x000b 100 100 062 Pre-fail Always - 0 2 Throughput_Performance 0x0005 100 100 040 Pre-fail Offline - 0 3 Spin_Up_Time 0x0007 234 234 033 Pre-fail Always - 1 4 Start_Stop_Count 0x0012 099 099 000 Old_age Always - 1724 5 Reallocated_Sector_Ct 0x0033 100 100 005 Pre-fail Always - 0 7 Seek_Error_Rate 0x000b 100 100 067 Pre-fail Always - 0 8 Seek_Time_Performance 0x0005 100 100 040 Pre-fail Offline - 0 9 Power_On_Hours 0x0012 093 093 000 Old_age Always - 3277 10 Spin_Retry_Count 0x0013 100 100 060 Pre-fail Always - 0 12 Power_Cycle_Count 0x0032 099 099 000 Old_age Always - 1650 191 G-Sense_Error_Rate 0x000a 100 100 000 Old_age Always - 0 192 Power-Off_Retract_Count 0x0032 098 098 000 Old_age Always - 483 193 Load_Cycle_Count 0x0012 094 094 000 Old_age Always - 69928 194 Temperature_Celsius 0x0002 144 144 000 Old_age Always - 38 (Lifetime Min/Max 9/60) 196 Reallocated_Event_Count 0x0032 100 100 000 Old_age Always - 19 197 Current_Pending_Sector 0x0022 100 100 000 Old_age Always - 0 198 Offline_Uncorrectable 0x0008 100 100 000 Old_age Offline - 0 199 UDMA_CRC_Error_Count 0x000a 200 253 000 Old_age Always - 0
SMART Error Log Version: 1 ATA Error Count: 2 CR = Command Register [HEX] FR = Features Register [HEX] SC = Sector Count Register [HEX] SN = Sector Number Register [HEX] CL = Cylinder Low Register [HEX] CH = Cylinder High Register [HEX] DH = Device/Head Register [HEX] DC = Device Command Register [HEX] ER = Error register [HEX] ST = Status register [HEX] Powered_Up_Time is measured from power on, and printed as DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes, SS=sec, and sss=millisec. It "wraps" after 49.710 days.
Error 2 occurred at disk power-on lifetime: 2018 hours (84 days + 2 hours) When the command that caused the error occurred, the device was active or idle.
After command completion occurred, registers were: ER ST SC SN CL CH DH -- -- -- -- -- -- -- 40 51 00 07 f1 4c eb Error: UNC at LBA = 0x0b4cf107 = 189591815
Commands leading to the command that caused the error were: CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name -- -- -- -- -- -- -- -- ---------------- -------------------- c8 00 08 00 f1 4c eb 08 00:39:23.000 READ DMA c8 00 08 a8 64 14 ea 08 00:39:22.700 READ DMA 35 00 00 18 2a 10 e0 08 00:39:22.700 WRITE DMA EXT 35 00 00 18 26 10 e0 08 00:39:22.700 WRITE DMA EXT 35 00 00 18 22 10 e0 08 00:39:22.700 WRITE DMA EXT
Error 1 occurred at disk power-on lifetime: 2018 hours (84 days + 2 hours) When the command that caused the error occurred, the device was active or idle.
After command completion occurred, registers were: ER ST SC SN CL CH DH -- -- -- -- -- -- -- 40 51 00 07 b1 60 ea Error: UNC at LBA = 0x0a60b107 = 174108935
Commands leading to the command that caused the error were: CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name -- -- -- -- -- -- -- -- ---------------- -------------------- c8 00 08 00 b1 60 ea 08 00:27:06.600 READ DMA c8 00 08 a8 24 28 e9 08 00:27:06.300 READ DMA 35 00 00 b0 bb 22 e0 08 00:27:06.300 WRITE DMA EXT 35 00 00 b0 b7 22 e0 08 00:27:06.300 WRITE DMA EXT 35 00 00 b0 b3 22 e0 08 00:27:06.300 WRITE DMA EXT
SMART Self-test log structure revision number 1 No self-tests have been logged. [To run self-tests, use: smartctl -t]
Warning! SMART Selective Self-Test Log Structure error: invalid SMART checksum. SMART Selective self-test log data structure revision number 1 SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS 1 0 0 Not_testing 2 0 0 Not_testing 3 0 0 Not_testing 4 0 0 Not_testing 5 0 0 Not_testing Selective self-test flags (0x0): After scanning selected spans, do NOT read-scan remainder of disk. If Selective self-test is pending on power-up, resume after 0 minute delay.
giulio@TOSHIBA-laptop:~$
|
|
|
|
|
Registrato
|
|
|
|
More+
Coraggioso Chiacchierone
Non Connesso
Sesso: 
Messaggi: 426
Media messaggi
-Ach- ..piccione di m****!!
|
 |
« Risposta #14 inserita: 31 Ottobre, 2007, 15:12:33 » |
|
Come faccio a riabilitarlo??Aspetterò qualcosa di ufficiale per fare modifiche..
scommetto che il manuale non lo hai letto!! perchè lo avresti scoperto man hdparm ma siamo sicuri? ke quella cosa bisogna cambiarla?
Per adesso in questo 3D, nessuno è sicuro di niente! ...non siate avventati, potreste commettere dei gravi danni. Dopotutto è ancora un Bug che non ha un Fix!
|
|
|
|
|
Registrato
|
|
|
|
8solo5
Coraggioso Chiacchierone
Non Connesso
Messaggi: 715
Media messaggi
|
 |
« Risposta #15 inserita: 31 Ottobre, 2007, 15:17:02 » |
|
Non c'è scritto come riabilitarlo! -B Set Advanced Power Management feature, if the drive supports it. A low value means aggressive power management and a high value means better performance. A value of 255 will disable apm on the drive.
|
|
|
|
|
Registrato
|
|
|
|
mcz
Entusiasta Emergente

Non Connesso
Sesso: 
Messaggi: 1406
Media messaggi
|
 |
« Risposta #16 inserita: 31 Ottobre, 2007, 15:51:34 » |
|
Mi spiace aver causato tutto questo allarme, ma penso che sia importante per chi usa portatili proteggere i propri dischi. Un'ide sciocca. Sembra che la cosa dipenda dal meccanismo di risparmio energetico (tra l'altro riguarda Linux in generale e non solo Ubuntu). Se si avviasse il kernel disabilitando l'ACPI sarebbe sufficiente? 
|
|
|
|
|
Registrato
|
|
|
|
More+
Coraggioso Chiacchierone
Non Connesso
Sesso: 
Messaggi: 426
Media messaggi
-Ach- ..piccione di m****!!
|
 |
« Risposta #17 inserita: 31 Ottobre, 2007, 15:54:01 » |
|
Non c'è scritto come riabilitarlo! -B Set Advanced Power Management feature, if the drive supports it. A low value means aggressive power management and a high value means better performance. A value of 255 will disable apm on the drive.
sì, se scrivi un valore pari a 255 si disabilita, contrariamente si abilita come specificato: A low value means aggressive power management and a high value means better performance. ..comunque mi sembra che se riavvii si ripristina da solo, sempre che tu non abbia modificato i vari file di configurazione
|
|
|
|
« Ultima modifica: 31 Ottobre, 2007, 16:00:15 da More+ »
|
Registrato
|
|
|
|
8solo5
Coraggioso Chiacchierone
Non Connesso
Messaggi: 715
Media messaggi
|
 |
« Risposta #18 inserita: 31 Ottobre, 2007, 15:57:49 » |
|
ok riavvio allora, grazie.
|
|
|
|
|
Registrato
|
|
|
|
More+
Coraggioso Chiacchierone
Non Connesso
Sesso: 
Messaggi: 426
Media messaggi
-Ach- ..piccione di m****!!
|
 |
« Risposta #19 inserita: 31 Ottobre, 2007, 15:59:26 » |
|
Mi spiace aver causato tutto questo allarme, ma penso che sia importante per chi usa portatili proteggere i propri dischi.
Forse è meglio che moderi il tono del titolo di questo 3D ...altrimenti altro che scatenare il PANICOOOO!  Comunque grazie dell'info che ci hai dato, poi sta a noi saperla gestire con il giusto peso.
|
|
|
|
|
Registrato
|
|
|
|
|