Package: laptop-mode-tools Version: 1.72-3 Severity: important Dear Maintainer,
after updating to buster, I've noticed quite an annoying problem: after waking up from suspend, my laptop (that's a Lenovo X220i) doesn't wake up the hard drive, which basically leads to totally unresponding system that can be only hard-rebooted or rebooted with Alt-SysRq-B. It doesn't happen every time, it happens maybe one in 2 or 3 wakeups. This didn't occur in stretch and I guess it shouldn't be like that :) I've noticed (by running htop, suspending, and waking up from suspend) that it is caused either directly by laptop-mode-tools which is triggered by udev, or by one of the tools it starts after resuming from suspend. I did a little research on that using the following method: 1. Change a setting in /etc/laptop-mode/laptop-mode.conf 2. Run something that will make HDD busy (cat /dev/sda > /dev/zero for example) 3. Suspend and wake up 2 or 3 times 4. See if HDD wakes up. By such experimentation, I managed to find out that the option that causes this problem is CONTROL_MOUNT_OPTIONS. If it is set to 1, one in 2 or 3 wakeups lead to sleepy HDD. But if it is set to 0, even 20 suspends/wakeups are successful. I also noted that it happens only when the laptop is on battery, but I'm not sure of that. I guess that's quite a broad description, and I'll be glad to help you with testing various options, if it is possible. For now, I guess I'll leave CONTROL_MOUNT_OPTIONS=0, but that's probably defies the idea behind laptop-mode-tools, at least in terms with HDD. Thank you in advance, Michael Krylov. -- System Information: Debian Release: 10.0 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Kernel: Linux 4.19.0-5-686 (SMP w/4 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) Versions of packages laptop-mode-tools depends on: ii lsb-base 10.2019051400 ii psmisc 23.2-1 ii util-linux 2.33.1-0.1 Versions of packages laptop-mode-tools recommends: ii ethtool 1:4.19-1 ii hdparm 9.58+ds-1 pn net-tools <none> ii python3-pyqt5 5.11.3+dfsg-1+b3 ii rfkill 2.33.1-0.1 pn sdparm <none> ii udev 241-5 ii wireless-tools 30~pre9-13 Versions of packages laptop-mode-tools suggests: ii acpid 1:2.0.31-1 -- Configuration Files: /etc/laptop-mode/conf.d/intel_pstate.conf changed: DEBUG=0 CONTROL_INTEL_PSTATE=0 NOLM_AC_INTEL_PSTATE_PERF_MIN_PCT=0 # Minimum performance, in percent NOLM_AC_INTEL_PSTATE_PERF_MAX_PCT=100 # Maximum performance, in percent NOLM_AC_INTEL_PSTATE_NO_TURBO=0 # Disable "Turbo Boost"? LM_AC_INTEL_PSTATE_PERF_MIN_PCT=0 # Minimum performance, in percent LM_AC_INTEL_PSTATE_PERF_MAX_PCT=100 # Maximum performance, in percent LM_AC_INTEL_PSTATE_NO_TURBO=0 # Disable "Turbo Boost"? BATT_INTEL_PSTATE_PERF_MIN_PCT=0 # Minimum performance, in percent BATT_INTEL_PSTATE_PERF_MAX_PCT=100 # Maximum performance, in percent BATT_INTEL_PSTATE_NO_TURBO=0 # Disable "Turbo Boost"? /etc/laptop-mode/laptop-mode.conf changed: ENABLE_LAPTOP_MODE_TOOLS=1 VERBOSE_OUTPUT=0 LOG_TO_SYSLOG=1 DEBUG=0 ENABLE_LAPTOP_MODE_ON_BATTERY=1 ENABLE_LAPTOP_MODE_ON_AC=0 ENABLE_LAPTOP_MODE_WHEN_LID_CLOSED=0 ENABLE_AUTO_MODULES=1 MINIMUM_BATTERY_CHARGE_PERCENT=3 DISABLE_LAPTOP_MODE_ON_CRITICAL_BATTERY_LEVEL=1 DISABLE_BATTERY_ALARM_CHECK=0 HD="/dev/[hs]d[abcdefgh]" PARTITIONS="auto /dev/mapper/* /dev/dm-*" ASSUME_SCSI_IS_SATA=1 LM_BATT_MAX_LOST_WORK_SECONDS=600 LM_AC_MAX_LOST_WORK_SECONDS=360 CONTROL_READAHEAD=1 LM_READAHEAD=3072 NOLM_READAHEAD=128 CONTROL_NOATIME=0 USE_RELATIME=1 CONTROL_HD_IDLE_TIMEOUT=1 LM_AC_HD_IDLE_TIMEOUT_SECONDS=20 LM_BATT_HD_IDLE_TIMEOUT_SECONDS=20 NOLM_HD_IDLE_TIMEOUT_SECONDS=7200 CONTROL_HD_POWERMGMT="auto" BATT_HD_POWERMGMT=1 LM_AC_HD_POWERMGMT=254 NOLM_AC_HD_POWERMGMT=254 CONTROL_HD_WRITECACHE=0 NOLM_AC_HD_WRITECACHE=1 NOLM_BATT_HD_WRITECACHE=0 LM_HD_WRITECACHE=0 CONTROL_MOUNT_OPTIONS=0 LM_DIRTY_RATIO=60 NOLM_DIRTY_RATIO=40 LM_DIRTY_BACKGROUND_RATIO=1 NOLM_DIRTY_BACKGROUND_RATIO=10 DEF_UPDATE=5 DEF_XFS_AGE_BUFFER=15 DEF_XFS_SYNC_INTERVAL=30 DEF_XFS_BUFD_INTERVAL=1 DEF_MAX_AGE=30 XFS_HZ=100 LM_SECONDS_BEFORE_SYNC=2 -- no debconf information

