Bug 59695 “Parcheggio hard disk”: fix released!
Scritto da jackyaway in Hardy Heron, Intrepid Ibex, Ubuntu
Forse non tutti sanno quale bug sia il 59695, ma sicuramente verrà in mente se dico “hard disk-acpi-laptop mode”.
Se ne è parlato per oltre un anno su tutti i forum e blog, col timore che il proprio disco fisso ci lasciasse prematuramente, e tutti a fare calcoli tra numero di cicli e ore di attività del dispositivo. Ammettiamolo! chi non ha mai fatto un
sudo smartctl -a /dev/sda
e, subito dopo, diviso Load_Cycle_Count per Power_On_Hours per scoprire quanta vita restasse al nostro disco.
Si scatenò una marea di opinioni: chi imputava la colpa ad Ubuntu, chi diceva che fosse colpa del laptop-mode, chi sosteneva che il problema riguardasse solo alcune marche di hard disk e chi ancora ne metteva in dubbio l’esistenza, e via dicendo…e così si iniziò a “giocare” con hdparm e script di vario genere per mettere una pezza al problema.
L’attesa è stata lunga, ma a distanza di circa un anno è stata finalmente rilasciata la patch che in molti aspettavamo.
Direttamente da launchpad:
per Intrepid Ibex
This bug was fixed in the package acpi-support – 0.114-0intrepid2
—————
acpi-support (0.114-0intrepid2) intrepid-proposed; urgency=low[ Jakob Unterwurzacher ]
* Defensive quoting in 90-hdparm.sh, so that the script doesn’t throw
a syntax error when the battery state is undetermined.[ Steve Langasek ]
* lib/power-funcs: refactor getState() to return ‘AC’ by default,
since this is implicitly the case if we don’t have a battery.
LP: #59695.– Steve Langasek <email address hidden> Thu, 15 Jan 2009 13:37:16 +0000
e per Hardy Heron
This bug was fixed in the package acpi-support – 0.109-0hardy2
—————
acpi-support (0.109-0hardy2) hardy-proposed; urgency=low[ Jakob Unterwurzacher ]
* Defensive quoting in 90-hdparm.sh, so that the script doesn’t throw
a syntax error when the battery state is undetermined.[ Steve Langasek ]
* lib/power-funcs: refactor getState() to return ‘AC’ by default,
since this is implicitly the case if we don’t have a battery.
LP: #59695.– Steve Langasek <email address hidden> Thu, 15 Jan 2009 13:06:55 +0000
Per installare l’aggiornamento basta abilitare il repository degli aggiornamenti proposti (hardy/Intrepid-proposed) da Sorgenti software ed aggiornare il sistema.
Articoli (RSS)
Ciao,
sai dirmi se questo bug e’ “fixed” di default in Jaunty o se è necessario anche lì fare l’upgrade?
E sulla versione a 64 bit?
Grazie mille,
A.