Your message dated Wed, 27 Jan 2021 20:36:09 +0000
with message-id <[email protected]>
and subject line Bug#663619: fixed in thinkfan 1.2.1-1
has caused the Debian Bug report #663619,
regarding thinkfan: Daemon dies after waking up from suspend to ram or hibernate
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
663619: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=663619
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: thinkfan
Version: 0.7.3-1
Severity: important

Hello,

there is a problem when the system is suspended (either suspend to ram or hibernate). When waking up, the daemon is sometimes dying silently, which leaves the system without fan control.

The source of the problem is actually quite easy to spot; here is what thinkfan is logging in syslog during the wake up process:

Mar 12 13:03:13 wintermuteII thinkfan: /proc/acpi/ibm/thermal: No such file or directory Mar 12 13:03:13 wintermuteII thinkfan: /proc/acpi/ibm/fan: No such file or directory Mar 12 13:03:13 wintermuteII thinkfan: Cleaning up and resetting fan control. Mar 12 13:03:13 wintermuteII thinkfan: /proc/acpi/ibm/fan: No such file or directory

Note that these message are the very first in /var/log/syslog in the waking up process, but also appears sometime at the end of the suspending process. I don't know if this means that the event can occur both during the suspending and the waking process, or if it always occurs during the suspending process but sometimes logs itself during the waking for some buffering reasons.

So it seems that during the suspending or waking up process, the interfaces /proc/acpi/ibm/thermal and /proc/acpi/ibm/fan are temporarily not accessible. If thinkfan is trying to connect to these files during the process, then it simply dies. The "workaround" I perform is to check after each wake up is thinkfan is still running, relaunching it by a "sudo service thinkfan restart" if dead. I didn't do any statistics, but I would say that it dies something like 50% of the time, which is quite annoying (it is not a just some unlucky timings).

Maybe the solution would be to give thinkfan some possibility to retry to connect several times, at few seconds of interval, after it realized that it lost connection, and then only dies after the trials. This should enable thinkfan to survive to temporary loss of /proc/acpi/ibm/* stuff, while avoiding it to run endlessly when they are not available at all.

Thank you,

Raphaƫl



-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages thinkfan depends on:
ii  libc6  2.13-27

thinkfan recommends no packages.

thinkfan suggests no packages.

-- Configuration Files:
/etc/default/thinkfan changed:
START=yes
DAEMON_ARGS="-q"

/etc/thinkfan.conf changed:
sensor /proc/acpi/ibm/thermal (0, 0, 0, 0, 0, 0, 0, 0)
(0,     0,      55)
(1,     52,     58)
(2,     54,     61)
(3,     56,     64)
(4,     59,     66)
(5,     61,     68)
(6,     63,     70)
(7,     65,     85)
(127,   80,     32767)


-- no debconf information



--- End Message ---
--- Begin Message ---
Source: thinkfan
Source-Version: 1.2.1-1
Done: Evgeni Golov <[email protected]>

We believe that the bug you reported is fixed in the latest version of
thinkfan, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Evgeni Golov <[email protected]> (supplier of updated thinkfan package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 27 Jan 2021 21:06:36 +0100
Source: thinkfan
Architecture: source
Version: 1.2.1-1
Distribution: unstable
Urgency: medium
Maintainer: Evgeni Golov <[email protected]>
Changed-By: Evgeni Golov <[email protected]>
Closes: 663619 797303 843446 918899 957877 958613 961300
Changes:
 thinkfan (1.2.1-1) unstable; urgency=medium
 .
   * New upstream version (Closes: #961300)
     + Builds with GCC 10 (Closes: #957877)
     + Uses /run by default (Closes: #918899)
     + Includes support for re-init after suspend (Closes: #663619)
     + New config format makes hwmon addressing stable (Closes: #843446)
     + New config example contains "disengaged" line (Closes: #797303)
   * refresh rcscripts-drop-start-check.patch
   * drop cmake-man.patch, applied upstream
   * refresh rcscripts-load-defaults-for-systemd.patch
   * use debhelper-compat 13 and drop dh-systemd dependency (Closes: #958613)
   * add libyaml-cpp-dev to depends
   * update vcs-* fields to salsa
   * use priority: optional
   * Standards-Version: 4.5.1
   * add pkg-config to build-depends
   * add systemd to build-depends
   * update debian/copyright
Checksums-Sha1:
 d887cb97ac244fb9787edae625fe4c11f08a75af 1880 thinkfan_1.2.1-1.dsc
 74cd743909d48dd36c1e7beebabe35bc6aeeb852 84253 thinkfan_1.2.1.orig.tar.gz
 470f6955316bb5a3e03b1c8642a8cdb12a781acd 6772 thinkfan_1.2.1-1.debian.tar.xz
 4d711ff44f49910c10b4ceb0cb9760b2d3000c33 7149 thinkfan_1.2.1-1_source.buildinfo
Checksums-Sha256:
 eaa4ad147d5c12d883420f666a15e68dd0a27ad54d6e960174c8fe68187f4c6a 1880 
thinkfan_1.2.1-1.dsc
 a03fc0ed5bee33a1576c631e327fdd10f89fd906c5a413a8b01bd73d3fd97d25 84253 
thinkfan_1.2.1.orig.tar.gz
 fa307d37d3abea5f7b629b0f6232c255e19c7c982a64778928dd46d2d07fbc99 6772 
thinkfan_1.2.1-1.debian.tar.xz
 c3a4d02a29e89864bec1067a8becd0520b5921d330339edb4f432c3b871fb2b9 7149 
thinkfan_1.2.1-1_source.buildinfo
Files:
 d091ebcc5f67fb7cb7601294504e65b9 1880 misc optional thinkfan_1.2.1-1.dsc
 8d5ed98714c445407dc5a89c2998c96d 84253 misc optional thinkfan_1.2.1.orig.tar.gz
 13271851e5e30a41b2e258844c0d63dd 6772 misc optional 
thinkfan_1.2.1-1.debian.tar.xz
 ab5eac8c50f7c9c6c20845325d5ef4c3 7149 misc optional 
thinkfan_1.2.1-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEExW57amdnGPa81AdGTrsFQAtaiq4FAmARyG8ACgkQTrsFQAta
iq7z4w//Tz4PuLpc8OIluBOBicv2TIxluPdVDH097f95cJ9+mkpEWSvOO9WOVQUF
lDALrZidjEnGCtt9Md7YVSDUD4U3E02RBdISDT7nocdRHNikXBw0+qOmeOo5wjsO
bTeRDh8pYqjC3BP4oCq7Hn1SO+Yj+C3v9ZkP2xtsV8FZb1n0Mj48csIqI09dwDXN
Vvm3pIHyNzoYN3tmBQ3A/fCQ1sx5aZAfVYI0GS3QYTrNHgM3D2kFqtEmWWxMJTeS
DIe7Np0kmJ1I7sJujwvtwWojJvXyYr8iX0UEj2qyw94oNSPFwAxAgVVYTVgcU0mc
C8DhnYePcBVRPY6PaG+bDmZnbqQKtU1nqJoNdOMklJhIp6IlhubJLDIAHYK9OgrP
AkTSWLEHIREZFZBXvHl9v/tuyu/rCZt13l25SueoJjvt8Fo0oZe7MV/A9MTgz9bW
mQlTb0Z9RBV0O1Y0NJerPwoawR7uErVYekDTELu12hMlxV5Qo4pu7QnqSbyGtkCf
aBT6CeEhHCoUYKAh43bgE6fpO84Shogj5UIvwL9DwIZASU51mn3QDnkSsl4BIgee
6VwoFgTuefTTX6TMESPemm6XBJ5/MdT6nt7yIaWvZRAwYZsmQRlioPX5UlWIaJYV
mZ1euj+mNKyPaOqyPDSOlNJfc3WI91EJ0anfRqcY0TOE0YB/dVI=
=KWi4
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to