分页: 2 / 6

发表于 : 2007-11-04 21:53
dogal
真是奇怪
在用交流电时的数字增长比用电池时快得多

早上是 sudo smartctl -a /dev/sda | grep Load_Cycle_Count
193 Load_Cycle_Count 0x0032 171 171 000 Old_age Always - 89800


现在是 sudo smartctl -a /dev/sda | grep Load_Cycle_Count
193 Load_Cycle_Count 0x0032 170 170 000 Old_age Always - 90077


一下变化这么多


才装半个来月

怎么设置呀??

发表于 : 2007-11-04 22:06
dogal
我使用的是hp6220 + gusty,默认hdparm -I /dev/sda |grep Advanced 得到的是 Advanced power management level: 128 这个128就是hdparm -B xx来设置的,ubuntu默认是128,在ENABLE_LAPTOP_MODE是false的情况下,切换至电池后,这个值仍然是128而不是1。








怎么设置成128呀??

发表于 : 2007-11-04 23:01
dogal
sudo smartctl -d ata -a /dev/sda
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 ===
Model Family: Western Digital Scorpio family
Device Model: WDC WD600BEVS-22LAT0
Serial Number: WD-WXE506540054
Firmware Version: 01.06M01
User Capacity: 60,011,642,880 bytes
Device is: In smartctl database [for details use: -P show]
ATA Version is: 7
ATA Standard is: Exact ATA specification draft version not indicated
Local Time is: Sun Nov 4 23:01:50 2007 CST
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: (2880) seconds.
Offline data collection
capabilities: (0x7b) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
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: ( 40) minutes.
Conveyance self-test routine
recommended polling time: ( 6) 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 0x000f 200 200 051 Pre-fail Always - 0
3 Spin_Up_Time 0x0003 161 152 021 Pre-fail Always - 941
4 Start_Stop_Count 0x0032 097 097 000 Old_age Always - 3092
5 Reallocated_Sector_Ct 0x0033 197 197 140 Pre-fail Always - 21
7 Seek_Error_Rate 0x000f 100 253 051 Pre-fail Always - 0
9 Power_On_Hours 0x0032 098 098 000 Old_age Always - 1905
10 Spin_Retry_Count 0x0013 100 100 051 Pre-fail Always - 0
11 Calibration_Retry_Count 0x0012 100 100 051 Old_age Always - 0
12 Power_Cycle_Count 0x0032 098 098 000 Old_age Always - 2854
192 Power-Off_Retract_Count 0x0032 197 197 000 Old_age Always - 2828
193 Load_Cycle_Count 0x0032 170 170 000 Old_age Always - 90124
194 Temperature_Celsius 0x0022 097 086 000 Old_age Always - 46
196 Reallocated_Event_Count 0x0032 196 196 000 Old_age Always - 4
197 Current_Pending_Sector 0x0012 200 200 000 Old_age Always - 0
198 Offline_Uncorrectable 0x0010 100 253 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x003e 200 200 000 Old_age Always - 0
200 Multi_Zone_Error_Rate 0x0009 100 253 051 Pre-fail Offline - 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.

发表于 : 2007-11-04 23:03
dogal
问题好像解决了
可是硬盘温度上来
真是晕

发表于 : 2007-11-06 18:18
guohq
直接把acpid和acpi-support停了,行不行?

发表于 : 2007-11-06 22:18
bloodwroth
193 Load_Cycle_Count 0x0032 099 099 000 Old_age Always - 37938

我的本子已经用了一年了.装ubuntu一个月了,刚从suse转过来
真有问题,我再用suse了

发表于 : 2007-11-07 16:54
2213389
我晒晒我的,照样ok运行。

225 Load_Cycle_Count 0x0012 055 055 000 Old_age Always - 462394

发表于 : 2007-11-07 19:06
yexin218
liceven@liceven-laptop:~$ sudo smartctl -a /dev/sda | grep Load_Cycle_Count
193 Load_Cycle_Count 0x0012 088 088 000 Old_age Always - 129176

如何设置可以暂时顶顶

发表于 : 2007-11-09 16:14
masonliu
grep ENABLE_LAPTOP_MODE /etc/default/acpi-support
得到的值
fause
可是
如何设置?
那个文件?请教了
我的每分钟
20-30
已经375167了
04年的笨笨,
可是也不想他坏吧
暂时使用windows?

发表于 : 2007-11-09 20:27
dogal
sudo apt-get install laptop-mode-tools

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

发表于 : 2007-11-10 22:58
wwssir
~$ sudo smartctl -a /dev/hda | grep Load_Cycle_Count
225 Load_Cycle_Count 0x0012 088 088 000 Old_age Always - 126619



你们的都是sda,我的是hda,差不多每分钟7~8次,正常不正常啊?

~$ sudo hdparm -I /dev/hda |grep Advanced
Advanced power management level: unknown setting (0x0000)
Advanced Power Management feature set

我执行上面的怎么得到unknown setting (0x0000)?是什么原因?

楼主请问我按照你的设置后没有任何变化啊。

发表于 : 2007-11-11 21:34
masonliu
这样sudo vim /etc/laptop-mode/laptop-mode.conf
设置CONTROL_HD_POWERMGMT=1(原来是0)

sudo smartctl -a /dev/sda | grep Load_Cycle_Count
225 Load_Cycle_Count 0x0012 063 063 000 Old_age Always - 377007

你不能老是转行!
真想转快转!

Re: 楼主请问我按照你的设置后没有任何变化啊。

发表于 : 2007-11-13 18:43
dogal
masonliu 写了: 你不能老是转行!
真想转快转!

难呀!!小伙子

发表于 : 2007-11-13 21:32
ultra.jw
这样sudo vim /etc/laptop-mode/laptop-mode.conf
设置CONTROL_HD_POWERMGMT=1(原来是0)
就可以了吗、
我改怎么好像还是一样啊???

Re: 楼主请问我按照你的设置后没有任何变化啊。

发表于 : 2007-11-13 21:34
ultra.jw
masonliu 写了:这样sudo vim /etc/laptop-mode/laptop-mode.conf
设置CONTROL_HD_POWERMGMT=1(原来是0)
是这样改吗
我怎么好象改了也一样啊???