Your message dated Sun, 04 Feb 2018 16:48:43 +0530 with message-id <1517743123.29042.5.ca...@debian.org> and subject line Re: Bug#889544: laptop-mode-tools causes `sda` disk to start and stop again and again when on battery has caused the Debian Bug report #889544, regarding laptop-mode-tools causes `sda` disk to start and stop again and again when on battery 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 ow...@bugs.debian.org immediately.) -- 889544: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=889544 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
--- Begin Message ---Package: laptop-mode-tools Version: 1.72-1 Severity: critical Justification: breaks the whole system Dear Maintainer, just to note, my hardware is Dell e7450, disk drive is: ata2.00: ATA-9: SAMSUNG SSD PM851 mSATA 256GB, EXT4AD0Q, max UDMA/133 * What led up to the situation? `apt full-upgrade -V` done on Feb 3, causing `laptop-mode-tools` update to version `1.72-1` * What was the outcome of this action? After disconnecting laptop from power source (docking station) system become irresponsive - seemed like disk failure. I have quickly done full disk backup (using Clonezilla, on AC, without any errors) and started looking for cause. Dell Onboard Diagnostics software found no problems with my hard drive (running long DST) Trying to reproduce this issue on some random gparted usb stick I had on my desk failed - so this definitely meant software problem in my Debian. Finally, looking into what updated recently I have found that laptop-mode-tools has been updated yesterday. I've purged the package, rebooted and system become stable without AC again. Further tests narrowed case to (at least one of) two modules: * intel-hda-powersave.conf * intel-sata-powermgmt.conf Setting: CONTROL_INTEL_HDA_POWER=0 CONTROL_INTEL_SATA_POWER= made laptop-mode-tools usable again. (see attached modified config files) * Logs With laptop-mode-tools in standard configuration, when disconnected from AC I was getting in `dmesg` similiard messages every few seconds: [ +3.568871] sd 1:0:0:0: [sda] Synchronizing SCSI cache [ +0.005399] sd 1:0:0:0: [sda] Stopping disk [ +1.222534] sd 1:0:0:0: [sda] Starting disk [ +0.347509] EXT4-fs (dm-3): re-mounted. Opts: data=ordered,commit=600 [ +0.261822] EXT4-fs (dm-1): re-mounted. Opts: data=ordered,commit=600 causing `sda` to be completely unusbable, causing `dm_crypt` errors in the end: Feb 04 00:27:52 odyssey kernel: INFO: task dmcrypt_write:247 blocked for more than 120 seconds. Feb 04 00:27:52 odyssey kernel: Not tainted 4.14.0-3-amd64 #1 Debian 4.14.13-1 Feb 04 00:27:52 odyssey kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. Feb 04 00:27:52 odyssey kernel: dmcrypt_write D 0 247 2 0x80000000 Thanks, Slawek -- System Information: Debian Release: buster/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 4.14.0-3-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages laptop-mode-tools depends on: ii lsb-base 9.20170808 ii psmisc 23.1-1 ii util-linux 2.30.2-0.3 Versions of packages laptop-mode-tools recommends: ii ethtool 1:4.11-1 ii hdparm 9.53+ds-1 ii net-tools 1.60+git20161116.90da8a0-1 ii python3-pyqt5 5.9.2+dfsg-1 ii rfkill 0.5-3 ii sdparm 1.08-1+b1 ii udev 237-1 ii wireless-tools 30~pre9-12+b1 Versions of packages laptop-mode-tools suggests: ii acpid 1:2.0.28-1+b1 -- Configuration Files: /etc/laptop-mode/conf.d/intel-hda-powersave.conf changed: DEBUG=0 CONTROL_INTEL_HDA_POWER=0 BATT_INTEL_HDA_POWERSAVE=1 LM_AC_INTEL_HDA_POWERSAVE=0 NOLM_AC_INTEL_HDA_POWERSAVE=0 INTEL_HDA_DEVICE_TIMEOUT=2 INTEL_HDA_DEVICE_CONTROLLER=1 /etc/laptop-mode/conf.d/intel-sata-powermgmt.conf changed: DEBUG=0 CONTROL_INTEL_SATA_POWER=0 CONTROL_AHCI_RUNTIME_PM=1 BATT_SATA_POLICY=min_power LM_AC_SATA_POLICY=max_performance NOLM_AC_SATA_POLICY=max_performance /etc/laptop-mode/laptop-mode.conf changed: ENABLE_LAPTOP_MODE_TOOLS=1 VERBOSE_OUTPUT=1 LOG_TO_SYSLOG=1 DEBUG=0 ENABLE_LAPTOP_MODE_ON_BATTERY=0 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=1 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=1 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
--- End Message ---
--- Begin Message ---Version: 1.72-2 Yes. I'm aware of this and a fix has already been released (1.72.2). For Debian, I've uploaded 1.72-2, which includes the fix. Thanks for reporting the bug. Ritesh On Sun, 2018-02-04 at 11:56 +0100, Slawomir Gonet wrote: > Package: laptop-mode-tools > Version: 1.72-1 > Severity: critical > Justification: breaks the whole system > > Dear Maintainer, > > just to note, my hardware is Dell e7450, disk drive is: > ata2.00: ATA-9: SAMSUNG SSD PM851 mSATA 256GB, EXT4AD0Q, max UDMA/133 > > -- Ritesh Raj Sarraf | http://people.debian.org/~rrs Debian - The Universal Operating System
Description: This is a digitally signed message part
--- End Message ---