LINUX.ORG.RU
ФорумAdmin

lm_sensors in CentOS 5.2


0

0

Всем привет!

Есть сервер на CentOS 5.2 нужно мониторить температуру процессора. В yum репозитариях centos есть только lm_sensors 2, при запуске которого ругается на модуль которы есть только в старых ядрах, google говорит ставить lm_sensors 3. Собрал рпм установил lm_sensors-3.0.3-1.

Только толку все ровно не работает! Скажите что я не так делаю?

# sensors-detect
Stopping lm_sensors: [ OK ]
# sensors-detect revision 5337 (2008-09-19 17:05:28 +0200)

This program will help you determine which kernel modules you need
to load to use lm_sensors most effectively. It is generally safe
and recommended to accept the default answers to all questions,
unless you know what you're doing.

We can start with probing for (PCI) I2C or SMBus adapters.
Do you want to probe now? (YES/no): y
Probing for PCI bus adapters...
Sorry, no supported PCI bus adapters found.

If you have undetectable or unsupported I2C/SMBus adapters, you can have
them scanned by manually loading the modules before running this script.

We are now going to do the I2C/SMBus adapter probings. Some chips may
be double detected; we choose the one with the highest confidence
value in that case.
If you found that the adapter hung after probing a certain address,
you can specify that address to remain unprobed.

Some chips are also accessible through the ISA I/O ports. We have to
write to arbitrary I/O ports to probe them. This is usually safe though.
Yes, you do have ISA I/O ports even if you do not have any ISA slots!
Do you want to scan the ISA I/O ports? (YES/no): y
Probing for `National Semiconductor LM78' at 0x290... No
Probing for `National Semiconductor LM78-J' at 0x290... No
Probing for `National Semiconductor LM79' at 0x290... No
Probing for `Winbond W83781D' at 0x290... No
Probing for `Winbond W83782D' at 0x290... No
Probing for `IPMI BMC KCS' at 0xca0... Success!
(confidence 4, driver `ipmisensors')
Probing for `IPMI BMC SMIC' at 0xca8... No

Some Super I/O chips may also contain sensors. We have to write to
standard I/O ports to probe them. This is usually safe.
Do you want to scan for Super I/O sensors? (YES/no): y
Probing for Super-I/O at 0x2e/0x2f
Trying family `National Semiconductor'... No
Trying family `SMSC'... No
Trying family `VIA/Winbond/Fintek'... No
Trying family `ITE'... No
Probing for Super-I/O at 0x4e/0x4f
Trying family `National Semiconductor'... No
Trying family `SMSC'... No
Trying family `VIA/Winbond/Fintek'... No
Trying family `ITE'... No

Some south bridges, CPUs or memory controllers may also contain
embedded sensors. Do you want to scan for them? (YES/no): y
Silicon Integrated Systems SIS5595... No
VIA VT82C686 Integrated Sensors... No
VIA VT8231 Integrated Sensors... No
AMD K8 thermal sensors... No
AMD K10 thermal sensors... No
Intel Core family thermal sensor... Success!
(driver `coretemp')
Intel AMB FB-DIMM thermal sensor... No
VIA C7 thermal and voltage sensors... No

Now follows a summary of the probes I have just done.
Just press ENTER to continue:

Driver `ipmisensors' (should be inserted):
Detects correctly:
* ISA bus, address 0xca0
Chip `IPMI BMC KCS' (confidence: 4)

Driver `coretemp' (should be inserted):
Detects correctly:
* Chip `Intel Core family thermal sensor' (confidence: 9)

Do you want to overwrite /etc/sysconfig/lm_sensors? (YES/no): y
Starting lm_sensors: loading module ipmi-si ipmisensors coretemp No sensors found!
Make sure you loaded all the kernel drivers you need.
Try sensors-detect to find out which these are.
[ OK ]

# sensors
No sensors found!
Make sure you loaded all the kernel drivers you need.
Try sensors-detect to find out which these are.


Ответ на: комментарий от phasma

Это ядро родное, я собирал ядро там где ic2 все выставил, бестолку с самозборным таже хрень.

osipen
() автор топика

да, ну напиши на форуме шоле.

phasma ★☆
()

modprobe coretemp # читает температуру с датчика в ядрах процессора 
modprobe ipmisensors # читает информацию с чипа мониторинга (температуру, скорость вентиляторов, напряжения, etc)
забыл, только скорей всего не поможет...
coretemp появился начиная с ядра 2.6.22, для ipmisensors нужна поддержка IPMI - если в Cent OS наложены патчи для ее поддержки - вам сильно повезло.
В общем вам сюда - http://www.lm-sensors.org/wiki/Devices

Sharp777
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.