[Pkg-kde-extras] Bug#558247: kpowersave: connecting ac adapter while switched to console and battery is critical kills X session

Michael Biebl biebl at debian.org
Fri Nov 27 11:11:02 UTC 2009


Karsten Hilbert wrote:
> Package: kpowersave
> Version: 0.7.3-5
> Severity: important
> 
> Assume the following situation:
> 
> - X session started (KDE)
> - switched to Linux console
> - battery goes below 10 % (= critical)
> 
> If I now restore power by connecting the AC adapter the X session will
> be terminated and I am dropped to kdm. Here's the relevant snippet from
> /var/log/syslog:
> 
> Nov 27 11:27:40 merkur acpid: client 2762[0:0] has disconnected 
> Nov 27 11:28:00 merkur fetchmail[1917]: awakened at Fri Nov 27 11:28:00 2009 
> Nov 27 11:28:01 merkur fetchmail[1917]: Server CommonName mismatch: pop.gmx.net != pop.gmx.de 
> Nov 27 11:28:01 merkur fetchmail[1917]: 3 messages for 1433807 at pop.gmx.de (190756 octets). 
> Nov 27 11:28:02 merkur identd[9659]: started
> Nov 27 11:28:02 merkur fetchmail[1917]: reading message 1433807 at pop.gmx.net:1 of 3 (4916 octets) flushed 
> Nov 27 11:28:02 merkur fetchmail[1917]: reading message 1433807 at pop.gmx.net:2 of 3 (177352 octets) flushed 
> Nov 27 11:28:03 merkur fetchmail[1917]: reading message 1433807 at pop.gmx.net:3 of 3 (8488 octets) flushed 
> Nov 27 11:28:04 merkur fetchmail[1917]: sleeping at Fri Nov 27 11:28:04 2009 for 900 seconds 
> Nov 27 11:28:49 merkur logger: acpid: action FNPGDOWN is not defined
> Nov 27 11:28:49 merkur logger: acpid: action FNPGDOWN is not defined
> Nov 27 11:30:02 merkur /USR/SBIN/CRON[9876]: (root) CMD (if [ -x /usr/bin/vnstat ] && [ `ls /var/lib/vnstat/ | wc -l` -ge 1 ]; then /usr/bin/vnstat -u; fi)
> Nov 27 11:30:02 merkur /usr/sbin/gpm[2113]: *** info [daemon/processrequest.c(42)]: 
> Nov 27 11:30:02 merkur /usr/sbin/gpm[2113]: Request on 9 (console 6)
> Nov 27 11:30:11 merkur logger: acpid: action FNPGDOWN is not defined
> Nov 27 11:30:11 merkur logger: acpid: action FNPGDOWN is not defined
> Nov 27 11:30:12 merkur logger: acpid: action FNDEL is not defined
> Nov 27 11:30:16 merkur last message repeated 17 times
> Nov 27 11:30:17 merkur logger: acpid: action FNPGDOWN is not defined
> Nov 27 11:30:17 merkur logger: acpid: action FNPGDOWN is not defined
> Nov 27 11:32:01 merkur /USR/SBIN/CRON[10169]: (root) CMD (/root/bin/backup.sh)
> Nov 27 11:33:24 merkur logger: ACPI group ac_adapter / action ACPI0003:00 is not defined
> Nov 27 11:33:24 merkur laptop-mode: Determining power state from /sys/class/power_supply/AC/online.
> Nov 27 11:33:24 merkur laptop-mode: Not trying other options, already found a power supply.
> Nov 27 11:33:24 merkur laptop-mode: On AC power: Deactivating, because ENABLE_LAPTOP_MODE_ON_AC is not set.
> Nov 27 11:33:24 merkur laptop-mode: Laptop mode 
> Nov 27 11:33:24 merkur laptop-mode: Checking if desired state is different from current state.
> Nov 27 11:33:24 merkur laptop-mode: enabled, not active
> Nov 27 11:33:24 merkur laptop-mode: Invoking module /usr/share/laptop-mode-tools/modules/ac97-powersave.
> Nov 27 11:33:24 merkur laptop-mode: AC97 audio power setting is disabled.
> Nov 27 11:33:25 merkur laptop-mode: Invoking module /usr/share/laptop-mode-tools/modules/battery-level-polling.
> Nov 27 11:33:25 merkur laptop-mode: Battery level polling is disabled.
> Nov 27 11:33:25 merkur laptop-mode: Invoking module /usr/share/laptop-mode-tools/modules/bluetooth.
> Nov 27 11:33:25 merkur laptop-mode: Invoking module /usr/share/laptop-mode-tools/modules/configuration-file-control.
> Nov 27 11:33:25 merkur laptop-mode: Invoking module /usr/share/laptop-mode-tools/modules/cpufreq.
> Nov 27 11:33:25 merkur laptop-mode: Invoking module /usr/share/laptop-mode-tools/modules/dpms-standby.
> Nov 27 11:33:25 merkur laptop-mode: CONTROL_DPMS_STANDBY is disabled, skipping...
> Nov 27 11:33:25 merkur laptop-mode: Invoking module /usr/share/laptop-mode-tools/modules/eee-superhe.
> Nov 27 11:33:25 merkur laptop-mode: Control file is /sys/devices/platform/eeepc/cpufv
> Nov 27 11:33:25 merkur laptop-mode: Invoking module /usr/share/laptop-mode-tools/modules/ethernet.
> Nov 27 11:33:25 merkur laptop-mode: Ethernet module is disabled.
> Nov 27 11:33:25 merkur laptop-mode: Invoking module /usr/share/laptop-mode-tools/modules/hal-polling.
> Nov 27 11:33:25 merkur laptop-mode: Invoking module /usr/share/laptop-mode-tools/modules/hdparm.
> Nov 27 11:33:25 merkur laptop-mode: Setting spindown timeout on drives to 7200 seconds.
> Nov 27 11:33:25 merkur laptop-mode: (hdparm configuration value = 244.)
> Nov 27 11:33:25 merkur laptop-mode: Querying /dev/hda media type using udevinfo: 
> Nov 27 11:33:25 merkur laptop-mode: type 'disk' on bus 'ata' detected
> Nov 27 11:33:25 merkur laptop-mode: Querying /dev/hda media type using udevinfo: 
> Nov 27 11:33:25 merkur laptop-mode: type 'disk' on bus 'ata' detected
> Nov 27 11:33:25 merkur laptop-mode: Executing: hdparm -S 244 /dev/hda
> Nov 27 11:33:25 merkur laptop-mode:  /dev/hda:  setting standby to 244 (2 hours)
> Nov 27 11:33:25 merkur laptop-mode: Querying /dev/hdc media type using udevinfo: 
> Nov 27 11:33:25 merkur laptop-mode: type 'cd' on bus 'ata' detected
> Nov 27 11:33:25 merkur laptop-mode: Skipping /dev/hdc: idle timeout control not supported.
> Nov 27 11:33:25 merkur laptop-mode: Querying /dev/sda media type using udevinfo: 
> Nov 27 11:33:25 merkur laptop-mode: type 'disk' on bus 'usb' detected
> Nov 27 11:33:26 merkur laptop-mode: Skipping /dev/sda: idle timeout control not supported.
> Nov 27 11:33:26 merkur laptop-mode: Invoking module /usr/share/laptop-mode-tools/modules/intel-hda-powersave.
> Nov 27 11:33:26 merkur laptop-mode: Intel HDA audio power setting is disabled.
> Nov 27 11:33:26 merkur laptop-mode: Invoking module /usr/share/laptop-mode-tools/modules/intel-sata-powermgmt.
> Nov 27 11:33:26 merkur laptop-mode: Intel SATA link power saving disabled.
> Nov 27 11:33:26 merkur laptop-mode: Invoking module /usr/share/laptop-mode-tools/modules/laptop-mode.
> Nov 27 11:33:26 merkur laptop-mode: Executing: echo 0 > /proc/sys/vm/laptop_mode
> Nov 27 11:33:26 merkur laptop-mode: Adjusting 2.6 kernel parameters to disable laptop mode.
> Nov 27 11:33:26 merkur laptop-mode: Executing: echo 500 > /proc/sys/vm/dirty_writeback_centisecs
> Nov 27 11:33:26 merkur laptop-mode: Executing: echo 3000 > /proc/sys/vm/dirty_expire_centisecs
> Nov 27 11:33:26 merkur laptop-mode: Executing: echo 40 > /proc/sys/vm/dirty_ratio
> Nov 27 11:33:26 merkur laptop-mode: Executing: echo 10 > /proc/sys/vm/dirty_background_ratio
> Nov 27 11:33:26 merkur laptop-mode: Remounting filesystems.
> Nov 27 11:33:26 merkur laptop-mode: tmpfs not found in PARTITIONS.
> Nov 27 11:33:26 merkur laptop-mode: /lib/init/rw not found in PARTITIONS.
> Nov 27 11:33:26 merkur laptop-mode: Checking tmpfs against HD because PARTITIONS contains "auto".
> Nov 27 11:33:26 merkur laptop-mode:    Considering /dev/hda.
> Nov 27 11:33:26 merkur laptop-mode:    Considering /dev/hdc.
> Nov 27 11:33:26 merkur laptop-mode:    Considering /dev/sda.
> Nov 27 11:33:26 merkur laptop-mode: proc not found in PARTITIONS.
> Nov 27 11:33:26 merkur laptop-mode: /proc not found in PARTITIONS.
> Nov 27 11:33:26 merkur laptop-mode: Checking proc against HD because PARTITIONS contains "auto".
> Nov 27 11:33:26 merkur laptop-mode:    Considering /dev/hda.
> Nov 27 11:33:26 merkur laptop-mode:    Considering /dev/hdc.
> Nov 27 11:33:26 merkur laptop-mode:    Considering /dev/sda.
> Nov 27 11:33:26 merkur laptop-mode: sysfs not found in PARTITIONS.
> Nov 27 11:33:26 merkur laptop-mode: /sys not found in PARTITIONS.
> Nov 27 11:33:26 merkur laptop-mode: Checking sysfs against HD because PARTITIONS contains "auto".
> Nov 27 11:33:26 merkur laptop-mode:    Considering /dev/hda.
> Nov 27 11:33:26 merkur laptop-mode:    Considering /dev/hdc.
> Nov 27 11:33:26 merkur laptop-mode:    Considering /dev/sda.
> Nov 27 11:33:26 merkur laptop-mode: udev not found in PARTITIONS.
> Nov 27 11:33:26 merkur laptop-mode: /dev not found in PARTITIONS.
> Nov 27 11:33:26 merkur laptop-mode: Checking udev against HD because PARTITIONS contains "auto".
> Nov 27 11:33:26 merkur laptop-mode:    Considering /dev/hda.
> Nov 27 11:33:26 merkur laptop-mode:    Considering /dev/hdc.
> Nov 27 11:33:26 merkur laptop-mode:    Considering /dev/sda.
> Nov 27 11:33:26 merkur laptop-mode: tmpfs not found in PARTITIONS.
> Nov 27 11:33:26 merkur laptop-mode: /dev/shm not found in PARTITIONS.
> Nov 27 11:33:26 merkur laptop-mode: Checking tmpfs against HD because PARTITIONS contains "auto".
> Nov 27 11:33:26 merkur laptop-mode:    Considering /dev/hda.
> Nov 27 11:33:26 merkur laptop-mode:    Considering /dev/hdc.
> Nov 27 11:33:26 merkur laptop-mode:    Considering /dev/sda.
> Nov 27 11:33:26 merkur laptop-mode: devpts not found in PARTITIONS.
> Nov 27 11:33:26 merkur laptop-mode: /dev/pts not found in PARTITIONS.
> Nov 27 11:33:26 merkur laptop-mode: Checking devpts against HD because PARTITIONS contains "auto".
> Nov 27 11:33:26 merkur laptop-mode:    Considering /dev/hda.
> Nov 27 11:33:26 merkur laptop-mode:    Considering /dev/hdc.
> Nov 27 11:33:26 merkur laptop-mode:    Considering /dev/sda.
> Nov 27 11:33:26 merkur laptop-mode: rootfs not found in PARTITIONS.
> Nov 27 11:33:26 merkur laptop-mode: / not found in PARTITIONS.
> Nov 27 11:33:26 merkur laptop-mode: Checking rootfs against HD because PARTITIONS contains "auto".
> Nov 27 11:33:26 merkur laptop-mode:    Considering /dev/hda.
> Nov 27 11:33:26 merkur laptop-mode:    Considering /dev/hdc.
> Nov 27 11:33:26 merkur laptop-mode:    Considering /dev/sda.
> Nov 27 11:33:26 merkur laptop-mode: binfmt_misc not found in PARTITIONS.
> Nov 27 11:33:26 merkur laptop-mode: /proc/sys/fs/binfmt_misc not found in PARTITIONS.
> Nov 27 11:33:26 merkur laptop-mode: Checking binfmt_misc against HD because PARTITIONS contains "auto".
> Nov 27 11:33:26 merkur laptop-mode:    Considering /dev/hda.
> Nov 27 11:33:26 merkur laptop-mode:    Considering /dev/hdc.
> Nov 27 11:33:26 merkur laptop-mode:    Considering /dev/sda.
> Nov 27 11:33:26 merkur laptop-mode: /dev/sda1 not found in PARTITIONS.
> Nov 27 11:33:26 merkur laptop-mode: /media/DataStation not found in PARTITIONS.
> Nov 27 11:33:26 merkur laptop-mode: Checking /dev/sda1 against HD because PARTITIONS contains "auto".
> Nov 27 11:33:26 merkur laptop-mode:    Considering /dev/hda.
> Nov 27 11:33:26 merkur laptop-mode:    Considering /dev/hdc.
> Nov 27 11:33:26 merkur laptop-mode:    Considering /dev/sda.
> Nov 27 11:33:26 merkur laptop-mode:    /dev/sda1 contains /dev/sda, which is in HD, so we will remount it.
> Nov 27 11:33:26 merkur laptop-mode: Original options: rw,noexec,nosuid,nodev,noatime,nodiratime,commit=10,data=writeback,errors=remount-ro
> Nov 27 11:33:26 merkur laptop-mode: Reducing file system type.
> Nov 27 11:33:26 merkur laptop-mode: No saved mount options, so apparently we never remounted this filesystem during this session.
> Nov 27 11:33:26 merkur laptop-mode: Not remounting.
> Nov 27 11:33:26 merkur laptop-mode: Executing: /sbin/blockdev --setfra 256 /dev/sda1
> Nov 27 11:33:26 merkur laptop-mode: Invoking module /usr/share/laptop-mode-tools/modules/lcd-brightness.
> Nov 27 11:33:26 merkur laptop-mode: Invoking module /usr/share/laptop-mode-tools/modules/sched-mc-power-savings.
> Nov 27 11:33:26 merkur laptop-mode: Scheduler power setting is disabled.
> Nov 27 11:33:26 merkur laptop-mode: Invoking module /usr/share/laptop-mode-tools/modules/start-stop-programs.
> Nov 27 11:33:27 merkur laptop-mode: START_SERVICES = 
> Nov 27 11:33:27 merkur laptop-mode: STOP_SERVICES = 
> Nov 27 11:33:27 merkur laptop-mode: Invoking module /usr/share/laptop-mode-tools/modules/syslog-conf.
> Nov 27 11:33:27 merkur laptop-mode: Invoking module /usr/share/laptop-mode-tools/modules/terminal-blanking.
> Nov 27 11:33:27 merkur laptop-mode: CONTROL_TERMINAL is disabled, skipping...
> Nov 27 11:33:27 merkur laptop-mode: Invoking module /usr/share/laptop-mode-tools/modules/usb-autosuspend.
> Nov 27 11:33:27 merkur laptop-mode: USB autosuspend is disabled.
> Nov 27 11:33:27 merkur laptop-mode: Invoking module /usr/share/laptop-mode-tools/modules/video-out.
> Nov 27 11:33:27 merkur laptop-mode: video-out module is disabled.
> Nov 27 11:33:27 merkur laptop-mode: Invoking module /usr/share/laptop-mode-tools/modules/wireless-ipw-power.
> Nov 27 11:33:27 merkur laptop-mode: Intel IPW Wireless power setting is disabled.
> Nov 27 11:33:27 merkur laptop-mode: Invoking module /usr/share/laptop-mode-tools/modules/wireless-iwl-power.
> Nov 27 11:33:27 merkur laptop-mode: Intel IWL Wireless power setting is disabled.
> Nov 27 11:33:27 merkur laptop-mode: Module /usr/local/lib/laptop-mode-tools/modules/* is not executable.
> Nov 27 11:33:27 merkur laptop-mode: Module /usr/local/share/laptop-mode-tools/modules/* is not executable.
> Nov 27 11:33:27 merkur laptop-mode: Module /etc/laptop-mode/modules/* is not executable.
> Nov 27 11:33:27 merkur logger: ACPI group ac_adapter / action ACPI0003:00 is not defined
> Nov 27 11:33:28 merkur laptop-mode: Determining power state from /sys/class/power_supply/AC/online.
> Nov 27 11:33:28 merkur laptop-mode: Not trying other options, already found a power supply.
> Nov 27 11:33:28 merkur laptop-mode: On AC power: Deactivating, because ENABLE_LAPTOP_MODE_ON_AC is not set.
> Nov 27 11:33:28 merkur laptop-mode: Laptop mode 
> Nov 27 11:33:28 merkur laptop-mode: Checking if desired state is different from current state.
> Nov 27 11:33:28 merkur laptop-mode: enabled, 
> Nov 27 11:33:28 merkur laptop-mode: not active [unchanged]

Are you sure this is not a laptop-mode issue?

Anyways, kpowersave is pretty much dead and orphaned. I'd suggest to upgrade to
KDE4 and it's integrated power management solution (powerdevil).

Cheers,
Michael


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-kde-extras/attachments/20091127/76d7026b/attachment.pgp>


More information about the pkg-kde-extras mailing list