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

Karsten Hilbert karsten.hilbert at gmx.net
Fri Nov 27 10:49:02 UTC 2009


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]
Nov 27 11:33:30 merkur kdm[2757]: X server for display :0 terminated unexpectedly
Nov 27 11:33:32 merkur acpid: client connected from 10770[0:0] 
Nov 27 11:33:32 merkur acpid: 1 client rule loaded 
Nov 27 11:33:38 merkur kernel: [ 2961.928666] agpgart-sis 0000:00:00.0: AGP 2.0 bridge
Nov 27 11:33:38 merkur kernel: [ 2961.928730] agpgart-sis 0000:00:00.0: putting AGP V2 device into 2x mode
Nov 27 11:33:38 merkur kernel: [ 2961.928802] pci 0000:01:00.0: putting AGP V2 device into 2x mode
Nov 27 11:33:42 merkur kdm_greet[10784]: Cannot load /usr/share/kde4/apps/kdm/faces/.default.face: Datei oder Verzeichnis nicht gefunden
Nov 27 11:34:01 merkur acpid: client 10770[0:0] has disconnected 
Nov 27 11:34:02 merkur acpid: client connected from 10770[0:0] 
Nov 27 11:34:02 merkur acpid: 1 client rule loaded 
Nov 27 11:34:11 merkur acpid: client 10770[0:0] has disconnected 
Nov 27 11:34:11 merkur logger: acpid: action FNPGDOWN is not defined
Nov 27 11:34:11 merkur logger: acpid: action FNPGDOWN is not defined
Nov 27 11:34:14 merkur logger: acpid: action FNDEL is not defined
Nov 27 11:34:15 merkur last message repeated 9 times
Nov 27 11:34:16 merkur logger: acpid: action FNPGDOWN is not defined
Nov 27 11:34:17 merkur last message repeated 3 times
Nov 27 11:34:17 merkur logger: acpid: action FNDEL is not defined
Nov 27 11:34:36 merkur last message repeated 30 times
Nov 27 11:34:37 merkur logger: acpid: action FNPGDOWN is not defined
Nov 27 11:34:37 merkur last message repeated 3 times
Nov 27 11:34:38 merkur logger: acpid: action FNDEL is not defined
Nov 27 11:34:39 merkur last message repeated 9 times
Nov 27 11:34:40 merkur logger: acpid: action FNPGDOWN is not defined
Nov 27 11:34:40 merkur logger: acpid: action FNPGDOWN is not defined
Nov 27 11:34:42 merkur logger: acpid: action FNDEL is not defined
Nov 27 11:34:42 merkur logger: acpid: action FNDEL is not defined
Nov 27 11:34:43 merkur logger: acpid: action FNPGDOWN is not defined
Nov 27 11:34:44 merkur last message repeated 3 times
Nov 27 11:34:53 merkur logger: acpid: action FNDEL is not defined
Nov 27 11:34:53 merkur last message repeated 5 times
Nov 27 11:34:54 merkur logger: acpid: action FNPGDOWN is not defined
Nov 27 11:34:56 merkur last message repeated 5 times
Nov 27 11:34:57 merkur logger: acpid: action FNDEL is not defined
Nov 27 11:34:57 merkur last message repeated 9 times
Nov 27 11:34:58 merkur logger: acpid: action FNPGDOWN is not defined
Nov 27 11:34:58 merkur logger: acpid: action FNPGDOWN is not defined
Nov 27 11:34:58 merkur logger: acpid: action FNDEL is not defined
Nov 27 11:34:59 merkur last message repeated 7 times
Nov 27 11:34:59 merkur logger: acpid: action FNPGDOWN is not defined
Nov 27 11:35:00 merkur last message repeated 3 times
Nov 27 11:35:01 merkur /USR/SBIN/CRON[11828]: (root) CMD (if [ -x /usr/bin/vnstat ] && [ `ls /var/lib/vnstat/ | wc -l` -ge 1 ]; then /usr/bin/vnstat -u; fi)
Nov 27 11:35:40 merkur logger: acpid: action FNDEL is not defined
Nov 27 11:35:43 merkur last message repeated 33 times
Nov 27 11:35:43 merkur logger: acpid: action FNPGDOWN is not defined
Nov 27 11:35:44 merkur logger: acpid: action FNPGDOWN is not defined
Nov 27 11:35:44 merkur logger: acpid: action FNDEL is not defined
Nov 27 11:35:44 merkur last message repeated 5 times
Nov 27 11:35:45 merkur logger: acpid: action FNPGDOWN is not defined
Nov 27 11:35:45 merkur last message repeated 3 times
Nov 27 11:35:59 merkur logger: acpid: action FNDEL is not defined
Nov 27 11:35:59 merkur last message repeated 2 times
Nov 27 11:36:01 merkur logger: acpid: action FNPGDOWN is not defined
Nov 27 11:36:01 merkur logger: acpid: action FNPGDOWN is not defined
Nov 27 11:36:02 merkur logger: acpid: action FNDEL is not defined
Nov 27 11:36:02 merkur last message repeated 5 times
Nov 27 11:36:03 merkur logger: acpid: action FNPGDOWN is not defined
Nov 27 11:36:03 merkur last message repeated 3 times
Nov 27 11:36:08 merkur logger: acpid: action FNDEL is not defined
Nov 27 11:36:08 merkur last message repeated 9 times
Nov 27 11:36:08 merkur logger: acpid: action FNPGDOWN is not defined
Nov 27 11:36:10 merkur last message repeated 3 times
Nov 27 11:36:11 merkur logger: acpid: action FNDEL is not defined
Nov 27 11:36:11 merkur last message repeated 5 times
Nov 27 11:36:11 merkur logger: acpid: action FNPGDOWN is not defined
Nov 27 11:36:12 merkur last message repeated 3 times

Karsten

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.31-trunk-686 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages kpowersave depends on:
ii  hal                  0.5.13-4            Hardware Abstraction Layer
ii  kdelibs4c2a          4:3.5.10.dfsg.1-2.1 core libraries and binaries for al
ii  libc6                2.10.1-7            GNU C Library: Shared libraries
ii  libdbus-1-3          1.2.16-2            simple interprocess messaging syst
ii  libdbus-qt-1-1c2     0.62.git.20060814-2 simple interprocess messaging syst
ii  libgcc1              1:4.4.2-3           GCC support library
ii  libhal1              0.5.13-4            Hardware Abstraction Layer - share
ii  libstdc++6           4.4.2-3             The GNU Standard C++ Library v3
ii  libxext6             2:1.0.4-1           X11 miscellaneous extension librar
ii  libxss1              1:1.1.3-1           X11 Screen Saver extension library
ii  libxtst6             2:1.0.3-1           X11 Testing -- Resource extension 

kpowersave recommends no packages.

kpowersave suggests no packages.

-- no debconf information





More information about the pkg-kde-extras mailing list