The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

форумы  помощь  поиск  регистрация  майллист  вход/выход  слежка  RSS
"Не работает lm_sensors на SLES 11"
Вариант для распечатки  
Пред. тема | След. тема 
Форум Открытые системы на сервере (Мониторинг, логи / Linux)
Изначальное сообщение [ Отслеживать ]

"Не работает lm_sensors на SLES 11"  +/
Сообщение от Alexander email(??) on 25-Ноя-11, 00:25 
Система SLES 11 (32bit.)
Ставлю с диска lm_sensors

Делаю:
1.homeserver:~ # sensors-detect
# sensors-detect revision 5337 (2008-09-19 17:05:28 +0200)

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.

Next adapter: intel drm CRTDDC_A (i2c-0)
Do you want to scan it? (YES/no/selectively): y
Client found at address 0x49
Probing for `National Semiconductor LM75'...                No
Probing for `Dallas Semiconductor DS75'...                  No
Probing for `National Semiconductor LM77'...                No
Probing for `Dallas Semiconductor DS1621/DS1631'...         No
Probing for `National Semiconductor LM92'...                No
Probing for `National Semiconductor LM76'...                No
Probing for `Maxim MAX6633/MAX6634/MAX6635'...              No
Client found at address 0x50
Probing for `Analog Devices ADM1033'...                     No
Probing for `Analog Devices ADM1034'...                     No
Probing for `SPD EEPROM'...                                 No
Probing for `EDID EEPROM'...                                Yes
    (confidence 8, not a hardware monitoring chip)

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...                      No
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'...                                     Yes
Found `SMSC LPC47B397-NC Super IO'                          Success!
    (address 0x480, driver `smsc47b397')
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...                         No
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 `smsc47b397' (should be inserted):
  Detects correctly:
  * ISA bus, address 0x480
    Chip `SMSC LPC47B397-NC Super IO' (confidence: 9)

WARNING! The required module smsc47b397 is not currently installed
on your system. You may need to install package kernel-pae-extra
for lm-sensors to work properly.

Do you want to overwrite /etc/sysconfig/lm_sensors? (YES/no): y
2.homeserver:~ # sensors
No sensors found!
Make sure you loaded all the kernel drivers you need.
Try sensors-detect to find out which these are.

На данный момент имеем микросхему мониторинга `SMSC LPC47B397-NC Super IO' и ее драйвер `smsc47b397'

Тут файла драйвера нет...
linux:/lib/modules/2.6.32.12-0.7-pae/kernel/drivers/hwmon # ls
hp_accel.ko   hwmon.ko    ibmaem.ko  lis3lv02d.ko
hwmon-vid.ko  i5k_amb.ko  ibmpex.ko  pcf8591.ko


Но тут есть его исходник...
linux:/lib/modules/2.6.32.12-0.7-pae/source/drivers/hwmon # ls
Kconfig       ams             hwmon.c          lm87.c        smsc47m192.c
Makefile      applesmc.c      i5k_amb.c        lm90.c        thmc50.c
abituguru.c   asb100.c        ibmaem.c         lm92.c        tmp401.c
abituguru3.c  asus_atk0110.c  ibmpex.c         lm93.c        tmp421.c
ad7414.c      atxp1.c         it87.c           lm95241.c     ultra45_env.c
ad7418.c      coretemp.c      k8temp.c         ltc4215.c     via686a.c
adcxx.c       dme1737.c       lis3lv02d.c      ltc4245.c     vt1211.c
adm1021.c     ds1621.c        lis3lv02d.h      max1111.c     vt8231.c
adm1025.c     f71805f.c       lis3lv02d_spi.c  max1619.c     w83627ehf.c
adm1026.c     f71882fg.c      lm63.c           max6650.c     w83627hf.c
adm1029.c     f75375s.c       lm70.c           pc87360.c     w83781d.c
adm1031.c     fschmd.c        lm75.c           pc87427.c     w83791d.c
adm9240.c     g760a.c         lm75.h           pcf8591.c     w83792d.c
ads7828.c     gl518sm.c       lm77.c           s3c-hwmon.c   w83793.c
adt7462.c     gl520sm.c       lm78.c           sht15.c       w83l785ts.c
adt7470.c     hdaps.c         lm80.c           sis5595.c     w83l786ng.c
adt7473.c     hp_accel.c      lm83.c           smsc47b397.c  wm831x-hwmon.c
adt7475.c     hwmon-vid.c     lm85.c           smsc47m1.c    wm8350-hwmon.c

Как из файла *.c сделать файл *.ko ?
И сделать так, что бы новый файл *.ko видел kernel ?

Ответить | Правка | Cообщить модератору

Оглавление

Сообщения по теме [Сортировка по времени | RSS]


1. "Не работает lm_sensors на SLES 11"  +/
Сообщение от shadow_alone (ok) on 25-Ноя-11, 02:21 
> Как из файла *.c сделать файл *.ko ?
> И сделать так, что бы новый файл *.ko видел kernel ?

А что, старый добрый вариант собрать модули заново , включив в конфиге:

CONFIG_SENSORS_SMSC47B397=m

уже не катит, да?
Ответить | Правка | ^ к родителю #0 | Наверх | Cообщить модератору

2. "Не работает lm_sensors на SLES 11"  +/
Сообщение от Alexander email(??) on 25-Ноя-11, 04:42 
О каком конфиге идет разговор ?
Можно немного поподробней. Т.к. знания в этой области не очень :(
Ответить | Правка | ^ к родителю #1 | Наверх | Cообщить модератору

3. "Не работает lm_sensors на SLES 11"  +/
Сообщение от shadow_alone (ok) on 25-Ноя-11, 05:38 
Почитайте про сборку ядра и модулей и всё поймете.
Ответить | Правка | ^ к родителю #2 | Наверх | Cообщить модератору

5. "Не работает lm_sensors на SLES 11"  +/
Сообщение от Alexander email(??) on 28-Ноя-11, 06:16 
Я сделал по другому. Просто поставил kernel 2.6.32.48-12-default. В котором есть все модули и драйверы (и ничего компилировать не нужно).
Ответить | Правка | ^ к родителю #3 | Наверх | Cообщить модератору

4. "Не работает lm_sensors на SLES 11"  +/
Сообщение от JL2001 (ok) on 25-Ноя-11, 17:52 
> You may need to install package kernel-pae-extra

а такого пакета в системе поставить нельзя ?

Ответить | Правка | ^ к родителю #0 | Наверх | Cообщить модератору

Архив | Удалить

Рекомендовать для помещения в FAQ | Индекс форумов | Темы | Пред. тема | След. тема




Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2025 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру