Your message dated Fri, 25 Dec 2009 13:02:39 +0100
with message-id <[email protected]>
and subject line Re: Bug#561246: does not switch back to the X VT after resume
has caused the Debian Bug report #561246,
regarding does not switch back to the X VT after resume
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 [email protected]
immediately.)


-- 
561246: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=561246
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: pm-utils
Version: 1.2.6.1-3
Severity: important

At resume time, the calls to chvt and deallocvt in maybe_deallocvt()
of /usr/lib/pm-utils/sleep.d/99video fail with this error message:

  Couldnt get a file descriptor referring to the console

Please advise.


This is the relevant part of the strace log of deallocvt:

execve("/usr/bin/deallocvt", ["deallocvt", "63"], ["SUDO_GID=1000", 
"PM_UTILS_RUNDIR=/var/run/pm-utils", "LC_TIME=C", "USER=root", 
"METHOD=suspend", "SUSPEND_HYBRID_MODULE=", "SUSPEND_MODULE=kernel", 
"HOME=/home/md", "PM_FUNCTIONS=/usr/lib/pm-utils/functions", 
"TEMPORARY_CPUFREQ_GOVERNOR=performance", 
"PARAMETERS=/var/run/pm-utils/pm-suspend/storage/parameters", 
"PM_UTILS_LIBDIR=/usr/lib/pm-utils", "NX=253", "SUSPEND_MODULES= ", 
"INHIBIT=/var/run/pm-utils/pm-suspend/storage/inhibit", "PS1=\\[\\033]0;\\h: 
\\w\\007\\]\\[\\e[0;32m\\]...@\\[\\e[36m\\]\\h\\[\\e[32m\\]:\\[\\e[31m\\]\\w\\$\\[\\e[37m\\]",
 "MODULE_HELP=", "PM_CMDLINE=--quirk-vga-mode-3", "SUDO_UID=1000", 
"PM_UTILS_ETCDIR=/etc/pm", "HIBERNATE_MODE=", "LOGNAME=root", 
"STASHNAME=pm-suspend", "STORAGEDIR=/var/run/pm-utils/pm-suspend/storage", 
"TERM=xterm", "USERNAME=root", "PM_LOGFILE=/var/log/pm-suspend.log", 
"HIBERNATE_MODULE=kernel", "LOGGING=true", "LOCKDIR=/var/run/pm-utils/locks", 
"LC_COLLATE=C", "PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/lib/pm-utils/bin", 
"DISPLAY=:0.0", "lang=it...@euro", "HIBERNATE_RESUME_POST_VIDEO=no", 
"BEFORE_HOOKS=", "XAUTHORITY=/home/md/.Xauthority", "ADD_PARAMETERS= ", 
"DROP_PARAMETERS= ", "SUDO_COMMAND=/usr/sbin/pm-suspend", "NA=254", 
"CHASSIS_TYPE=Portable", "SHELL=/bin/bash", "SUDO_USER=md", 
"SLEEP_MODULE=tuxonice uswsusp", "PWD=/home/src/whois/whois-5.0.0", 
"HOOK_BLACKLIST= ", "DX=252"]) = 0

open("/dev/tty", O_RDWR)                = 3
ioctl(3, KDGKBTYPE, 0xbf82b673)         = -1 EINVAL (Invalid argument)
close(3)                                = 0
open("/dev/tty0", O_RDWR)               = -1 EIO (Input/output error)
open("/dev/console", O_RDWR)            = -1 EIO (Input/output error)
ioctl(0, KDGKBTYPE, 0xbf82b693)         = -1 EINVAL (Invalid argument)
ioctl(1, KDGKBTYPE, 0xbf82b693)         = -1 ENOTTY (Inappropriate ioctl for de
ice)
ioctl(2, KDGKBTYPE, 0xbf82b693)         = -1 ENOTTY (Inappropriate ioctl for 
device)
[...]

crw------- 1 root root 5, 1 Dec  9 00:34 /dev/console
crw-rw-rw- 1 root root 5, 0 Dec 14 18:52 /dev/tty
crw-rw---- 1 root root 4, 0 Dec  9 00:34 /dev/tty0

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

Kernel: Linux 2.6.32-rc8-686 (SMP w/2 CPU cores)
Locale: lang=it...@euro, lc_ctype=it...@euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/dash

Versions of packages pm-utils depends on:
ii  console-tools              1:0.2.3dbs-66 Linux console and font utilities
ii  powermgmt-base             1.31          Common utils and configs for power

Versions of packages pm-utils recommends:
ii  hal                           0.5.13-6   Hardware Abstraction Layer
ii  radeontool                    1.5-5      utility to control ATI Radeon back
ii  vbetool                       1.1-2      run real-mode video BIOS code to a

Versions of packages pm-utils suggests:
ii  cpufrequtils                  006-2      utilities to deal with the cpufreq
pn  uswsusp                       <none>     (no description available)

-- no debconf information

-- 
ciao,
Marco

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
On Dec 15, Marco d'Itri <[email protected]> wrote:

> At resume time, the calls to chvt and deallocvt in maybe_deallocvt()
> of /usr/lib/pm-utils/sleep.d/99video fail with this error message:
> 
>   Couldnt get a file descriptor referring to the console
And now they work again... Maybe it was kernel-related.

-- 
ciao,
Marco

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply via email to