分页: 6 / 6

Re: 解决一下喽,,Ubuntu正在成为我的笔记本硬盘杀手??[已解决]

发表于 : 2010-11-16 10:33
cn1860
001jsr 写了:今天专门测试了一下win7下的这个数字,9个小时用AC涨了100多,
10.10里面解决了没啊

Re: 解决一下喽,,Ubuntu正在成为我的笔记本硬盘杀手??[已解决]

发表于 : 2010-11-19 17:08
it5u
恐怖事件

Re: 解决一下喽,,Ubuntu正在成为我的笔记本硬盘杀手??[已解决]

发表于 : 2012-03-02 12:52
dogal
改装debian了。这个问题貌似在debian里又重现了。 :em20

Re: 解决一下喽,,Ubuntu正在成为我的笔记本硬盘杀手??[已解决]

发表于 : 2012-03-04 22:32
dogal
在Debian里按第二页设置下发现好了。 :em11

Re: 解决一下喽,,Ubuntu正在成为我的笔记本硬盘杀手??[已解决]

发表于 : 2012-03-07 17:29
17beloved
我的之前一直w7,最近才用的ubuntu,那个值也有19万多啊!!!不过我用了2年了。哎,还是想用久一点啊。

Re: 解决一下喽,,Ubuntu正在成为我的笔记本硬盘杀手??[已解决]

发表于 : 2012-04-07 7:26
datangtujue
请问各位达人,这个问题在11.10里是否解决了?2006年的bug,现在已经2012年了,我猜应该解决了吧?谢谢了!本人Linux新手,看到此帖心中一凉,大有“不懂Linux的用Linux,躺着也会中枪”的感觉啊。

Re: 解决一下喽,,Ubuntu正在成为我的笔记本硬盘杀手??[已解决]

发表于 : 2012-05-14 20:10
dogal
datangtujue 写了:请问各位达人,这个问题在11.10里是否解决了?2006年的bug,现在已经2012年了,我猜应该解决了吧?谢谢了!本人Linux新手,看到此帖心中一凉,大有“不懂Linux的用Linux,躺着也会中枪”的感觉啊。

sudo apt-get install laptop-mode-tools

然后,sudo vim /etc/laptop-mode/laptop-mode.conf
设置CONTROL_HD_POWERMGMT=1

Re: 解决一下喽,,Ubuntu正在成为我的笔记本硬盘杀手??[已解决]

发表于 : 2012-06-04 22:38
liangwilliam
mark~

Re: 解决一下喽,,Ubuntu正在成为我的笔记本硬盘杀手??[已解决]

发表于 : 2012-06-05 1:21
lovelyzlf
193 Load_Cycle_Count 0x0012 099 099 000 Old_age Always - 13916 :em05
没问题,一直是这个值

Re: 解决一下喽,,Ubuntu正在成为我的笔记本硬盘杀手??[已解决]

发表于 : 2012-06-23 12:26
yuyuen72
本人新人 这个问题在12.04 lts 中还存在吗

Re: 解决一下喽,,Ubuntu正在成为我的笔记本硬盘杀手??[已解决]

发表于 : 2012-06-23 12:51
atsivsucks
應該是10.04和以上版本都沒問題了,參考:
https://wiki.ubuntu.com/PowerManagement

Re: 解决一下喽,,Ubuntu正在成为我的笔记本硬盘杀手??[已解决]

发表于 : 2012-07-02 17:47
newlifer
不应该到现在还有问题了吧?……

Re: 解决一下喽,,Ubuntu正在成为我的笔记本硬盘杀手??[已解决]

发表于 : 2012-07-07 9:34
careone
UBUNTU WIKI 官方说明
https://wiki.ubuntu.com/PowerManagement
How to get disks to spin down and idle correctly (without excessive load cycling)

10.04
The laptop-mode-tools (disk idleing) package does not get installed by default any more, but just installing it should make disk idleing work (on battery) right away now.

8.10 to 9.10
Many of the previous issues have been addressed. All you need to do is:

代码: 全选

"ENABLE_LAPTOP_MODE=true" in /etc/default/acpi-support
(Bugs 244838 497738)


8.04 (Hardy)
Unfortunately, ubuntu has mangled disk idling into event handling and power state switching in the past. And this did not deliver idle disks but break disk idling (laptop-mode) features by leaving undefined (factory default) apm settings in place.

To correct disk-idling in Ubuntu Hardy you need to adjust the following:

Enable CONTROL_HD_POWERMGMT=1 in /etc/laptop-mode/laptop-mode.conf
(Bug 244832 missing hdparm -B setting during boot (fixed in intrepid 250935))
ENABLE_LAPTOP_MODE=true in /etc/default/acpi-support (another package's conffile), even if you do not ENABLE_LAPTOP_MODE_ON_BATTERY or _ON_AC in laptop-mode.conf. So that laptop-mode-tools can control the harddisk power management settings.
(244838 laptop-mode needs to be activated in two places)
Delete or #comment the four $HDPARM blocks (for...done) in /etc/acpi/power.sh and change the two $LAPTOP_MODE start/stop lines to "$LAPTOP_MODE auto"
(244836 /etc/acpi/power.sh overrides user settings (fixed in intrepid 250938))
(244831 /etc/acpi/power.sh overrides user scripts (fixed in intrepid 250938))
(244844 Adapt laptop-mode-tools invocation to ubuntu's acpi-support / pm-utils packages (fixed in intrepid 250935))
Create an empty "laptop-tools" file (touch /etc/pm/power.d/laptop-tools) to override /usr/lib/pm-utils/power.d/laptop-tools.
(239419 pm-utils has laptop-tools script which conflicts with laptop-mode-tools (not so in intrepid))
With the above changes hardy (ubuntu 8.04) will set the hdparm -B value to 254 when booting and thus override inadequately aggressive hardware defaults that cause load cycling. Not all harddisks will stop head parking with value 255 and some may even overheat. (hdparm -B255 turns off the disk's apm feature, but this only turns off the spin down timer in many disks and doesn't increase the head parking timer at all, which is the issue here.)

Other issues/adjustuments are related to have the hdparm -B value also reset after a suspend/resume cycle (fixed in intrepid 250935).

244833 missing hdparm -B setting during resume
244839 /etc/acpi/start.d and resume.d scripts are not run.
244844 Adapt laptop-mode-tools invocation to ubuntu's acpi-support / pm-tools packages also:
238555 pm-utils doesn't reload hdparm.conf after a suspend
Comments
Can someone maybe elaborate in the wiki why it's not enabled by default? Without an explanation i'm wondering why, and if there maybe are good arguments against doing so.

I searched around and it seems I am not the only one with this problem and unfortunately, I could not find a good answer in the forums. Consequently, could someone explain in a little more detail how one would go about creating "a bogus /etc/pm/power.d/laptop-tools script to override /usr/lib/pm-utils/power.d/laptop-tools." Does it entail just making a new file the in the directory or is there actual code that has to go in the file. Thanks - Ali

Ali, just copy /usr/lib/pm-utils/power.d/laptop-tools to /etc/pm/power.d/laptop-tools and insert the code near line 26 following guidelines in 239419
Actually, to disabe this yet another "laptop-tools" script from pm-utils you just need to create an empty file (touch /etc/pm/power.d/laptop-tools). (Info also added above)
The issues described here are pointed out in the interesting bug 59695: "High frequency of load/unload cycles on some hard disks may shorten lifetime"

It would be helpful to have clear guidance on what changes should be made to a 7.10 (Gutsy) system. I expect the alarming click I hear periodically, especially on an idle system, is an the head reset being discussed.

Gutsy will lose support at the end of April so I don't think there is a point in adding that.

This opensuse wiki page might be useful for creating a proper solution for pm-utils - -- AzraelNightwalker 2008-07-14 15:32:11

This page shows a simple script that successfully activates laptop-mode after resuming from suspend in Hardy. --AbtZ

PowerManagement (2010-04-15 11:28:39由martijn-de-nerd编辑)