Package: uswsusp
Version: 1.0+20110509-1
Severity: wishlist

I have a VM running with no vga under KVM.  The only local terminal is the
serial console.  When trying to use s2disk, I see:
s2disk: No local tty. Remember to specify local console after the remote. 
Reason: Invalid argument

It would be nice if s2disk would work w/o needing a "local console"

strace shows this:
....
stat("/dev/snapshot", {st_mode=S_IFCHR|0600, st_rdev=makedev(10, 231), ...}) = 0
open("/dev/snapshot", O_RDONLY)         = 4
ioctl(4, SNAPSHOT_SET_SWAP_AREA, 0x7fff45212de0) = 0
open("/dev/console", O_RDONLY)          = 5
ioctl(5, KDGKBTYPE, 0x7fff45212b5f)     = -1 EINVAL (Invalid argument)
close(5)                                = 0
write(2, "s2disk: No local tty. Remember t"..., 99s2disk: No local tty. 
Remember to specify local console after the remote. Reason: Invalid argument
) = 99
close(4)                                = 0
close(3)                                = 0
chdir("/")                              = 0
umount("/proc/7119", 0)                 = 0
munmap(0x7fd1b578e000, 425984)          = 0
exit_group(22)                          = ?

-- System Information:
Removed, reportbug is not installed on system with problem.  I believe that
this information is irrelevent to the wishlist.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to