Siduction Forum

Siduction Forum => Software - Support => Topic started by: harley-peter on 2018/11/19, 22:49:15

Title: Nach du läuft Lüfter konstant hochtourig
Post by: harley-peter on 2018/11/19, 22:49:15
Hallo,
seit einem der letzten du's läuft bei meinem Laptop der Lüfter konstant relativ hochtourig und scheint nicht geregelt zu werden. Gleichzeitig meldet mir das System folgende Fehler beim Booten:
Code: [Select]
-- Logs begin at Wed 2018-01-31 21:55:03 CET, end at Mon 2018-11-19 22:38:53 CET. --
Nov 19 22:38:23 thinkpad thinkfan[812]: ^[[0;1;39m/sys/devices/virtual/hwmon/hwmon0/temp1_input: No such file or directory
Nov 19 22:38:23 thinkpad thinkfan[812]: ^[[0;1;39mreadconfig: Error getting temperature.
Nov 19 22:38:23 thinkpad thinkfan[812]: ^[[0;1;39mRefusing to run without usable config file!
Nov 19 22:38:23 thinkpad systemd[1]: ^[[0;1;39mFailed to start simple and lightweight fan control program.
Nov 19 22:38:23 thinkpad avahi-daemon[817]: ^[[0;1;39mopen("/services/phpmyadmin.service", O_RDONLY): No such file or directory
Nov 19 22:38:23 thinkpad avahi-daemon[817]: ^[[0;1;39mFailed to load service group file /services/phpmyadmin.service, ignoring.
Nov 19 22:38:24 thinkpad ntpd[986]: ^[[0;1;39merror resolving pool 0.debian.pool.ntp.org: Temporary failure in name resolution (-3)
Nov 19 22:38:25 thinkpad ntpd[986]: ^[[0;1;39merror resolving pool 1.debian.pool.ntp.org: Temporary failure in name resolution (-3)
Nov 19 22:38:26 thinkpad ntpd[986]: ^[[0;1;39merror resolving pool 2.debian.pool.ntp.org: Temporary failure in name resolution (-3)
Nov 19 22:38:27 thinkpad ntpd[986]: ^[[0;1;39merror resolving pool 3.debian.pool.ntp.org: Temporary failure in name resolution (-3)
Nov 19 22:38:53 thinkpad systemd[1]: ^[[0;1;39mFailed to start Network Manager Wait Online.

Vorher wurde der Lüfter geregelt und lief nur bei starker Belastung hoch. Hat jemand einen Tip wie ich das wieder geregelt bekomme?
Title: Re: Nach du läuft Lüfter konstant hochtourig
Post by: piper on 2018/11/19, 23:12:48
whats the output of

Code: [Select]
thinkfan -n
If it comes back with

Code: [Select]
Module thinkpad_acpi doesn't seem to support fan_control
Do

Code: [Select]
nano /etc/modprobe.d/thinkfan.conf
Look for the line

Code: [Select]
options thinkpad_acpi fan_control=1
and change it to

Code: [Select]
options thinkpad_acpi experimental=1 fan_control=1
Reboot  so the changes take effect.
Title: Re: Nach du läuft Lüfter konstant hochtourig
Post by: melmarker on 2018/11/20, 00:09:48
und was könnte:
Code: [Select]
Nov 19 22:38:23 thinkpad thinkfan[812]: ^[[0;1;39mRefusing to run without usable config file!

bedeuten?
Title: Re: Nach du läuft Lüfter konstant hochtourig
Post by: harley-peter on 2018/11/20, 09:30:21
output of thinkfan -n:
Code: [Select]
/etc/thinkfan.conf:43:sensor /sys/devices/virtual/hwmon/hwmon0/temp1_input
WARNING: The `sensor' keyword is deprecated. Please use the `hwmon' or `tp_thermal' keywords instead!

/etc/thinkfan.conf:44:sensor /sys/devices/platform/coretemp.0/hwmon/hwmon2/temp3_input
WARNING: The `sensor' keyword is deprecated. Please use the `hwmon' or `tp_thermal' keywords instead!

/etc/thinkfan.conf:45:sensor /sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input
WARNING: The `sensor' keyword is deprecated. Please use the `hwmon' or `tp_thermal' keywords instead!

/etc/thinkfan.conf:46:sensor /sys/devices/platform/coretemp.0/hwmon/hwmon2/temp2_input
WARNING: The `sensor' keyword is deprecated. Please use the `hwmon' or `tp_thermal' keywords instead!

WARNING: Using default fan control in /proc/acpi/ibm/fan.

/sys/devices/virtual/hwmon/hwmon0/temp1_input: No such file or directory
readconfig: Error getting temperature.
Refusing to run without usable config file!

@piper:
I changed the /etc/modprobe.d/thinkfan.conf as you wrote but it seems whithout any change.

There is also a /etc/thinkfan.conf with the content:
Code: [Select]
sensor /sys/devices/virtual/hwmon/hwmon0/temp1_input
sensor /sys/devices/platform/coretemp.0/hwmon/hwmon2/temp3_input
sensor /sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input
sensor /sys/devices/platform/coretemp.0/hwmon/hwmon2/temp2_input

(0,     0,      40)
(1,     35,     45)
(2,     40,     50)
(3,     45,     55)
(4,     50,     60)
(5,     55,     65)
(7,     60,     72)
(127,   70,     32767)

@melmarker:
Das habe ich schon gelesen aber welches config file soll wie aussehen?

In /sys/devices/virtual/ gibt es kein Verzeichnis hwmon, somit kann natürlich auch keine entsprechende input Datei gefunden werden. Es gibt dort ein Verzeichnis thermal mit den Unterverzeichnissen cooling_device0 bis cooling_device5 sowie thermal_zone0 und thermal_zone1. Was muss ich wie ändern?
Title: Re: Nach du läuft Lüfter konstant hochtourig
Post by: piper on 2018/11/20, 13:41:02
I don't own one of these, and did just a basic search-foo for the above and below

https://man.cx/thinkfan(1)

https://thinkwiki.de/Thinkfan

https://forum.thinkpads.com/index.php?sid=c30707f051e607aa5c6410e3b52d2f8b

https://github.com/NixOS/nixpkgs/pull/40768

https://github.com/NixOS/nixpkgs/issues/40452

https://medium.com/@mirul/setting-up-thinkfan-for-thinkpad-t420-aaec5108f75f
Title: Re: Nach du läuft Lüfter konstant hochtourig
Post by: unklarer on 2018/11/20, 14:00:42
Auf einem ThinkPad T500 ist kein thinkfan installiert und
modprobe --show-depends thinkpad_acpi zeigt mir
Code: [Select]
insmod /lib/modules/4.19.2-towo.2-siduction-amd64/kernel/drivers/acpi/video.ko
insmod /lib/modules/4.19.2-towo.2-siduction-amd64/kernel/net/rfkill/rfkill.ko
insmod /lib/modules/4.19.2-towo.2-siduction-amd64/kernel/sound/soundcore.ko
insmod /lib/modules/4.19.2-towo.2-siduction-amd64/kernel/sound/core/snd.ko
insmod /lib/modules/4.19.2-towo.2-siduction-amd64/kernel/drivers/char/nvram.ko
insmod /lib/modules/4.19.2-towo.2-siduction-amd64/kernel/drivers/acpi/battery.ko
insmod /lib/modules/4.19.2-towo.2-siduction-amd64/kernel/drivers/platform/x86/thinkpad_acpi.ko

auf dem x40 ist thinkfan installiert (weil mir sonst der Lüfter permanent auf den Sack geht) und da sieht das so aus
Code: [Select]
insmod /lib/modules/4.18.0-2-686/kernel/drivers/acpi/video.ko
insmod /lib/modules/4.18.0-2-686/kernel/net/rfkill/rfkill.ko
insmod /lib/modules/4.18.0-2-686/kernel/sound/soundcore.ko
insmod /lib/modules/4.18.0-2-686/kernel/sound/core/snd.ko
insmod /lib/modules/4.18.0-2-686/kernel/drivers/char/nvram.ko
insmod /lib/modules/4.18.0-2-686/kernel/drivers/acpi/battery.ko
insmod /lib/modules/4.18.0-2-686/kernel/drivers/platform/x86/thinkpad_acpi.ko fan_control=1


welches ThinkPad ist das bei dir?
Title: Re: Nach du läuft Lüfter konstant hochtourig
Post by: hendrikL on 2018/11/20, 15:44:45
Code: [Select]
inxi -Mxx
Machine:   Type: Laptop System: LENOVO product: 253725G v: ThinkPad T410 serial: <root required> Chassis: type: 10
           serial: <root required>
           Mobo: LENOVO model: 253725G serial: <root required> BIOS: LENOVO v: 6IET85WW (1.45 ) date: 02/14/2013

Code: [Select]
~$ modprobe --show-depends thinkpad_acpi
insmod /lib/modules/4.19.2-towo.2-siduction-amd64/kernel/drivers/acpi/video.ko
insmod /lib/modules/4.19.2-towo.2-siduction-amd64/kernel/net/rfkill/rfkill.ko
insmod /lib/modules/4.19.2-towo.2-siduction-amd64/kernel/sound/soundcore.ko
insmod /lib/modules/4.19.2-towo.2-siduction-amd64/kernel/sound/core/snd.ko
insmod /lib/modules/4.19.2-towo.2-siduction-amd64/kernel/drivers/char/nvram.ko
insmod /lib/modules/4.19.2-towo.2-siduction-amd64/kernel/drivers/acpi/battery.ko
insmod /lib/modules/4.19.2-towo.2-siduction-amd64/kernel/drivers/platform/x86/thinkpad_acpi.ko experimental=1 fan_control=1

######################################

~$ apt policy thinkfan
thinkfan:
  Installiert:           0.9.3-2
  Installationskandidat: 0.9.3-2
  Versionstabelle:
 *** 0.9.3-2 500
        500 http://ftp.debian.de/debian testing/main amd64 Packages
        500 http://ftp.debian.de/debian unstable/main amd64 Packages
        100 /var/lib/dpkg/status

######################################

~$ cat  /etc/thinkfan.conf
######################################################################
# thinkfan 0.7 example config file
# ================================
#
# ATTENTION: There is only very basic sanity checking on the configuration.
# That means you can set your temperature limits as insane as you like. You
# can do anything stupid, e.g. turn off your fan when your CPU reaches 70°C.
#
# That's why this program is called THINKfan: You gotta think for yourself.
#
######################################################################
#
# IBM/Lenovo Thinkpads (thinkpad_acpi, /proc/acpi/ibm)
# ====================================================
#
# IMPORTANT:
#
# To keep your HD from overheating, you have to specify a correction value for
# the sensor that has the HD's temperature. You need to do this because
# thinkfan uses only the highest temperature it can find in the system, and
# that'll most likely never be your HD, as most HDs are already out of spec
# when they reach 55 °C.
# Correction values are applied from left to right in the same order as the
# temperatures are read from the file.
#
# For example:
# tp_thermal /proc/acpi/ibm/thermal (0, 0, 10)
# will add a fixed value of 10 °C the 3rd value read from that file. Check out
# http://www.thinkwiki.org/wiki/Thermal_Sensors to find out how much you may
# want to add to certain temperatures.

#  Syntax:
#  (LEVEL, LOW, HIGH)
#  LEVEL is the fan level to use (0-7 with thinkpad_acpi)
#  LOW is the temperature at which to step down to the previous level
#  HIGH is the temperature at which to step up to the next level
#  All numbers are integers.
#

# I use this on my T61p:
#tp_fan /proc/acpi/ibm/fan
#tp_thermal /proc/acpi/ibm/thermal (0, 10, 15, 2, 10, 5, 0, 3, 0, 3)

(0,     0,      55)
(1,     48,     60)
(2,     50,     61)
(3,     52,     63)
(4,     56,     65)
(5,     59,     66)
(7,     63,     32767)

###############################################

~$ cat /etc/modprobe.d/thinkfan.conf
options thinkpad_acpi experimental=1 fan_control=1

Hier™ keine Probleme
Title: Re: Nach du läuft Lüfter konstant hochtourig
Post by: harley-peter on 2018/11/20, 19:49:30
@piper:
Thanks for the links. I found some hints that could help.

Die modprobe Ausgaben sehen bei mir genauso aus.

Ich habe jetzt mal die /etc/thinkfan.conf an die bei mir vorhandenen Verzeichnisse angepasst und werde jetzt mal beobachten wie sich mein Thinkpad T420s verhält.