Antiguo BlogGNU/Linux

Monitorizando la temperatura

Estoy teniendo problemas con mi hardware, al cual cierto es no le debe quedar mucho teniendo en cuenta que hablamos de un micro AMD2600+ y de que si mal no recuerdo ya llevo dos HDD, los cuales los achaco en parte a la placa (ASUS A7N8X Deluxe), que no es que sea mala pero ya desde los comienzos me estuvo dando dolores de cabeza hasta que descubrí que el firmware que venía tenía errores que ahora no voy a recordar/consultar, por lo que ya desde entonces le tengo cogida una poquita de mania =)

El caso es que para variar, no he ido anotando lo que he ido haciendo, así que voy a publicar lo que pueda salvar del terminal:

# apt-get install lm-sensors hddtemp
Leyendo lista de paquetes… Hecho
Creando árbol de dependencias
Leyendo la información de estado… Hecho
Se instalarán los siguientes paquetes extras:
libsensors4
Paquetes sugeridos:
ksensors sensord read-edid i2c-tools
Se instalarán los siguientes paquetes NUEVOS:
hddtemp libsensors4 lm-sensors
0 actualizados, 3 se instalarán, 0 para eliminar y 5 no actualizados.
Necesito descargar 244kB de archivos.
Se utilizarán 1077kB de espacio de disco adicional después de esta operación.
¿Desea continuar [S/n]?

Aquí si mal no recuerdo me ha preguntado por ncurses si quiero los sensores como demonio, a lo que he contestado de forma afirmativa, por lo que me ha pedido ip y puerto, los cuales he dejado por defecto: 127.0.0.1 y 7xxx, o por ahí :p

Respecto a los paquetes que me sugiere, no los he consultado, pero algún día lo haré…

A continuación he lanzado el asistente de detección de sensores que me ha hecho un pequeño interrogatorio sobre que sensores quiero detectar, al cual he contestado íntegramente de manera predeterminada: YES

# sensors-detect

# sensors-detect revision 5249 (2008-05-11 22:56:25 +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):

Probing for PCI bus adapters…
Use driver `i2c-nforce2′ for device 0000:00:01.1: nVidia Corporation nForce2 SMBus (MCP)

We will now try to load each adapter module in turn.
Module `i2c-nforce2′ already loaded.
If you have undetectable or unsupported I2C/SMBus adapters, you can have
them scanned by manually loading the modules before running this script.

To continue, we need module `i2c-dev’ to be loaded.
Do you want to load `i2c-dev’ now? (YES/no):
Module loaded successfully.

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.

Next adapter: SMBus nForce2 adapter at 5000 (i2c-0)
Do you want to scan it? (YES/no/selectively):
Client found at address 0x50
Probing for `Analog Devices ADM1033’…                     No
Probing for `Analog Devices ADM1034’…                     No
Probing for `SPD EEPROM’…                                 Yes
(confidence 8, not a hardware monitoring chip)
Probing for `EDID EEPROM’…                                No
Client found at address 0x51
Probing for `Analog Devices ADM1033’…                     No
Probing for `Analog Devices ADM1034’…                     No
Probing for `SPD EEPROM’…                                 Yes
(confidence 8, not a hardware monitoring chip)
Probing for `EDID EEPROM’…                                No
Client found at address 0x52
Probing for `Analog Devices ADM1033’…                     No
Probing for `Analog Devices ADM1034’…                     No
Probing for `SPD EEPROM’…                                 Yes
(confidence 8, not a hardware monitoring chip)
Probing for `EDID EEPROM’…                                No

Next adapter: SMBus nForce2 adapter at 5500 (i2c-1)
Do you want to scan it? (YES/no/selectively):
Client found at address 0x2d
Probing for `Myson MTP008’…                               No
Probing for `National Semiconductor LM78’…                No
Probing for `National Semiconductor LM78-J’…              No
Probing for `National Semiconductor LM79’…                No
Probing for `National Semiconductor LM80’…                No
Probing for `National Semiconductor LM85 or LM96000’…     No
Probing for `Analog Devices ADM1027, ADT7460 or ADT7463’… No
Probing for `SMSC EMC6D100, EMC6D101 or EMC6D102’…        No
Probing for `Analog Devices ADT7476’…                     No
Probing for `Andigilog aSC7611’…                          No
Probing for `Andigilog aSC7621’…                          No
Probing for `National Semiconductor LM87’…                No
Probing for `National Semiconductor LM93’…                No
Probing for `Winbond W83781D’…                            No
Probing for `Winbond W83782D’…                            No
Probing for `Winbond W83783S’…                            No
Probing for `Winbond W83792D’…                            No
Probing for `Winbond W83793R/G’…                          No
Probing for `Winbond W83791SD’…                           No
Probing for `Winbond W83627HF’…                           No
Probing for `Winbond W83627EHF’…                          No
Probing for `Winbond W83627DHG’…                          No
Probing for `Asus AS99127F (rev.1)’…                      No
Probing for `Asus AS99127F (rev.2)’…                      No
Probing for `Asus ASB100 Bach’…                           Success!
(confidence 8, driver `asb100′, other addresses: 0x48 0x49)
Probing for `Winbond W83L784R/AR/G’…                      No
Probing for `Winbond W83L785R/G’…                         No
Probing for `Genesys Logic GL518SM Revision 0x00’…        No
Probing for `Genesys Logic GL518SM Revision 0x80’…        No
Probing for `Genesys Logic GL520SM’…                      No
Probing for `Genesys Logic GL525SM’…                      No
Probing for `Analog Devices ADM9240’…                     No
Probing for `Dallas Semiconductor DS1780’…                No
Probing for `National Semiconductor LM81’…                No
Probing for `Analog Devices ADM1026’…                     No
Probing for `Analog Devices ADM1025’…                     No
Probing for `Philips NE1619’…                             No
Probing for `Analog Devices ADM1029’…                     No
Probing for `Analog Devices ADM1030’…                     No
Probing for `Analog Devices ADM1031’…                     No
Probing for `Analog Devices ADM1022’…                     No
Probing for `Texas Instruments THMC50’…                   No
Probing for `VIA VT1211 (I2C)’…                           No
Probing for `ITE IT8712F’…                                No
Probing for `ALi M5879’…                                  No
Probing for `SMSC LPC47M15x/192/292/997’…                 No
Probing for `SMSC DME1737’…                               No
Probing for `SMSC SCH5027D-NW’…                           No
Probing for `Fintek F75373S/SG’…                          No
Probing for `Fintek F75375S/SP’…                          No
Probing for `Fintek F75387SG/RG’…                         No
Probing for `Analog Devices ADM1024’…                     No
Probing for `Winbond W83791D’…                            No
Client found at address 0x2e
Probing for `Myson MTP008’…                               No
Probing for `National Semiconductor LM78’…                No
Probing for `National Semiconductor LM78-J’…              No
Probing for `National Semiconductor LM79’…                No
Probing for `National Semiconductor LM80’…                No
Probing for `National Semiconductor LM85 or LM96000’…     No
Probing for `Analog Devices ADM1027, ADT7460 or ADT7463’… No
Probing for `SMSC EMC6D100, EMC6D101 or EMC6D102’…        No
Probing for `Analog Devices ADT7462’…                     No
Probing for `Analog Devices ADT7467 or ADT7468’…          No
Probing for `Analog Devices ADT7470’…                     No
Probing for `Analog Devices ADT7473’…                     No
Probing for `Analog Devices ADT7475’…                     No
Probing for `Analog Devices ADT7476’…                     No
Probing for `Andigilog aSC7611’…                          No
Probing for `Andigilog aSC7621’…                          No
Probing for `National Semiconductor LM87’…                No
Probing for `National Semiconductor LM93’…                No
Probing for `Winbond W83781D’…                            No
Probing for `Winbond W83782D’…                            No
Probing for `Winbond W83792D’…                            No
Probing for `Winbond W83793R/G’…                          No
Probing for `Winbond W83791SD’…                           No
Probing for `Winbond W83627HF’…                           No
Probing for `Winbond W83627EHF’…                          No
Probing for `Winbond W83627DHG’…                          No
Probing for `Asus AS99127F (rev.1)’…                      No
Probing for `Asus AS99127F (rev.2)’…                      No
Probing for `Asus ASB100 Bach’…                           No
Probing for `Winbond W83L786NR/NG/R/G’…                   No
Probing for `Winbond W83L785TS-S’…                        Success!
(confidence 8, driver `w83l785ts’)
Probing for `Analog Devices ADM9240’…                     No
Probing for `Dallas Semiconductor DS1780’…                No
Probing for `National Semiconductor LM81’…                No
Probing for `Analog Devices ADM1026’…                     No
Probing for `Analog Devices ADM1025’…                     No
Probing for `Analog Devices ADM1029’…                     No
Probing for `Analog Devices ADM1030’…                     No
Probing for `Analog Devices ADM1031’…                     No
Probing for `Analog Devices ADM1022’…                     No
Probing for `Texas Instruments THMC50’…                   No
Probing for `Analog Devices ADM1028’…                     No
Probing for `ITE IT8712F’…                                No
Probing for `SMSC DME1737’…                               No
Probing for `SMSC SCH5027D-NW’…                           No
Probing for `Fintek F75373S/SG’…                          No
Probing for `Fintek F75375S/SP’…                          No
Probing for `Fintek F75387SG/RG’…                         No
Probing for `Analog Devices ADM1024’…                     No
Probing for `Winbond W83791D’…                            No
Client found at address 0x2f
Probing for `National Semiconductor LM78’…                No
Probing for `National Semiconductor LM78-J’…              No
Probing for `National Semiconductor LM79’…                No
Probing for `National Semiconductor LM80’…                No
Probing for `Analog Devices ADT7470’…                     No
Probing for `Winbond W83781D’…                            No
Probing for `Winbond W83782D’…                            No
Probing for `Winbond W83792D’…                            No
Probing for `Winbond W83793R/G’…                          No
Probing for `Winbond W83791SD’…                           No
Probing for `Winbond W83627HF’…                           No
Probing for `Winbond W83627EHF’…                          No
Probing for `Winbond W83627DHG’…                          No
Probing for `Asus AS99127F (rev.1)’…                      No
Probing for `Asus AS99127F (rev.2)’…                      No
Probing for `Asus ASB100 Bach’…                           No
Probing for `Winbond W83L786NR/NG/R/G’…                   No
Probing for `Analog Devices ADM9240’…                     No
Probing for `Dallas Semiconductor DS1780’…                No
Probing for `National Semiconductor LM81’…                No
Probing for `Analog Devices ADM1029’…                     No
Probing for `ITE IT8712F’…                                No
Probing for `Fintek custom power control IC’…             No
Probing for `Winbond W83791D’…                            Success!
(confidence 7, driver `w83791d’, other addresses: 0x48 0x49)
Client found at address 0x48
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 `Maxim MAX6650/MAX6651’…                      No
Probing for `National Semiconductor LM92’…                No
Probing for `National Semiconductor LM76’…                No
Probing for `Maxim MAX6633/MAX6634/MAX6635’…              No
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

Next adapter: NVIDIA i2c adapter  (i2c-2)
Do you want to scan it? (YES/no/selectively):
Client found at address 0x50
Probing for `Analog Devices ADM1033’…                     No
Probing for `Analog Devices ADM1034’…                     No
Probing for `SPD EEPROM’…                                 Yes
(confidence 8, not a hardware monitoring chip)
Probing for `EDID EEPROM’…                                No
Client found at address 0x51
Probing for `Analog Devices ADM1033’…                     No
Probing for `Analog Devices ADM1034’…                     No
Probing for `SPD EEPROM’…                                 Yes
(confidence 8, not a hardware monitoring chip)
Probing for `EDID EEPROM’…                                No
Client found at address 0x52
Probing for `Analog Devices ADM1033’…                     No
Probing for `Analog Devices ADM1034’…                     No
Probing for `SPD EEPROM’…                                 Yes
(confidence 8, not a hardware monitoring chip)
Probing for `EDID EEPROM’…                                No
Client found at address 0x53
Probing for `Analog Devices ADM1033’…                     No
Probing for `Analog Devices ADM1034’…                     No
Probing for `SPD EEPROM’…                                 Yes
(confidence 8, not a hardware monitoring chip)
Probing for `EDID EEPROM’…                                No

Next adapter: NVIDIA i2c adapter  (i2c-3)
Do you want to scan it? (YES/no/selectively):

Next adapter: NVIDIA i2c adapter  (i2c-4)
Do you want to scan it? (YES/no/selectively):

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 `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):
Probing for Super-I/O at 0x2e/0x2f
Trying family `National Semiconductor’…                   No
Trying family `SMSC’…                                     No
Trying family `VIA/Winbond/Fintek’…                       Yes
Found `ITE IT8708F Super IO’
(no hardware monitoring capabilities)
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):
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

Aunque aún no hemos terminado, hacemos una pausa para decir que la siguiente ‘questions’ ya no es para detectar sensores, sino una pausa en la que nos informa de que se va a mostrar un resumen:

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

Driver `asb100′ (should be inserted):
Detects correctly:
* Bus `SMBus nForce2 adapter at 5500′
Busdriver `i2c-nforce2′, I2C address 0x2d (and 0x48 0x49)
Chip `Asus ASB100 Bach’ (confidence: 8)

Driver `w83l785ts’ (should be inserted):
Detects correctly:
* Bus `SMBus nForce2 adapter at 5500′
Busdriver `i2c-nforce2′, I2C address 0x2e
Chip `Winbond W83L785TS-S’ (confidence: 8)

Driver `w83791d’ (may not be inserted):
Misdetects:
* Bus `SMBus nForce2 adapter at 5500′
Busdriver `i2c-nforce2′, I2C address 0x2f (and 0x48 0x49)
Chip `Winbond W83791D’ (confidence: 7)

De nuevo una pausa en la que ‘semos’ informados de que se van a generar los módulos requeridos:

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

To load everything that is needed, add this to /etc/modules:

#—-cut here—-
# I2C adapter drivers
i2c-nforce2
# Chip drivers
asb100
w83l785ts
#—-cut here—-

Y por último, nos pregunta si queremos añadir esa líneas de forma automática al archivo /etc/modules y para ser un poquito rebelde he contestado que yes, desobedeciendo la “recomendación” o más bien opción por defecto de nuestro shell-assistant:


Do you want to add these lines automatically? (yes/NO)

Una vez hemos finalizado, cargo los módulos porque creo que si no “reinicio algo” no se me cargarían.

# modprobe i2c-nforce2

# modprobe asb100

# modprobe w83l785ts

Y listo, a revisar datos, que dicho sea no tienen muu buena pinta:

$ sensors
asb100-i2c-1-2d
Adapter: SMBus nForce2 adapter at 5500
VCore 1:          +1.73 V  (min =  +1.31 V, max =  +1.97 V)
+3.3V:            +3.22 V  (min =  +2.96 V, max =  +3.63 V)
+5V:              +4.68 V  (min =  +4.49 V, max =  +5.51 V)
+12V:            +12.22 V  (min =  +9.55 V, max = +14.41 V)
-12V (reserved): -12.45 V  (min =  -0.00 V, max =  -0.00 V)
-5V (reserved):   -5.22 V  (min =  -0.00 V, max =  -0.00 V)
CPU Fan:         4963 RPM  (min =   -1 RPM, div = 2)  ALARM
Chassis Fan:        0 RPM  (min =   -1 RPM, div = 2)  ALARM
Power Fan:          0 RPM  (min =   -1 RPM, div = 2)  ALARM
M/B Temp:         +36.0°C  (high = +80.0°C, hyst = +75.0°C)
CPU Temp (Intel): +26.0°C  (high = +80.0°C, hyst = +75.0°C)
Power Temp:      +126.5°C  (high = +80.0°C, hyst = +75.0°C)
CPU Temp (AMD):   +25.0°C  (high = +80.0°C, hyst = +75.0°C)
cpu0_vid:        +1.650 V

w83l785ts-i2c-1-2e
Adapter: SMBus nForce2 adapter at 5500
CPU Diode:   +47.0°C  (high = +110.0°C)

Ya si eso me quedaría instalar polladas gráficas varias como pudieran ser los Apple de Gnome… ¿o eran applets? ;o)

# aptitude/apt-get install sensors-applet

PD. Odio al puto WYSIWYG ese, que va el hiyo put y después de tener el texto “maquetao” se lo foia tó al darle a un blockquote…. en fin, ya si eso otro día lo “xEtiqueteo” 😛