3: 2010-10-10 (日) 23:48:56 maruo[5] [6] | 現: 2013-02-06 (水) 02:08:12 maruo[5] [7] | ||
---|---|---|---|
Line 32: | Line 32: | ||
Hardware Sensors Chip support ---> | Hardware Sensors Chip support ---> | ||
Other I2C Chip support ---> | Other I2C Chip support ---> | ||
+ | |||
んで、I2C Hardware Bus support や、Hardware Sensors Chip supportも、有効にしておいてやりましょうね。 | んで、I2C Hardware Bus support や、Hardware Sensors Chip supportも、有効にしておいてやりましょうね。 | ||
Line 62: | Line 62: | ||
beep_enable: | beep_enable: | ||
Sound alarm disabled | Sound alarm disabled | ||
+ | |||
eeprom-i2c-1-51 | eeprom-i2c-1-51 | ||
Adapter: SiS96x SMBus adapter at 0x10c0 | Adapter: SiS96x SMBus adapter at 0x10c0 | ||
Memory type: DDR SDRAM DIMM | Memory type: DDR SDRAM DIMM | ||
Memory size (MB): 512 | Memory size (MB): 512 | ||
+ | |||
eeprom-i2c-1-50 | eeprom-i2c-1-50 | ||
Adapter: SiS96x SMBus adapter at 0x10c0 | Adapter: SiS96x SMBus adapter at 0x10c0 | ||
Memory type: DDR SDRAM DIMM | Memory type: DDR SDRAM DIMM | ||
Memory size (MB): 512 | Memory size (MB): 512 | ||
+ | |||
eeprom-i2c-0-50 | eeprom-i2c-0-50 | ||
Adapter: ivtv i2c driver #0 | Adapter: ivtv i2c driver #0 | ||
Unknown EEPROM type (255). | Unknown EEPROM type (255). | ||
+ | |||
adm1030-i2c-1-2e | adm1030-i2c-1-2e | ||
Adapter: SiS96x SMBus adapter at 0x10c0 | Adapter: SiS96x SMBus adapter at 0x10c0 | ||
Line 86: | Line 86: | ||
ほれ、どうですか?ちゃんと出ましたでしょ?つーか、何気にCPUとか、筐体内の温度が高いんだよね。う~ん、対策考えなきゃ、かなー。 | ほれ、どうですか?ちゃんと出ましたでしょ?つーか、何気にCPUとか、筐体内の温度が高いんだよね。う~ん、対策考えなきゃ、かなー。 | ||
+ | |||
+ | ***ASUSマザーボードP8H77-Vでのsensor設定 [#r1dfdfb3] | ||
+ | 2013年2月、サーバのマザーを交換したのですが、lm_sensorsでセンサーを検出してくれず、CPU温度しかモニタリングできなくなってしまいました。う~ん…と言うことで、いろいろ調べてみたところ、lm_sensorsを最新化するがよろしと。/etc/portage/package.keywordsに | ||
+ | |||
+ | sys-apps/lm_sensors | ||
+ | |||
+ | を追加してsensors-detect。するとnct6775というセンサーチップが乗っていることが判明。しかし…このセンサーチップ、Linuxカーネル(3.6.11)には入ってないんだよねぇ…しかたがないのでぐぐったところ、Githubにドライバが登録されていることが判明。んで、以下のコマンド投入 | ||
+ | |||
+ | # git clone https://github.com/groeck/nct6775.git | ||
+ | |||
+ | カーネルドライバをチェックアウトしてきます。で、自力コンパイル…Makefileと格闘しましたが… | ||
+ | |||
+ | で、/etc/conf.d/lm_sensorsを以下で記述 | ||
+ | # | ||
+ | # The format of this file is a shell script that simply defines variables: | ||
+ | # HWMON_MODULES for hardware monitoring driver modules, and optionally | ||
+ | # BUS_MODULES for any required bus driver module (for example for I2C or SPI). | ||
+ | |||
+ | # Load modules at startup | ||
+ | LOADMODULES=yes | ||
+ | |||
+ | # Initialize sensors at startup | ||
+ | INITSENSORS=yes | ||
+ | |||
+ | HWMON_MODULES="coretemp nct6775" | ||
+ | |||
+ | # For compatibility reasons, modules are also listed individually as variables | ||
+ | # MODULE_0, MODULE_1, MODULE_2, etc. | ||
+ | # Please note that the numbers in MODULE_X must start at 0 and increase in | ||
+ | # steps of 1. Any number that is missing will make the init script skip the | ||
+ | # rest of the modules. Use MODULE_X_ARGS for arguments. | ||
+ | # | ||
+ | # You should use BUS_MODULES and HWMON_MODULES instead if possible. | ||
+ | |||
+ | MODULE_0=coretemp | ||
+ | MODULE_1=nct6775 | ||
+ | |||
+ | で、sensorsコマンドを打ってみたら… | ||
+ | acpitz-virtual-0 | ||
+ | Adapter: Virtual device | ||
+ | temp1: +27.8°C (crit = +106.0°C) | ||
+ | temp2: +29.8°C (crit = +106.0°C) | ||
+ | |||
+ | coretemp-isa-0000 | ||
+ | Adapter: ISA adapter | ||
+ | Physical id 0: +38.0°C (high = +85.0°C, crit = +105.0°C) | ||
+ | Core 0: +36.0°C (high = +85.0°C, crit = +105.0°C) | ||
+ | Core 1: +36.0°C (high = +85.0°C, crit = +105.0°C) | ||
+ | Core 2: +28.0°C (high = +85.0°C, crit = +105.0°C) | ||
+ | Core 3: +30.0°C (high = +85.0°C, crit = +105.0°C) | ||
+ | |||
+ | nct6779-isa-0290 | ||
+ | Adapter: ISA adapter | ||
+ | in0: +0.91 V (min = +0.00 V, max = +1.74 V) | ||
+ | in1: +1.02 V (min = +0.00 V, max = +0.00 V) ALARM | ||
+ | in2: +3.36 V (min = +0.00 V, max = +0.00 V) ALARM | ||
+ | in3: +3.36 V (min = +0.00 V, max = +0.00 V) ALARM | ||
+ | in4: +1.01 V (min = +0.00 V, max = +0.00 V) ALARM | ||
+ | in5: +2.04 V (min = +0.00 V, max = +0.00 V) ALARM | ||
+ | in6: +0.37 V (min = +0.00 V, max = +0.00 V) ALARM | ||
+ | in7: +3.47 V (min = +0.00 V, max = +0.00 V) ALARM | ||
+ | in8: +3.39 V (min = +0.00 V, max = +0.00 V) ALARM | ||
+ | in9: +1.06 V (min = +0.00 V, max = +0.00 V) ALARM | ||
+ | in10: +0.34 V (min = +0.00 V, max = +0.00 V) ALARM | ||
+ | in11: +0.17 V (min = +0.00 V, max = +0.00 V) ALARM | ||
+ | in12: +1.01 V (min = +0.00 V, max = +0.00 V) ALARM | ||
+ | in13: +1.02 V (min = +0.00 V, max = +0.00 V) ALARM | ||
+ | in14: +0.22 V (min = +0.00 V, max = +0.00 V) ALARM | ||
+ | fan1: 0 RPM (min = 0 RPM) | ||
+ | fan2: 1140 RPM (min = 0 RPM) | ||
+ | fan3: 0 RPM (min = 0 RPM) | ||
+ | fan4: 0 RPM (min = 0 RPM) | ||
+ | fan5: 0 RPM (min = 0 RPM) | ||
+ | SYSTIN: +24.0°C (high = +0.0°C, hyst = +0.0°C) ALARM sensor = thermistor | ||
+ | CPUTIN: +31.0°C (high = +80.0°C, hyst = +75.0°C) sensor = thermistor | ||
+ | AUXTIN0: +95.0°C sensor = thermistor | ||
+ | AUXTIN1: +96.0°C sensor = thermistor | ||
+ | AUXTIN2: +104.0°C sensor = thermistor | ||
+ | AUXTIN3: +17.0°C sensor = thermal diode | ||
+ | PCH_CHIP_CPU_MAX_TEMP: +0.0°C | ||
+ | PCH_CHIP_TEMP: +0.0°C | ||
+ | PCH_CPU_TEMP: +0.0°C | ||
+ | PCH_MCH_TEMP: +0.0°C | ||
+ | cpu0_vid: +0.000 V | ||
+ | intrusion0: ALARM | ||
+ | intrusion1: ALARM | ||
+ | |||
+ | 見事データがとれました。やれやれ… | ||
**smartデーモン [#b25ea45e] | **smartデーモン [#b25ea45e] | ||
Line 118: | Line 206: | ||
SMART support is: Available - device has SMART capability. | SMART support is: Available - device has SMART capability. | ||
SMART support is: Enabled | SMART support is: Enabled | ||
+ | |||
=== START OF READ SMART DATA SECTION === | === START OF READ SMART DATA SECTION === | ||
SMART overall-health self-assessment test result: PASSED | SMART overall-health self-assessment test result: PASSED | ||
+ | |||
General SMART Values: | General SMART Values: | ||
Offline data collection status: (0x00) Offline data collection activity | Offline data collection status: (0x00) Offline data collection activity | ||
Line 149: | Line 237: | ||
Extended self-test routine | Extended self-test routine | ||
recommended polling time: ( 60) minutes. | recommended polling time: ( 60) minutes. | ||
+ | |||
SMART Attributes Data Structure revision number: 16 | SMART Attributes Data Structure revision number: 16 | ||
Vendor Specific SMART Attributes with Thresholds: | Vendor Specific SMART Attributes with Thresholds: | ||
Line 170: | Line 258: | ||
198 Offline_Uncorrectable 0x0008 100 100 000 Old_age Offline - 0 | 198 Offline_Uncorrectable 0x0008 100 100 000 Old_age Offline - 0 | ||
199 UDMA_CRC_Error_Count 0x000a 200 200 000 Old_age Always - 0 | 199 UDMA_CRC_Error_Count 0x000a 200 200 000 Old_age Always - 0 | ||
+ | |||
SMART Error Log Version: 1 | SMART Error Log Version: 1 | ||
No Errors Logged | No Errors Logged | ||
+ | |||
SMART Self-test log structure revision number 1 | SMART Self-test log structure revision number 1 | ||
No self-tests have been logged. [To run self-tests, use: smartctl -t] | No self-tests have been logged. [To run self-tests, use: smartctl -t] | ||
- | + | ||
+ | |||
Device does not support Selective Self Tests/Logging | Device does not support Selective Self Tests/Logging | ||
こんな感じで情報が出てきます。かなり細かいでしょ?これで相当の情報が得られるはず。セルフテストでNGになってから壊れるとは限りませんけど、最低限の保障はほしいもんね。 | こんな感じで情報が出てきます。かなり細かいでしょ?これで相当の情報が得られるはず。セルフテストでNGになってから壊れるとは限りませんけど、最低限の保障はほしいもんね。 |
(This host) = https://femt.ddo.jp