Package: laptop-mode-tools Version: 1.58-3 Severity: normal Dear Maintainer,
The /usr/lib/pm-utils/power.d/laptop-mode script which is executed by a hook fails to return the original /proc/sys/vm/[laptop_mode, dirty_ratio, dirty_background_ratio, dirty_writeback_centisecs] values after AC power is reattached. On first boot with AC power attached, >/etc/init.d/laptop-mode status Laptop mode status: root@debian-n81vg:/home/jameschew# Mounts: /dev/sda6 on / type ext4 (rw,errors=remount-ro,commit=0) tmpfs on /lib/init/rw type tmpfs (rw,nosuid,size=5242880,mode=755,size=5242880,mode=755) tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=755,size=10%,mode=755) proc on /proc type proc (rw,noexec,nosuid,nodev) sysfs on /sys type sysfs (rw,noexec,nosuid,nodev) udev on /dev type tmpfs (rw,mode=0755) tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,size=20%,mode=1777,size=20%,mode=1777) devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620,gid=5,mode=620) /dev/sda5 on /VMs type ext4 (rw,commit=0) /dev/sda1 on /boot type ext2 (rw) /dev/mapper/n81vg-home on /home type ext4 (rw,commit=0) rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw) fusectl on /sys/fs/fuse/connections type fusectl (rw) binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev) Drive power status: /dev/sda: drive state is: active/idle (NOTE: drive settings affected by Laptop Mode cannot be retrieved.) Readahead states: /dev/sda6: 128 kB /dev/sda5: 128 kB /dev/sda1: 128 kB /dev/mapper/n81vg-home: 128 kB Laptop Mode Tools is allowed to run: /var/run/laptop-mode-tools/enabled exists. /proc/sys/vm/laptop_mode: 0 /proc/sys/vm/dirty_ratio: 10 /proc/sys/vm/dirty_background_ratio: 5 /proc/sys/vm/dirty_expire_centisecs: 3000 /proc/sys/vm/dirty_writeback_centisecs: 500 /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq: 800000 /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq: 2534000 /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq: 800000 /sys/devices/system/cpu/cpu1/cpufreq/cpuinfo_cur_freq: 2533000 /sys/devices/system/cpu/cpu1/cpufreq/cpuinfo_max_freq: 2534000 /sys/devices/system/cpu/cpu1/cpufreq/cpuinfo_min_freq: 800000 /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor: ondemand /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor: ondemand /proc/acpi/button/lid/LID/state: state: open /sys/class/power_supply/AC0/online: 1 When I remove AC power, and am running on batteries: >/etc/init.d/laptop-mode status Laptop mode status: root@debian-n81vg:/home/jameschew# Mounts: /dev/sda6 on / type ext4 (rw,errors=remount-ro,commit=600) tmpfs on /lib/init/rw type tmpfs (rw,nosuid,size=5242880,mode=755,size=5242880,mode=755) tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=755,size=10%,mode=755) proc on /proc type proc (rw,noexec,nosuid,nodev) sysfs on /sys type sysfs (rw,noexec,nosuid,nodev) udev on /dev type tmpfs (rw,mode=0755) tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,size=20%,mode=1777,size=20%,mode=1777) devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620,gid=5,mode=620) /dev/sda5 on /VMs type ext4 (rw,commit=600) /dev/sda1 on /boot type ext2 (rw) /dev/mapper/n81vg-home on /home type ext4 (rw,commit=600) rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw) fusectl on /sys/fs/fuse/connections type fusectl (rw) binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev) Drive power status: /dev/sda: drive state is: active/idle (NOTE: drive settings affected by Laptop Mode cannot be retrieved.) Readahead states: /dev/sda6: 3072 kB /dev/sda5: 3072 kB /dev/sda1: 3072 kB /dev/mapper/n81vg-home: 3072 kB Laptop Mode Tools is allowed to run: /var/run/laptop-mode-tools/enabled exists. /proc/sys/vm/laptop_mode: 5 /proc/sys/vm/dirty_ratio: 60 /proc/sys/vm/dirty_background_ratio: 40 /proc/sys/vm/dirty_expire_centisecs: 60000 /proc/sys/vm/dirty_writeback_centisecs: 60000 /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq: 800000 /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq: 2534000 /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq: 800000 /sys/devices/system/cpu/cpu1/cpufreq/cpuinfo_cur_freq: 800000 /sys/devices/system/cpu/cpu1/cpufreq/cpuinfo_max_freq: 2534000 /sys/devices/system/cpu/cpu1/cpufreq/cpuinfo_min_freq: 800000 /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor: ondemand /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor: ondemand /proc/acpi/button/lid/LID/state: state: open /sys/class/power_supply/AC0/online: 0 When I reattach AC power: >/etc/init.d/laptop-mode status Laptop mode status: root@debian-n81vg:/home/jameschew# Mounts: /dev/sda6 on / type ext4 (rw,errors=remount-ro,commit=0) tmpfs on /lib/init/rw type tmpfs (rw,nosuid,size=5242880,mode=755,size=5242880,mode=755) tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=755,size=10%,mode=755) proc on /proc type proc (rw,noexec,nosuid,nodev) sysfs on /sys type sysfs (rw,noexec,nosuid,nodev) udev on /dev type tmpfs (rw,mode=0755) tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,size=20%,mode=1777,size=20%,mode=1777) devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620,gid=5,mode=620) /dev/sda5 on /VMs type ext4 (rw,commit=0) /dev/sda1 on /boot type ext2 (rw) /dev/mapper/n81vg-home on /home type ext4 (rw,commit=0) rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw) fusectl on /sys/fs/fuse/connections type fusectl (rw) binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev) Drive power status: /dev/sda: drive state is: active/idle (NOTE: drive settings affected by Laptop Mode cannot be retrieved.) Readahead states: /dev/sda6: 128 kB /dev/sda5: 128 kB /dev/sda1: 128 kB /dev/mapper/n81vg-home: 128 kB Laptop Mode Tools is allowed to run: /var/run/laptop-mode-tools/enabled exists. /proc/sys/vm/laptop_mode: 2 /proc/sys/vm/dirty_ratio: 60 /proc/sys/vm/dirty_background_ratio: 1 /proc/sys/vm/dirty_expire_centisecs: 3000 /proc/sys/vm/dirty_writeback_centisecs: 60000 /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq: 800000 /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq: 2534000 /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq: 800000 /sys/devices/system/cpu/cpu1/cpufreq/cpuinfo_cur_freq: 800000 /sys/devices/system/cpu/cpu1/cpufreq/cpuinfo_max_freq: 2534000 /sys/devices/system/cpu/cpu1/cpufreq/cpuinfo_min_freq: 800000 /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor: ondemand /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor: ondemand /proc/acpi/button/lid/LID/state: state: open /sys/class/power_supply/AC0/online: 1 The main differences are the /proc/sys/vm/ files: 1. laptop_mode: is now 2 instead of 0. 2. dirty_ratio: is now 60 instead of 10. 3. dirty_background_ratio: is now 1 instead of 5. 4. dirty_writeback_centisecs: is now 60000 instead of 500 -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 3.0.0-1-amd64 (SMP w/2 CPU cores) Locale: LANG=en_SG.utf8, LC_CTYPE=en_SG.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages laptop-mode-tools depends on: ii lsb-base 3.2-28 ii psmisc 22.13-1 ii util-linux 2.19.1-5 Versions of packages laptop-mode-tools recommends: ii acpid 1:2.0.12-1 ii apmd 3.2.2-14 ii ethtool 1:3.0-1 ii hal 0.5.14-7 ii hdparm 9.32-1 ii net-tools 1.60-24.1 ii sdparm 1.06-3 ii udev 172-1 ii wireless-tools 30~pre9-5 laptop-mode-tools suggests no packages. -- Configuration Files: /etc/laptop-mode/conf.d/intel-hda-powersave.conf changed [not included] -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org