Package: pm-utils Version: 1.1.2.4-1 Severity: normal
/usr/lib/pm-utils/sleep.d/00clear hangs because chvt 63 does not complete. X is not running. A pygame application is running on a frame buffer console. This is on an OLPC XO running debxo. pygame uses SDL. The pygame application ran pm-suspend. The system did not suspend. Process tree shows chvt has not completed. An strace of a manual chvt 63 shows ... open("/dev/tty0", O_RDWR) = 3 ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost -isig -icanon -echo ...}) = 0 ioctl(3, KDGKBTYPE, 0xbfda8a63) = 0 ioctl(3, VIDIOC_G_COMP or VT_ACTIVATE, 0x3f) = 0 ioctl(3, VIDIOC_S_COMP or VT_WAITACTIVE At which point chvt hangs. The pygame image is still on screen. chvt is interruptible with Control/C. This bug might be more appropriate for kbd package, not sure. This bug might be a failure of SDL to release the VT on demand, not sure if there is such a demand. I'm logging it first against pm-utils, since unless otherwise discovered, chvt is not a reliable method to use to enter a text mode. -- System Information: Debian Release: 5.0 APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/bash Versions of packages pm-utils depends on: ii kbd 1.14.1-4 Linux console font and keytable ut ii powermgmt-base 1.30 Common utils and configs for power Versions of packages pm-utils recommends: ii hal 0.5.11-8 Hardware Abstraction Layer ii radeontool 1.5-5 utility to control ATI Radeon back ii uswsusp 0.7-1.2 tools to use userspace software su ii vbetool 1.0-3 run real-mode video BIOS code to a Versions of packages pm-utils suggests: pn cpufrequtils <none> (no description available) -- 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