(SOL) Necesito que vuelva a andar fancontrol

Publicado por groboko, Octubre 11, 2012, 20:36:04

Tema anterior - Siguiente tema

0 Miembros y 1 Visitante están viendo este tema.

groboko

Hace ya tiempo, diría que 2 actualizaciones que palmó fancontrol, pwmconfig y sensors-detect, antes los ventiladores me dejaban sordo pero andaban, ahora solo andan pero no levantan la velocidad acorde a la temperatura y la máquina solo anda en powersave para que no se cuelgue. Ya visité varias páginas pero siempre con el mismo resultado:

"usr/sbin/pwmconfig: There are no pwm-capable sensor modules installed"

Lo que no es cierto porque antes si los detectaba. Gracias de antemano.



ThecaTTony

Te sugiero revisar la siguiente wiki:

https://wiki.archlinux.org/index.php/Fan_Speed_Control

Se que en su momento configuré lm-sensors, ondemand governor y un par de cosas más, pero no recuerdo mucho.

the98

¿Usabas Ubuntu, no?

Fijate acá: http://ubuntuforums.org/showthread.php?t=42737

CitarFirst, try running pwmconfig:

$ pwmconfig

if that gives you the following error:
/usr/sbin/pwmconfig: There are no pwm-capable sensor modules installed
than you need to apply this fix. If not, proceed to the next step.

draugmordin

que mother tenés?
hace un tiempo le quitaron soporte a unos chipsets, porque jodían con unos registros que estaban destinados al stepping del cpu

groboko

Cita de: ThecaTTony en Octubre 11, 2012, 22:42:12
Te sugiero revisar la siguiente wiki:

https://wiki.archlinux.org/index.php/Fan_Speed_Control

Se que en su momento configuré lm-sensors, ondemand governor y un par de cosas más, pero no recuerdo mucho.

La wiki la tengo vista y ejecutada (nuevamente). También tuve que configurar para que andara la primera vez, y quedó así hasta que actualicé y como el memorioso Freire no soy y tampoco registro lo que hago  :crybaby:

Cita de: the98 en Octubre 11, 2012, 23:41:00
¿Usabas Ubuntu, no?

Fijate acá: http://ubuntuforums.org/showthread.php?t=42737

CitarFirst, try running pwmconfig:

$ pwmconfig

if that gives you the following error:
/usr/sbin/pwmconfig: There are no pwm-capable sensor modules installed
than you need to apply this fix. If not, proceed to the next step.

Si, estoy con Ubuntu. El error que copié es de pwmconfig:

"usr/sbin/pwmconfig: There are no pwm-capable sensor modules installed"

Cita de: draugmordin en Octubre 12, 2012, 09:44:31
que mother tenés?
hace un tiempo le quitaron soporte a unos chipsets, porque jodían con unos registros que estaban destinados al stepping del cpu

Es un ECS MCP61PM-HM, con chipset NVIDIA GeForce 6150SE nForce 430.

Citar
sudo sensors-detect
# sensors-detect revision 5984 (2011-07-10 21:22:53 +0200)
# System: HP-Pavilion GX707AA-ABM a6311la
# Board: ECS Nettle2

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.

Some south bridges, CPUs or memory controllers contain embedded sensors.
Do you want to scan for them? This is totally safe. (YES/no): y
Silicon Integrated Systems SIS5595...                       No
VIA VT82C686 Integrated Sensors...                          No
VIA VT8231 Integrated Sensors...                            No
AMD K8 thermal sensors...                                   Success!
    (driver `k8temp')
AMD Family 10h thermal sensors...                           No
AMD Family 11h thermal sensors...                           No
AMD Family 12h and 14h thermal sensors...                   No
AMD Family 15h thermal sensors...                           No
AMD Family 15h power sensors...                             No
Intel digital thermal sensor...                             No
Intel AMB FB-DIMM thermal sensor...                         No
VIA C7 thermal sensor...                                    No
VIA Nano thermal sensor...                                  No

Some Super I/O chips contain embedded 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/ITE'...               No
Trying family `SMSC'...                                     No
Trying family `VIA/Winbond/Nuvoton/Fintek'...               No
Trying family `ITE'...                                      Yes
Found `ITE IT8726F Super IO Sensors'                        Success!
    (address 0x290, driver `it87')
Probing for Super-I/O at 0x4e/0x4f
Trying family `National Semiconductor/ITE'...               No
Trying family `SMSC'...                                     No
Trying family `VIA/Winbond/Nuvoton/Fintek'...               No
Trying family `ITE'...                                      No

Some systems (mainly servers) implement IPMI, a set of common interfaces
through which system health data may be retrieved, amongst other things.
We first try to get the information from SMBIOS. If we don't find it
there, we have to read from arbitrary I/O ports to probe for such
interfaces. This is normally safe. Do you want to scan for IPMI
interfaces? (YES/no): y
Probing for `IPMI BMC KCS' at 0xca0...                      No
Probing for `IPMI BMC SMIC' at 0xca8...                     No

Some hardware monitoring chips are 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 LM79' at 0x290...       No
Probing for `Winbond W83781D' at 0x290...                   No
Probing for `Winbond W83782D' at 0x290...                   No

Lastly, we can probe the I2C/SMBus adapters for connected hardware
monitoring devices. This is the most risky part, and while it works
reasonably well on most systems, it has been reported to cause trouble
on some systems.
Do you want to probe the I2C/SMBus adapters now? (YES/no): y
Using driver `i2c-nforce2' for device 0000:00:01.1: nVidia Corporation nForce SMBus (MCP61)

Next adapter: SMBus nForce2 adapter at 1c00 (i2c-0)
Do you want to scan it? (yes/NO/selectively): y
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

Next adapter: SMBus nForce2 adapter at f400 (i2c-1)
Do you want to scan it? (yes/NO/selectively): y

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

Driver `it87':
  * ISA bus, address 0x290
    Chip `ITE IT8726F Super IO Sensors' (confidence: 9)

Driver `k8temp' (autoloaded):
  * Chip `AMD K8 thermal sensors' (confidence: 9)

To load everything that is needed, add this to /etc/modules:
#----cut here----
# Chip drivers
it87
#----cut here----

If you have some drivers built into your kernel, the list above will
contain too many modules. Skip the appropriate ones!

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

La línea que está en negrita es la única modificación que hace cuando cargo el módulo "i2c-nforce2"
Otro punto es que antes agregaba 3 o 4 módulos a /etc/modules y no me acuerdo cuales eran  :crybaby:



the98

Por eso mismo, grobo. Fijate que lo que cité es del link que te pasé y ahí dice cómo seguir cuando sale ese error. Hay que cambiar algo en un archivo de configuración. Fijate si te sirve.

Suerte.

draugmordin

probá con un
sudo modprobe it87
y fijate si después de eso
sensors
te devuelve algo interesante

groboko

Cita de: draugmordin en Octubre 12, 2012, 20:07:31
probá con un
sudo modprobe it87
y fijate si después de eso
sensors
te devuelve algo interesante

Está cargado, y es lo que anda con sensors y psensor pero quiero temp del mobo, que pueda controlar los ventiladores y ver los voltajes, que aunque le cambié la fuente hay un par que siguen dando cualquiera.

Citar~$ sudo modprobe it87
FATAL: Error inserting it87 (/lib/modules/3.2.0-32-generic/kernel/drivers/hwmon/it87.ko): Device or resource busy

~$ sensors
acpitz-virtual-0
Adapter: Virtual device
temp1:        +40.0°C  (crit = +124.0°C)

k8temp-pci-00c3
Adapter: PCI adapter
Core0 Temp:   +43.0°C 
Core0 Temp:   +44.0°C 
Core1 Temp:   +51.0°C 
Core1 Temp:   +43.0°C 


Ah, Temp1 siempre marcó 40, descartado.



ThecaTTony

Según:

https://bbs.archlinux.org/viewtopic.php?id=81925

Recomiendan agregar la siguiente línea a grub:

acpi_enforce_resources=lax

Pero puede ser peligroso, así que hágalo bajo su propio riesgo compañero.

Por otro lado, yo tengo en blacklist al modulo it87 porque daba un error al inicio del sistema y lo terminé reemplazando por asus_atk0110.

groboko

acpi_enforce_resources=lax

Lo había metido en el grub  creo que sin resultados. Ahora leo la página que dejaste.



draugmordin

Cita de: groboko en Octubre 12, 2012, 23:21:02
acpi_enforce_resources=lax

Lo había metido en el grub  creo que sin resultados. Ahora leo la página que dejaste.

te acordaste de poner el
sudo update-grub
después de modificar el archivo?

draugmordin

De el/la wiki de LM-Sensors:
http://www.lm-sensors.org/wiki/FAQ/Chapter3#Mysensorshavestoppedworkinginkernel2.6.31
CitarMy sensors have stopped working in kernel 2.6.31

in the mainline 2.6.31 kernel, there is a change which causes hardware monitoring to no longer work on some motherboards. If this is happening for your motherboard, then when the lm_sensors service is starting you are probably getting an error like this:

FATAL: Error inserting it87
(/lib/modules/2.6.29-15.fc11.x86_64/kernel/drivers/hwmon/it87.ko): Device or
resource busy
And if you look at the kernel messages (using the dmesg command in a terminal for example) you will probably see something like this:

ACPI: I/O resource it87 [0x295-0x296] conflicts with ACPI region IP__
[0x295-0x296]
ACPI: Device needs an ACPI driver
With previous kernels hwmon drivers used to drive IO ranges which were potentially used by the ACPI code in your BIOS (which is active not only during but also after boot), we now explicitly check for this and if the ACPI code claims the IO-ports used by the hwmon chip, we no longer allow the hwmon driver to load.

Banging IO-ports of a chip from 2 different drivers, the Linux hwmon driver and the ACPI code is a really bad idea and can cause all sort of issues (including things like changing CPU / RAM voltage or clock speed). So the old behaviour was a really bad idea.

So even though this change in behaviour makes some people unhappy as to old behaviour happened to work without problems in their case (by sheer luck really), this change is really for the best!

If you have an Asus motherboard, chances are good there is an ACPI interface to read your sensors, which is safe, and no more sensors.conf tweaking needed for conversion formulas! Make sure you have the asus_atk0110 driver enabled in your kernel configuration to use this. You will also need lm-sensors version 3.1.0 or later.

If you want to restore the old behaviour (which might be dangerous) add: "acpi_enforce_resources=lax" to the kernel cmdline when booting (or add it in grub.conf to make this permanent).

Notes:

1) This change actually first appeared in the mainline 2.6.30 kernel, but due to a bug in 2.6.30, it didn't take effect until 2.6.31, see:  http://bugzilla.kernel.org/show_bug.cgi?id=13967

2) Some distributions have made this change earlier (e.g. Fedora has this change since kernel 2.6.29)

Estoy muy cansado ahora para traducirlo todo, básicamente dice que el modulo it87 lee/escribe en una región de memoria dedicada a otro módulo que cumple una función crítica de la BIOS (por ejemplo la regulación de voltaje/frecuencia de la CPU o de la memoria). Si querés podés ignorarlo agregando "acpi_enforce_resources=lax", pero "podría" romper algo.

groboko

¡¡Funca!! Tengo que afinar el manejo, porque está al tope y me está dejando sordo, (si como no). Primero puse en lista negra los módulos, no pasó nada, luego coloqué en el Grub 2 la línea "acpi_enforce_resources=lax", contra mi voluntad porque, repito, creí que la vez anterior no fue responsable del funcionamiento de fancontrol, de hecho si lo fue pero recordé exactamente lo contrario. No pasó nada en ese paso, entonces liberé los módulos de la lista negra, tampoco sucedió nada, reinicié la máquina y ahí si funcionó. Lo que no nuncionó es que detecta el venti del chassis pero no puede contar las vueltas ni controlarlo.

Ahora voy a ver si coloco el archivo de configuración anterior para no tener que configurar nuevamente. Gracias a todos porque a pesar de haber leído los wikis me hicieron recapacitar.



ThecaTTony

Grobo, poniendo la línea "acpi_enforce_resources=lax" en grub, la única manera de que sea tomada, es al inicio del sistema, por eso arrancó cuando reiniciaste.
Ahora deberías tratar mediante modprobe xxx o modprobe -r xxx ir viendo como se comportan los sensores de acuerdo al modulo cargado.

groboko

Cita de: ThecaTTony en Octubre 18, 2012, 23:11:57
Grobo, poniendo la línea "acpi_enforce_resources=lax" en grub, la única manera de que sea tomada, es al inicio del sistema, por eso arrancó cuando reiniciaste.
Ahora deberías tratar mediante modprobe xxx o modprobe -r xxx ir viendo como se comportan los sensores de acuerdo al modulo cargado.


:up: