Strona 1 z 1

Dell PE 1750 i kontrola tempteratury - ls-sensors

: 09 sierpnia 2009, 14:09
autor: picom
Witam,

Mam taki problem z Debianem Etch zainstalowanym na Dell PE 1750 tj. cały czas wentylatory serwera chodzą na maksimum. Z poziomu Debiana nie mogę sprawdzić temperatury procesora itp., więc wnioskuję, że Debian nie odczytuje z sensorów danych i przez co nie kontroluje wentylatorów.

Mam zainstalowane ls-sensors:

Kod: Zaznacz cały

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

: 09 sierpnia 2009, 15:02
autor: tomii
Robiłeś sensors-detect?

: 09 sierpnia 2009, 15:12
autor: picom

Kod: Zaznacz cały

root@dell ~ # sensors-detect
# sensors-detect revision 4171 (2006-09-24 03:37:01 -0700)

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):
Probing for PCI bus adapters...
Use driver `i2c-piix4' for device 0000:00:0f.0: ServerWorks CSB5 South Bridge

We will now try to load each adapter module in turn.
Module `i2c-piix4' already loaded.
If you have undetectable or unsupported 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):
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 `Winbond W83627HF' at 0x290...                  No
Probing for `Silicon Integrated Systems SIS5595'...         No
Probing for `VIA VT82C686 Integrated Sensors'...            No
Probing for `VIA VT8231 Integrated Sensors'...              No
Probing for `AMD K8 thermal sensors'...                     No
Probing for `IPMI BMC KCS' at 0xca0...                      Success!
    (confidence 4, driver `bmcsensors')
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):
Probing for Super-I/O at 0x2e/0x2f
Trying family `ITE'...                                      Yes
Found unknown chip with ID 0xee11
Trying family `National Semiconductor'...                   Yes
Found `Nat. Semi. PC8741x Super IO'
    (no hardware monitoring capabilities)
Trying family `SMSC'...                                     Yes
Found unknown chip with ID 0xee11
Trying family `VIA/Winbond/Fintek'...                       Yes
Found unknown chip with ID 0xee11
Probing for Super-I/O at 0x4e/0x4f
Trying family `ITE'...                                      No
Trying family `National Semiconductor'...                   No
Trying family `SMSC'...                                     No
Trying family `VIA/Winbond/Fintek'...                       No

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

Driver `bmcsensors' (should be inserted):
  Detects correctly:
  * ISA bus address 0x0ca0 (Busdriver `i2c-isa')
    Chip `IPMI BMC KCS' (confidence: 4)

I will now generate the commands needed to load the required modules.
Just press ENTER to continue:

To make the sensors modules behave correctly, add these lines to
/etc/modules:

#----cut here----
# I2C adapter drivers
# You must also install and load the IPMI modules
i2c-ipmi
# Chip drivers
# Warning: the required module bmcsensors is not currently installed
# on your system. For status of 2.6 kernel ports check
# [url]http://www.lm-sensors.org/wiki/Devices[/url]. If driver is built
# into the kernel, or unavailable, comment out the following line.
bmcsensors
#----cut here----
ale jak próbuję załadować ręcznie i2c-ipmi to dostaje:

Kod: Zaznacz cały

root@dell ~ # modprobe i2c-ipmi
FATAL: Module i2c_ipmi not found.
Kernel jest ze standardowej instalacji Debiana...

: 09 sierpnia 2009, 15:16
autor: tomii
No to czeka cię kompilacja. Może też się przydać fancontrol.

: 09 sierpnia 2009, 15:20
autor: picom
Jak przekompilować kernel najbardziej bez inwazyjnie?

: 09 sierpnia 2009, 15:27
autor: tomii
Używając obecny konfig. Ale pamiętaj o dodaniu obsługi systemów plików nie jako modułów.

: 10 sierpnia 2009, 00:40
autor: picom
Przekompilowałem kernel z I2C support itp. ale dalej

Kod: Zaznacz cały

root@dell ~ # modprobe i2c-ipmi
FATAL: Module i2c_ipmi not found. 

: 10 sierpnia 2009, 07:55
autor: tomii
Z tego linku wydaje się, że i2c nie jest tożsamy z i2c_ipmi.

: 11 sierpnia 2009, 12:15
autor: picom
Ponownie skompilowałem jądro w wersji 2.6.19 i dodałem łatkę ze strony:

http://bmcsensors-26.sourceforge.net/

następnie próbuję kompilować i zainstalować bmcsensors ale przy próbie polecenia: "make" dostaje taki komunikat:

Kod: Zaznacz cały

make -C /lib/modules/2.6.19-dell/build SUBDIRS=/root/bmcsensors-26 modules
make[1]: Wejście do katalogu `/usr/src/linux-2.6.19'
  CC [M]  /root/bmcsensors-26/i2c-ipmi.o
/root/bmcsensors-26/i2c-ipmi.c:40: error: unknown field 'name' specified in initializer
/root/bmcsensors-26/i2c-ipmi.c:40: warning: initialization from incompatible pointer type
/root/bmcsensors-26/i2c-ipmi.c:41: error: unknown field 'id' specified in initializer
/root/bmcsensors-26/i2c-ipmi.c:41: error: 'I2C_ALGO_IPMI' undeclared here (not in a function)
/root/bmcsensors-26/i2c-ipmi.c:42: error: unknown field 'slave_send' specified in initializer
/root/bmcsensors-26/i2c-ipmi.c:42: warning: initialization from incompatible pointer type
/root/bmcsensors-26/i2c-ipmi.c:204: warning: initialization from incompatible pointer type
make[2]: *** [/root/bmcsensors-26/i2c-ipmi.o] Błąd 1
make[1]: *** [_module_/root/bmcsensors-26] Błąd 2
make[1]: Opuszczenie katalogu `/usr/src/linux-2.6.19'
make: *** [modules] Błąd 2